OSDN Git Service

ed5f981ce7177cf4752ad32d8e9526bbcb52f1d0
[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-key-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-describer.c autopick-describer.h \
23         autopick-destroyer.c 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-editor-util.c autopick-editor-util.h \
32         autopick-editor-command.c autopick-editor-command.h \
33         \
34         avatar.h avatar.c birth.c birth.h \
35         \
36         main/music-definitions-table.c main/music-definitions-table.h \
37         main/sound-definitions-table.c main/sound-definitions-table.h \
38         market/arena-info-table.c market/arena-info-table.h \
39         market/building.c market/building.h \
40         market/building-util.c market/building-util.h \
41         market/play-gamble.c market/play-gamble.h \
42         market/poker.c market/poker.h market/store-owners.c market/store-owners.h \
43         market/store-owner-comments.c market/store-owner-comments.h \
44         market/articles-on-sale.c market/articles-on-sale.h \
45         market/black-market.c market/black-market.h \
46         market/say-comments.c market/say-comments.h \
47         market/store-util.c market/store-util.h \
48         market/gold-magnification-table.c market/gold-magnification-table.h \
49         market/store.c market/store.h \
50         chest.c chest.h chuukei.c chuukei.h \
51         \
52         view/display-characteristic.c view/display-characteristic.h \
53         view/display-fruit.c view/display-fruit.h \
54         view/display-player-stat-info.c view/display-player-stat-info.h \
55         view/display-player-misc-info.c view/display-player-misc-info.h \
56         view/display-player-middle.c view/display-player-middle.h \
57         view/display-player.c view/display-player.h \
58         view/status-first-page.c view/status-first-page.h \
59         view/display-util.c view/display-util.h \
60         \
61         player/mimic-info-table.c player/mimic-info-table.h \
62         player/process-death.c player/process-death.h \
63         player/process-name.c player/process-name.h \
64         player/race-info-table.c player/race-info-table.h\
65         player/race-resistances.c player/race-resistances.h \
66         player/permanent-resistances.c player/permanent-resistances.h \
67         player/temporary-resistances.c player/temporary-resistances.h \
68         \
69         io/dump-remover.c io/dump-remover.h \
70         io/gf-descriptions.c io/gf-descriptions.h \
71         io/tokenizer.c io/tokenizer.h \
72         io/interpret-pref-file.c io/interpret-pref-file.h \
73         io/player-status-dump.c io/player-status-dump.h \
74         io/special-class-dump.c io/special-class-dump.h \
75         io/read-pref-file.c io/read-pref-file.h \
76         io/exit-panic.c io/exit-panic.h \
77         io/write-diary.c io/write-diary.h \
78         io/mutations-dump.c io/mutations-dump.h \
79         io/signal-handlers.c io/signal-handlers.h \
80         io/uid-checker.c io/uid-checker.h \
81         character-dump.c character-dump.h core.c core.h files.c files.h \
82         core/show-file.c core/show-file.h \
83         \
84         dungeon.c dungeon.h \
85         floor.c floor.h floor-events.c floor-events.h \
86         floor-generate.c floor-generate.h \
87         floor-save.h floor-save.c floor-town.h floor-town.c \
88         floor-streams.c floor-streams.h \
89         \
90         feature.c feature.h \
91         geometry.c geometry.h \
92         \
93         gamevalue.h \
94         grid.c grid.h h-basic.h h-config.h h-define.h \
95         history.h history.c \
96         h-system.h h-type.h inet.c inet.h init.c init.h \
97         japanese.c japanese.h english.c english.h \
98         load.c load.h \
99         dungeon-file.c dungeon-file.h \
100         main.c main-x11.c main-gcu.c \
101         mind.c mind.h \
102         \
103         monster.h monsterrace.c monsterrace.h \
104         monster/monster-util.c monster/monster-util.h \
105         monster/monster-direction.c monster/monster-direction.h \
106         monster/monster-attack.c monster/monster-attack.h \
107         monster/monster-move.c monster/monster-move.h \
108         monster/monster-object.c monster/monster-object.h \
109         monster/monster-runaway.c monster/monster-runaway.h \
110         monster/monster-safety-hiding.c monster/monster-safety-hiding.h \
111         monster/monster-sweep-grid.c monster/monster-sweep-grid.h \
112         monster/monster-update.c monster/monster-update.h \
113         monster/quantum-effect.c monster/quantum-effect.h \
114         monsterrace-hook.c monsterrace-hook.h \
115         monster-dist-offsets.c monster-dist-offsets.h \
116         monster-process.c monster-process.h \
117         monster-status.c monster-status.h monster1.c monster2.c \
118         mspells1.c mspells2.c mspells3.c mspells4.c monster-spell.h \
119         \
120         mutation.h mutation.c \
121         \
122         object-boost.c object-boost.h \
123         object-curse.c object-curse.h object-broken.c object-broken.h \
124         object-hook.c object-hook.h object1.c object2.c object.h \
125         object/object-kind.c object/object-kind.h \
126         object/object-kind-hook.c object/object-kind-hook.h \
127         object-flavor.c object-flavor.h object-ego.c object-ego.h \
128         \
129         patron.h patron.c \
130         \
131         creature.h creature.c \
132         player-move.c player-move.h player-damage.c player-damage.h \
133         horror-descriptions.c horror-descriptions.h \
134         player-status.c player-status.h player-effects.c player-effects.h \
135         player-skill.c player-skill.h player-class.c player-class.h \
136         player-race.c player-race.h player-personality.c player-personality.h \
137         player-sex.c player-sex.h player-inventory.c player-inventory.h \
138         \
139         quest.h quest.c\
140         \
141         racial.c racial.h \
142         realm/realm.c realm/realm.h \
143         realm/realm-arcane.c realm/realm-arcane.h \
144         realm/realm-chaos.c realm/realm-chaos.h \
145         realm/realm-craft.c realm/realm-craft.h \
146         realm/realm-crusade.c realm/realm-crusade.h \
147         realm/realm-daemon.c realm/realm-daemon.h \
148         realm/realm-death.c realm/realm-death.h \
149         realm/realm-hex.c realm/realm-hex.h 
150         realm/realm-hissatsu.c realm/realm-hissatsu.h \
151         realm/realm-life.c realm/realm-life.h 
152         realm/realm-nature.c realm/realm-nature.h realm/realm-song.c \
153         realm/realm-song.h realm/realm-sorcery.c \
154         realm/realm-sorcery.h realm/realm-trump.c realm/realm-trump.h \
155         \
156         report.c report.h \
157         rooms.c rooms-city.c rooms-city.h rooms-fractal.c rooms-fractal.h \
158         rooms.h rooms-normal.c rooms-normal.h \
159         rooms-special.c rooms-special.h rooms-trap.c rooms-trap.h \
160         rooms-vault.c rooms-vault.h \
161         room/rooms-pit-nest.c room/rooms-pit-nest.h \
162         room/pit-nest-kinds-table.c room/pit-nest-kinds-table.h \
163         save.c save.h scores.c scores.h selfinfo.c selfinfo.h \
164         snipe.c snipe.h \
165         \
166         rumor.h rumor.c \
167         \
168         effect/effect-feature.c effect/effect-feature.h \
169         effect/effect-item.c effect/effect-item.h \
170         effect/spells-effect-util.c effect/spells-effect-util.h \
171         effect/effect-player.c effect/effect-player.h \
172         effect/effect-monster.c effect/effect-monster.h \
173         effect/effect-monster-util.c effect/effect-monster-util.h \
174         effect/effect-monster-resist-hurt.c effect/effect-monster-resist-hurt.h \
175         effect/effect-monster-psi.c effect/effect-monster-psi.h \
176         effect/effect-monster-domination.c effect/effect-monster-domination.h \
177         effect/effect-monster-oldies.c effect/effect-monster-oldies.h \
178         effect/effect-monster-charm.c effect/effect-monster-charm.h \
179         effect/effect-monster-switcher.c effect/effect-monster-switcher.h \
180         effect/effect-player-util.h \
181         effect/effect-player-switcher.c effect/effect-player-switcher.h \
182         \
183         spell/technic-info-table.c spell/technic-info-table.h \
184         spell/spells-execution.c spell/spells-execution.h \
185         spell/spells-util.h spell/spells-type.h \
186         spells.h \
187         spells1.c spells2.c spells3.c \
188         spells-diceroll.c spells-diceroll.h \
189         spells-floor.c spells-floor.h \
190         spells-object.c spells-object.h \
191         spells-status.c spells-status.h \
192         spells-summon.c spells-summon.h \
193         spells-world.c spells-world.h \
194         \
195         sort.c sort.h gameterm.c gameterm.h trap.c trap.h util.c util.h \
196         wild.h wild.c wizard1.c wizard2.c \
197         warning.c warning.h world.c world.h \
198         \
199         view-mainwindow.c view-mainwindow.h targeting.c targeting.h \
200         \
201         z-form.c z-form.h z-rand.c z-rand.h z-term.c z-term.h z-util.c z-util.h \
202         z-virt.c z-virt.h \
203         \
204         knowledge/knowledge-autopick.c knowledge/knowledge-autopick.h \
205         knowledge/knowledge-experiences.c knowledge/knowledge-experiences.h \
206         knowledge/knowledge-features.c knowledge/knowledge-features.h \
207         knowledge/knowledge-inventory.c knowledge/knowledge-inventory.h \
208         knowledge/knowledge-items.c knowledge/knowledge-items.h \
209         knowledge/knowledge-monsters.c knowledge/knowledge-monsters.h \
210         knowledge/knowledge-mutations.c knowledge/knowledge-mutations.h \
211         knowledge/knowledge-uniques.c knowledge/knowledge-uniques.h \
212         knowledge/knowledge-self.c knowledge/knowledge-self.h \
213         knowledge/knowledge-quests.c knowledge/knowledge-quests.h \
214         \
215         cmd/cmd-autopick.c cmd/cmd-autopick.c \
216         cmd/dump-util.c cmd/dump-util.h cmd/feeling-table.c cmd/feeling-table.h \
217         cmd/monster-group-table.c cmd/monster-group-table.h \
218         cmd/diary-subtitle-table.c cmd/diary-subtitle-table.h \
219         cmd/object-group-table.c cmd/object-group-table.h \
220         cmd/cmd-activate.c cmd/cmd-activate.h cmd/cmd-basic.c cmd/cmd-basic.h \
221         cmd/cmd-diary.c cmd/cmd-diary.h cmd/cmd-dump.c cmd/cmd-dump.h \
222         cmd/cmd-draw.c cmd/cmd-draw.h cmd/cmd-eat.c cmd/cmd-eat.h \
223         cmd/cmd-gameoption.c cmd/cmd-gameoption.h cmd/cmd-help.c cmd/cmd-help.h \
224         cmd/cmd-hissatsu.c cmd/cmd-hissatsu.h cmd/cmd-inn.c cmd/cmd-inn.h \
225         cmd/cmd-item.c cmd/cmd-item.h cmd/cmd-knowledge.c cmd/cmd-knowledge.h \
226         cmd/lighting-level-table.c cmd/lighting-level-table.h \
227         cmd/cmd-magiceat.c cmd/cmd-magiceat.h cmd/cmd-mane.c cmd/cmd-mane.h \
228         cmd/cmd-macro.c cmd/cmd-macro.h cmd/cmd-pet.c cmd/cmd-pet.h \
229         cmd/cmd-quaff.c cmd/cmd-quaff.h cmd/cmd-read.c cmd/cmd-read.h \
230         cmd/cmd-process-screen.c cmd/cmd-process-screen.h \
231         cmd/cmd-save.c cmd/cmd-save.h cmd/cmd-smith.c cmd/cmd-smith.h \
232         cmd/cmd-spell.c cmd/cmd-spell.h cmd/cmd-visuals.c cmd/cmd-visuals.h \
233         cmd/cmd-usestaff.c cmd/cmd-usestaff.h \
234         cmd/cmd-zaprod.c cmd/cmd-zaprod.h cmd/cmd-zapwand.c cmd/cmd-zapwand.h \
235         \
236         combat/melee.h combat/melee.c combat/shoot.c combat/shoot.h
237
238 EXTRA_hengband_SOURCES = \
239         angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
240         makefile.bcc makefile.std readdib.c readdib.h wall.bmp \
241
242 EXTRA_DIST = \
243         gcc-wrap
244
245 CFLAGS += $(XFT_CFLAGS)
246 LIBS += $(XFT_LIBS)
247 COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
248         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
249         -Iautopick -Icmd -Icombat -Icore -Ieffect -Iio -Iknowledge -Imarket \
250         -Imonster -Iobject -Iplayer -Irealm -Iroom -Ispell -Iview
251
252 install-exec-hook:
253 if SET_GID
254         chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"
255         chmod g+s "$(DESTDIR)$(bindir)/hengband"
256 endif