1 ## Makefile.am -- Process this file with automake to process Makefile.in
3 AUTOMAKE_OPTIONS = foreign subdir-objects
5 bin_PROGRAMS = hengband
8 artifact.c artifact.h \
12 autopick/autopick.c autopick/autopick.h \
13 autopick/autopick-editor-table.h autopick/autopick-flags-table.h \
14 autopick/autopick-key-table.h \
16 avatar.h avatar.c birth.c birth.h \
18 main/music-definitions-table.c main/music-definitions-table.h \
19 main/sound-definitions-table.c main/sound-definitions-table.h \
20 market/arena-info-table.c market/arena-info-table.h \
21 market/building.c market/building.h \
22 market/building-util.c market/building-util.h \
23 market/play-gamble.c market/play-gamble.h \
24 market/poker.c market/poker.h market/store-owners.c market/store-owners.h \
25 market/store-owner-comments.c market/store-owner-comments.h \
26 market/articles-on-sale.c market/articles-on-sale.h \
27 market/black-market.c market/black-market.h \
28 market/say-comments.c market/say-comments.h \
29 market/store-util.c market/store-util.h \
30 market/gold-magnification-table.c market/gold-magnification-table.h \
31 market/store.c market/store.h \
32 chest.c chest.h chuukei.c chuukei.h \
34 view/display-characteristic.c view/display-characteristic.h \
35 view/display-fruit.c view/display-fruit.h \
36 view/display-player-stat-info.c view/display-player-stat-info.h \
37 view/display-player-misc-info.c view/display-player-misc-info.h \
38 view/display-player-middle.c view/display-player-middle.h \
39 view/display-player.c view/display-player.h \
40 view/status-first-page.c view/status-first-page.h \
41 view/display-util.c view/display-util.h \
43 player/mimic-info-table.c player/mimic-info-table.h \
44 player/process-death.c player/process-death.h \
45 player/process-name.c player/process-name.h \
46 player/race-info-table.c player/race-info-table.h\
47 player/race-resistances.c player/race-resistances.h \
48 player/permanent-resistances.c player/permanent-resistances.h \
49 player/temporary-resistances.c player/temporary-resistances.h \
51 io/gf-descriptions.c io/gf-descriptions.h \
52 io/tokenizer.c io/tokenizer.h \
53 io/interpret-pref-file.c io/interpret-pref-file.h \
54 io/player-status-dump.c io/player-status-dump.h \
55 io/special-class-dump.c io/special-class-dump.h \
56 io/read-pref-file.c io/read-pref-file.h \
57 io/exit-panic.c io/exit-panic.h \
58 io/write-diary.c io/write-diary.h \
59 io/mutations-dump.c io/mutations-dump.h \
60 signal-handlers.c signal-handlers.h uid-checker.c uid-checker.h \
61 character-dump.c character-dump.h core.c core.h files.c files.h \
62 core/show-file.c core/show-file.h \
65 floor.c floor.h floor-events.c floor-events.h \
66 floor-generate.c floor-generate.h \
67 floor-save.h floor-save.c floor-town.h floor-town.c \
68 floor-streams.c floor-streams.h \
71 geometry.c geometry.h \
74 grid.c grid.h h-basic.h h-config.h h-define.h \
76 h-system.h h-type.h inet.c inet.h init.c init.h \
77 japanese.c japanese.h english.c english.h \
79 dungeon-file.c dungeon-file.h \
80 main.c main-x11.c main-gcu.c \
83 monster.h monsterrace.c monsterrace.h \
84 monster/monster-util.c monster/monster-util.h \
85 monster/monster-direction.c monster/monster-direction.h \
86 monster/monster-attack.c monster/monster-attack.h \
87 monster/monster-move.c monster/monster-move.h \
88 monster/monster-object.c monster/monster-object.h \
89 monster/monster-runaway.c monster/monster-runaway.h \
90 monster/monster-safety-hiding.c monster/monster-safety-hiding.h \
91 monster/monster-sweep-grid.c monster/monster-sweep-grid.h \
92 monster/monster-update.c monster/monster-update.h \
93 monster/quantum-effect.c monster/quantum-effect.h \
94 monsterrace-hook.c monsterrace-hook.h \
95 monster-dist-offsets.c monster-dist-offsets.h \
96 monster-process.c monster-process.h \
97 monster-status.c monster-status.h monster1.c monster2.c \
98 mspells1.c mspells2.c mspells3.c mspells4.c monster-spell.h \
100 mutation.h mutation.c \
102 object-boost.c object-boost.h \
103 object-curse.c object-curse.h object-broken.c object-broken.h \
104 object-hook.c object-hook.h object1.c object2.c object.h \
105 object/object-kind.c object/object-kind.h \
106 object/object-kind-hook.c object/object-kind-hook.h \
107 object-flavor.c object-flavor.h object-ego.c object-ego.h \
111 creature.h creature.c \
112 player-move.c player-move.h player-damage.c player-damage.h \
113 horror-descriptions.c horror-descriptions.h \
114 player-status.c player-status.h player-effects.c player-effects.h \
115 player-skill.c player-skill.h player-class.c player-class.h \
116 player-race.c player-race.h player-personality.c player-personality.h \
117 player-sex.c player-sex.h player-inventory.c player-inventory.h \
123 realm-arcane.c realm-arcane.h realm-chaos.c realm-chaos.h \
124 realm-craft.c realm-craft.h realm-crusade.c realm-crusade.h \
125 realm-daemon.c realm-daemon.h realm-death.c realm-death.h \
126 realm-hex.c realm-hex.h realm-hissatsu.c realm-hissatsu.h \
127 realm-life.c realm-life.h realm-nature.c realm-nature.h realm-song.c \
128 realm-song.h realm-sorcery.c realm-sorcery.h realm-trump.c realm-trump.h \
129 report.c report.h rooms.c rooms-city.c rooms-city.h \
130 rooms-fractal.c rooms-fractal.h \
131 rooms.h rooms-normal.c rooms-normal.h rooms-pitnest.c rooms-pitnest.h \
132 rooms-special.c rooms-special.h rooms-trap.c rooms-trap.h \
133 rooms-vault.c rooms-vault.h \
134 save.c save.h scores.c scores.h selfinfo.c selfinfo.h \
140 spells1.c spells2.c spells3.c \
141 spells-diceroll.c spells-diceroll.h \
142 spells-floor.c spells-floor.h \
143 spells-object.c spells-object.h \
144 spells-status.c spells-status.h \
145 spells-summon.c spells-summon.h \
146 spells-world.c spells-world.h \
148 sort.c sort.h gameterm.c gameterm.h trap.c trap.h util.c util.h \
149 wild.h wild.c wizard1.c wizard2.c \
150 warning.c warning.h world.c world.h \
152 view-mainwindow.c view-mainwindow.h targeting.c targeting.h \
154 z-form.c z-form.h z-rand.c z-rand.h z-term.c z-term.h z-util.c z-util.h \
157 knowledge/knowledge-autopick.c knowledge/knowledge-autopick.h \
158 knowledge/knowledge-experiences.c knowledge/knowledge-experiences.h \
159 knowledge/knowledge-features.c knowledge/knowledge-features.h \
160 knowledge/knowledge-inventory.c knowledge/knowledge-inventory.h \
161 knowledge/knowledge-items.c knowledge/knowledge-items.h \
162 knowledge/knowledge-monsters.c knowledge/knowledge-monsters.h \
163 knowledge/knowledge-mutations.c knowledge/knowledge-mutations.h \
164 knowledge/knowledge-uniques.c knowledge/knowledge-uniques.h \
165 knowledge/knowledge-self.c knowledge/knowledge-self.h \
166 knowledge/knowledge-quests.c knowledge/knowledge-quests.h \
168 cmd/dump-util.c cmd/dump-util.h cmd/feeling-table.c cmd/feeling-table.h \
169 cmd/monster-group-table.c cmd/monster-group-table.h \
170 cmd/diary-subtitle-table.c cmd/diary-subtitle-table.h \
171 cmd/object-group-table.c cmd/object-group-table.h \
172 cmd/cmd-activate.c cmd/cmd-activate.h cmd/cmd-basic.c cmd/cmd-basic.h \
173 cmd/cmd-diary.c cmd/cmd-diary.h cmd/cmd-dump.c cmd/cmd-dump.h \
174 cmd/cmd-draw.c cmd/cmd-draw.h cmd/cmd-eat.c cmd/cmd-eat.h \
175 cmd/cmd-gameoption.c cmd/cmd-gameoption.h cmd/cmd-help.c cmd/cmd-help.h \
176 cmd/cmd-hissatsu.c cmd/cmd-hissatsu.h cmd/cmd-inn.c cmd/cmd-inn.h \
177 cmd/cmd-item.c cmd/cmd-item.h cmd/cmd-knowledge.c cmd/cmd-knowledge.h \
178 cmd/lighting-level-table.c cmd/lighting-level-table.h \
179 cmd/cmd-magiceat.c cmd/cmd-magiceat.h cmd/cmd-mane.c cmd/cmd-mane.h \
180 cmd/cmd-macro.c cmd/cmd-macro.h cmd/cmd-pet.c cmd/cmd-pet.h \
181 cmd/cmd-quaff.c cmd/cmd-quaff.h cmd/cmd-read.c cmd/cmd-read.h \
182 cmd/cmd-process-screen.c cmd/cmd-process-screen.h \
183 cmd/cmd-save.c cmd/cmd-save.h cmd/cmd-smith.c cmd/cmd-smith.h \
184 cmd/cmd-spell.c cmd/cmd-spell.h cmd/cmd-visuals.c cmd/cmd-visuals.h \
185 cmd/cmd-usestaff.c cmd/cmd-usestaff.h \
186 cmd/cmd-zaprod.c cmd/cmd-zaprod.h cmd/cmd-zapwand.c cmd/cmd-zapwand.h \
188 combat/melee.h combat/melee.c combat/shoot.c combat/shoot.h
190 EXTRA_hengband_SOURCES = \
191 angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
192 makefile.bcc makefile.std readdib.c readdib.h wall.bmp \
197 CFLAGS += $(XFT_CFLAGS)
199 COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
200 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
201 -Iautopick -Icmd -Icombat -Icore -Iio -Iknowledge -Imarket -Imonster \
202 -Iobject -Iplayer -Iview
206 chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"
207 chmod g+s "$(DESTDIR)$(bindir)/hengband"