OSDN Git Service

[Refactor] #40577 Separated projection-path-calculator.c/h from floor.c/h
[hengband/hengband.git] / src / Makefile.am
index a37d947..508b4df 100644 (file)
@@ -1,11 +1,12 @@
 ## Makefile.am -- Process this file with automake to process Makefile.in
 
-AUTOMAKE_OPTIONS = foreign subdir-objects
+AUTOMAKE_OPTIONS = foreign subdir-objects nostdinc
 
 bin_PROGRAMS = hengband
 
 hengband_SOURCES = \
        action/action-limited.c action/action-limited.h \
+       action/activation-execution.c action/activation-execution.h \
        action/movement-execution.c action/movement-execution.h \
        action/mutation-execution.c action/mutation-execution.h \
        action/open-util.c action/open-util.h \
@@ -22,7 +23,6 @@ hengband_SOURCES = \
        artifact/random-art-activation.c artifact/random-art-activation.h \
        artifact/random-art-bias-types.h \
        artifact/random-art-characteristics.c artifact/random-art-characteristics.h \
-       artifact/fixed-art-generator.c artifact/fixed-art-generator.h \
        artifact/random-art-generator.c artifact/random-art-generator.h \
        artifact/random-art-misc.c artifact/random-art-misc.h \
        artifact/random-art-pval-investor.c artifact/random-art-pval-investor.h \
@@ -100,7 +100,6 @@ hengband_SOURCES = \
        cmd-action/cmd-racial.c cmd-action/cmd-racial.h \
        cmd-action/cmd-shoot.c cmd-action/cmd-shoot.h \
        cmd-action/cmd-spell.c cmd-action/cmd-spell.h \
-       cmd-action/cmd-throw.c cmd-action/cmd-throw.h \
        cmd-action/cmd-travel.c cmd-action/cmd-travel.h \
        cmd-action/cmd-tunnel.c cmd-action/cmd-tunnel.h \
        \
@@ -111,6 +110,7 @@ hengband_SOURCES = \
        cmd-io/cmd-autopick.c cmd-io/cmd-autopick.h \
        cmd-io/cmd-diary.c cmd-io/cmd-diary.h \
        cmd-io/cmd-dump.c cmd-io/cmd-dump.h \
+       cmd-io/cmd-floor.c cmd-io/cmd-floor.h \
        cmd-io/cmd-gameoption.c cmd-io/cmd-gameoption.h \
        cmd-io/cmd-help.c cmd-io/cmd-help.h \
        cmd-io/cmd-knowledge.c cmd-io/cmd-knowledge.h \
@@ -123,13 +123,16 @@ hengband_SOURCES = \
        cmd-io/feeling-table.c cmd-io/feeling-table.h \
        cmd-io/macro-util.c cmd-io/macro-util.h \
        \
-       cmd-item/cmd-activate.c cmd-item/cmd-activate.h \
+       cmd-item/cmd-destroy.c cmd-item/cmd-destroy.h \
        cmd-item/cmd-eat.c cmd-item/cmd-eat.h \
+       cmd-item/cmd-equipment.c cmd-item/cmd-equipment.h \
        cmd-item/cmd-item.c cmd-item/cmd-item.h \
        cmd-item/cmd-magiceat.c cmd-item/cmd-magiceat.h \
        cmd-item/cmd-quaff.c cmd-item/cmd-quaff.h \
        cmd-item/cmd-read.c cmd-item/cmd-read.h \
+       cmd-item/cmd-refill.c cmd-item/cmd-refill.h \
        cmd-item/cmd-smith.c cmd-item/cmd-smith.h \
+       cmd-item/cmd-throw.c cmd-item/cmd-throw.h \
        cmd-item/cmd-usestaff.c cmd-item/cmd-usestaff.h \
        cmd-item/cmd-zaprod.c cmd-item/cmd-zaprod.h \
        cmd-item/cmd-zapwand.c cmd-item/cmd-zapwand.h \
@@ -173,6 +176,7 @@ hengband_SOURCES = \
        dungeon/dungeon-flag-types.h \
        dungeon/dungeon-processor.c dungeon/dungeon-processor.h \
        dungeon/quest.h dungeon/quest.c \
+       dungeon/quest-completion-checker.c dungeon/quest-completion-checker.h \
        dungeon/quest-monster-placer.c dungeon/quest-monster-placer.h \
        \
        effect/effect-feature.c effect/effect-feature.h \
@@ -196,6 +200,7 @@ hengband_SOURCES = \
        effect/effect-player-curse.c effect/effect-player-curse.h \
        effect/effect-player-spirit.c effect/effect-player-spirit.h \
        effect/effect-player-switcher.c effect/effect-player-switcher.h \
+       effect/effect-processor.c effect/effect-processor.h \
        effect/effect-characteristics.h \
        \
        flavor/flag-inscriptions-table.c flavor/flag-inscriptions-table.h \
@@ -213,11 +218,15 @@ hengband_SOURCES = \
        floor/floor.c floor/floor.h \
        floor/floor-allocation-types.h \
        floor/floor-base-definitions.h \
+       floor/floor-changer.c floor/floor-changer.h \
        floor/floor-events.c floor/floor-events.h \
        floor/floor-generator-util.h \
        floor/floor-generator.c floor/floor-generator.h \
+       floor/floor-leaver.c floor/floor-leaver.h \
+       floor/floor-mode-changer.c floor/floor-mode-changer.h \
        floor/floor-object.c floor/floor-object.h \
-       floor/floor-save.h floor/floor-save.c \
+       floor/floor-save.c floor/floor-save.h \
+       floor/floor-save-util.c floor/floor-save-util.h \
        floor/floor-streams.c floor/floor-streams.h \
        floor/floor-town.h floor/floor-town.c \
        floor/floor-util.c floor/floor-util.h \
@@ -341,12 +350,13 @@ hengband_SOURCES = \
        load/load-util.c load/load-util.h \
        load/load-v1-3-0.c load/load-v1-3-0.h \
        load/load-v1-5-0.c load/load-v1-5-0.h \
+       load/load-v1-7-0.c load/load-v1-7-0.h \
        load/load-zangband.c load/load-zangband.h \
        load/quest-loader.c load/quest-loader.h \
        load/load.c load/load.h \
        load/lore-loader.c load/lore-loader.h \
        load/option-loader.c load/option-loader.h \
-       load/player-attack-loader.c load/player-attack-loader. \
+       load/player-attack-loader.c load/player-attack-loader.h \
        load/player-info-loader.c load/player-info-loader.h \
        load/savedata-flag-types.h \
        load/store-loader.c load/store-loader.h \
@@ -436,6 +446,7 @@ hengband_SOURCES = \
        monster/monster-timed-effect-types.h \
        monster/smart-learn-types.h \
        monster/monster-status.c monster/monster-status.h \
+       monster/monster-status-setter.c monster/monster-status-setter.h \
        monster/monster-update.c monster/monster-update.h \
        monster/monster-util.c monster/monster-util.h \
        \
@@ -461,6 +472,8 @@ hengband_SOURCES = \
        monster-floor/monster-safety-hiding.c monster-floor/monster-safety-hiding.h \
        monster-floor/monster-summon.c monster-floor/monster-summon.h \
        monster-floor/monster-sweep-grid.c monster-floor/monster-sweep-grid.h \
+       monster-floor/monster-lite.c monster-floor/monster-lite.h \
+       monster-floor/monster-lite-util.c monster-floor/monster-lite-util.h \
        monster-floor/one-monster-placer.c monster-floor/one-monster-placer.h \
        monster-floor/place-monster-types.h \
        monster-floor/quantum-effect.c monster-floor/quantum-effect.h \
@@ -500,7 +513,7 @@ hengband_SOURCES = \
        mspell/mspell-special.c mspell/mspell-special.h \
        mspell/mspell-status.c mspell/mspell-status.h \
        mspell/mspell-particularity.c mspell/mspell-particularity.h \
-       mspell/mspell-selector.hmspell/mspell-selector.h \
+       mspell/mspell-selector.mspell/mspell-selector.h \
        mspell/smart-mspell-util.c mspell/smart-mspell-util.h \
        mspell/specified-summon.c mspell/specified-summon.h \
        mspell/summon-checker.c mspell/summon-checker.h \
@@ -530,13 +543,21 @@ hengband_SOURCES = \
        object/object-mark-types.h \
        object/item-use-flags.h \
        \
+       object-activation/activation-bolt-ball.c object-activation/activation-bolt-ball.h \
+       object-activation/activation-breath.c object-activation/activation-breath.h \
+       object-activation/activation-charm.c object-activation/activation-charm.h \
+       object-activation/activation-genocide.c object-activation/activation-genocide.h \
+       object-activation/activation-others.c object-activation/activation-others.h \
+       object-activation/activation-resistance.c object-activation/activation-resistance.h \
+       object-activation/activation-switcher.c object-activation/activation-switcher.h \
+       object-activation/activation-teleport.c object-activation/activation-teleport.h \
+       \
        object-enchant/activation-info-table.c object-enchant/activation-info-table.h \
        object-enchant/apply-magic.c object-enchant/apply-magic.h \
        object-enchant/apply-magic-accessory.c object-enchant/apply-magic-accessory.h \
        object-enchant/apply-magic-armor.c object-enchant/apply-magic-armor.h \
        object-enchant/apply-magic-others.c object-enchant/apply-magic-others.h \
        object-enchant/apply-magic-weapon.c object-enchant/apply-magic-weapon.h \
-       object-enchant/artifact.c object-enchant/artifact.h \
        object-enchant/dragon-breaths-table.c object-enchant/dragon-breaths-table.h \
        object-enchant/object-boost.c object-enchant/object-boost.h \
        object-enchant/object-curse.c object-enchant/object-curse.h \
@@ -590,8 +611,10 @@ hengband_SOURCES = \
        player/player-skill.c player/player-skill.h \
        player/player-status.c player/player-status.h \
        player/player-status-flags.c player/player-status-flags.h \
+       player/player-status-table.c player/player-status-table.h \
        player/player-personalities-types.h \
        player/player-sex.c player/player-sex.h \
+       player/player-view.c player/player-view.h \
        player/selfinfo.c player/selfinfo.h \
        player/special-defense-types.h \
        \
@@ -655,13 +678,18 @@ hengband_SOURCES = \
        save/save.c save/save.h \
        save/save-util.c save/save-util.h \
        \
+       specific-object/blade-turner.c specific-object/blade-turner.h \
+       specific-object/bloody-moon.c specific-object/bloody-moon.h \
        specific-object/bow.c specific-object/bow.h \
        specific-object/chest.c specific-object/chest.h \
        specific-object/death-crimson.c specific-object/death-crimson.h \
        specific-object/death-scythe.c specific-object/death-scythe.h \
+       specific-object/monster-ball.c specific-object/monster-ball.h \
+       specific-object/muramasa.c specific-object/muramasa.h \
+       specific-object/ring-of-power.c specific-object/ring-of-power.h \
+       specific-object/toragoroshi.c specific-object/toragoroshi.h \
        specific-object/torch.c specific-object/torch.h \
        \
-       spell/process-effect.c spell/process-effect.h \
        spell/range-calc.c spell/range-calc.h \
        spell/spells-describer.c spell/spells-describer.h \
        spell/spells-diceroll.c spell/spells-diceroll.h \
@@ -722,10 +750,10 @@ hengband_SOURCES = \
        store/home.c store/home.h \
        store/store.c store/store.h \
        store/black-market.c store/black-market.h \
+       store/museum.c store/museum.h \
        store/pricing.c store/pricing.h \
        store/purchase-order.c store/purchase-order.h \
        store/owner-insults.c store/owner-insults.h \
-       store/purchase-order.c store/purchase-order.h \
        store/rumor.c store/rumor.h \
        store/say-comments.c store/say-comments.h \
        store/sell-order.c store/sell-order.h \
@@ -746,8 +774,9 @@ hengband_SOURCES = \
        system/alloc-entries.c system/alloc-entries.h \
        system/alloc-entry-definition.h \
        system/angband.h system/angband-version.h \
+       system/artifact-type-definition.c system/artifact-type-definition.h \
        system/building-type-definition.c system/building-type-definition.h \
-       system/dungeon-data-definition.c system/dungeon-data-definition.h \
+       system/dungeon-data-definition.h \
        system/floor-type-definition.h \
        system/game-option-types.h \
        system/h-basic.h system/h-config.h \
@@ -759,6 +788,7 @@ hengband_SOURCES = \
        system/gamevalue.h \
        \
        target/grid-selector.c target/grid-selector.h \
+       target/projection-path-calculator.c target/projection-path-calculator.h
        target/target-checker.c target/target-checker.h \
        target/target-describer.c target/target-describer.h \
        target/target-getter.c target/target-getter.h \
@@ -812,7 +842,7 @@ hengband_SOURCES = \
        window/main-window-row-column.h \
        window/main-window-stat-poster.c window/main-window-stat-poster.h \
        window/main-window-util.c window/main-window-util.h \
-       window/main-window-equipment.c window/main-window-equipment.h \
+       window/main-window-equipments.c window/main-window-equipments.h \
        \
        wizard/artifact-analyzer.c wizard/artifact-analyzer.h \
        wizard/artifact-bias-table.c wizard/artifact-bias-table.h \
@@ -841,19 +871,72 @@ EXTRA_hengband_SOURCES = \
 EXTRA_DIST = \
        gcc-wrap
 
+DEFAULT_INCLUDES = -I$(srcdir) \
+       -I$(srcdir)/artifact \
+       -I$(srcdir)/art-definition \
+       -I$(srcdir)/autopick \
+       -I$(srcdir)/birth \
+       -I$(srcdir)/blue-magic \
+       -I$(srcdir)/cmd-action \
+       -I$(srcdir)/cmd-building \
+       -I$(srcdir)/cmd-io \
+       -I$(srcdir)/cmd-item \
+       -I$(srcdir)/cmd-visual \
+       -I$(srcdir)/combat \
+       -I$(srcdir)/core \
+       -I$(srcdir)/dungeon \
+       -I$(srcdir)/effect \
+       -I$(srcdir)/flavor \
+       -I$(srcdir)/floor \
+       -I$(srcdir)/game-option \
+       -I$(srcdir)/grid \
+       -I$(srcdir)/info-reader \
+       -I$(srcdir)/inventory \
+       -I$(srcdir)/io \
+       -I$(srcdir)/io-dump \
+       -I$(srcdir)/knowledge \
+       -I$(srcdir)/load \
+       -I$(srcdir)/lore \
+       -I$(srcdir)/market \
+       -I$(srcdir)/melee \
+       -I$(srcdir)/mind \
+       -I$(srcdir)/monster \
+       -I$(srcdir)/monster-attack \
+       -I$(srcdir)/monster-floor \
+       -I$(srcdir)/monster-race \
+       -I$(srcdir)/mspell \
+       -I$(srcdir)/mutation \
+       -I$(srcdir)/object \
+       -I$(srcdir)/object-activation \
+       -I$(srcdir)/object-enchant \
+       -I$(srcdir)/object-hook \
+       -I$(srcdir)/object-use \
+       -I$(srcdir)/pet \
+       -I$(srcdir)/player \
+       -I$(srcdir)/player-attack \
+       -I$(srcdir)/racial \
+       -I$(srcdir)/realm \
+       -I$(srcdir)/room \
+       -I$(srcdir)/save \
+       -I$(srcdir)/specific-object \
+       -I$(srcdir)/spell \
+       -I$(srcdir)/spell-kind \
+       -I$(srcdir)/spell-realm \
+       -I$(srcdir)/status \
+       -I$(srcdir)/sv-definition \
+       -I$(srcdir)/system \
+       -I$(srcdir)/target \
+       -I$(srcdir)/term \
+       -I$(srcdir)/util \
+       -I$(srcdir)/view \
+       -I$(srcdir)/window \
+       -I$(srcdir)/wizard \
+       -I$(srcdir)/world \
+       -I$(top_builddir)/src 
 CFLAGS += $(XFT_CFLAGS)
 LIBS += $(XFT_LIBS)
 COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
-       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
-       -Iartifact -Iart-definition -Iautopick -Ibirth -Iblue-magic -Icmd-io \
-       -Icmd-item -Icmd-visual -Icombat -Icore -Idungeon -Ieffect -Iflavor \
-       -Ifloor -Igame-option -Igrid -Iinfo-reader -Iinventory -Iio -Iio-dump \
-       -Iknowledge -Iload -Imarket -Imelee -Imind -Imonster -Imonster-attack \
-       -Imonster-floor -Imonster-race -Ilore -Imspell -Imutation -Iobject \
-       -Iobject-enchant -Iobject-hook -Iobject-use -Ipet -Iplayer -Iplayer-attack \
-       -Iracial -Irealm -Iroom -Isave -Ispecific-object -Ispell -Ispell-kind \
-       -Ispell-realm -Istatus -Isv-definition -Isystem -Itarget -Iterm -Iutil \
-       -Iview -Iwindow -Iwizard -Iworld
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 
 
 install-exec-hook:
 if SET_GID