diff --git a/.gitignore b/.gitignore index 7a069fa27..375c0ba46 100644 --- a/.gitignore +++ b/.gitignore @@ -21,32 +21,16 @@ # # Top-level generic files # +bin +build tags TAGS -INSTALL !.gitignore # # Build generated files # -aclocal.m4 autom4te.cache -compile -config.guess -config.h.in -config.log -config.status -config.sub -configure -depcomp -libtool -install-sh -ltmain.sh -missing -stamp-h1 - -Makefile.in -Makefile # # Editors / debuggers / other output files @@ -97,4 +81,7 @@ cmake_install.cmake # Special exceptions # !dep/ACE_wrappers/ace/ace_message_table.bin +!dep/ACE_wrappers/bin/GNUmakefile.bin +!dep/ACE_wrappers/configure.ac~ +!dep/ACE_wrappers/lib/.empty !dep/tbb/src/Makefile diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index b9b4d7c3c..000000000 --- a/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = dep doc sql src - -## Additional files to include when running 'make dist' -# Win32 project workspace for Visual Studio .NET 2005 -EXTRA_DIST = \ - win/mangosdVC80.sln \ - win/VC80/framework.vcproj \ - win/VC80/game.vcproj \ - win/VC80/mangosd.vcproj \ - win/VC80/realmd.vcproj \ - win/VC80/shared.vcproj \ - win/VC80/zlib.vcproj \ - win/VC80/g3dlite.vcproj - -# Win32 project workspace for Visual Studio .NET 2008 -EXTRA_DIST += \ - win/mangosdVC90.sln \ - win/VC90/framework.vcproj \ - win/VC90/game.vcproj \ - win/VC90/mangosd.vcproj \ - win/VC90/realmd.vcproj \ - win/VC90/shared.vcproj \ - win/VC90/zlib.vcproj \ - win/VC90/g3dlite.vcproj - -# Win32 project workspace for Visual Studio .NET 2010 -EXTRA_DIST += \ - win/mangosdVC100.sln \ - win/VC100/framework.vcxproj \ - win/VC100/game.vcxproj \ - win/VC100/mangosd.vcxproj \ - win/VC100/realmd.vcxproj \ - win/VC100/shared.vcxproj \ - win/VC100/zlib.vcxproj \ - win/VC100/g3dlite.vcxproj - -ACLOCAL_AMFLAGS = -I m4 diff --git a/README b/README index 4c32414d1..8c1aaf81c 100644 --- a/README +++ b/README @@ -47,11 +47,6 @@ sql/ subdirectory. In case you are upgrading from an older MaNGOS release, make sure you as well take a look at the SQL files in the sql/updates/ sub- directory. -In order to build and install MaNGOS under Linux, follow the instructions -described in the INSTALL file. - -In case you have checked out MaNGOS from the GIT repository, please run - -$ autoreconf --install --force - -prior to building, as you may otherwise not be able to run a build. +In order to build and install MaNGOS under Windows, simply use the delivered +project files under win/. If you use a different system use CMake to generate +the appropriate build files for your system. diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 6b76a7ea5..000000000 --- a/configure.ac +++ /dev/null @@ -1,384 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS project -# -# This file is free software; as a special exception the author gives -# unlimited permission to copy and/or distribute it, with or without -# modifications, as long as this notice is preserved. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -## Process this file with autoconf to produce a configure script. - -# TODO: create m4 directory and put the checks there, because this file got realy poluted ( by Derex ) - -## Prelude, basic settings for Autoconf -# PACKAGE: mangos -# VERSION: 0.17.0 (trunk) -# BUG-REPORT-ADDRESS: mangos-devs@lists.sourceforge.net -AC_INIT( [mangos], [0.17.0], [mangos-devs@lists.sourceforge.net]) -AC_CONFIG_SRCDIR([src/shared/Common.h]) -AC_CONFIG_MACRO_DIR([m4]) - -## Prelude, basic settings for Automake -# Turn on all warnings and error messages, and enforce GNU -# standards for the package. -AM_INIT_AUTOMAKE([foreign -Wall -Werror gnu tar-pax]) -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - -AM_MAINTAINER_MODE - -## Prevent the configure script from continuing any further if -# configuration is being performed in the top-level directory. -# The idea is to prevent this ,because some maintainers tend -# to break parallel build trees (a.k.a. VPATH builds). -if test "$srcdir" = "." && test "$enable_maintainer_mode" != "yes"; then - AC_MSG_ERROR( - [ - Please configure and build in a directory other than the - top-level source directory. This is needed because a lot - of maintainers tend to break parallel build trees - (a.k.a. VPATH builds). This is kinda real ensurance they - will not do it (by enforcing everybody to do VPATH builds). - - For example, try the following from the top-level source - directory: - - mkdir objdir - cd objdir - ../configure - make - - This will create a build space in the directory 'objdir' and - start a build in that directory. - - If however you realy want to disable this error, - use --enable-maintainer-mode switch. - ]) -fi - -## Disable building of static libraries by default -AC_DISABLE_STATIC - -## Check for required dependencies. - -## Check for a valid build environment. -# Valid equals having: -# - a C++ compiler compliant with the ISO98 C++ specification. -# - a working library tool for creating convenience libraries. -# - a working linker for creating static and shared libraries. -AC_PROG_CC -AC_PROG_CXX -AM_PROG_CC_C_O -AC_PROG_LIBTOOL -AC_PROG_INSTALL -PKG_PROG_PKG_CONFIG - -# Check for doxygen -AC_ARG_ENABLE(doxygen, AC_HELP_STRING([--enable-doxygen], [turn on generating documentation])) - -enable_doxygen_support=no - -if test "x$enable_doxygen" = "xyes"; -then - AC_PATH_PROG(DOXYGEN, doxygen, no) - if test "x$DOXYGEN" = "xno"; then - AC_MSG_ERROR([You need to install the doxygen package]) - fi - enable_doxygen_support=yes -fi -AM_CONDITIONAL(DOXYGEN_ENABLED, test x$enable_doxygen_support = xyes) - -## Check for required libraries. -AC_CHECK_LIB( pthread, pthread_create, [], - [LDFLAGS="-pthread $LDFLAGS" - AC_TRY_LINK([char pthread_create();], - pthread_create();, - [], [AC_MSG_ERROR([Missing pthread])]) - ]) -AC_CHECK_LIB( z, compress, [ZLIB=-lz],[AC_MSG_ERROR([Missing zlib])] ) -AC_CHECK_LIB( compat, ftime, [COMPATLIB=-lcompat] ) -AX_CHECK_OPENSSL([], [AC_MSG_ERROR([Missing OpenSSL])]) - -AC_ARG_WITH(postgresql, -[ --with-postgresql Use PostgreSQL as a backend (default: no)], -[case "${withval}" in - yes) DO_POSTGRESQL=yes ;; - no) DO_POSTGRESQL=no ;; - maybe) DO_POSTGRESQL=maybe ;; - *) - if test ! -x "${withval}" ; then - AC_MSG_ERROR([${withval} is not a executable file]) - fi - POSTGRE_CONFIG_HOME="${withval}" - DO_POSTGRESQL=yes - ;; - esac], -[DO_POSTGRESQL=no]) - -AC_ARG_WITH(mysql, -[ --with-mysql Use MySQL as a backend (default: yes)], -[case "${withval}" in - yes) DO_MYSQL=yes ;; - no) DO_MYSQL=no ;; - maybe) DO_MYSQL=maybe ;; - *) AC_MSG_ERROR(Bad value ${withval} for --with-mysql) ;; - esac], -[DO_MYSQL=yes]) - -# here Postgre -case "$DO_POSTGRESQL" in - yes|maybe) - - if test -z "$POSTGRE_CONFIG_HOME"; then - AC_PATH_PROG([POSTGRE_CONFIG_HOME], [pg_config], [no]) - fi - - if test "$POSTGRE_CONFIG_HOME" != "no" ; then - POSTGRE_VERSION="`$POSTGRE_CONFIG_HOME --version`" - POSTGRE_LIBS="-L`$POSTGRE_CONFIG_HOME --libdir` `$POSTGRE_CONFIG_HOME --libs` -lpq $OPENSSL_LIBS $POSTGRE_LIBS" - POSTGRE_INCLUDES="-I`$POSTGRE_CONFIG_HOME --includedir` $POSTGRE_INCLUDES" - else - POSTGRE_VERSION="unknown" - POSTGRE_LIBS="-L/usr/lib/postgresql/lib -lpq -lz -lpthread -lcrypt -lnsl -lm $OPENSSL_LIBS $POSTGRE_LIBS" - POSTGRE_INCLUDES="-I/usr/include/postgresql $POSTGRE_INCLUDES" - fi - - POSTGRESQL_OLD_LIBS="$LIBS" ; LIBS="$LIBS ${POSTGRE_LIBS}" - POSTGRESQL_OLD_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS ${POSTGRE_INCLUDES}" - AC_CHECK_LIB([pq], [PQsetdbLogin], [HAVE_POSTGRESQL="yes"], []) - AC_CHECK_HEADER([libpq-fe.h], [], [HAVE_POSTGRESQL="yes"], []) - - AC_MSG_CHECKING(whether to build/link POSTGRESQL) - if test "${HAVE_POSTGRESQL}" != "yes" ; then - AC_MSG_RESULT([no]) - if test "${DO_POSTGRESQL}" = "yes" ; then - AC_MSG_ERROR([PostgreSQL not found or incompatible (requested)]) - else - AC_MSG_NOTICE([disabling PostgreSQL (optional)]) - POSTGRE_VERSION="" - POSTGRE_INCLUDES="" - POSTGRE_LIBS="" - fi - else - AC_MSG_RESULT([yes ($POSTGRE_VERSION)]) - fi - AC_MSG_CHECKING([PostgreSQL libs is a thread-safe]) - AC_RUN_IFELSE([ - AC_LANG_SOURCE( - [[ - #include - int main() { - return !PQisthreadsafe(); - } - ]]) - ], - [ - AC_MSG_RESULT([yes]) - ], - [ - AC_MSG_RESULT([no]) - AC_MSG_ERROR([postgre libs is not thread-safe, check your postgresql installation and /etc/ld.config*]) - ]) - CPPFLAGS="${POSTGRESQL_OLD_CPPFLAGS}" - LIBS="${POSTGRESQL_OLD_LIBS}" - CXXFLAGS="-DDO_POSTGRESQL $CXXFLAGS" - ;; -esac - -# here mysql -AC_MSG_CHECKING(whether to build/link MYSQL) -if test "x$DO_MYSQL" = "xyes"; then -AC_MSG_RESULT($DO_MYSQL) -AC_PATH_PROGS(MYSQL_CONFIG, mysql_config, mysql_config, $PATH) - if test -x "$MYSQL_CONFIG" - then - # MySQL v4 uses --include while v3 uses --cflags - MYSQL_INCLUDES="`$MYSQL_CONFIG --include`" || \ - MYSQL_INCLUDES="`$MYSQL_CONFIG --cflags`" - MYSQL_LIBS="`$MYSQL_CONFIG --libs_r`" - CXXFLAGS="-DDO_MYSQL $CXXFLAGS" - # Workaround for --as-needed linker flag that comes sometimes from mysql - if echo $MYSQL_LIBS|grep "\-Wl,--as-needed" > /dev/null; then - MYSQL_LIBS=`echo $MYSQL_LIBS|sed -e "s/-Wl,--as-needed//"`; - AC_MSG_WARN([Your mysql libs contains -Wl,--as-needed, this is not good, problem fixed in more recent mysql versions]) - fi - fi -else -AC_MSG_RESULT($DO_MYSQL) -fi - -## Check for memory allocator -# Use libc-malloc or libtbb-malloc? -AC_MSG_CHECKING(whether to use libc malloc) -MANGOSD_STD_MALLOC=no -TBB_LIBS="-L\$(top_builddir)/dep/tbb -ltbb -ltbbmalloc" -AC_ARG_WITH(std-malloc, -[ -Memory allocation options: - - --with-std-malloc Use standard malloc], -[ - if test "$withval" = "yes" ; then - CFLAGS="-DUSE_STANDARD_MALLOC $CFLAGS" - CXXFLAGS="-DUSE_STANDARD_MALLOC $CXXFLAGS" - MANGOSD_STD_MALLOC=yes - TBB_LIBS="" - elif test "$withval" != "no" ; then - AC_MSG_ERROR(Please choose yes or no) - fi -]) -AC_MSG_RESULT($MANGOSD_STD_MALLOC) - -## Check for options -# Include debug info in library? -AC_MSG_CHECKING(whether to include debug info in library) -MANGOSD_DEBUG_INFO=no -AC_ARG_WITH(debug-info, -[ -Debugging options: - - --with-debug-info Include debug info in library], -[ - if test "$withval" = "yes" ; then - CFLAGS="-g -DMANGOS_DEBUG $CFLAGS" - CXXFLAGS="-g -DMANGOS_DEBUG $CXXFLAGS" - MANGOSD_DEBUG_INFO=yes - elif test "$withval" != "no" ; then - AC_MSG_ERROR(Please choose yes or no) - fi -]) -AC_MSG_RESULT($MANGOSD_DEBUG_INFO) - -## Check for required header files. -AC_HEADER_STDC -AC_HEADER_DIRENT -AC_CHECK_HEADERS([ arpa/inet.h fcntl.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/timeb.h sys/time.h termios.h unistd.h ]) - -AC_CHECK_HEADERS([pthread.h]) -AC_CHECK_HEADERS([mysql.h mysql/mysql.h]) -AC_CHECK_HEADERS([zlib.h]) - -## Check for typedefs, structures, and compiler characteristics. -AC_HEADER_STDBOOL -AC_C_CONST -AC_C_INLINE -AC_HEADER_TIME -AC_STRUCT_TM -AC_C_VOLATILE -AC_CHECK_TYPES([ptrdiff_t]) - -## Check for required library functions. -AC_FUNC_CLOSEDIR_VOID -AC_FUNC_ERROR_AT_LINE -AC_FUNC_MALLOC -AC_FUNC_MEMCMP -AC_FUNC_REALLOC -AC_FUNC_SELECT_ARGTYPES -AC_TYPE_SIGNAL -AC_FUNC_VPRINTF -AC_CHECK_FUNCS([atexit ftime gethostbyaddr gethostbyname gethostname gettimeofday memmove memset pow realpath select socket sqrt strchr strdup strerror strstr]) - - -# Check for use buildtin ACE sources -AC_ARG_ENABLE(builtin_ace, AC_HELP_STRING([--enable-builtin-ace], [turn on/off using builtin ACE sources])) - -enable_builtin_ace_support=yes - -if test "x$enable_builtin_ace" = "xno"; then - PKG_CHECK_MODULES(ACE, [ACE >= 5.5.2], [need_builtin_ace=no], [need_builtin_ace=yes]) - if test X$need_builtin_ace = Xyes ; then - AC_MSG_ERROR([You need to install ACE package or use built-in ACE sources]) - fi - enable_builtin_ace_support=no -fi - -if test X$enable_builtin_ace_support = Xno; then - - # old ace versions might not have ace/Stack_Trace.h... - AC_LANG_PUSH([C++]) - AC_CHECK_HEADERS([ace/Stack_Trace.h]) - AC_LANG_POP -else - # ...but we certainly have it in our included version - AC_DEFINE(HAVE_ACE_STACK_TRACE_H) - ACE_INCLUDES="-I\$(top_srcdir)/dep/ACE_wrappers -I\$(top_builddir)/dep/ACE_wrappers" - ACE_LIBS="\$(top_builddir)/dep/ACE_wrappers/ace/libACE.la" -fi - -AM_CONDITIONAL([MANGOS_BUILD_ACE], [test X$enable_builtin_ace_support = Xyes]) - -## Unify all additional includes/libs in one variable. -# TODO this looks kinda ugly, but when we add m4 folder I will make it look very pritey ( by Derex ). -MANGOS_INCLUDES="$ACE_INCLUDES $POSTGRE_INCLUDES $MYSQL_INCLUDES $OPENSSL_INCLUDES" -MANGOS_LIBS="$ACE_LIBS $POSTGRE_LIBS $MYSQL_LIBS $ZLIB $COMPATLIB $OPENSSL_LDFLAGS $OPENSSL_LIBS $TBB_LIBS" - -## Export defined variables -AC_SUBST(DOXYGEN) -AC_SUBST(MANGOSD_DEBUG_INFO) - -## Additional CPPFLAGS and LDFLAGS. -AC_SUBST(MANGOS_INCLUDES) -AC_SUBST(MANGOS_LIBS) - -## Set output files. -AC_CONFIG_HEADERS([config.h]) - -AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])]) - -AH_TOP([ -#ifndef AC_CONFIG_H -#define AC_CONFIG_H -]) - -AH_BOTTOM([#endif /* !AC_CONFIG_H */]) - -AC_CONFIG_FILES([ - dep/include/Makefile - dep/lib/Makefile - dep/src/Makefile - dep/src/g3dlite/Makefile - dep/src/zlib/Makefile - dep/src/gsoap/Makefile - dep/Makefile - dep/tbb/Makefile - doc/Doxyfile - doc/Makefile - Makefile - sql/Makefile - sql/tools/Makefile - sql/updates/Makefile - src/Makefile - src/tools/Makefile - src/tools/genrevision/Makefile - src/framework/Makefile - src/shared/Makefile - src/shared/Auth/Makefile - src/shared/Config/Makefile - src/shared/Database/Makefile - src/shared/SystemConfig.h - src/game/Makefile - src/game/vmap/Makefile - src/realmd/Makefile - src/realmd/realmd.conf.dist - src/mangosd/Makefile - src/mangosd/mangosd.conf.dist - src/bindings/Makefile -]) - -## Configure ACE, if needed -if test X$enable_builtin_ace_support = Xyes; then - AC_CONFIG_SUBDIRS([dep/ACE_wrappers]) -fi - -AC_CONFIG_COMMANDS([default],[ - echo "" - echo "Configuration of MaNGOS $PACKAGE_VERSION is now complete." - echo "" - ],[PACKAGE_VERSION=$PACKAGE_VERSION]) - -## Disabled Makefiles, until they are ready for a successful make and -# make dist run. - -## Output files. -AC_OUTPUT diff --git a/dep/Makefile.am b/dep/Makefile.am deleted file mode 100644 index 748e6d3c8..000000000 --- a/dep/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = include lib src - -if MANGOS_BUILD_ACE -SUBDIRS += ACE_wrappers -endif - -# Intel's TBB -SUBDIRS += tbb - -## Additional files to include when running 'make dist' -# Nothing yet. diff --git a/dep/include/Makefile.am b/dep/include/Makefile.am deleted file mode 100644 index 50c65b35e..000000000 --- a/dep/include/Makefile.am +++ /dev/null @@ -1,186 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## Additional files to include when running 'make dist' -# G3DLite header files -EXTRA_DIST = \ - g3dlite/G3D/AABox.h \ - g3dlite/G3D/Array.h \ - g3dlite/G3D/Box.h \ - g3dlite/G3D/CollisionDetection.h \ - g3dlite/G3D/CoordinateFrame.h \ - g3dlite/G3D/Crypto.h \ - g3dlite/G3D/debug.h \ - g3dlite/G3D/format.h \ - g3dlite/G3D/g3dmath.h \ - g3dlite/G3D/g3dmath.inl \ - g3dlite/G3D/GCamera.h \ - g3dlite/G3D/Line.h \ - g3dlite/G3D/Matrix3.h \ - g3dlite/G3D/Plane.h \ - g3dlite/G3D/platform.h \ - g3dlite/G3D/Quat.h \ - g3dlite/G3D/Quat.inl \ - g3dlite/G3D/Ray.h \ - g3dlite/G3D/RegistryUtil.h \ - g3dlite/G3D/Sphere.h \ - g3dlite/G3D/stringutils.h \ - g3dlite/G3D/System.h \ - g3dlite/G3D/Table.h \ - g3dlite/G3D/Triangle.h \ - g3dlite/G3D/Vector2.h \ - g3dlite/G3D/Vector2.inl \ - g3dlite/G3D/Vector2int16.h \ - g3dlite/G3D/Vector3.h \ - g3dlite/G3D/Vector3.inl \ - g3dlite/G3D/Vector3int16.h \ - g3dlite/G3D/Vector4.h \ - g3dlite/G3D/Vector4.inl - -# MySQL header files for Win32 builds -EXTRA_DIST += \ - mysql/config-netware.h \ - mysql/config-os2.h \ - mysql/config-win.h \ - mysql/errmsg.h \ - mysql/libmysqld.def \ - mysql/Libmysql.def \ - mysql/m_ctype.h \ - mysql/m_string.h \ - mysql/my_alloc.h \ - mysql/my_dbug.h \ - mysql/my_getopt.h \ - mysql/my_global.h \ - mysql/my_list.h \ - mysql/my_pthread.h \ - mysql/mysql_com.h \ - mysql/mysqld_error.h \ - mysql/mysql_embed.h \ - mysql/mysql.h \ - mysql/mysql_time.h \ - mysql/mysql_version.h \ - mysql/my_sys.h \ - mysql/raid.h \ - mysql/typelib.h - -# OpenSSL header files for Win32 builds -EXTRA_DIST += \ - openssl/aes.h \ - openssl/asn1.h \ - openssl/asn1_mac.h \ - openssl/asn1t.h \ - openssl/bio.h \ - openssl/blowfish.h \ - openssl/bn.h \ - openssl/buffer.h \ - openssl/cast.h \ - openssl/comp.h \ - openssl/conf_api.h \ - openssl/conf.h \ - openssl/crypto.h \ - openssl/des.h \ - openssl/des_old.h \ - openssl/dh.h \ - openssl/dsa.h \ - openssl/dso.h \ - openssl/dtls1.h \ - openssl/ebcdic.h \ - openssl/ecdh.h \ - openssl/ecdsa.h \ - openssl/ec.h \ - openssl/engine.h \ - openssl/e_os2.h \ - openssl/err.h \ - openssl/evp.h \ - openssl/hmac.h \ - openssl/idea.h \ - openssl/krb5_asn.h \ - openssl/kssl.h \ - openssl/lhash.h \ - openssl/md2.h \ - openssl/md4.h \ - openssl/md5.h \ - openssl/mdc2.h \ - openssl/objects.h \ - openssl/obj_mac.h \ - openssl/ocsp.h \ - openssl/opensslconf.h \ - openssl/opensslv.h \ - openssl/ossl_typ.h \ - openssl/pem2.h \ - openssl/pem.h \ - openssl/pkcs12.h \ - openssl/pkcs7.h \ - openssl/pq_compat.h \ - openssl/pqueue.h \ - openssl/rand.h \ - openssl/rc2.h \ - openssl/rc4.h \ - openssl/rc5.h \ - openssl/ripemd.h \ - openssl/rsa.h \ - openssl/safestack.h \ - openssl/sha.h \ - openssl/ssl23.h \ - openssl/ssl2.h \ - openssl/ssl3.h \ - openssl/ssl.h \ - openssl/stack.h \ - openssl/store.h \ - openssl/symhacks.h \ - openssl/tls1.h \ - openssl/tmdiff.h \ - openssl/txt_db.h \ - openssl/ui_compat.h \ - openssl/ui.h \ - openssl/x509.h \ - openssl/x509v3.h \ - openssl/x509_vfy.h - -# PostgreSQL header files for Win32 builds -EXTRA_DIST += \ - postgre/libpq-fe.h \ - postgre/pg_type.h \ - postgre/postgres_ext.h - -# VLD header files for Win32 builds -EXTRA_DIST += \ - vld/vld.h - -# Zlib header files for Win32 builds -EXTRA_DIST += \ - zlib/zconf.h \ - zlib/zlib.h - -# Mersenne Twister random number generator header files -EXTRA_DIST += \ - mersennetwister/MersenneTwister.h - -# UTF8-CPP header files -EXTRA_DIST += \ - utf8cpp/utf8.h \ - utf8cpp/utf8/checked.h \ - utf8cpp/utf8/core.h \ - utf8cpp/utf8/unchecked.h - -# gsoap header file -EXTRA_DIST += \ - gsoap/stdsoap2.h - diff --git a/dep/lib/Makefile.am b/dep/lib/Makefile.am deleted file mode 100644 index 5ab0406bb..000000000 --- a/dep/lib/Makefile.am +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## Additional files to include when running 'make dist' -# Debug libraries for Win32 builds. -EXTRA_DIST = \ - win32_debug/libeay32.dll \ - win32_debug/libeay32.lib \ - win32_debug/libmySQL.dll \ - win32_debug/libmySQL.lib - -# Release libraries for Win32 builds. -EXTRA_DIST += \ - win32_release/libeay32.dll \ - win32_release/libeay32.lib \ - win32_release/libmySQL.dll \ - win32_release/libmySQL.lib - -# Debug libraries for Win64 builds. -EXTRA_DIST += \ - x64_Debug/libeay32.dll \ - x64_Debug/libeay32.lib \ - x64_Debug/libmySQL.dll \ - x64_Debug/libmySQL.lib - -# Release libraries for Win64 builds. -EXTRA_DIST += \ - x64_release/libeay32.dll \ - x64_release/libeay32.lib \ - x64_release/libmySQL.dll \ - x64_release/libmySQL.lib diff --git a/dep/src/Makefile.am b/dep/src/Makefile.am deleted file mode 100644 index 56721ab78..000000000 --- a/dep/src/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = g3dlite gsoap zlib - -## Additional files to include when running 'make dist' -# Nothing yet. diff --git a/dep/src/g3dlite/Makefile.am b/dep/src/g3dlite/Makefile.am deleted file mode 100644 index d37528b4c..000000000 --- a/dep/src/g3dlite/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -## Modified for MaNGOS project -## -## Permission is hereby granted, free of charge, to any person obtaining a copy -## of this software and associated documentation files (the "Software"), to deal -## in the Software without restriction, including without limitation the rights -## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -## copies of the Software, and to permit persons to whom the Software is furnished -## to do so, subject to the following conditions: -## -## The above copyright notice and this permission notice shall be included in all -## copies or substantial portions of the Software. -## -## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -## WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -## CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Process this file with automake to produce Makefile.in - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/../../include -I$(srcdir)/../../include/g3dlite - -noinst_LIBRARIES = libg3dlite.a -libg3dlite_a_SOURCES = \ - AABox.cpp \ - Box.cpp \ - Crypto.cpp \ - format.cpp \ - Matrix3.cpp \ - Plane.cpp \ - System.cpp \ - Triangle.cpp \ - Vector3.cpp \ - Vector4.cpp \ - debugAssert.cpp \ - fileutils.cpp \ - g3dmath.cpp \ - g3dfnmatch.cpp \ - prompt.cpp \ - stringutils.cpp \ - Any.cpp \ - BinaryFormat.cpp \ - BinaryInput.cpp \ - BinaryOutput.cpp \ - Capsule.cpp \ - CollisionDetection.cpp \ - CoordinateFrame.cpp \ - Cylinder.cpp \ - Line.cpp \ - LineSegment.cpp \ - Log.cpp \ - Matrix4.cpp \ - MemoryManager.cpp \ - Quat.cpp \ - Random.cpp \ - Ray.cpp \ - ReferenceCount.cpp \ - Sphere.cpp \ - TextInput.cpp \ - TextOutput.cpp \ - UprightFrame.cpp \ - Vector2.cpp - -EXTRA_DIST = \ - license.html - - diff --git a/dep/src/gsoap/Makefile.am b/dep/src/gsoap/Makefile.am deleted file mode 100644 index 8fc4c41af..000000000 --- a/dep/src/gsoap/Makefile.am +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/../../include/gsoap - -## Build MaNGOS shared library and its parts as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libgsoap.a - -libgsoap_a_SOURCES = \ - stdsoap2.cpp diff --git a/dep/src/zlib/Makefile.am b/dep/src/zlib/Makefile.am deleted file mode 100644 index 70eafcf76..000000000 --- a/dep/src/zlib/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ -## Modified for MaNGOS project -## -## Permission is hereby granted, free of charge, to any person obtaining a copy -## of this software and associated documentation files (the "Software"), to deal -## in the Software without restriction, including without limitation the rights -## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -## copies of the Software, and to permit persons to whom the Software is furnished -## to do so, subject to the following conditions: -## -## The above copyright notice and this permission notice shall be included in all -## copies or substantial portions of the Software. -## -## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -## WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -## CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -## Process this file with automake to produce Makefile.in - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/../../include -I$(srcdir)/../../include/zlib - -## Build zlib as convenience library. -# libzlib conveniece library will later be reused by ... -noinst_LIBRARIES = libzlib.a -libzlib_a_SOURCES = \ - adler32.c \ - compress.c \ - crc32.c \ - deflate.c \ - example.c \ - gzio.c \ - infback.c \ - inffast.c \ - inflate.c \ - inftrees.c \ - trees.c \ - uncompr.c \ - zutil.c - -## Additional files to include when running 'make dist' -# Nothing yet. -EXTRA_DIST = \ - crc32.h \ - deflate.h \ - inffast.h \ - inffixed.h \ - inflate.h \ - inftrees.h \ - trees.h \ - zconf.h \ - zlib.h \ - zutil.h - diff --git a/doc/Makefile.am b/doc/Makefile.am deleted file mode 100644 index 4d40119a9..000000000 --- a/doc/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## Additional files to include when running 'make dist' -# Nothing yet. -# Doxygen configuration files. -EXTRA_DIST = \ - DocStructure.dox \ - Doxyfile - -DOC_DIR = . -DOXYFILE = $(DOC_DIR)/Doxyfile -DOC_HTML = $(DOC_OUT)/index.html -DOC_OUT_HTML = $(DOC_DIR)/html -DOXYGEN = @DOXYGEN@ - -if DOXYGEN_ENABLED -doc: $(DOC_HTML) - @echo "" - @echo "Type \"firefox $(DOC_OUT_HTML)/index.html\" to see the html document." - @echo "" - -$(DOC_HTML): $(DOXYFILE) - $(DOXYGEN) $(DOXYFILE) -else -.PHONY: doc -doc: - @echo "You must enable at configure time: ./configure --enable-doxygen" -endif - -clean-local: - rm -rf $(DOC_OUT_HTML) diff --git a/m4/ax_check_openssl.m4 b/m4/ax_check_openssl.m4 deleted file mode 100644 index 8c8740d2a..000000000 --- a/m4/ax_check_openssl.m4 +++ /dev/null @@ -1,122 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_check_openssl.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]]) -# -# DESCRIPTION -# -# Look for OpenSSL in a number of default spots, or in a user-selected -# spot (via --with-openssl). Sets -# -# OPENSSL_INCLUDES to the include directives required -# OPENSSL_LIBS to the -l directives required -# OPENSSL_LDFLAGS to the -L or -R flags required -# -# and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately -# -# This macro sets OPENSSL_INCLUDES such that source files should use the -# openssl/ directory in include directives: -# -# #include -# -# LICENSE -# -# Copyright (c) 2009 Zmanda Inc. -# Copyright (c) 2009 Dustin J. Mitchell -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL]) -AC_DEFUN([AX_CHECK_OPENSSL], [ - found=false - AC_ARG_WITH(openssl, - AS_HELP_STRING([--with-openssl=DIR], - [root of the OpenSSL directory]), - [ - case "$withval" in - "" | y | ye | yes | n | no) - AC_MSG_ERROR([Invalid --with-openssl value]) - ;; - *) ssldirs="$withval" - ;; - esac - ], [ - # if pkg-config is installed and openssl has installed a .pc file, - # then use that information and don't search ssldirs - AC_PATH_PROG(PKG_CONFIG, pkg-config) - if test x"$PKG_CONFIG" != x""; then - OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null` - if test $? = 0; then - OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null` - OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null` - found=true - fi - fi - - # no such luck; use some default ssldirs - if ! $found; then - ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr" - fi - ] - ) - - - # note that we #include , so the OpenSSL headers have to be in - # an 'openssl' subdirectory - - if ! $found; then - OPENSSL_INCLUDES= - for ssldir in $ssldirs; do - AC_MSG_CHECKING([for openssl/ssl.h in $ssldir]) - if test -f "$ssldir/include/openssl/ssl.h"; then - OPENSSL_INCLUDES="-I$ssldir/include" - OPENSSL_LDFLAGS="-L$ssldir/lib" - OPENSSL_LIBS="-lssl -lcrypto" - found=true - AC_MSG_RESULT([yes]) - break - else - AC_MSG_RESULT([no]) - fi - done - - # if the file wasn't found, well, go ahead and try the link anyway -- maybe - # it will just work! - fi - - # try the preprocessor and linker with our new flags, - # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS - - AC_MSG_CHECKING([whether compiling and linking against OpenSSL works]) - echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \ - "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&AS_MESSAGE_LOG_FD - - save_LIBS="$LIBS" - save_LDFLAGS="$LDFLAGS" - save_CPPFLAGS="$CPPFLAGS" - LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" - LIBS="$OPENSSL_LIBS $LIBS" - CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" - AC_LINK_IFELSE( - AC_LANG_PROGRAM([#include ], [SSL_new(NULL)]), - [ - AC_MSG_RESULT([yes]) - $1 - ], [ - AC_MSG_RESULT([no]) - $2 - ]) - CPPFLAGS="$save_CPPFLAGS" - LDFLAGS="$save_LDFLAGS" - LIBS="$save_LIBS" - - AC_SUBST([OPENSSL_INCLUDES]) - AC_SUBST([OPENSSL_LIBS]) - AC_SUBST([OPENSSL_LDFLAGS]) -]) diff --git a/m4/pkg.m4 b/m4/pkg.m4 deleted file mode 100644 index 64be7479e..000000000 --- a/m4/pkg.m4 +++ /dev/null @@ -1,155 +0,0 @@ -# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# -# Copyright © 2004 Scott James Remnant . -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -# -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# PKG_PROG_PKG_CONFIG([MIN-VERSION]) -# ---------------------------------- -AC_DEFUN([PKG_PROG_PKG_CONFIG], -[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -])# PKG_PROG_PKG_CONFIG - -# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# -# Check to see whether a particular set of modules exists. Similar -# to PKG_CHECK_MODULES(), but does not set variables or print errors. -# -# -# Similar to PKG_CHECK_MODULES, make sure that the first instance of -# this or PKG_CHECK_MODULES is called, or make sure to call -# PKG_CHECK_EXISTS manually -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_EXISTS], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) - - -# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) -# --------------------------------------------- -m4_define([_PKG_CONFIG], -[if test -n "$$1"; then - pkg_cv_[]$1="$$1" - elif test -n "$PKG_CONFIG"; then - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - else - pkg_failed=untried -fi[]dnl -])# _PKG_CONFIG - -# _PKG_SHORT_ERRORS_SUPPORTED -# ----------------------------- -AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -])# _PKG_SHORT_ERRORS_SUPPORTED - - -# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], -# [ACTION-IF-NOT-FOUND]) -# -# -# Note that if there is a possibility the first call to -# PKG_CHECK_MODULES might not happen, you should be sure to include an -# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac -# -# -# -------------------------------------------------------------- -AC_DEFUN([PKG_CHECK_MODULES], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -])# PKG_CHECK_MODULES diff --git a/sql/Makefile.am b/sql/Makefile.am deleted file mode 100644 index 63fbd1c88..000000000 --- a/sql/Makefile.am +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = updates tools - -## Change installation location -# datadir = mangos/sql -pkgdatadir = $(datadir)/mangos/sql - -## Files to be installed -# Install basic SQL files to datadir -pkgdata_DATA = \ - mangos.sql \ - realmd.sql \ - characters.sql \ - create_mysql.sql \ - drop_mysql.sql - -## Additional files to include when running 'make dist' -# SQL files for MaNGOS database -EXTRA_DIST = \ - create_mysql.sql \ - drop_mysql.sql \ - characters.sql \ - mangos.sql \ - realmd.sql diff --git a/sql/tools/Makefile.am b/sql/tools/Makefile.am deleted file mode 100644 index 2e573fd32..000000000 --- a/sql/tools/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## Change installation location -# datadir = mangos/sql/tools -pkgdatadir = $(datadir)/mangos/sql/tools - -## Files to be installed -# Install basic SQL files to datadir -pkgdata_DATA = \ - characters_item_duplicates_remove.sql \ - characters_pet_data_cleanup.sql \ - README - -## Additional files to include when running 'make dist' -EXTRA_DIST = \ - characters_item_duplicates_remove.sql \ - characters_pet_data_cleanup.sql \ - README diff --git a/sql/updates/Makefile.am b/sql/updates/Makefile.am deleted file mode 100644 index 20d1e3d8d..000000000 --- a/sql/updates/Makefile.am +++ /dev/null @@ -1,305 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## Change installation location -# datadir = mangos/sql/updates -pkgdatadir = $(datadir)/mangos/sql/updates - -## Files to be installed -# Install basic SQL files to datadir -pkgdata_DATA = \ - 10008_01_realmd_realmd_db_version.sql \ - 10148_01_mangos_mangos_string.sql \ - 10156_01_characters_character_aura.sql \ - 10156_02_characters_pet_aura.sql \ - 10156_03_mangos_spell_proc_event.sql \ - 10159_01_mangos_spell_proc_event.sql \ - 10160_01_characters_character_aura.sql \ - 10160_02_characters_pet_aura.sql \ - 10171_01_mangos_mangos_string.sql \ - 10197_01_mangos_playercreateinfo.sql \ - 10203_01_mangos_item_template.sql \ - 10205_01_mangos_spell_area.sql \ - 10207_01_mangos_npc_vendor.sql \ - 10208_01_mangos_playercreateinfo.sql \ - 10217_01_mangos_playercreateinfo_spell.sql \ - 10217_02_mangos_playercreateinfo_action.sql \ - 10217_03_mangos_spell_learn_spell.sql \ - 10217_04_mangos_spell_chain.sql \ - 10217_05_mangos_spell_proc_event.sql \ - 10219_01_mangos_spell_proc_event.sql \ - 10223_01_mangos_spell_proc_event.sql \ - 10237_01_mangos_spell_bonus_data.sql \ - 10244_01_mangos_command.sql \ - 10251_01_mangos_command.sql \ - 10252_01_mangos_reputation_reward_rate.sql \ - 10254_01_characters_auctionhouse.sql \ - 10256_01_mangos_command.sql \ - 10257_01_mangos_command.sql \ - 10263_01_mangos_pool_creature.sql \ - 10263_02_mangos_pool_gameobject.sql \ - 10263_03_mangos_pool_pool.sql \ - 10270_01_mangos_reputation_spillover_template.sql \ - 10286_01_mangos_creature_addon.sql \ - 10289_01_mangos_creature_template.sql \ - 10289_02_mangos_creature_model_info.sql \ - 10299_01_mangos_event_id_scripts.sql \ - 10307_01_mangos_instance_template.sql \ - 10307_02_mangos_scripted_areatrigger.sql \ - 10307_03_mangos_scripted_event_id.sql \ - 10312_01_characters_character_aura.sql \ - 10312_02_characters_pet_aura.sql \ - 10314_01_mangos_mangos_string.sql \ - 10314_02_mangos_command.sql \ - 10323_01_mangos_mangos_string.sql \ - 10323_02_mangos_command.sql \ - 10331_01_mangos_mangos_string.sql \ - 10331_02_mangos_command.sql \ - 10332_01_characters_character_aura.sql \ - 10332_02_characters_pet_aura.sql \ - 10342_01_mangos_mangos_string.sql \ - 10342_02_mangos_command.sql \ - 10349_01_mangos_spell_proc_event.sql \ - 10350_02_mangos_command.sql \ - 10353_01_mangos_mangos_string.sql \ - 10353_02_mangos_command.sql \ - 10362_01_mangos_creature_movement_template.sql \ - 10365_01_mangos_creature_ai_scripts.sql \ - 10381_01_mangos_creature_model_race.sql \ - 10400_01_mangos_mangos_string.sql \ - 10409_01_mangos_spell_chain.sql \ - 10409_02_mangos_spell_proc_event.sql \ - 10410_01_mangos_spell_chain.sql \ - 10411_01_mangos_spell_proc_event.sql \ - 10416_01_mangos_spell_proc_event.sql \ - 10419_01_mangos_spell_chain.sql \ - 10422_01_mangos_spell_proc_event.sql \ - 10423_01_mangos_spell_chain.sql \ - 10427_01_mangos_spell_proc_event.sql \ - 10430_01_mangos_spell_chain.sql \ - 10454_01_mangos_spell_proc_event.sql \ - 10457_01_mangos_spell_proc_event.sql \ - 10500_01_mangos_scripts.sql \ - 10503_01_characters_creature_respawn.sql \ - 10503_02_characters_gameobject_respawn.sql \ - 10503_03_mangos_creature_respawn.sql \ - 10503_04_mangos_gameobject_respawn.sql \ - 10537_01_mangos_command.sql \ - 10551_01_mangos_spell_proc_event.sql \ - 10568_01_characters_character_tutorial.sql \ - 10582_01_mangos_spell_proc_event.sql \ - 10604_01_mangos_spell_proc_event.sql \ - 10621_01_mangos_quest_template.sql \ - 10628_01_mangos_mangos_string.sql \ - 10629_01_mangos_mangos_string.sql \ - 10654_01_mangos_game_event_creature_quest.sql \ - 10655_01_characters_character_queststatus_monthly.sql \ - 10660_01_mangos_game_event_quest.sql \ - 10662_01_characters_item_loot.sql \ - 10664_01_characters_arena_team_stats.sql \ - 10679_01_mangos_npc_vendor_template.sql \ - 10679_02_mangos_creature_template.sql \ - 10682_01_mangos_item_convert.sql \ - 10704_01_mangos_gossip_menu_option.sql \ - 10742_01_mangos_spell_bonus_data.sql \ - 10743_01_mangos_spell_chain.sql \ - 10743_02_mangos_spell_bonus_data.sql \ - 10746_01_mangos_mangos_string.sql \ - 10749_01_mangos_mangos_string.sql \ - 10762_01_mangos_spell_proc_event.sql \ - 10764_01_mangos_spell_proc_event.sql \ - 10786_01_mangos_spell_proc_item_enchant.sql \ - 10786_02_mangos_spell_proc_event.sql \ - 10788_01_mangos_creature_addon.sql \ - 10788_02_mangos_creature_template_addon.sql \ - 10835_01_mangos_spell_proc_event.sql \ - 10862_01_characters_mail.sql \ - 10863_01_mangos_spell_proc_event.sql \ - 10864_01_mangos_spell_proc_event.sql \ - 10867_01_mangos_npc_trainer_template.sql \ - 10867_02_mangos_creature_template.sql \ - 10883_01_mangos_spell_proc_event.sql \ - 10906_01_mangos_spell_proc_event.sql \ - 10906_02_mangos_spell_bonus_data.sql \ - 10932_01_mangos_game_event_creature_data.sql \ - 10945_01_mangos_mangos_string.sql \ - 10946_01_mangos_spell_proc_event.sql \ - 10949_01_mangos_mangos_string.sql \ - 10950_01_mangos_mangos_string.sql \ - 10951_01_mangos_spell_proc_event.sql \ - 10972_01_mangos_command.sql \ - 10973_01_characters_game_event_status.sql \ - 10973_01_mangos_game_event_mail.sql \ - 10988_01_mangos_mangos_string.sql \ - 10989_01_mangos_loot_template.sql \ - 10993_01_mangos_loot_template.sql \ - 10998_01_mangos_spell_proc_event.sql \ - 11002_01_mangos_spell_proc_event.sql \ - 11018_01_mangos_command.sql \ - 11023_01_mangos_spell_threat.sql \ - 11036_01_mangos_spell_threat.sql \ - 11040_01_mangos_spell_chain.sql \ - 11040_02_mangos_spell_bonus_data.sql \ - 11058_01_mangos_spell_proc_event.sql \ - 11115_01_mangos_command.sql \ - 11117_01_mangos_world_template.sql \ - 11117_02_characters_world.sql \ - README - -## Additional files to include when running 'make dist' -# SQL update files, to upgrade database schema from older revisions -EXTRA_DIST = \ - 10008_01_realmd_realmd_db_version.sql \ - 10148_01_mangos_mangos_string.sql \ - 10156_01_characters_character_aura.sql \ - 10156_02_characters_pet_aura.sql \ - 10156_03_mangos_spell_proc_event.sql \ - 10159_01_mangos_spell_proc_event.sql \ - 10160_01_characters_character_aura.sql \ - 10160_02_characters_pet_aura.sql \ - 10171_01_mangos_mangos_string.sql \ - 10197_01_mangos_playercreateinfo.sql \ - 10203_01_mangos_item_template.sql \ - 10205_01_mangos_spell_area.sql \ - 10207_01_mangos_npc_vendor.sql \ - 10208_01_mangos_playercreateinfo.sql \ - 10217_01_mangos_playercreateinfo_spell.sql \ - 10217_02_mangos_playercreateinfo_action.sql \ - 10217_03_mangos_spell_learn_spell.sql \ - 10217_04_mangos_spell_chain.sql \ - 10217_05_mangos_spell_proc_event.sql \ - 10219_01_mangos_spell_proc_event.sql \ - 10223_01_mangos_spell_proc_event.sql \ - 10237_01_mangos_spell_bonus_data.sql \ - 10244_01_mangos_command.sql \ - 10251_01_mangos_command.sql \ - 10252_01_mangos_reputation_reward_rate.sql \ - 10254_01_characters_auctionhouse.sql \ - 10256_01_mangos_command.sql \ - 10257_01_mangos_command.sql \ - 10263_01_mangos_pool_creature.sql \ - 10263_02_mangos_pool_gameobject.sql \ - 10263_03_mangos_pool_pool.sql \ - 10270_01_mangos_reputation_spillover_template.sql \ - 10286_01_mangos_creature_addon.sql \ - 10289_01_mangos_creature_template.sql \ - 10289_02_mangos_creature_model_info.sql \ - 10299_01_mangos_event_id_scripts.sql \ - 10307_01_mangos_instance_template.sql \ - 10307_02_mangos_scripted_areatrigger.sql \ - 10307_03_mangos_scripted_event_id.sql \ - 10312_01_characters_character_aura.sql \ - 10312_02_characters_pet_aura.sql \ - 10314_01_mangos_mangos_string.sql \ - 10314_02_mangos_command.sql \ - 10323_01_mangos_mangos_string.sql \ - 10323_02_mangos_command.sql \ - 10331_01_mangos_mangos_string.sql \ - 10331_02_mangos_command.sql \ - 10332_01_characters_character_aura.sql \ - 10332_02_characters_pet_aura.sql \ - 10342_01_mangos_mangos_string.sql \ - 10342_02_mangos_command.sql \ - 10349_01_mangos_spell_proc_event.sql \ - 10350_02_mangos_command.sql \ - 10353_01_mangos_mangos_string.sql \ - 10353_02_mangos_command.sql \ - 10362_01_mangos_creature_movement_template.sql \ - 10365_01_mangos_creature_ai_scripts.sql \ - 10381_01_mangos_creature_model_race.sql \ - 10400_01_mangos_mangos_string.sql \ - 10409_01_mangos_spell_chain.sql \ - 10409_02_mangos_spell_proc_event.sql \ - 10410_01_mangos_spell_chain.sql \ - 10411_01_mangos_spell_proc_event.sql \ - 10416_01_mangos_spell_proc_event.sql \ - 10419_01_mangos_spell_chain.sql \ - 10422_01_mangos_spell_proc_event.sql \ - 10423_01_mangos_spell_chain.sql \ - 10427_01_mangos_spell_proc_event.sql \ - 10430_01_mangos_spell_chain.sql \ - 10454_01_mangos_spell_proc_event.sql \ - 10457_01_mangos_spell_proc_event.sql \ - 10500_01_mangos_scripts.sql \ - 10503_01_characters_creature_respawn.sql \ - 10503_02_characters_gameobject_respawn.sql \ - 10503_03_mangos_creature_respawn.sql \ - 10503_04_mangos_gameobject_respawn.sql \ - 10537_01_mangos_command.sql \ - 10551_01_mangos_spell_proc_event.sql \ - 10568_01_characters_character_tutorial.sql \ - 10582_01_mangos_spell_proc_event.sql \ - 10604_01_mangos_spell_proc_event.sql \ - 10621_01_mangos_quest_template.sql \ - 10628_01_mangos_mangos_string.sql \ - 10629_01_mangos_mangos_string.sql \ - 10654_01_mangos_game_event_creature_quest.sql \ - 10655_01_characters_character_queststatus_monthly.sql \ - 10660_01_mangos_game_event_quest.sql \ - 10662_01_characters_item_loot.sql \ - 10664_01_characters_arena_team_stats.sql \ - 10679_01_mangos_npc_vendor_template.sql \ - 10679_02_mangos_creature_template.sql \ - 10682_01_mangos_item_convert.sql \ - 10704_01_mangos_gossip_menu_option.sql \ - 10742_01_mangos_spell_bonus_data.sql \ - 10743_01_mangos_spell_chain.sql \ - 10743_02_mangos_spell_bonus_data.sql \ - 10746_01_mangos_mangos_string.sql \ - 10749_01_mangos_mangos_string.sql \ - 10762_01_mangos_spell_proc_event.sql \ - 10764_01_mangos_spell_proc_event.sql \ - 10786_01_mangos_spell_proc_item_enchant.sql \ - 10786_02_mangos_spell_proc_event.sql \ - 10788_01_mangos_creature_addon.sql \ - 10788_02_mangos_creature_template_addon.sql \ - 10835_01_mangos_spell_proc_event.sql \ - 10862_01_characters_mail.sql \ - 10863_01_mangos_spell_proc_event.sql \ - 10864_01_mangos_spell_proc_event.sql \ - 10867_01_mangos_npc_trainer_template.sql \ - 10867_02_mangos_creature_template.sql \ - 10883_01_mangos_spell_proc_event.sql \ - 10906_01_mangos_spell_proc_event.sql \ - 10906_02_mangos_spell_bonus_data.sql \ - 10932_01_mangos_game_event_creature_data.sql \ - 10945_01_mangos_mangos_string.sql \ - 10946_01_mangos_spell_proc_event.sql \ - 10949_01_mangos_mangos_string.sql \ - 10950_01_mangos_mangos_string.sql \ - 10951_01_mangos_spell_proc_event.sql \ - 10972_01_mangos_command.sql \ - 10973_01_characters_game_event_status.sql \ - 10973_01_mangos_game_event_mail.sql \ - 10988_01_mangos_mangos_string.sql \ - 10989_01_mangos_loot_template.sql \ - 10993_01_mangos_loot_template.sql \ - 10998_01_mangos_spell_proc_event.sql \ - 11002_01_mangos_spell_proc_event.sql \ - 11018_01_mangos_command.sql \ - 11023_01_mangos_spell_threat.sql \ - 11036_01_mangos_spell_threat.sql \ - 11040_01_mangos_spell_chain.sql \ - 11040_02_mangos_spell_bonus_data.sql \ - 11058_01_mangos_spell_proc_event.sql \ - 11115_01_mangos_command.sql \ - 11117_01_mangos_world_template.sql \ - 11117_02_characters_world.sql \ - README diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index ae67a1e72..000000000 --- a/src/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = tools framework shared realmd game bindings mangosd - -## Additional files to include when running 'make dist' -# Nothing yet. diff --git a/src/bindings/Makefile.am b/src/bindings/Makefile.am deleted file mode 100644 index cc99ab918..000000000 --- a/src/bindings/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - diff --git a/src/bindings/universal/Makefile.am b/src/bindings/universal/Makefile.am deleted file mode 100644 index fa03161fe..000000000 --- a/src/bindings/universal/Makefile.am +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(srcdir) -I$(srcdir)/../../../dep/include -I$(srcdir)/../../shared/ -I$(srcdir)/../../framework/ - -## Build MaNGOS script library as shared library. -# libmangosscript shared library will later be reused by world server daemon. -lib_LTLIBRARIES = libmangosscript.la -libmangosscript_la_SOURCES = \ - ScriptMgr.cpp \ - ScriptMgr.h \ - config.h \ - system.cpp \ - Scripts/sc_default.cpp \ - Scripts/sc_defines.cpp \ - Scripts/sc_defines.h - -## libtool settings -# API versioning -# Link against dependencies -# How to increase version info: -# - only bug fixes implemented: -# bump the version to LTMANGOS_CURRENT:LTMANGOS_REVISION+1:LTMANGOS_AGE -# - augmented the interface: -# bump the version to LTMANGOS_CURRENT+1:0:LTMANGOS_AGE+1 -# - broken old interface: -# bump the version to LTMANGOS_CURRENT+1:0:0 -LTMANGOS_CURRENT = 0 -LTMANGOS_REVISION = 0 -LTMANGOS_AGE = 0 -libmangosscript_la_LIBFLAGS = -version-info $(LTMANGOS_CURRENT):$(LTMANGOS_REVISION):$(LTMANGOS_AGE) - -## Additional files to include when running 'make dist' -# Scripts defaults. -EXTRA_DIST = \ - Scripts/sc_default.cpp \ - Scripts/sc_defines.cpp \ - Scripts/sc_defines.h diff --git a/src/framework/Makefile.am b/src/framework/Makefile.am deleted file mode 100644 index bf4863c94..000000000 --- a/src/framework/Makefile.am +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(srcdir) - -## Build MaNGOS framework library as convenience library. -# libMaNGOSScript shared library will later be reused by world server daemon. -noinst_LIBRARIES = libmangosframework.a -libmangosframework_a_SOURCES = \ - Policies/MemoryManagement.cpp \ - Policies/ObjectLifeTime.cpp \ - Utilities/EventProcessor.cpp - -## Additional files to include when running 'make dist' -# Source and header files for the Framework. -EXTRA_DIST = \ - Dynamic/FactoryHolder.h \ - Dynamic/ObjectRegistry.h \ - GameSystem/Grid.h \ - GameSystem/GridLoader.h \ - GameSystem/GridRefManager.h \ - GameSystem/GridReference.h \ - GameSystem/NGrid.h \ - GameSystem/TypeContainer.h \ - GameSystem/TypeContainerFunctions.h \ - GameSystem/TypeContainerFunctionsPtr.h \ - GameSystem/TypeContainerVisitor.h \ - Platform/CompilerDefs.h \ - Platform/Define.h \ - Policies/CreationPolicy.h \ - Policies/ObjectLifeTime.h \ - Policies/Singleton.h \ - Policies/SingletonImp.h \ - Policies/ThreadingModel.h \ - Utilities/LinkedReference/RefManager.h \ - Utilities/LinkedReference/Reference.h \ - Utilities/ByteConverter.h \ - Utilities/Callback.h \ - Utilities/EventProcessor.h \ - Utilities/UnorderedMapSet.h \ - Utilities/LinkedList.h \ - Utilities/TypeList.h diff --git a/src/game/Makefile.am b/src/game/Makefile.am deleted file mode 100644 index 4c3033114..000000000 --- a/src/game/Makefile.am +++ /dev/null @@ -1,311 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = vmap - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/vmap -I$(srcdir)/../realmd -I$(srcdir)/../../dep/include/g3dlite -DSYSCONFDIR=\"$(sysconfdir)/\" - -## Build MaNGOS game library as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libmangosgame.a - -# libmangossgame library will later be reused by ... -libmangosgame_a_SOURCES = \ - AccountMgr.cpp \ - AccountMgr.h \ - AchievementMgr.h \ - AchievementMgr.cpp \ - AggressorAI.cpp \ - AggressorAI.h \ - ArenaTeam.cpp \ - ArenaTeam.h \ - ArenaTeamHandler.cpp \ - AuctionHouseHandler.cpp \ - AuctionHouseMgr.cpp \ - AuctionHouseMgr.h \ - Bag.cpp \ - Bag.h \ - BattleGround.cpp \ - BattleGroundAA.cpp \ - BattleGroundAB.cpp \ - BattleGroundRB.cpp \ - BattleGroundAV.cpp \ - BattleGroundBE.cpp \ - BattleGroundDS.cpp \ - BattleGroundEY.cpp \ - BattleGroundIC.cpp \ - BattleGroundNA.cpp \ - BattleGroundRL.cpp \ - BattleGroundRV.cpp \ - BattleGroundSA.cpp \ - BattleGroundWS.cpp \ - BattleGround.h \ - BattleGroundAA.h \ - BattleGroundAB.h \ - BattleGroundRB.h \ - BattleGroundAV.h \ - BattleGroundBE.h \ - BattleGroundDS.h \ - BattleGroundEY.h \ - BattleGroundIC.h \ - BattleGroundNA.h \ - BattleGroundRL.h \ - BattleGroundRV.h \ - BattleGroundSA.h \ - BattleGroundWS.h \ - BattleGroundHandler.cpp \ - BattleGroundMgr.cpp \ - BattleGroundMgr.h \ - Calendar.cpp \ - Calendar.h \ - CalendarHandler.cpp \ - Camera.cpp \ - Camera.h \ - Cell.h \ - CellImpl.h \ - Channel.cpp \ - Channel.h \ - ChannelHandler.cpp \ - ChannelMgr.cpp \ - ChannelMgr.h \ - CharacterDatabaseCleaner.cpp \ - CharacterDatabaseCleaner.h \ - CharacterHandler.cpp \ - Chat.cpp \ - Chat.h \ - ChatHandler.cpp \ - CombatHandler.cpp \ - ConfusedMovementGenerator.cpp \ - ConfusedMovementGenerator.h \ - Corpse.cpp \ - Corpse.h \ - CreatureAI.cpp \ - CreatureAI.h \ - CreatureAIImpl.h \ - CreatureAIRegistry.cpp \ - CreatureAIRegistry.h \ - CreatureAISelector.cpp \ - CreatureAISelector.h \ - CreatureEventAI.cpp \ - CreatureEventAI.h \ - CreatureEventAIMgr.cpp \ - CreatureEventAIMgr.h \ - Creature.cpp \ - Creature.h \ - DBCEnums.h \ - DBCfmt.h \ - DBCStores.cpp \ - DBCStores.h \ - DBCStructure.h \ - debugcmds.cpp \ - DestinationHolder.cpp \ - DestinationHolder.h \ - DestinationHolderImp.h \ - DuelHandler.cpp \ - DynamicObject.cpp \ - DynamicObject.h \ - FleeingMovementGenerator.cpp \ - FleeingMovementGenerator.h \ - Formulas.h \ - GameEventMgr.cpp \ - GameEventMgr.h \ - GameObject.cpp \ - GameObject.h \ - GMTicketHandler.cpp \ - GMTicketMgr.cpp \ - GMTicketMgr.h \ - GossipDef.cpp \ - GossipDef.h \ - GridDefines.h \ - GridMap.cpp \ - GridMap.h \ - GridNotifiers.cpp \ - GridNotifiers.h \ - GridNotifiersImpl.h \ - GridStates.cpp \ - GridStates.h \ - Group.cpp \ - Group.h \ - GroupHandler.cpp \ - GuardAI.cpp \ - GuardAI.h \ - Guild.cpp \ - Guild.h \ - GuildHandler.cpp \ - HomeMovementGenerator.cpp \ - HomeMovementGenerator.h \ - HostileRefManager.cpp \ - HostileRefManager.h \ - IdleMovementGenerator.cpp \ - IdleMovementGenerator.h \ - InstanceData.cpp \ - InstanceData.h \ - Item.cpp \ - Item.h \ - ItemEnchantmentMgr.cpp \ - ItemEnchantmentMgr.h \ - ItemHandler.cpp \ - ItemPrototype.h \ - Language.h \ - Level0.cpp \ - Level1.cpp \ - Level2.cpp \ - Level3.cpp \ - LFGHandler.cpp \ - LootHandler.cpp \ - LootMgr.cpp \ - LootMgr.h \ - Mail.cpp \ - Mail.h \ - Map.cpp \ - Map.h \ - MapManager.cpp \ - MapManager.h \ - MapPersistentStateMgr.cpp \ - MapPersistentStateMgr.h \ - MapReference.h \ - MapRefManager.h \ - MassMailMgr.cpp \ - MassMailMgr.h \ - MiscHandler.cpp \ - MotionMaster.cpp \ - MotionMaster.h \ - MovementGenerator.cpp \ - MovementGenerator.h \ - MovementGeneratorImpl.h \ - MovementHandler.cpp \ - NPCHandler.cpp \ - NPCHandler.h \ - NullCreatureAI.cpp \ - NullCreatureAI.h \ - ObjectAccessor.cpp \ - ObjectAccessor.h \ - Object.cpp \ - ObjectGuid.cpp \ - ObjectGuid.h \ - ObjectGridLoader.cpp \ - ObjectGridLoader.h \ - Object.h \ - ObjectMgr.cpp \ - ObjectMgr.h \ - ObjectPosSelector.cpp \ - ObjectPosSelector.h \ - Opcodes.cpp \ - Opcodes.h \ - Path.h \ - PetAI.cpp \ - PetAI.h \ - Pet.cpp \ - Pet.h \ - PetHandler.cpp \ - PetitionsHandler.cpp \ - Player.cpp \ - Player.h \ - PlayerDump.cpp \ - PlayerDump.h \ - PointMovementGenerator.cpp \ - PointMovementGenerator.h \ - PoolManager.cpp \ - PoolManager.h \ - QueryHandler.cpp \ - QuestDef.cpp \ - QuestDef.h \ - QuestHandler.cpp \ - RandomMovementGenerator.cpp \ - RandomMovementGenerator.h \ - ReactorAI.cpp \ - ReactorAI.h \ - ReputationMgr.cpp \ - ReputationMgr.h \ - ScriptMgr.cpp \ - ScriptMgr.h \ - SharedDefines.h \ - SkillHandler.cpp \ - SpellAuraDefines.h \ - SpellAuras.cpp \ - SpellAuras.h \ - Spell.cpp \ - SpellEffects.cpp \ - Spell.h \ - SkillDiscovery.cpp \ - SkillDiscovery.h \ - SkillExtraItems.cpp \ - SkillExtraItems.h \ - SpellHandler.cpp \ - SocialMgr.cpp \ - SocialMgr.h \ - SpellMgr.cpp \ - SpellMgr.h \ - SQLStorages.cpp \ - SQLStorages.h \ - StatSystem.cpp \ - TargetedMovementGenerator.cpp \ - TargetedMovementGenerator.h \ - TaxiHandler.cpp \ - TemporarySummon.cpp \ - TemporarySummon.h \ - TotemAI.cpp \ - TotemAI.h \ - Totem.cpp \ - Totem.h \ - TradeHandler.cpp \ - Transports.cpp \ - Transports.h \ - ThreatManager.cpp \ - ThreatManager.h \ - Traveller.h \ - Unit.cpp \ - Unit.h \ - UnitAuraProcHandler.cpp \ - UnitEvents.h \ - UpdateData.cpp \ - UpdateData.h \ - UpdateFields.h \ - UpdateMask.h \ - Vehicle.cpp \ - Vehicle.h \ - VoiceChatHandler.cpp \ - WaypointManager.cpp \ - WaypointManager.h \ - WaypointMovementGenerator.cpp \ - WaypointMovementGenerator.h \ - Weather.cpp \ - Weather.h \ - World.cpp \ - World.h \ - WorldSession.cpp \ - WorldSession.h \ - WorldSocket.cpp \ - WorldSocket.h \ - WorldSocketMgr.cpp \ - WorldSocketMgr.h \ - FollowerReference.cpp \ - FollowerReference.h \ - FollowerRefManager.h \ - GroupReference.cpp \ - GroupReference.h \ - GroupRefManager.h - -## Additional files to include when running 'make dist' -# Precompiled Headers for WIN -EXTRA_DIST = \ - pchdef.cpp \ - pchdef.h diff --git a/src/game/vmap/Makefile.am b/src/game/vmap/Makefile.am deleted file mode 100644 index 266fbd45c..000000000 --- a/src/game/vmap/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../../dep/include -I$(srcdir)/../../framework -I$(srcdir)/../../shared -I$(srcdir)/../../../dep/include/g3dlite - -## Build MaNGOS shared library and its parts as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libmangosvmaps.a - -libmangosvmaps_a_SOURCES = \ - BIH.h \ - BIH.cpp \ - IVMapManager.h \ - MapTree.cpp \ - MapTree.h \ - ModelInstance.cpp \ - ModelInstance.h \ - TileAssembler.cpp \ - TileAssembler.h \ - VMapDefinitions.h \ - VMapFactory.cpp \ - VMapFactory.h \ - VMapManager2.cpp \ - VMapManager2.h \ - VMapTools.h \ - WorldModel.cpp \ - WorldModel.h diff --git a/src/mangosd/Makefile.am b/src/mangosd/Makefile.am deleted file mode 100644 index eef5200f6..000000000 --- a/src/mangosd/Makefile.am +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir)/../../dep/include -I$(srcdir)/../../dep/include/gsoap -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir)/../game -I$(srcdir) -DSYSCONFDIR=\"$(sysconfdir)/\" - -## Build world daemon as standalone program -bin_PROGRAMS = mangos-worldd -mangos_worldd_SOURCES = \ - CliRunnable.cpp \ - CliRunnable.h \ - Main.cpp \ - Master.cpp \ - Master.h \ - RASocket.cpp \ - RASocket.h \ - MaNGOSsoap.cpp \ - MaNGOSsoap.h \ - WorldRunnable.cpp \ - WorldRunnable.h \ - soapH.h \ - soapStub.h \ - soapC.cpp \ - soapServer.cpp - -## Link world daemon against the shared library -mangos_worldd_LDADD = \ - ../game/libmangosgame.a \ - ../game/vmap/libmangosvmaps.a \ - ../shared/Database/libmangosdatabase.a \ - ../shared/Config/libmangosconfig.a \ - ../shared/Auth/libmangosauth.a \ - ../shared/libmangosshared.a \ - ../framework/libmangosframework.a \ - ../../dep/src/g3dlite/libg3dlite.a \ - ../../dep/src/gsoap/libgsoap.a - -mangos_worldd_LDFLAGS = -L../../dep/src/g3dlite -L../../dep/src/gsoap -L$(libdir) $(MANGOS_LIBS) -export-dynamic - -## Additional files to include when running 'make dist' -# Include world daemon configuration -EXTRA_DIST = \ - mangosd.conf.dist - -## Additional files to install -sysconf_DATA = \ - mangosd.conf.dist - -install-data-hook: - @list='$(sysconf_DATA)' - for p in $$list; do \ - dest=`echo $$p | sed -e s/.dist//`; \ - if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \ - echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \ - else \ - echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \ - $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \ - fi; \ - done - -clean-local: - rm -f $(sysconf_DATA) diff --git a/src/realmd/Makefile.am b/src/realmd/Makefile.am deleted file mode 100644 index 2fbdaa08e..000000000 --- a/src/realmd/Makefile.am +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -I$(srcdir) -DSYSCONFDIR=\"$(sysconfdir)/\" - -## Build realm list daemon as standalone program -bin_PROGRAMS = mangos-realmd -mangos_realmd_SOURCES = \ - AuthCodes.h \ - AuthSocket.cpp \ - AuthSocket.h \ - BufferedSocket.h \ - BufferedSocket.cpp \ - Main.cpp \ - PatchHandler.h \ - PatchHandler.cpp \ - RealmList.cpp \ - RealmList.h - -## Link realm list daemon against the shared library -mangos_realmd_LDADD = \ - ../shared/Database/libmangosdatabase.a \ - ../shared/Config/libmangosconfig.a \ - ../shared/Auth/libmangosauth.a \ - ../shared/libmangosshared.a \ - ../framework/libmangosframework.a - -mangos_realmd_LDFLAGS = -L$(libdir) $(MANGOS_LIBS) - -## Additional files to include when running 'make dist' -# Include realm list daemon configuration -EXTRA_DIST = \ - realmd.conf.dist - -## Additional files to install -sysconf_DATA = \ - realmd.conf.dist - -install-data-hook: - @list='$(sysconf_DATA)' - for p in $$list; do \ - dest=`echo $$p | sed -e s/.dist//`; \ - if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \ - echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \ - else \ - echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \ - $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \ - fi; \ - done - -clean-local: - rm -f $(sysconf_DATA) diff --git a/src/shared/Auth/Makefile.am b/src/shared/Auth/Makefile.am deleted file mode 100644 index 95676239e..000000000 --- a/src/shared/Auth/Makefile.am +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../../dep/include -I$(srcdir)/../../framework -I$(srcdir)/../../shared -I$(srcdir)/../../../dep/include/g3dlite - -## Build MaNGOS shared library and its parts as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libmangosauth.a - -libmangosauth_a_SOURCES = \ - AuthCrypt.cpp \ - AuthCrypt.h \ - BigNumber.cpp \ - BigNumber.h \ - HMACSHA1.cpp \ - HMACSHA1.h \ - SARC4.cpp \ - SARC4.h \ - Sha1.cpp \ - Sha1.h \ - md5.c \ - md5.h diff --git a/src/shared/Config/Makefile.am b/src/shared/Config/Makefile.am deleted file mode 100644 index 976013404..000000000 --- a/src/shared/Config/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../../dep/include -I$(srcdir)/../../framework -I$(srcdir)/../../shared - -## Build MaNGOS shared library and its parts as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libmangosconfig.a - -libmangosconfig_a_SOURCES = \ - Config.cpp \ - Config.h diff --git a/src/shared/Database/Makefile.am b/src/shared/Database/Makefile.am deleted file mode 100644 index 239533086..000000000 --- a/src/shared/Database/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../../dep/include -I$(srcdir)/../../framework -I$(srcdir)/../../shared -I$(srcdir)/../../../dep/include/g3dlite - -## Build MaNGOS shared library and its parts as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libmangosdatabase.a - -libmangosdatabase_a_SOURCES = \ - DBCFileLoader.cpp \ - DBCFileLoader.h \ - DBCStore.h \ - Database.cpp \ - Database.h \ - DatabaseEnv.h \ - DatabaseImpl.h \ - DatabaseMysql.cpp \ - DatabasePostgre.cpp \ - DatabaseMysql.h \ - DatabasePostgre.h \ - DBCEnums.h \ - Field.cpp \ - Field.h \ - MySQLDelayThread.h \ - PGSQLDelayThread.h \ - QueryResult.h \ - QueryResultMysql.cpp \ - QueryResultMysql.h \ - QueryResultPostgre.cpp \ - QueryResultPostgre.h \ - SQLStorage.cpp \ - SQLStorage.h \ - SQLStorageImpl.h \ - SqlDelayThread.cpp \ - SqlDelayThread.h \ - SqlOperations.cpp \ - SqlOperations.h diff --git a/src/shared/Makefile.am b/src/shared/Makefile.am deleted file mode 100644 index f4d3eaf36..000000000 --- a/src/shared/Makefile.am +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = Auth Config Database - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(srcdir)/../../dep/include -I$(srcdir)/../framework -I$(srcdir)/../shared -DSYSCONFDIR=\"$(sysconfdir)/\" -## AM_CPPFLAGS += -I$(srcdir)/../game -I$(srcdir)/../realmd - -## Build MaNGOS shared library and its parts as convenience library. -# All libraries will be convenience libraries. Might be changed to shared -# later. -noinst_LIBRARIES = libmangosshared.a - -# libmangosshared library will later be reused by ... -libmangosshared_a_SOURCES = \ - ByteBuffer.h \ - Common.cpp \ - Common.h \ - Errors.h \ - LockedQueue.h \ - Log.cpp \ - Log.h \ - MemoryLeaks.cpp \ - MemoryLeaks.h \ - ProgressBar.cpp \ - ProgressBar.h \ - Timer.h \ - Threading.cpp \ - Threading.h \ - Util.cpp \ - Util.h \ - WorldPacket.h \ - revision_nr.h \ - revision_sql.h \ - revision.h - -# Get revision (git or svn) -REVISION_FILE = revision.h - -BUILT_SOURCES = $(REVISION_FILE) -CLEANFILES = $(REVISION_FILE) - -FORCE: - -$(REVISION_FILE) : $(top_builddir)/src/tools/genrevision/genrevision FORCE - $(top_builddir)/src/tools/genrevision/genrevision $(top_srcdir) - -## Additional files to include when running 'make dist' -# System configuration -EXTRA_DIST = \ - SystemConfig.h - -# System Win32 files -EXTRA_DIST += \ - ServiceWin32.cpp \ - ServiceWin32.h \ - WheatyExceptionReport.cpp \ - WheatyExceptionReport.h diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index e12bc6b1b..3e8335443 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11165" + #define REVISION_NR "11166" #endif // __REVISION_NR_H__ diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am deleted file mode 100644 index 742e4f478..000000000 --- a/src/tools/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## Sub-directories to parse -SUBDIRS = genrevision - -## Additional files to include when running 'make dist' -# Nothing yet. diff --git a/src/tools/genrevision/Makefile.am b/src/tools/genrevision/Makefile.am deleted file mode 100644 index 6a9c4f6d5..000000000 --- a/src/tools/genrevision/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright (C) 2005-2011 MaNGOS -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -## Process this file with automake to produce Makefile.in - -## CPP flags for includes, defines, etc. -AM_CPPFLAGS = -I$(srcdir) - -## Build as standalone program -bin_PROGRAMS = genrevision -genrevision_SOURCES = \ - genrevision.cpp - -## Link against the shared library -genrevision_LDADD = -genrevision_LDFLAGS = -L$(libdir) - -## Additional files to include when running 'make dist' -# Include world daemon configuration -#EXTRA_DIST = - -## Additional files to install