1 # Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 ## Process this file with automake to produce Makefile.in
19 ## Sub-directories to parse
21 ## CPP flags for includes, defines, etc.
22 AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(srcdir) -I$(srcdir)/../../../dep/include -I$(srcdir)/../../shared/ -I$(srcdir)/../../framework/
24 ## Build MaNGOS script library as shared library.
25 # libmangosscript shared library will later be reused by world server daemon.
26 lib_LTLIBRARIES = libmangosscript.la
27 libmangosscript_la_SOURCES = \
32 Scripts/sc_default.cpp \
33 Scripts/sc_defines.cpp \
38 # Link against dependencies
39 # How to increase version info:
40 # - only bug fixes implemented:
41 # bump the version to LTMANGOS_CURRENT:LTMANGOS_REVISION+1:LTMANGOS_AGE
42 # - augmented the interface:
43 # bump the version to LTMANGOS_CURRENT+1:0:LTMANGOS_AGE+1
44 # - broken old interface:
45 # bump the version to LTMANGOS_CURRENT+1:0:0
49 libmangosscript_la_LIBFLAGS = -version-info $(LTMANGOS_CURRENT):$(LTMANGOS_REVISION):$(LTMANGOS_AGE)
51 ## Additional files to include when running 'make dist'
54 Scripts/sc_default.cpp \
55 Scripts/sc_defines.cpp \