- Updated game Makefiles to use libtool for linking

- Updated game .gitignores
This commit is contained in:
Jamie Wilkinson 2002-07-04 12:16:43 +00:00
parent 755750cbf2
commit 9873502b19
8 changed files with 28 additions and 17 deletions

View file

@ -1,7 +1,7 @@
*.d
.vimrc .vimrc
.libs
.deps
Makefile Makefile
Makefile.in Makefile.in
game.so .deps
.libs
*.lo
*.la

View file

@ -3,8 +3,8 @@
# Process this file with automake to create Makefile.in # Process this file with automake to create Makefile.in
pkglibdir=$(libdir)/@PACKAGE@/baseq2 pkglibdir=$(libdir)/@PACKAGE@/baseq2
pkglib_PROGRAMS = game.so pkglib_LTLIBRARIES = game.la
game_so_SOURCES = g_ai.c \ game_la_SOURCES = g_ai.c \
p_client.c \ p_client.c \
g_chase.c \ g_chase.c \
g_cmds.c \ g_cmds.c \
@ -55,4 +55,4 @@ game_so_SOURCES = g_ai.c \
AM_CFLAGS = -fPIC -Wall -Werror -pipe AM_CFLAGS = -fPIC -Wall -Werror -pipe
AM_CPPFLAGS = -I.. AM_CPPFLAGS = -I..
LDFLAGS = -shared LDFLAGS = -module -avoid-version -rpath $(pkglibdir)

5
src/ctf/.gitignore vendored
View file

@ -1,4 +1,7 @@
.vimrc
Makefile Makefile
Makefile.in Makefile.in
.libs
.deps .deps
.libs
*.lo
*.la

View file

@ -1,8 +1,8 @@
# $Id$ # $Id$
pkglibdir=$(libdir)/@PACKAGE@/ctf pkglibdir=$(libdir)/@PACKAGE@/ctf
pkglib_PROGRAMS = game.so pkglib_LTLIBRARIES = game.la
game_so_SOURCES = \ game_la_SOURCES = \
g_ai.c \ g_ai.c \
g_chase.c \ g_chase.c \
g_cmds.c \ g_cmds.c \
@ -32,4 +32,4 @@ game_so_SOURCES = \
AM_CFLAGS = -fPIC -Wall -Werror -pipe AM_CFLAGS = -fPIC -Wall -Werror -pipe
AM_CPPFLAGS = -I.. AM_CPPFLAGS = -I..
LDFLAGS = -shared LDFLAGS = -module -avoid-version -rpath $(pkglibdir)

View file

@ -1,3 +1,7 @@
.vimrc
Makefile Makefile
Makefile.in Makefile.in
.deps .deps
.libs
*.lo
*.la

View file

@ -2,9 +2,9 @@
if DO_ROGUE if DO_ROGUE
pkglibdir=$(libdir)/@PACKAGE@/rogue pkglibdir=$(libdir)/@PACKAGE@/rogue
pkglib_PROGRAMS = game.so pkglib_LTLIBRARIES = game.la
game_so_SOURCES = dm_ball.c dm_tag.c \ game_la_SOURCES = dm_ball.c dm_tag.c \
g_ai.c g_chase.c g_cmds.c g_combat.c g_func.c \ g_ai.c g_chase.c g_cmds.c g_combat.c g_func.c \
g_items.c g_main.c g_misc.c g_monster.c g_newai.c \ g_items.c g_main.c g_misc.c g_monster.c g_newai.c \
g_newdm.c g_newfnc.c g_newtarg.c g_newtrig.c \ g_newdm.c g_newfnc.c g_newtarg.c g_newtrig.c \
@ -22,5 +22,5 @@ game_so_SOURCES = dm_ball.c dm_tag.c \
q_shared.c q_shared.c
#game_so_CFLAGS = -fPIC -Wall -Werror -pipe #game_so_CFLAGS = -fPIC -Wall -Werror -pipe
game_so_CFLAGS = -I.. -fPIC -pipe game_so_CFLAGS = -I.. -fPIC -pipe
game_so_LDFLAGS = -shared game_so_LDFLAGS = -module -avoid-version -rpath $(pkglibdir)
endif # DO_ROGUE endif # DO_ROGUE

View file

@ -1,3 +1,7 @@
.vimrc
Makefile Makefile
Makefile.in Makefile.in
.deps .deps
.libs
*.lo
*.la

View file

@ -2,9 +2,9 @@
if DO_XATRIX if DO_XATRIX
pkglibdir=$(libdir)/@PACKAGE@/xatrix pkglibdir=$(libdir)/@PACKAGE@/xatrix
pkglib_PROGRAMS = game.so pkglib_LTLIBRARIES = game.la
game_so_SOURCES = g_ai.c g_chase.c g_cmds.c g_combat.c g_func.c \ game_la_SOURCES = g_ai.c g_chase.c g_cmds.c g_combat.c g_func.c \
g_items.c g_main.c g_misc.c g_monster.c g_phys.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_save.c g_spawn.c g_svcmds.c g_target.c g_trigger.c \
g_turret.c g_utils.c g_weapon.c \ g_turret.c g_utils.c g_weapon.c \
@ -19,5 +19,5 @@ game_so_SOURCES = g_ai.c g_chase.c g_cmds.c g_combat.c g_func.c \
q_shared.c q_shared.c
#game_so_CFLAGS = -fPIC -Wall -Werror -pipe #game_so_CFLAGS = -fPIC -Wall -Werror -pipe
game_so_CFLAGS = -I.. -fPIC -pipe game_so_CFLAGS = -I.. -fPIC -pipe
game_so_LDFLAGS = -shared game_so_LDFLAGS = -module -avoid-version -rpath $(pkglibdir)
endif # DO_XATRIX endif # DO_XATRIX