OSDN Git Service

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