summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 8c479b4006d3c0834b1cb6595ba8c3a115d29103 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# $Id$


bin_PROGRAMS = tmwserv

tmwserv_SOURCES = main.cpp \
				  configuration.h \
				  configuration.cpp \
				  accounthandler.h \
				  accounthandler.cpp \
				  chathandler.h \
				  chathandler.cpp \
				  connectionhandler.h \
				  connectionhandler.cpp \
				  gamehandler.h \
				  gamehandler.cpp \
				  debug.h \
				  debug.cpp \
				  defines.h \
				  items.h \
				  items.cpp \
				  map.cpp \
				  map.h \
				  mapreader.cpp \
				  mapreader.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 \
				  resourcemanager.cpp \
				  resourcemanager.h \
				  storage.h \
				  storage.cpp \
				  account.h \
				  account.cpp \
				  object.h \
				  object.cpp \
				  being.h \
				  being.cpp \
				  dalstorage.h \
				  dalstorage.cpp \
				  dal/dalexcept.h \
				  dal/dataprovider.h \
				  dal/dataprovider.cpp \
				  dal/dataproviderfactory.h \
				  dal/dataproviderfactory.cpp \
				  dal/recordset.h \
				  dal/recordset.cpp \
				  utils/base64.h \
				  utils/base64.cpp \
				  utils/countedptr.h \
				  utils/functors.h \
				  utils/singleton.h \
				  utils/cipher.h \
				  utils/cipher.cpp \
				  utils/logger.h \
				  utils/logger.cpp

if BUILD_MYSQL
tmwserv_SOURCES += dal/mysqldataprovider.h \
				   dal/mysqldataprovider.cpp
endif

if BUILD_POSTGRESQL
tmwserv_SOURCES += dal/pqdataprovider.h \
				   dal/pqdataprovider.cpp
endif

if BUILD_SQLITE
tmwserv_SOURCES += dal/sqlitedataprovider.h \
				   dal/sqlitedataprovider.cpp
endif

if BUILD_SQUIRREL
tmwserv_SOURCES += script.h \
				   script.cpp \
				   script-squirrel.h \
				   script-squirrel.cpp
endif

tmwserv_CXXFLAGS = -Wall -fno-inline


# do not remove the 'dot', it is a hint for Automake.
# it causes a prefix ordering of directories.
SUBDIRS = . tests