OSDN Git Service

Merge remote-tracking branch 'remotes/origin/Integration-art-definition-artifact...
[hengband/hengband.git] / src / Makefile.am
index 5bbfc4b..ee792d0 100644 (file)
@@ -1,29 +1,87 @@
 ## Makefile.am -- Process this file with automake to process Makefile.in
 
-AUTOMAKE_OPTIONS = foreign
+AUTOMAKE_OPTIONS = foreign subdir-objects nostdinc
 
 bin_PROGRAMS = hengband
 
 hengband_SOURCES = \
-       artifact.c artifact.h \
-       \
-       angband.h autopick.c \
-       \
-       avatar.h avatar.c \
-       \
-       birth.c bldg.c chest.c chest.h chuukei.c \
-       cmd2.c cmd4.c cmd-activate.c cmd-activate.h cmd-eat.c cmd-eat.h \
-       cmd-item.c cmd-item.h cmd-magiceat.c cmd-magiceat.h \
-       cmd-mane.c cmd-mane.h cmd-pet.c cmd-pet.h \
-       cmd-quaff.c cmd-quaff.h cmd-read.c cmd-read.h cmd-spell.c cmd-spell.h \
-       cmd-usestaff.c cmd-usestaff.h cmd-zaprod.c cmd-zaprod.h cmd-zapwand.c \
-       cmd-zapwand.h cmd-smith.c cmd-smith.h cmd-hissatsu.c cmd-hissatsu.h\
-       \
-       defines.h dungeon.c effects.c externs.h files.c flavor.c \
-       \
-       floor.h floor-events.c floor-events.h floor-generate.c floor-generate.h \
-       floor-save.h floor-save.c \
-       floor-streams.c floor-streams.h \
+       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 \
+       action/open-close-execution.c action/open-close-execution.h \
+       action/racial-execution.c action/racial-execution.h \
+       action/run-execution.c action/run-execution.h \
+       action/throw-util.c action/throw-util.h \
+       action/travel-execution.c action/travel-execution.h \
+       action/tunnel-execution.c action/tunnel-execution.h \
+       action/weapon-shield.c action/weapon-shield.h \
+       \
+       artifact/artifact-info.c artifact/artifact-info.h \
+       artifact/fixed-art-generator.c artifact/fixed-art-generator.h \
+       artifact/fixed-art-types.h \
+       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/random-art-effects.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 \
+       artifact/random-art-resistance.c artifact/random-art-resistance.h \
+       artifact/random-art-slay.c artifact/random-art-slay.h \
+       \
+       autopick/autopick.c autopick/autopick.h \
+       autopick/autopick-commands-table.h autopick/autopick-dirty-flags.h \
+       autopick/autopick-editor-table.h autopick/autopick-flags-table.h \
+       autopick/autopick-key-flag-process.h autopick/autopick-keys-table.h \
+       autopick/autopick-menu-data-table.c autopick/autopick-menu-data-table.h \
+       autopick/autopick-methods-table.h \
+       autopick/autopick-util.c autopick/autopick-util.h \
+       autopick/autopick-entry.c autopick/autopick-entry.h \
+       autopick/autopick-initializer.c autopick/autopick-initializer.h \
+       autopick/autopick-matcher.c autopick/autopick-matcher.h \
+       autopick/autopick-describer.c autopick/autopick-describer.h \
+       autopick/autopick-destroyer.c autopick/autopick-destroyer.h \
+       autopick/autopick-reader-writer.c autopick/autopick-reader-writer.h \
+       autopick/autopick-finder.c autopick/autopick-finder.h \
+       autopick/autopick-pref-processor.c autopick/autopick-pref-processor.h \
+       autopick/autopick-drawer.c autopick/autopick-drawer.h \
+       autopick/autopick-inserter-killer.c autopick/autopick-inserter-killer.h \
+       autopick/autopick-registry.c autopick/autopick-registry.h \
+       autopick/autopick-command-menu.c autopick/autopick-command-menu.h \
+       autopick/autopick-editor-util.c autopick/autopick-editor-util.h \
+       autopick/autopick-editor-command.c autopick/autopick-editor-command.h \
+       \
+       birth/birth-explanations-table.c birth/birth-explanations-table.h \
+       birth/character-builder.c birth/character-builder.h \
+       birth/history.c birth/history.h \
+       birth/birth-util.c birth/birth-util.h \
+       birth/birth-select-realm.c birth/birth-select-realm.h \
+       birth/quick-start.c birth/quick-start.h \
+       birth/birth-stat.c birth/birth-stat.h \
+       birth/history-generator.c birth/history-generator.h \
+       birth/birth-body-spec.c birth/birth-body-spec.h \
+       birth/initial-equipments-table.c birth/initial-equipments-table.h \
+       birth/inventory-initializer.c birth/inventory-initializer.h \
+       birth/game-play-initializer.c birth/game-play-initializer.h \
+       birth/history-editor.c birth/history-editor.h \
+       birth/birth-select-race.c birth/birth-select-race.h \
+       birth/birth-select-class.c birth/birth-select-class.h \
+       birth/birth-select-personality.c birth/birth-select-personality.h \
+       birth/auto-roller.c birth/auto-roller.h \
+       birth/birth-wizard.c birth/birth-wizard.h \
+       \
+       blue-magic/blue-magic-ball-bolt.c blue-magic/blue-magic-ball-bolt.h \
+       blue-magic/blue-magic-breath.c blue-magic/blue-magic-breath.h \
+       blue-magic/blue-magic-caster.c blue-magic/blue-magic-caster.h \
+       blue-magic/blue-magic-checker.c blue-magic/blue-magic-checker.h \
+       blue-magic/blue-magic-spirit-curse.c blue-magic/blue-magic-spirit-curse.h \
+       blue-magic/blue-magic-status.c blue-magic/blue-magic-status.h \
+       blue-magic/blue-magic-summon.c blue-magic/blue-magic-summon.h \
+       blue-magic/blue-magic-util.c blue-magic/blue-magic-util.h \
+       blue-magic/learnt-info.c blue-magic/learnt-info.h \
+       blue-magic/learnt-power-getter.c blue-magic/learnt-power-getter.h \
        \
        cmd-action/cmd-attack.c cmd-action/cmd-attack.h \
        cmd-action/cmd-hissatsu.c cmd-action/cmd-hissatsu.h \
@@ -312,12 +370,7 @@ hengband_SOURCES = \
        lore/magic-types-setter.c lore/magic-types-setter.h \
        lore/monster-lore.c lore/monster-lore.h \
        \
-       gameoption.c gameoption.h gamevalue.h \
-       generate.h grid.c grid.h h-basic.h h-config.h h-define.h \
-       history.h history.c \
-       h-system.h h-type.h inet.c init1.c init2.c init.h japanese.c load.c \
        main.c main-x11.c main-gcu.c \
-       melee.h melee1.c mind.c \
        \
        main/angband-headers.c main/angband-headers.h \
        main/angband-initializer.c main/angband-initializer.h \
@@ -416,18 +469,89 @@ hengband_SOURCES = \
        monster-attack/monster-attack-util.c monster-attack/monster-attack-util.h \
        monster-attack/monster-eating.c monster-attack/monster-eating.h \
        \
-       object-boost.c object-boost.h \
-       object-curse.c object-curse.h object-broken.c object-broken.h \
-       object-hook.c object-hook.h object1.c object2.c \
-       objectkind-hook.c objectkind-hook.h \
-       \
-       patron.h patron.c \
-       \
-       projection.h projection.c\
-       \
-       player-move.c player-move.h player-damage.c player-damage.h player-status.c player-status.h \
-       \
-       quest.h quest.c\
+       monster-floor/monster-death.c monster-floor/monster-death.h \
+       monster-floor/monster-death-util.c monster-floor/monster-death-util.h \
+       monster-floor/monster-direction.c monster-floor/monster-direction.h \
+       monster-floor/monster-dist-offsets.c monster-floor/monster-dist-offsets.h \
+       monster-floor/monster-generator.c monster-floor/monster-generator.h \
+       monster-floor/monster-move.c monster-floor/monster-move.h \
+       monster-floor/monster-object.c monster-floor/monster-object.h \
+       monster-floor/monster-remover.c monster-floor/monster-remover.h \
+       monster-floor/monster-runaway.c monster-floor/monster-runaway.h \
+       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 \
+       monster-floor/special-death-switcher.c monster-floor/special-death-switcher.h \
+       \
+       monster-race/monster-race.c monster-race/monster-race.h \
+       monster-race/monster-race-hook.c monster-race/monster-race-hook.h \
+       monster-race/race-flags-resistance.h \
+       monster-race/race-flags1.h monster-race/race-flags2.h \
+       monster-race/race-flags3.h monster-race/race-flags4.h \
+       monster-race/race-flags-ability1.h monster-race/race-flags-ability2.h \
+       monster-race/race-flags7.h monster-race/race-flags8.h \
+       monster-race/race-flags9.h \
+       monster-race/race-indice-types.h \
+       \
+       mspell/assign-monster-spell.c mspell/assign-monster-spell.h \
+       mspell/element-resistance-checker.c mspell/element-resistance-checker.h \
+       mspell/high-resistance-checker.c mspell/high-resistance-checker.h \
+       mspell/improper-mspell-remover.c mspell/improper-mspell-remover.h \
+       mspell/monster-power-table.c mspell/monster-power-table.h \
+       mspell/mspell-attack.c mspell/mspell-attack.h \
+       mspell/mspell-attack-util.c mspell/mspell-attack-util.h \
+       mspell/mspell-breath.c mspell/mspell-breath.h \
+       mspell/mspell-ball.c mspell/mspell-ball.h \
+       mspell/mspell-bolt.c mspell/mspell-bolt.h \
+       mspell/mspell-checker.c mspell/mspell-checker.h \
+       mspell/mspell-curse.c mspell/mspell-curse.h \
+       mspell/mspell-dispel.c mspell/mspell-dispel.h \
+       mspell/mspell-judgement.c mspell/mspell-judgement.h \
+       mspell/mspell-lite.c mspell/mspell-lite.h \
+       mspell/mspell-summon.c mspell/mspell-summon.h \
+       mspell/mspell-util.c mspell/mspell-util.h \
+       mspell/mspell-type.h \
+       mspell/mspell-damage-calculator.c mspell/mspell-damage-calculator.h \
+       mspell/mspell-learn-checker.c mspell/mspell-learn-checker.h \
+       mspell/mspell-floor.c mspell/mspell-floor.h \
+       mspell/mspell-mask-definitions.h \
+       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.c 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 \
+       \
+       mutation/gain-mutation-switcher.c mutation/gain-mutation-switcher.h \
+       mutation/lose-mutation-switcher.c mutation/lose-mutation-switcher.h \
+       mutation/mutation-calculator.c mutation/mutation-calculator.h \
+       mutation/mutation-investor-remover.c mutation/mutation-investor-remover.h \
+       mutation/mutation-util.c mutation/mutation-util.h \
+       mutation/mutation-flag-types.h \
+       mutation/mutation-processor.c mutation/mutation-processor.h \
+       mutation/mutation-techniques.c mutation/mutation-techniques.h \
+       \
+       object/item-tester-hooker.c object/item-tester-hooker.h \
+       object/object-broken.c object/object-broken.h \
+       object/object-flags.c object/object-flags.h \
+       object/object-generator.c object/object-generator.h \
+       object/object-info.c object/object-info.h \
+       object/object-kind.c object/object-kind.h \
+       object/object-kind-hook.c object/object-kind-hook.h \
+       object/object-stack.c object/object-stack.h \
+       object/object-value.c object/object-value.h \
+       object/object-value-calc.c object/object-value-calc.h \
+       object/lite-processor.c object/lite-processor.h \
+       object/tval-types.h \
+       object/warning.c object/warning.h \
+       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 \
@@ -439,23 +563,38 @@ hengband_SOURCES = \
        object-activation/activation-teleport.c object-activation/activation-teleport.h \
        object-activation/activation-util.c object-activation/activation-util.h \
        \
-       rumor.h rumor.c \
-       \
-       spells.h \
-       spells1.c spells2.c spells3.c \
-       spells-diceroll.c spells-diceroll.h \
-       spells-floor.c spells-floor.h \
-       spells-object.c spells-object.h \
-       spells-status.c spells-status.h \
-       spells-summon.c spells-summon.h \
-       spells-world.c spells-world.h \
-       \
-       sort.c sort.h \
-       store.h store.c tables.c term.c term.h trap.c trap.h types.h util.c \
-       variable.c wild.h wild.c wizard1.c wizard2.c \
-       warning.c warning.h world.c world.h \
-       \
-       view-mainwindow.c\
+       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/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 \
+       object-enchant/object-ego.c object-enchant/object-ego.h \
+       object-enchant/item-apply-magic.h object-enchant/item-feeling.h \
+       object-enchant/old-ego-extra-values.h object-enchant/special-object-flags.h \
+       object-enchant/tr-types.h object-enchant/trc-types.h \
+       object-enchant/trg-types.h \
+       object-enchant/vorpal-weapon.c object-enchant/vorpal-weapon.h \
+       \
+       object-hook/hook-armor.c object-hook/hook-armor.h \
+       object-hook/hook-bow.c object-hook/hook-bow.h \
+       object-hook/hook-checker.c object-hook/hook-checker.h \
+       object-hook/hook-enchant.c object-hook/hook-enchant.h \
+       object-hook/hook-expendable.c object-hook/hook-expendable.h \
+       object-hook/hook-magic.c object-hook/hook-magic.h \
+       object-hook/hook-perception.c object-hook/hook-perception.h \
+       object-hook/hook-quest.c object-hook/hook-quest.h \
+       object-hook/hook-weapon.c object-hook/hook-weapon.h \
+       \
+       object-use/quaff-execution.c object-use/quaff-execution.h \
+       object-use/read-execution.c object-use/read-execution.h \
+       \
+       perception/identification.c perception/identification.h \
+       perception/object-perception.c perception/object-perception.h \
+       perception/simple-perception.c perception/simple-perception.h \
        \
        pet/pet-fall-off.c pet/pet-fall-off.h \
        pet/pet-util.c pet/pet-util.h \
@@ -753,13 +892,17 @@ hengband_SOURCES = \
        world/world-turn-processor.c world/world-turn-processor.h
 
 EXTRA_hengband_SOURCES = \
-       angband.ico angband.rc ang_eng.rc maid-x11.c main-mac.c main-win.c \
-       main-dos.c main-ibm.c \
-       makefile.bcc makefile.std makefile.dos makefile.ibm \
-       readdib.c wall.bmp
+       angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
+       makefile.bcc makefile.std term/readdib.c term/readdib.h wall.bmp
+
+EXTRA_DIST = \
+       gcc-wrap
 
-COMPILE = ./gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+DEFAULT_INCLUDES = -I$(srcdir) -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) 
 
 install-exec-hook:
 if SET_GID