OSDN Git Service

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