OSDN Git Service

[Refactor] #38862 gameterm.c/h and z-* to term/
[hengband/hengband.git] / src / Makefile.am
1 ## Makefile.am -- Process this file with automake to process Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign subdir-objects
4
5 bin_PROGRAMS = hengband
6
7 hengband_SOURCES = \
8         system/angband.h system/h-basic.h system/h-config.h \
9         system/h-define.h system/h-system.h system/h-type.h \
10         system/system-variables.c system/system-variables.h \
11         \
12         autopick/autopick.c autopick/autopick.h \
13         autopick/autopick-commands-table.h autopick/autopick-dirty-flags.h \
14         autopick/autopick-editor-table.h autopick/autopick-flags-table.h \
15         autopick/autopick-key-flag-process.h autopick/autopick-keys-table.h \
16         autopick/autopick-menu-data-table.c autopick/autopick-menu-data-table.h \
17         autopick/autopick-methods-table.h \
18         autopick/autopick-util.c autopick/autopick-util.h \
19         autopick/autopick-entry.c autopick/autopick-entry.h \
20         autopick/autopick-initializer.c autopick/autopick-initializer.h \
21         autopick/autopick-matcher.c autopick/autopick-matcher.h \
22         autopick/autopick-describer.c autopick/autopick-describer.h \
23         autopick/autopick-destroyer.c autopick/autopick-destroyer.h \
24         autopick/autopick-reader-writer.c autopick/autopick-reader-writer.h \
25         autopick/autopick-finder.c autopick/autopick-finder.h \
26         autopick/autopick-pref-processor.c autopick/autopick-pref-processor.h \
27         autopick/autopick-drawer.c autopick/autopick-drawer.h \
28         autopick/autopick-inserter-killer.c autopick/autopick-inserter-killer.h \
29         autopick/autopick-registry.c autopick/autopick-registry.h \
30         autopick/autopick-command-menu.c autopick/autopick-command-menu.h \
31         autopick/autopick-editor-util.c autopick/autopick-editor-util.h \
32         autopick/autopick-editor-command.c autopick/autopick-editor-command.h \
33         \
34         birth/bitrh-explanations-table.c birth/bitrh-explanations-table.h \
35         birth/birth.c birth/birth.h \
36         \
37         main/music-definitions-table.c main/music-definitions-table.h \
38         main/sound-definitions-table.c main/sound-definitions-table.h \
39         market/arena-info-table.c market/arena-info-table.h \
40         market/building.c market/building.h \
41         market/building-util.c market/building-util.h \
42         market/play-gamble.c market/play-gamble.h \
43         market/poker.c market/poker.h market/store-owners.c market/store-owners.h \
44         market/store-owner-comments.c market/store-owner-comments.h \
45         market/articles-on-sale.c market/articles-on-sale.h \
46         market/black-market.c market/black-market.h \
47         market/say-comments.c market/say-comments.h \
48         market/store-util.c market/store-util.h \
49         market/gold-magnification-table.c market/gold-magnification-table.h \
50         market/store.c market/store.h \
51         chuukei.c chuukei.h \
52         \
53         view/display-characteristic.c view/display-characteristic.h \
54         view/display-fruit.c view/display-fruit.h \
55         view/display-player-stat-info.c view/display-player-stat-info.h \
56         view/display-player-misc-info.c view/display-player-misc-info.h \
57         view/display-player-middle.c view/display-player-middle.h \
58         view/display-player.c view/display-player.h \
59         view/status-first-page.c view/status-first-page.h \
60         view/display-util.c view/display-util.h \
61         \
62         player/avatar.h player/avatar.c \
63         player/mimic-info-table.c player/mimic-info-table.h \
64         player/process-death.c player/process-death.h \
65         player/process-name.c player/process-name.h \
66         player/race-info-table.c player/race-info-table.h\
67         player/race-resistances.c player/race-resistances.h \
68         player/permanent-resistances.c player/permanent-resistances.h \
69         player/temporary-resistances.c player/temporary-resistances.h \
70         player/digestion-processor.c player/digestion-processor.h \
71         \
72         io/character-dump.c io/character-dump.h \
73         io/dump-remover.c io/dump-remover.h \
74         io/files.c io/files.h \
75         io/gf-descriptions.c io/gf-descriptions.h \
76         io/tokenizer.c io/tokenizer.h \
77         io/interpret-pref-file.c io/interpret-pref-file.h \
78         io/player-status-dump.c io/player-status-dump.h \
79         io/special-class-dump.c io/special-class-dump.h \
80         io/read-pref-file.c io/read-pref-file.h \
81         io/exit-panic.c io/exit-panic.h \
82         io/write-diary.c io/write-diary.h \
83         io/mutations-dump.c io/mutations-dump.h \
84         io/signal-handlers.c io/signal-handlers.h \
85         io/uid-checker.c io/uid-checker.h \
86         io/input-key-processor.c io/input-key-processor.h \
87         \
88         core/game-play.c core/game-play.h \
89         core/show-file.c core/show-file.h \
90         core/stuff-handler.c core/stuff-handler.h \
91         core/angband-version.h core/special-internal-keys.h \
92         core/output-updater.c core/output-updater.h \
93         core/game-closer.c core/game-closer.h \
94         core/turn-compensator.c core/turn-compensator.h \
95         core/hp-mp-generator.c core/hp-mp-generator.h \
96         core/hp-mp-processor.c core/hp-mp-processor.h \
97         core/magic-effects-timeout-reducer.c core/magic-effects-timeout-reducer.h \
98         core/player-processor.c core/player-processor.h \
99         \
100         dungeon/dungeon.c dungeon/dungeon.h \
101         dungeon/dungeon-processor.c dungeon/dungeon-processor.h \
102         dungeon/dungeon-file.c dungeon/dungeon-file.h \
103         \
104         floor/floor.c floor/floor.h floor/floor-events.c floor/floor-events.h \
105         floor/floor-generate.c floor/floor-generate.h \
106         floor/floor-save.h floor/floor-save.c floor/floor-town.h floor/floor-town.c \
107         floor/floor-streams.c floor/floor-streams.h \
108         floor/pattern-walk.c floor/pattern-walk.h \
109         \
110         locale/japanese.c locale/japanese.h locale/english.c locale/english.h \
111         \
112         grid/feature.c grid/feature.h \
113         grid/grid.c grid/grid.h grid/trap.c grid/trap.h \
114         geometry.c geometry.h \
115         \
116         gamevalue.h \
117         history.h history.c \
118         inet.c inet.h init.c init.h \
119         load.c load.h \
120         main.c main-x11.c main-gcu.c \
121         mind.c mind.h \
122         \
123         monster/monster.h monster/monsterrace.c monster/monsterrace.h \
124         monster/monster-util.c monster/monster-util.h \
125         monster/monster-direction.c monster/monster-direction.h \
126         monster/monster-attack.c monster/monster-attack.h \
127         monster/monster-move.c monster/monster-move.h \
128         monster/monster-object.c monster/monster-object.h \
129         monster/monster-runaway.c monster/monster-runaway.h \
130         monster/monster-safety-hiding.c monster/monster-safety-hiding.h \
131         monster/monster-sweep-grid.c monster/monster-sweep-grid.h \
132         monster/monster-update.c monster/monster-update.h \
133         monster/quantum-effect.c monster/quantum-effect.h \
134         monster/monsterrace-hook.c monster/monsterrace-hook.h \
135         monster/monster-dist-offsets.c monster/monster-dist-offsets.h \
136         monster/monster-process.c monster/monster-process.h \
137         monster/monster-status.c monster/monster-status.h \
138         monster/monster1.c monster/monster2.c \
139         monster/mspells1.c monster/mspells2.c monster/mspells3.c monster/mspells4.c \
140         monster/monster-spell.h \
141         monster/horror-descriptions.c monster/horror-descriptions.h \
142         \
143         mutation/mutation.c mutation/mutation.h \
144         mutation/mutation-processor.c mutation/mutation-processor.h \
145         \
146         object/artifact.c object/artifact.h \
147         object/object-boost.c object/object-boost.h \
148         object/chest.c object/chest.h \
149         object/object-curse.c object/object-curse.h \
150         object/object-broken.c object/object-broken.h \
151         object/object-hook.c object/object-hook.h \
152         object/object1.c object/object2.c object/object.h \
153         object/object-kind.c object/object-kind.h \
154         object/object-kind-hook.c object/object-kind-hook.h \
155         object/lite-processor.c object/lite-processor.h \
156         object/object-flavor.c object/object-flavor.h \
157         object/object-ego.c object/object-ego.h \
158         \
159         inventory/simple-appraiser.c inventory/simple-appraiser.h \
160         inventory/inventory-curse.c inventory/inventory-curse.h \
161         inventory/recharge-processor.c inventory/recharge-processor.h \
162         inventory/pack-overflow.c inventory/pack-overflow.h \
163         inventory/player-inventory.c inventory/player-inventory.h \
164         \
165         patron.h patron.c \
166         \
167         creature.h creature.c \
168         player/player-move.c player/player-move.h player/player-damage.c player/player-damage.h \
169         player/player-status.c player/player-status.h player/player-effects.c player/player-effects.h \
170         player/player-skill.c player/player-skill.h player/player-class.c player/player-class.h \
171         player/player-race.c player/player-race.h player/player-personality.c player/player-personality.h \
172         player/player-sex.c player/player-sex.h \
173         \
174         quest.h quest.c\
175         \
176         racial.c racial.h \
177         realm/realm.c realm/realm.h \
178         realm/realm-arcane.c realm/realm-arcane.h \
179         realm/realm-chaos.c realm/realm-chaos.h \
180         realm/realm-craft.c realm/realm-craft.h \
181         realm/realm-crusade.c realm/realm-crusade.h \
182         realm/realm-daemon.c realm/realm-daemon.h \
183         realm/realm-death.c realm/realm-death.h \
184         realm/realm-hex.c realm/realm-hex.h 
185         realm/realm-hissatsu.c realm/realm-hissatsu.h \
186         realm/realm-life.c realm/realm-life.h 
187         realm/realm-nature.c realm/realm-nature.h realm/realm-song.c \
188         realm/realm-song.h realm/realm-sorcery.c \
189         realm/realm-sorcery.h realm/realm-trump.c realm/realm-trump.h \
190         \
191         report.c report.h \
192         \
193         room/rooms.c room/rooms.h room/rooms-city.c room/rooms-city.h \
194         room/rooms-fractal.c room/rooms-fractal.h \
195         room/rooms-normal.c room/rooms-normal.h \
196         room/rooms-special.c room/rooms-special.h \
197         room/rooms-trap.c room/rooms-trap.h \
198         room/rooms-vault.c room/rooms-vault.h \
199         room/rooms-pit-nest.c room/rooms-pit-nest.h \
200         room/pit-nest-kinds-table.c room/pit-nest-kinds-table.h \
201         \
202         save.c save.h scores.c scores.h selfinfo.c selfinfo.h \
203         snipe.c snipe.h \
204         \
205         rumor.h rumor.c \
206         \
207         effect/effect-feature.c effect/effect-feature.h \
208         effect/effect-item.c effect/effect-item.h \
209         effect/spells-effect-util.c effect/spells-effect-util.h \
210         effect/effect-player.c effect/effect-player.h \
211         effect/effect-monster.c effect/effect-monster.h \
212         effect/effect-monster-util.c effect/effect-monster-util.h \
213         effect/effect-monster-resist-hurt.c effect/effect-monster-resist-hurt.h \
214         effect/effect-monster-psi.c effect/effect-monster-psi.h \
215         effect/effect-monster-domination.c effect/effect-monster-domination.h \
216         effect/effect-monster-oldies.c effect/effect-monster-oldies.h \
217         effect/effect-monster-charm.c effect/effect-monster-charm.h \
218         effect/effect-monster-lite-dark.c effect/effect-monster-lite-dark.h \
219         effect/effect-monster-evil.c effect/effect-monster-evil.h \
220         effect/effect-monster-spirit.c effect/effect-monster-spirit.h \
221         effect/effect-monster-switcher.c effect/effect-monster-switcher.h \
222         effect/effect-player-util.h \
223         effect/effect-player-resist-hurt.c effect/effect-player-resist-hurt.h \
224         effect/effect-player-oldies.c effect/effect-player-oldies.h \
225         effect/effect-player-curse.c effect/effect-player-curse.h \
226         effect/effect-player-spirit.c effect/effect-player-spirit.h \
227         effect/effect-player-switcher.c effect/effect-player-switcher.h \
228         effect/effect-characteristics.h \
229         \
230         spell/technic-info-table.c spell/technic-info-table.h \
231         spell/spells-execution.c spell/spells-execution.h \
232         spell/spells-util.h spell/spells-type.h \
233         spell/process-effect.h spell/process-effect.h \
234         spell/spells1.c spell/spells1.h spell/spells2.c spell/spells2.h \
235         spell/spells3.c spell/spells3.h \
236         spell/music-checker.c spell/music-checker.h \
237         spells-diceroll.c spells-diceroll.h \
238         spells-floor.c spells-floor.h \
239         spells-object.c spells-object.h \
240         spells-status.c spells-status.h \
241         spells-summon.c spells-summon.h \
242         spells-world.c spells-world.h \
243         \
244         sort.c sort.h util.c util.h \
245         wild.h wild.c warning.c warning.h \
246         \
247         view-mainwindow.c view-mainwindow.h targeting.c targeting.h \
248         \
249         knowledge/knowledge-autopick.c knowledge/knowledge-autopick.h \
250         knowledge/knowledge-experiences.c knowledge/knowledge-experiences.h \
251         knowledge/knowledge-features.c knowledge/knowledge-features.h \
252         knowledge/knowledge-inventory.c knowledge/knowledge-inventory.h \
253         knowledge/knowledge-items.c knowledge/knowledge-items.h \
254         knowledge/knowledge-monsters.c knowledge/knowledge-monsters.h \
255         knowledge/knowledge-mutations.c knowledge/knowledge-mutations.h \
256         knowledge/knowledge-uniques.c knowledge/knowledge-uniques.h \
257         knowledge/knowledge-self.c knowledge/knowledge-self.h \
258         knowledge/knowledge-quests.c knowledge/knowledge-quests.h \
259         \
260         cmd/cmd-autopick.c cmd/cmd-autopick.c \
261         cmd/dump-util.c cmd/dump-util.h cmd/feeling-table.c cmd/feeling-table.h \
262         cmd/monster-group-table.c cmd/monster-group-table.h \
263         cmd/diary-subtitle-table.c cmd/diary-subtitle-table.h \
264         cmd/object-group-table.c cmd/object-group-table.h \
265         cmd/cmd-activate.c cmd/cmd-activate.h cmd/cmd-basic.c cmd/cmd-basic.h \
266         cmd/cmd-diary.c cmd/cmd-diary.h cmd/cmd-dump.c cmd/cmd-dump.h \
267         cmd/cmd-draw.c cmd/cmd-draw.h cmd/cmd-eat.c cmd/cmd-eat.h \
268         cmd/cmd-gameoption.c cmd/cmd-gameoption.h cmd/cmd-help.c cmd/cmd-help.h \
269         cmd/cmd-hissatsu.c cmd/cmd-hissatsu.h cmd/cmd-inn.c cmd/cmd-inn.h \
270         cmd/cmd-item.c cmd/cmd-item.h cmd/cmd-knowledge.c cmd/cmd-knowledge.h \
271         cmd/lighting-level-table.c cmd/lighting-level-table.h \
272         cmd/cmd-magiceat.c cmd/cmd-magiceat.h cmd/cmd-mane.c cmd/cmd-mane.h \
273         cmd/cmd-macro.c cmd/cmd-macro.h cmd/cmd-pet.c cmd/cmd-pet.h \
274         cmd/cmd-quaff.c cmd/cmd-quaff.h cmd/cmd-read.c cmd/cmd-read.h \
275         cmd/cmd-process-screen.c cmd/cmd-process-screen.h \
276         cmd/cmd-save.c cmd/cmd-save.h cmd/cmd-smith.c cmd/cmd-smith.h \
277         cmd/cmd-spell.c cmd/cmd-spell.h cmd/cmd-visuals.c cmd/cmd-visuals.h \
278         cmd/cmd-usestaff.c cmd/cmd-usestaff.h \
279         cmd/cmd-zaprod.c cmd/cmd-zaprod.h cmd/cmd-zapwand.c cmd/cmd-zapwand.h \
280         \
281         combat/melee.h combat/melee.c combat/shoot.c combat/shoot.h \
282         \
283         term/gameterm.c term/gameterm.h \
284         term/z-form.c term/z-form.h term/z-rand.c term/z-rand.h \
285         term/z-term.c term/z-term.h term/z-util.c term/z-util.h \
286         term/z-virt.c term/z-virt.h \
287         \
288         \
289         wizard/wizard-spoiler.c wizard/wizard-spoiler.h\
290         wizard/wizard-special-process.c wizard/wizard-special-process.h \
291         \
292         world/world.c world/world.h \
293         world/world-movement-processor.c world/world-movement-processor.h \
294         world/world-turn-processor.c world/world-turn-processor.h
295
296 EXTRA_hengband_SOURCES = \
297         angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
298         makefile.bcc makefile.std readdib.c readdib.h wall.bmp
299
300 EXTRA_DIST = \
301         gcc-wrap
302
303 CFLAGS += $(XFT_CFLAGS)
304 LIBS += $(XFT_LIBS)
305 COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
306         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
307         -Iautopick -Ibirth -Icmd -Icombat -Icore -Idungeon -Ieffect -Ifloor \
308         -Iinventory -Iio -Iknowledge -Imarket -Imonster -Iobject -Iplayer -Irealm \
309         -Iroom -Ispell -Isystem -Iview -Iwizard -Iworld
310
311 install-exec-hook:
312 if SET_GID
313         chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"
314         chmod g+s "$(DESTDIR)$(bindir)/hengband"
315 endif