diff --git a/Makefile.am b/Makefile.am index 24848ee..a3778b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,3 @@ # $Id$ -## Process this file with automake to create Makefile.in - SUBDIRS = src game diff --git a/game/Makefile.am b/game/Makefile.am index 1d1b682..2e47d49 100644 --- a/game/Makefile.am +++ b/game/Makefile.am @@ -1,3 +1,3 @@ # $Id$ -SUBDIRS = baseq2 +SUBDIRS = baseq2 ctf diff --git a/game/ctf/Makefile.am b/game/ctf/Makefile.am index 2dfdf5c..19e1a01 100644 --- a/game/ctf/Makefile.am +++ b/game/ctf/Makefile.am @@ -1,3 +1,39 @@ # $Id$ +############################################################################# +# CTF +############################################################################# + +bin_PROGRAMS = game.so +game_so_SOURCES = \ + g_ai.c \ + g_chase.c \ + g_cmds.c \ + g_combat.c \ + g_ctf.c \ + g_func.c \ + g_items.c \ + g_main.c \ + g_misc.c \ + g_monster.c \ + g_phys.c \ + g_save.c \ + g_spawn.c \ + g_svcmds.c \ + g_target.c \ + g_trigger.c \ + g_utils.c \ + g_weapon.c \ + m_move.c \ + p_client.c \ + p_hud.c \ + p_menu.c \ + p_trail.c \ + p_view.c \ + p_weapon.c \ + q_shared.c + +AM_CFLAGS = -fPIC +AM_CPPFLAGS = -I../../src -I.. +LDFLAGS = -shared diff --git a/game/ctf/game.h b/game/ctf/game.h index 6e77547..4c64c96 100644 --- a/game/ctf/game.h +++ b/game/ctf/game.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "../qcommon/gcc_attr.h" +#include "gcc_attr.h" // game.h -- game dll information visible to server diff --git a/game/ctf/q_shared.h b/game/ctf/q_shared.h index af63e13..c6baf52 100644 --- a/game/ctf/q_shared.h +++ b/game/ctf/q_shared.h @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "../qcommon/gcc_attr.h" +#include "gcc_attr.h" // q_shared.h -- included first by ALL program modules