summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-05 22:23:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-05 22:26:20 +0300
commit51fb74519d4c60fdae40072e8fa6c1906c616a05 (patch)
tree6e2837110fee9d4294fdacb20ff5f5c28933175a /src/Makefile.am
parent6255d8b62d2c06ae5611c5e10b40209a75078552 (diff)
downloadevol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.tar.gz
evol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.tar.bz2
evol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.tar.xz
evol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.zip
Add empty char server plugin.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4d80375..22f7c53 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,22 +1,28 @@
AUTOMAKE_OPTIONS = subdir-objects
+CHAR_SRC = char/init.c
+
+LOGIN_SRC = login/init.c
+
MAP_SRC = map/dummy.c \
map/dummy.h \
map/init.c \
map/script.c \
map/script.h
-LOGIN_SRC = login/init.c
-
-lib_LTLIBRARIES = libevol_login.la libevol_map.la
-libevol_map_la_SOURCES = ${MAP_SRC}
-libevol_map_la_LDFLAGS = -avoid-version
-libevol_map_la_CFLAGS = -pipe -ffast-math -Wall -Wextra -Wno-sign-compare
+SHARED_FLAGS = -pipe -ffast-math -Wall -Wextra -Wno-sign-compare
+lib_LTLIBRARIES = libevol_char.la libevol_login.la libevol_map.la
+libevol_char_la_SOURCES = ${CHAR_SRC}
+libevol_char_la_LDFLAGS = -avoid-version
+libevol_char_la_CFLAGS = ${SHARED_FLAGS}
libevol_login_la_SOURCES = ${LOGIN_SRC}
libevol_login_la_LDFLAGS = -avoid-version
-libevol_login_la_CFLAGS = -pipe -ffast-math -Wall -Wextra -Wno-sign-compare
+libevol_login_la_CFLAGS = ${SHARED_FLAGS}
+libevol_map_la_SOURCES = ${MAP_SRC}
+libevol_map_la_LDFLAGS = -avoid-version
+libevol_map_la_CFLAGS = ${SHARED_FLAGS}
-all-local: libevol_login.la libevol_map.la
+all-local: libevol_char.la libevol_login.la libevol_map.la
cp .libs/*.so ../../../plugins
cp .libs/*.so ../../../../server-data/plugins