OSDN Git Service

[Refactor] #39964 Separated cmd-autopick.c/h from autopick.c/h
[hengband/hengband.git] / src / Makefile.am
index ac72ce0..6a56aef 100644 (file)
@@ -7,7 +7,31 @@ bin_PROGRAMS = hengband
 hengband_SOURCES = \
        artifact.c artifact.h \
        \
-       angband.h autopick.c autopick.h\
+       angband.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-key-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-describer.c autopick-describer.h \
+       autopick-destroyer.c autopick-destroyer.h \
+       autopick/autopick-reader-writer.c autopick/autopick-reader-writer.h \
+       autopick/autopick-finder.c autopick/autopick-finder.h \
+       autopick/autopick-adder.c autopick/autopick-adder.h \
+       autopick/autopick-pref-processor.c autopick/autopick-pref-processor.h \
+       autopick/autopick-drawer.c autopick/autopick-drawer.h \
+       autopick/autopick-searcher.c autopick/autopick-searcher.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-editor-util.c autopick-editor-util.h \
+       autopick-editor-command.c autopick-editor-command.h \
        \
        avatar.h avatar.c birth.c birth.h \
        \
@@ -44,6 +68,7 @@ hengband_SOURCES = \
        player/permanent-resistances.c player/permanent-resistances.h \
        player/temporary-resistances.c player/temporary-resistances.h \
        \
+       io/dump-remover.c io/dump-remover.h \
        io/gf-descriptions.c io/gf-descriptions.h \
        io/tokenizer.c io/tokenizer.h \
        io/interpret-pref-file.c io/interpret-pref-file.h \
@@ -52,7 +77,9 @@ hengband_SOURCES = \
        io/read-pref-file.c io/read-pref-file.h \
        io/exit-panic.c io/exit-panic.h \
        io/write-diary.c io/write-diary.h \
-       signal-handlers.c signal-handlers.h uid-checker.c uid-checker.h \
+       io/mutations-dump.c io/mutations-dump.h \
+       io/signal-handlers.c io/signal-handlers.h \
+       io/uid-checker.c io/uid-checker.h \
        character-dump.c character-dump.h core.c core.h files.c files.h \
        core/show-file.c core/show-file.h \
        \
@@ -121,11 +148,13 @@ hengband_SOURCES = \
        realm-hex.c realm-hex.h realm-hissatsu.c realm-hissatsu.h \
        realm-life.c realm-life.h realm-nature.c realm-nature.h realm-song.c \
        realm-song.h realm-sorcery.c realm-sorcery.h realm-trump.c realm-trump.h \
-       report.c report.h rooms.c rooms-city.c rooms-city.h \
-       rooms-fractal.c rooms-fractal.h \
-       rooms.h rooms-normal.c rooms-normal.h rooms-pitnest.c rooms-pitnest.h \
+       report.c report.h \
+       rooms.c rooms-city.c rooms-city.h rooms-fractal.c rooms-fractal.h \
+       rooms.h rooms-normal.c rooms-normal.h \
        rooms-special.c rooms-special.h rooms-trap.c rooms-trap.h \
        rooms-vault.c rooms-vault.h \
+       room/rooms-pit-nest.c room/rooms-pit-nest.h \
+       room/pit-nest-kinds-table.c room/pit-nest-kinds-table.h \
        save.c save.h scores.c scores.h selfinfo.c selfinfo.h \
        snipe.c snipe.h \
        \
@@ -149,13 +178,18 @@ hengband_SOURCES = \
        z-form.c z-form.h z-rand.c z-rand.h z-term.c z-term.h z-util.c z-util.h \
        z-virt.c z-virt.h \
        \
-       knowledge/knowledge-artifacts.c knowledge/knowledge-artifacts.h \
+       knowledge/knowledge-autopick.c knowledge/knowledge-autopick.h \
        knowledge/knowledge-experiences.c knowledge/knowledge-experiences.h \
+       knowledge/knowledge-features.c knowledge/knowledge-features.h \
+       knowledge/knowledge-inventory.c knowledge/knowledge-inventory.h \
+       knowledge/knowledge-items.c knowledge/knowledge-items.h \
        knowledge/knowledge-monsters.c knowledge/knowledge-monsters.h \
+       knowledge/knowledge-mutations.c knowledge/knowledge-mutations.h \
        knowledge/knowledge-uniques.c knowledge/knowledge-uniques.h \
        knowledge/knowledge-self.c knowledge/knowledge-self.h \
        knowledge/knowledge-quests.c knowledge/knowledge-quests.h \
        \
+       cmd/cmd-autopick.c cmd/cmd-autopick.c \
        cmd/dump-util.c cmd/dump-util.h cmd/feeling-table.c cmd/feeling-table.h \
        cmd/monster-group-table.c cmd/monster-group-table.h \
        cmd/diary-subtitle-table.c cmd/diary-subtitle-table.h \
@@ -165,7 +199,7 @@ hengband_SOURCES = \
        cmd/cmd-draw.c cmd/cmd-draw.h cmd/cmd-eat.c cmd/cmd-eat.h \
        cmd/cmd-gameoption.c cmd/cmd-gameoption.h cmd/cmd-help.c cmd/cmd-help.h \
        cmd/cmd-hissatsu.c cmd/cmd-hissatsu.h cmd/cmd-inn.c cmd/cmd-inn.h \
-       cmd/cmd-inventory.c cmd/cmd-inventory.h cmd/cmd-item.c cmd/cmd-item.h \
+       cmd/cmd-item.c cmd/cmd-item.h cmd/cmd-knowledge.c cmd/cmd-knowledge.h \
        cmd/lighting-level-table.c cmd/lighting-level-table.h \
        cmd/cmd-magiceat.c cmd/cmd-magiceat.h cmd/cmd-mane.c cmd/cmd-mane.h \
        cmd/cmd-macro.c cmd/cmd-macro.h cmd/cmd-pet.c cmd/cmd-pet.h \
@@ -176,7 +210,7 @@ hengband_SOURCES = \
        cmd/cmd-usestaff.c cmd/cmd-usestaff.h \
        cmd/cmd-zaprod.c cmd/cmd-zaprod.h cmd/cmd-zapwand.c cmd/cmd-zapwand.h \
        \
-       combat/melee.h combat/melee1.c combat/shoot.c combat/shoot.h
+       combat/melee.h combat/melee.c combat/shoot.c combat/shoot.h
 
 EXTRA_hengband_SOURCES = \
        angband.ico angband.rc ang_eng.rc maid-x11.c main-win.c \
@@ -189,7 +223,8 @@ CFLAGS += $(XFT_CFLAGS)
 LIBS += $(XFT_LIBS)
 COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
-       -Icmd -Icombat -Icore -Iio -Iknowledge -Imarket -Imonster -Iobject -Iplayer -Iview
+       -Iautopick -Icmd -Icombat -Icore -Iio -Iknowledge -Imarket -Imonster \
+       -Iobject -Iplayer -Iroom -Iview
 
 install-exec-hook:
 if SET_GID