OSDN Git Service

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