Trying to get the refreshers to link properly

This commit is contained in:
Jamie Wilkinson 2002-04-08 04:57:31 +00:00
parent 167eba82c0
commit 467393f8dc

View file

@ -7,7 +7,7 @@ SUBDIRS = . baseq2 ctf xatrix rogue
bin_PROGRAMS = quake2 \
ref_soft.so ref_softx.so ref_softsdl.so \
ref_glx.so ref_sdlgl.so
# ref_fxgl.so
# ref_gl.so
quake2_SOURCES = main.c q_sh.c vid_menu.c vid_so.c glob.c net_udp.c \
\
@ -48,7 +48,7 @@ REF_GL_COMMON = q_sh.c q_shared.c glob.c \
ref_glx_so_SOURCES = $(REF_GL_COMMON) gl_glx.c
# 3dFX
#ref_fxgl_so_SOURCES = $(REF_GL_COMMON) rw_in_svgalib.c gl_fxmesa.c
#ref_gl_so_SOURCES = $(REF_GL_COMMON) rw_in_svgalib.c gl_fxmesa.c
# SDL
ref_sdlgl_so_SOURCES = $(REF_GL_COMMON) rw_sdl.c
@ -89,21 +89,21 @@ REF_SOFT_ASM = \
sys_dosa.S
# SVGAlib
ref_soft_so_SOURCES = $(REF_SOFT_COMMON) rw_svgalib.c rw_in_svgalib.c d_copy.S
ref_soft_so_SOURCES = $(REF_SOFT_COMMON) $(REF_SOFT_ASM) rw_svgalib.c rw_in_svgalib.c d_copy.S
# X11
ref_softx_so_SOURCES = $(REF_SOFT_COMMON) rw_x11.c
ref_softx_so_SOURCES = $(REF_SOFT_COMMON) $(REF_SOFT_ASM) rw_x11.c
# SDL
ref_softsdl_so_SOURCES = $(REF_SOFT_COMMON) rw_sdl.c
ref_softsdl_so_SOURCES = $(REF_SOFT_COMMON) $(REF_SOFT_ASM) rw_sdl.c
AM_CFLAGS = -Wall -Werror -pipe -I/usr/X11R6/include $(shell sdl-config --cflags) -DOPENGL
AM_CFLAGS = -Wall -Werror -pipe -I/usr/X11R6/include $(shell sdl-config --cflags) -DOPENGL -fPIC
quake2_LDFLAGS = -lm -ldl -lpthread
#ref_glx_so_LDFLAGS = -shared -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm
ref_glx_so_LDFLAGS = -shared -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm
ref_fxgl_so_LDFLAGS = -shared -L/usr/local/glide/lib -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lvga
#ref_gl_so_LDFLAGS = -shared -L/usr/local/glide/lib -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -lGL -lvga
ref_sdlgl_so_LDFLAGS = -shared $(shell sdl-config --libs)