OSDN Git Service

[Refactor] #37353 鍛冶の処理を cmd-smith.c に分離 / Separate cmd-smith.c from object2.c.
[hengbandforosx/hengbandosx.git] / src / Makefile.am
1 ## Makefile.am -- Process this file with automake to process Makefile.in
2
3 AUTOMAKE_OPTIONS = foreign
4
5 bin_PROGRAMS = hengband
6
7 hengband_SOURCES = \
8         artifact.c artifact.h \
9         \
10         angband.h autopick.c \
11         \
12         avatar.h avatar.c \
13         \
14         birth.c bldg.c chest.c chest.h chuukei.c \
15         cmd2.c cmd4.c cmd-activate.c cmd-activate.h cmd-eat.c cmd-eat.h \
16         cmd-item.c cmd-item.h cmd-magiceat.c cmd-magiceat.h cmd-pet.c cmd-pet.h \
17         cmd-quaff.c cmd-quaff.h cmd-read.c cmd-read.h cmd-spell.c cmd-spell.h \
18         cmd-usestaff.c cmd-usestaff.h cmd-zaprod.c cmd-zaprod.h cmd-zapwand.c \
19         cmd-zapwand.h cmd-smith.c cmd-smith.h \
20         \
21         defines.h dungeon.c effects.c externs.h files.c flavor.c \
22         \
23         floor.h floor-events.c floor-events.h floor-generate.c floor-save.c \
24         floor-streams.c floor-streams.h \
25         \
26         feature.c feature.h \
27         geometry.c geometry.h \
28         \
29         gameoption.c gameoption.h gamevalue.h \
30         generate.h grid.c grid.h h-basic.h h-config.h h-define.h hissatsu.c \
31         history.h history.c \
32         h-system.h h-type.h inet.c init1.c init2.c init.h japanese.c load.c \
33         main.c main-x11.c main-gcu.c mane.c \
34         melee.h melee1.c mind.c \
35         \
36         monster.h \
37         monsterrace-hook.c monsterrace-hook.h monster-process.c \
38         monster-process.h monster-status.c monster-status.h monster1.c \
39         monster2.c mspells1.c mspells2.c mspells3.c mspells4.c \
40         \
41         mutation.h mutation.c \
42         \
43         object-curse.c object-curse.h \
44         object-hook.c object-hook.h object1.c object2.c \
45         objectkind-hook.c objectkind-hook.h \
46         \
47         patron.h patron.c \
48         \
49         projection.h projection.c\
50         \
51         player-move.c player-damage.c player-damage.h player-status.c player-status.h \
52         \
53         quest.h quest.c\
54         \
55         racial.c \
56         realm-arcane.c \
57         realm-arcane.h realm-chaos.c realm-chaos.h realm-craft.c realm-craft.h \
58         realm-crusade.c realm-crusade.h realm-daemon.c realm-daemon.h realm-death.c \
59         realm-death.h realm-hex.c realm-hex.h realm-hissatsu.c realm-hissatsu.h \
60         realm-life.c realm-life.h realm-nature.c realm-nature.h realm-song.c \
61         realm-song.h realm-sorcery.c realm-sorcery.h realm-trump.c realm-trump.h \
62         report.c rooms.c rooms-city.c rooms-city.h rooms-fractal.c rooms-fractal.h \
63         rooms.h rooms-normal.c rooms-normal.h rooms-pitnest.c rooms-pitnest.h \
64         rooms-special.c rooms-special.h rooms-trap.c rooms-trap.h rooms-vault.c \
65         rooms-vault.h save.c scores.c selfinfo.c selfinfo.h shoot.c shoot.h snipe.c \
66         \
67         rumor.h rumor.c \
68         \
69         spells.h
70         spells1.c spells2.c spells3.c \
71         spells-diceroll.c spells-diceroll.h \
72         spells-floor.c spells-floor.h \
73         spells-object.c spells-object.h \
74         spells-status.c spells-status.h \
75         spells-summon.c spells-summon.h \
76         spells-world.c spells-world.h \
77         \
78         sort.c sort.h \
79         store.h store.c tables.c trap.c trap.h types.h util.c \
80         variable.c wild.h wild.c wizard1.c wizard2.c \
81         world.c world.h \
82         \
83         view-mainwindow.c\
84         \
85         xtra2.c z-config.h \
86         z-form.c z-form.h z-rand.c z-rand.h z-term.c z-term.h z-util.c z-util.h \
87         z-virt.c z-virt.h 
88
89 EXTRA_hengband_SOURCES = \
90         angband.ico angband.rc ang_eng.rc maid-x11.c main-mac.c main-win.c \
91         main-dos.c main-ibm.c \
92         makefile.bcc makefile.std makefile.dos makefile.ibm \
93         readdib.c wall.bmp
94
95 COMPILE = ./gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
96         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
97
98 install-exec-hook:
99 if SET_GID
100         chgrp "@GAMEGROUP@" "$(DESTDIR)$(bindir)/hengband"
101         chmod g+s "$(DESTDIR)$(bindir)/hengband"
102 endif