1 | # Copyright (C) 2008 Trinity <http://www.trinitycore.org/> |
---|
2 | # |
---|
3 | # Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> |
---|
4 | # |
---|
5 | # This program is free software; you can redistribute it and/or modify |
---|
6 | # it under the terms of the GNU General Public License as published by |
---|
7 | # the Free Software Foundation; either version 3 of the License, or |
---|
8 | # (at your option) any later version. |
---|
9 | # |
---|
10 | # This program is distributed in the hope that it will be useful, |
---|
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
13 | # GNU General Public License for more details. |
---|
14 | # |
---|
15 | # You should have received a copy of the GNU General Public License |
---|
16 | # along with this program; if not, write to the Free Software |
---|
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
18 | |
---|
19 | ## Process this file with automake to produce Makefile.in |
---|
20 | |
---|
21 | ## Sub-directories to parse |
---|
22 | |
---|
23 | ## Build MaNGOS script library as shared library. |
---|
24 | # libmangosscript shared library will later be reused by world server daemon. |
---|
25 | lib_LTLIBRARIES = libtrinityscript.la |
---|
26 | |
---|
27 | libtrinityscript_la_CPPFLAGS = \ |
---|
28 | $(MYSQL_INCLUDES) \ |
---|
29 | $(POSTGRE_INCLUDES) \ |
---|
30 | $(TRINI_INCLUDES) \ |
---|
31 | -I$(top_srcdir)/dep/include \ |
---|
32 | -I$(top_srcdir)/src/shared \ |
---|
33 | -I$(top_srcdir)/src/framework \ |
---|
34 | -I$(top_srcdir)/src/game |
---|
35 | |
---|
36 | libtrinityscript_la_SOURCES = \ |
---|
37 | $(srcdir)/ScriptMgr.cpp \ |
---|
38 | $(srcdir)/ScriptMgr.h \ |
---|
39 | $(srcdir)/config.h \ |
---|
40 | $(srcdir)/system.cpp \ |
---|
41 | $(srcdir)/Scripts/sc_default.cpp \ |
---|
42 | $(srcdir)/Scripts/sc_defines.cpp \ |
---|
43 | $(srcdir)/Scripts/sc_defines.h |
---|
44 | |
---|
45 | ## libtool settings |
---|
46 | # API versioning |
---|
47 | libtrinityscript_la_LIBFLAGS = -version-info 0:0:0 |
---|
48 | libtrinityscript_la_LIBADD = $(MYSQL_LIBS) $(POSTGRE_LIBS) |
---|
49 | |
---|
50 | ## Additional files to include when running 'make dist' |
---|
51 | # Scripts defaults. |
---|
52 | EXTRA_DIST = \ |
---|
53 | Readme.txt |
---|
54 | |
---|