OSDN Git Service

[Fix] #39962 Added gf-descriptions.c/h into Makefile.am
[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         bldg.c bldg.h chest.c chest.h chuukei.c chuukei.h \
15         \
16         view/display-characteristic.c view/display-characteristic.h \
17         view/display-player-stat-info.c view/display-player-stat-info.h \
18         view/display-player-misc-info.c view/display-player-misc-info.h \
19         view/display-player-middle.c view/display-player-middle.h \
20         view/display-player.c view/display-player.h \
21         view/status-first-page.c view/status-first-page.h \
22         view/display-util.c view/display-util.h \
23         \
24         player/process-death.c player/process-death.h \
25         player/race-resistances.c player/race-resistances.h \
26         player/permanent-resistances.c player/permanent-resistances.h \
27         player/temporary-resistances.c player/temporary-resistances.h \
28         \
29         io/gf-descriptions.c io/gf-descriptions.h \
30         signal-handlers.c signal-handlers.h uid-checker.c uid-checker.h \
31         character-dump.c character-dump.h core.c core.h files.c files.h \
32         \
33         dungeon.c dungeon.h \
34         floor.c floor.h floor-events.c floor-events.h \
35         floor-generate.c floor-generate.h \
36         floor-save.h floor-save.c floor-town.h floor-town.c \
37         floor-streams.c floor-streams.h \
38         \
39         feature.c feature.h \
40         geometry.c geometry.h \
41         \
42         gamevalue.h \
43         grid.c grid.h h-basic.h h-config.h h-define.h \
44         history.h history.c \
45         h-system.h h-type.h inet.c inet.h init.c init.h \
46         japanese.c japanese.h english.c english.h \
47         load.c load.h \
48         dungeon-file.c dungeon-file.h \
49         main.c main-x11.c main-gcu.c \
50         mind.c mind.h \
51         \
52         monster.h monsterrace.c monsterrace.h \
53         monsterrace-hook.c monsterrace-hook.h \
54         monster-dist-offsets.c monster-dist-offsets.h \
55         monster-process.c monster-process.h \
56         monster-status.c monster-status.h monster1.c monster2.c \
57         mspells1.c mspells2.c mspells3.c mspells4.c monster-spell.h \
58         \
59         mutation.h mutation.c \
60         \
61         object-boost.c object-boost.h \
62         object-curse.c object-curse.h object-broken.c object-broken.h \
63         object-hook.c object-hook.h object1.c object2.c object.h \
64         objectkind.c objectkind.h objectkind-hook.c objectkind-hook.h \
65         object-flavor.c object-flavor.h object-ego.c object-ego.h \
66         \
67         patron.h patron.c \
68         \
69         creature.h creature.c \
70         player-move.c player-move.h player-damage.c player-damage.h \
71         horror-descriptions.c horror-descriptions.h \
72         player-status.c player-status.h player-effects.c player-effects.h \
73         player-skill.c player-skill.h player-class.c player-class.h \
74         player-race.c player-race.h player-personality.c player-personality.h \
75         player-sex.c player-sex.h player-inventory.c player-inventory.h \
76         \
77         quest.h quest.c\
78         \
79         racial.c racial.h \
80         realm.c realm.h \
81         realm-arcane.c realm-arcane.h realm-chaos.c realm-chaos.h \
82         realm-craft.c realm-craft.h realm-crusade.c realm-crusade.h \
83         realm-daemon.c realm-daemon.h realm-death.c realm-death.h \
84         realm-hex.c realm-hex.h realm-hissatsu.c realm-hissatsu.h \
85         realm-life.c realm-life.h realm-nature.c realm-nature.h realm-song.c \
86         realm-song.h realm-sorcery.c realm-sorcery.h realm-trump.c realm-trump.h \
87         report.c report.h rooms.c rooms-city.c rooms-city.h \
88         rooms-fractal.c rooms-fractal.h \
89         rooms.h rooms-normal.c rooms-normal.h rooms-pitnest.c rooms-pitnest.h \
90         rooms-special.c rooms-special.h rooms-trap.c rooms-trap.h \
91         rooms-vault.c rooms-vault.h \
92         save.c save.h scores.c scores.h selfinfo.c selfinfo.h \
93         snipe.c snipe.h \
94         \
95         rumor.h rumor.c \
96         \
97         spells.h \
98         spells1.c spells2.c spells3.c \
99         spells-diceroll.c spells-diceroll.h \
100         spells-floor.c spells-floor.h \
101         spells-object.c spells-object.h \
102         spells-status.c spells-status.h \
103         spells-summon.c spells-summon.h \
104         spells-world.c spells-world.h \
105         \
106         sort.c sort.h \
107         store.h store.c term.c term.h trap.c trap.h util.c util.h \
108         wild.h wild.c wizard1.c wizard2.c \
109         warning.c warning.h world.c world.h \
110         \
111         view-mainwindow.c view-mainwindow.h targeting.c targeting.h \
112         \
113         z-form.c z-form.h z-rand.c z-rand.h z-term.c z-term.h z-util.c z-util.h \
114         z-virt.c z-virt.h \
115         \
116         cmd/cmd-activate.c cmd/cmd-activate.h cmd/cmd-basic.c cmd/cmd-basic.h \
117         cmd/cmd-dump.c cmd/cmd-dump.h cmd/cmd-eat.c cmd/cmd-eat.h \
118         cmd/cmd-gameoption.c cmd/cmd-gameoption.h \
119         cmd/cmd-hissatsu.c cmd/cmd-hissatsu.h cmd/cmd-item.c cmd/cmd-item.h \
120         cmd/cmd-magiceat.c cmd/cmd-magiceat.h cmd/cmd-mane.c cmd/cmd-mane.h \
121         cmd/cmd-pet.c cmd/cmd-pet.h cmd/cmd-quaff.c cmd/cmd-quaff.h \
122         cmd/cmd-read.c cmd/cmd-read.h cmd/cmd-smith.c cmd/cmd-smith.h \
123         cmd/cmd-spell.c cmd/cmd-spell.h cmd/cmd-usestaff.c cmd/cmd-usestaff.h \
124         cmd/cmd-zaprod.c cmd/cmd-zaprod.h cmd/cmd-zapwand.c cmd/cmd-zapwand.h \
125         \
126         combat/melee.h combat/melee1.c combat/shoot.c combat/shoot.h
127
128 EXTRA_hengband_SOURCES = \
129         angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
130         makefile.bcc makefile.std readdib.c readdib.h wall.bmp
131
132 EXTRA_DIST = \
133         gcc-wrap
134
135 COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
136         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -Icmd -Icombat -Iio -Iplayer -Iview
137
138 install-exec-hook:
139 if SET_GID
140         chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"
141         chmod g+s "$(DESTDIR)$(bindir)/hengband"
142 endif