blob: e3cc46f304545a8a9756a2ef8ede7baefa14b590 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
AUTOMAKE_OPTIONS = subdir-objects
CHAR_SRC = char/init.c \
common/interfaces.c \
common/interfaces.h
LOGIN_SRC = login/config.c \
login/config.h \
login/init.c \
login/parse.c \
login/parse.h \
login/send.c \
login/send.h \
common/interfaces.c \
common/interfaces.h
MAP_SRC = map/clif.c \
map/clif.h \
map/dummy.c \
map/dummy.h \
map/init.c \
map/npc.c \
map/npc.h \
map/parse.c \
map/parse.h \
map/pc.c \
map/pc.h \
map/quest.c \
map/quest.h \
map/script.c \
map/script.h \
map/scriptdefines.h \
map/send.c \
map/send.h \
map/session.c \
map/session.h \
map/sessionext.h \
common/interfaces.c \
common/interfaces.h
SHARED_CFLAGS = -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -DPCRE_SUPPORT
SHARED_LDFLAGS = -avoid-version -Wl,--no-undefined
if ENABLE_SANITIZE
SHARED_CFLAGS += -fsanitize=address
SHARED_LDFLAGS += -lasan
endif
if ENABLE_STATIC
SHARED_CFLAGS += "-static-libgcc"
endif
lib_LTLIBRARIES = libevol_char.la libevol_login.la libevol_map.la
libevol_char_la_SOURCES = ${CHAR_SRC}
libevol_char_la_LDFLAGS = ${SHARED_LDFLAGS}
libevol_char_la_CFLAGS = ${SHARED_CFLAGS}
libevol_login_la_SOURCES = ${LOGIN_SRC}
libevol_login_la_LDFLAGS = ${SHARED_LDFLAGS}
libevol_login_la_CFLAGS = ${SHARED_CFLAGS}
libevol_map_la_SOURCES = ${MAP_SRC}
libevol_map_la_LDFLAGS = ${SHARED_LDFLAGS}
libevol_map_la_CFLAGS = ${SHARED_CFLAGS}
all-local: libevol_char.la libevol_login.la libevol_map.la
@cp .libs/*.so ../../../../plugins || cp .libs/*.so ../../../plugins || cp .libs/*.so ../../../server-code/plugins || cp .libs/*.so ../../server-code/plugins
@cp .libs/*.so ../../../../../server-data/plugins || cp .libs/*.so ../../../../server-data/plugins || cp .libs/*.so ../../../server-data/plugins || cp .libs/*.so ../../server-data/plugins
|