summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 71f67e5ee6a6f2deecdd8aff137da73923177290 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
bin_PROGRAMS = tmwserv
tmwserv_SOURCES = main.cpp \
		  accounthandler.h \
		  accounthandler.cpp \
		  connectionhandler.h \
		  connectionhandler.cpp \
		  debug.h \
		  debug.cpp \
		  defines.h \
		  messagehandler.h \
		  messagehandler.cpp \
		  messagein.h \
		  messagein.cpp \
		  messageout.h \
		  messageout.cpp \
		  netcomputer.h \
		  netcomputer.cpp \
		  netsession.h \
		  netsession.cpp \
		  packet.h \
		  packet.cpp \
		  skill.h \
		  skill.cpp \
		  script.h \
		  script.cpp \
		  script-squirrel.h \
		  script-squirrel.cpp \
		  storage.cpp storage.h \
		  account.h \
		  account.cpp \
		  object.h \
		  object.cpp \
		  dal/dataprovider.h \
		  dal/dataprovider.cpp \
		  dal/dataproviderfactory.h \
		  dal/dataproviderfactory.cpp \
		  dal/sqlitedataprovider.h \
		  dal/sqlitedataprovider.cpp \
		  dal/recordset.h \
		  dal/recordset.cpp \
		  dal/dalexcept.h \
		  dalstorage.h \
		  dalstoragesql.h \
		  dalstorage.cpp \
		  utils/singleton.h \
		  utils/cipher.h \
		  utils/cipher.cpp \
		  utils/logger.h \
		  utils/logger.cpp

#		  dal/mysqldataprovider.h
#		  dal/mysqldataprovider.cpp

# Obsoleted by utils/logger.*
#
#		  log.h
#		  log.cpp

# Obsoleted by DAL.
#
#if BUILD_SQLITE
#tmwserv_SOURCES += sqlite/SQLiteWrapper.cpp \
#	           sqlite/SQLiteWrapper.h \
#		   sqlitestorage.cpp \
#		   sqlitestorage.h
#endif

# set the include path found by configure
INCLUDES= $(all_includes) $(SQLITE_CFLAGS)
LIBS = $(SQLITE_LIBS)

# the library search path.
tmwserv_LDFLAGS = $(all_libraries) \
				  -lSDL_net `sdl-config --libs` \
				  `pkg-config --libs libxml-2.0` \
				  -lphysfs \
				  -lcrypto
tmwserv_CXXFLAGS = -g -Wall `sdl-config --cflags` `pkg-config --cflags libxml-2.0` -fno-inline $(SCRIPT_CFLAGS)
#tmwserv_LDADD = $(LIBSDL_LIBS) -lphysfs
tmwserv_LDADD = $(SCRIPT_LIBS)
tmwserv_TARGET = ../tmwserv