| 1 | # Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2008 Trinity <http://www.trinitycore.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 2 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 | ## TODO move vmaps in src dir instead of src/shared |
|---|
| 22 | |
|---|
| 23 | ## Sub-directories to parse |
|---|
| 24 | SUBDIRS = vmap |
|---|
| 25 | |
|---|
| 26 | ## Build MaNGOS shared library and its parts as convenience library. |
|---|
| 27 | # All libraries will be convenience libraries. Might be changed to shared |
|---|
| 28 | # later. |
|---|
| 29 | noinst_LIBRARIES = libshared.a |
|---|
| 30 | |
|---|
| 31 | libshared_a_CPPFLAGS = \ |
|---|
| 32 | $(MYSQL_INCLUDES) \ |
|---|
| 33 | $(POSTGRE_INCLUDES) \ |
|---|
| 34 | -I$(top_srcdir)/dep/include \ |
|---|
| 35 | -I$(top_srcdir)/src/framework |
|---|
| 36 | |
|---|
| 37 | # libmangosshared library will later be reused by ... |
|---|
| 38 | libshared_a_SOURCES = \ |
|---|
| 39 | $(srcdir)/Base.cpp \ |
|---|
| 40 | $(srcdir)/Base.h \ |
|---|
| 41 | $(srcdir)/ByteBuffer.h \ |
|---|
| 42 | $(srcdir)/Common.cpp \ |
|---|
| 43 | $(srcdir)/Common.h \ |
|---|
| 44 | $(srcdir)/Errors.h \ |
|---|
| 45 | $(srcdir)/Log.cpp \ |
|---|
| 46 | $(srcdir)/Log.h \ |
|---|
| 47 | $(srcdir)/Mthread.cpp \ |
|---|
| 48 | $(srcdir)/Mthread.h \ |
|---|
| 49 | $(srcdir)/ProgressBar.cpp \ |
|---|
| 50 | $(srcdir)/ProgressBar.h \ |
|---|
| 51 | $(srcdir)/Timer.h \ |
|---|
| 52 | $(srcdir)/Util.cpp \ |
|---|
| 53 | $(srcdir)/Util.h \ |
|---|
| 54 | $(srcdir)/WorldPacket.h \ |
|---|
| 55 | $(srcdir)/SystemConfig.h \ |
|---|
| 56 | $(srcdir)../game/IRCConf.h \ |
|---|
| 57 | $(srcdir)/Auth/AuthCrypt.cpp \ |
|---|
| 58 | $(srcdir)/Auth/AuthCrypt.h \ |
|---|
| 59 | $(srcdir)/Auth/BigNumber.cpp \ |
|---|
| 60 | $(srcdir)/Auth/BigNumber.h \ |
|---|
| 61 | $(srcdir)/Auth/Hmac.cpp \ |
|---|
| 62 | $(srcdir)/Auth/Hmac.h \ |
|---|
| 63 | $(srcdir)/Auth/Sha1.cpp \ |
|---|
| 64 | $(srcdir)/Auth/Sha1.h \ |
|---|
| 65 | $(srcdir)/Auth/md5.c \ |
|---|
| 66 | $(srcdir)/Auth/md5.h \ |
|---|
| 67 | $(srcdir)/Config/dotconfpp/dotconfpp.cpp \ |
|---|
| 68 | $(srcdir)/Config/dotconfpp/dotconfpp.h \ |
|---|
| 69 | $(srcdir)/Config/dotconfpp/mempool.cpp \ |
|---|
| 70 | $(srcdir)/Config/dotconfpp/mempool.h \ |
|---|
| 71 | $(srcdir)/Config/Config.cpp \ |
|---|
| 72 | $(srcdir)/Config/Config.h \ |
|---|
| 73 | $(srcdir)/Config/ConfigEnv.h \ |
|---|
| 74 | $(srcdir)/Database/DBCStores.cpp \ |
|---|
| 75 | $(srcdir)/Database/DBCStores.h \ |
|---|
| 76 | $(srcdir)/Database/DBCStructure.h \ |
|---|
| 77 | $(srcdir)/Database/DBCfmt.cpp \ |
|---|
| 78 | $(srcdir)/Database/Database.cpp \ |
|---|
| 79 | $(srcdir)/Database/Database.h \ |
|---|
| 80 | $(srcdir)/Database/DatabaseEnv.h \ |
|---|
| 81 | $(srcdir)/Database/DatabaseImpl.h \ |
|---|
| 82 | $(srcdir)/Database/DatabaseMysql.cpp \ |
|---|
| 83 | $(srcdir)/Database/DatabasePostgre.cpp \ |
|---|
| 84 | $(srcdir)/Database/DatabaseMysql.h \ |
|---|
| 85 | $(srcdir)/Database/DatabasePostgre.h \ |
|---|
| 86 | $(srcdir)/Database/DatabaseSqlite.cpp \ |
|---|
| 87 | $(srcdir)/Database/DatabaseSqlite.h \ |
|---|
| 88 | $(srcdir)/Database/Field.cpp \ |
|---|
| 89 | $(srcdir)/Database/Field.h \ |
|---|
| 90 | $(srcdir)/Database/MySQLDelayThread.h \ |
|---|
| 91 | $(srcdir)/Database/PGSQLDelayThread.h \ |
|---|
| 92 | $(srcdir)/Database/QueryResult.h \ |
|---|
| 93 | $(srcdir)/Database/QueryResultMysql.cpp \ |
|---|
| 94 | $(srcdir)/Database/QueryResultMysql.h \ |
|---|
| 95 | $(srcdir)/Database/QueryResultPostgre.cpp \ |
|---|
| 96 | $(srcdir)/Database/QueryResultPostgre.h \ |
|---|
| 97 | $(srcdir)/Database/QueryResultSqlite.cpp \ |
|---|
| 98 | $(srcdir)/Database/QueryResultSqlite.h \ |
|---|
| 99 | $(srcdir)/Database/SQLStorage.cpp \ |
|---|
| 100 | $(srcdir)/Database/SQLStorage.h \ |
|---|
| 101 | $(srcdir)/Database/SqlDelayThread.cpp \ |
|---|
| 102 | $(srcdir)/Database/SqlDelayThread.h \ |
|---|
| 103 | $(srcdir)/Database/SqlOperations.cpp \ |
|---|
| 104 | $(srcdir)/Database/SqlOperations.h \ |
|---|
| 105 | $(srcdir)/Database/dbcfile.cpp \ |
|---|
| 106 | $(srcdir)/Database/dbcfile.h |
|---|
| 107 | |
|---|
| 108 | ## Additional files to include when running 'make dist' |
|---|
| 109 | # Disabled packet logger |
|---|
| 110 | EXTRA_DIST = \ |
|---|
| 111 | PacketLog.cpp \ |
|---|
| 112 | PacketLog.h |
|---|
| 113 | |
|---|
| 114 | # System Win32 files |
|---|
| 115 | EXTRA_DIST += \ |
|---|
| 116 | ServiceWin32.cpp \ |
|---|
| 117 | ServiceWin32.h \ |
|---|
| 118 | WheatyExceptionReport.cpp \ |
|---|
| 119 | WheatyExceptionReport.h |
|---|
| 120 | |
|---|
| 121 | |
|---|