summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-01 20:08:13 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-01 21:33:37 +0300
commite9ddc70c0202c04535c83753bad2d01a92527b15 (patch)
treea947fbd72c685de8123a8ba0c9c6596a09f161b6 /src/Makefile.am
parent93c9e4f6c0a4f4a4ecc78a6b540984937bbb195f (diff)
downloadplus-e9ddc70c0202c04535c83753bad2d01a92527b15.tar.gz
plus-e9ddc70c0202c04535c83753bad2d01a92527b15.tar.bz2
plus-e9ddc70c0202c04535c83753bad2d01a92527b15.tar.xz
plus-e9ddc70c0202c04535c83753bad2d01a92527b15.zip
add dyecmd tool into automake.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am92
1 files changed, 90 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a6e2b73c3..ff50b51e1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = subdir-objects
-bin_PROGRAMS = manaplus
+bin_PROGRAMS = manaplus dyecmd
manaplus_CXXFLAGS = -DPKG_DATADIR=\""$(pkgdatadir)/"\" \
-DLOCALEDIR=\""$(localedir)"\" \
@@ -25,6 +25,94 @@ else
manaplus_SOURCES =
endif
+if USE_INTERNALGUICHAN
+dyecmd_CXXFLAGS = -I$(srcdir)/guichan/include -DUSE_INTERNALGUICHAN
+dyecmd_SOURCES = guichan/actionevent.cpp \
+ guichan/cliprectangle.cpp \
+ guichan/color.cpp \
+ guichan/event.cpp \
+ guichan/exception.cpp \
+ guichan/font.cpp \
+ guichan/graphics.cpp \
+ guichan/rectangle.cpp \
+ guichan/widget.cpp \
+ guichan/include/guichan/actionevent.hpp \
+ guichan/include/guichan/cliprectangle.hpp \
+ guichan/include/guichan/color.hpp \
+ guichan/include/guichan/event.hpp \
+ guichan/include/guichan/exception.hpp \
+ guichan/include/guichan/font.hpp \
+ guichan/include/guichan/graphics.hpp \
+ guichan/include/guichan/rectangle.hpp \
+ guichan/include/guichan/widget.hpp
+else
+dyecmd_SOURCES =
+endif
+
+dyecmd_SOURCES += dyetool/dyemain.cpp \
+ animatedsprite.cpp \
+ animatedsprite.h \
+ animationdelayload.cpp \
+ animationdelayload.h \
+ configuration.cpp \
+ configuration.h \
+ logger.cpp \
+ logger.h \
+ navigationmanager.cpp \
+ navigationmanager.h \
+ walklayer.cpp \
+ walklayer.h \
+ render/graphics.cpp \
+ render/graphics.h \
+ resources/action.cpp \
+ resources/action.h \
+ resources/animation.cpp \
+ resources/animation.h \
+ resources/db/palettedb.cpp \
+ resources/db/palettedb.h \
+ resources/dye.cpp \
+ resources/dye.h \
+ resources/image.cpp \
+ resources/image.h \
+ resources/imagehelper.cpp \
+ resources/imagehelper.h \
+ resources/imageset.cpp \
+ resources/imageset.h \
+ resources/imagewriter.cpp \
+ resources/imagewriter.h \
+ resources/resource.cpp \
+ resources/resource.h \
+ resources/resourcemanager.cpp \
+ resources/resourcemanager.h \
+ resources/sdlimagehelper.cpp \
+ resources/sdlimagehelper.h \
+ resources/sdlmusic.cpp \
+ resources/sdlmusic.h \
+ resources/soundeffect.cpp \
+ resources/soundeffect.h \
+ resources/subimage.cpp \
+ resources/subimage.h \
+ resources/surfaceimagehelper.cpp \
+ resources/surfaceimagehelper.h \
+ resources/spritedef.cpp \
+ resources/spritedef.h \
+ utils/mkdir.cpp \
+ utils/mkdir.h \
+ utils/paths.cpp \
+ utils/paths.h \
+ utils/physfsrwops.cpp \
+ utils/physfsrwops.h \
+ utils/physfstools.cpp \
+ utils/physfstools.h \
+ utils/stringutils.cpp \
+ utils/stringutils.h \
+ utils/timer.cpp \
+ utils/timer.h \
+ utils/xml.cpp \
+ utils/xml.h \
+ utils/translation/podict.cpp \
+ utils/translation/podict.h
+
if USE_MUMBLE
manaplus_CXXFLAGS += -DUSE_MUMBLE
endif
@@ -477,8 +565,8 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
resources/image.h \
resources/imagehelper.cpp \
resources/imagehelper.h \
- resources/imageset.h \
resources/imageset.cpp \
+ resources/imageset.h \
resources/imagewriter.cpp \
resources/imagewriter.h \
resources/db/itemdb.cpp \