OSDN Git Service

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