mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
blah, bloody separate LDADD and DEPENDENCIES. well, this'll fix 'em :P
This commit is contained in:
parent
a78ea1464b
commit
786a88ba25
2 changed files with 157 additions and 165 deletions
|
@ -86,8 +86,7 @@ common_LIBFILES= \
|
||||||
$(top_builddir)/libs/gib/libQFgib.la \
|
$(top_builddir)/libs/gib/libQFgib.la \
|
||||||
$(top_builddir)/libs/util/libQFutil.la
|
$(top_builddir)/libs/util/libQFutil.la
|
||||||
|
|
||||||
client_LIBS= $(client_LIBFILES) $(common_LIBFILES) $(NET_LIBS)
|
client_LIBS= $(client_LIBFILES) $(common_LIBFILES)
|
||||||
client_LIB_DEPS=$(client_LIBFILES) $(common_LIBFILES)
|
|
||||||
|
|
||||||
server_LIBS= $(server_LIBFILES) $(common_LIBFILES) $(NET_LIBS)
|
server_LIBS= $(server_LIBFILES) $(common_LIBFILES) $(NET_LIBS)
|
||||||
server_LIB_DEPS=$(server_LIBFILES) $(common_LIBFILES)
|
server_LIB_DEPS=$(server_LIBFILES) $(common_LIBFILES)
|
||||||
|
@ -109,132 +108,125 @@ soft_QFLIBS= $(top_builddir)/libs/video/renderer/libQFrenderer_sw.la \
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la
|
$(top_builddir)/libs/models/libQFmodels_sw.la
|
||||||
|
|
||||||
# ... Linux FBDev
|
# ... Linux FBDev
|
||||||
nq_fbdev_SOURCES= $(combined_sources) sys_unix.c
|
nq_fbdev_libs= \
|
||||||
nq_fbdev_LDADD= $(cl_plugin_LIBS) $(soft_QFLIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_QFLIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFfbdev.la \
|
$(top_builddir)/libs/video/targets/libQFfbdev.la \
|
||||||
$(client_LIBS)
|
$(client_LIBS)
|
||||||
|
nq_fbdev_SOURCES= $(combined_sources) sys_unix.c
|
||||||
|
nq_fbdev_LDADD= $(nq_fbdev_libs) $(NET_LIBS)
|
||||||
nq_fbdev_LDFLAGS= $(common_ldflags)
|
nq_fbdev_LDFLAGS= $(common_ldflags)
|
||||||
nq_fbdev_DEPENDENCIES= $(soft_QFLIBS) \
|
nq_fbdev_DEPENDENCIES= $(nq_fbdev_libs)
|
||||||
$(top_builddir)/libs/video/targets/libQFfbdev.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... SciTech MGL
|
# ... SciTech MGL
|
||||||
|
nq_mgl_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFmgl.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_mgl_SOURCES= $(combined_sources) sys_win.c
|
nq_mgl_SOURCES= $(combined_sources) sys_win.c
|
||||||
nq_mgl_LDADD= $(cl_plugin_LIBS) $(soft_QFLIBS) \
|
nq_mgl_LDADD= $(nq_mgl_libs) $(MGL_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/targets/libQFmgl.la \
|
|
||||||
$(client_LIBS) $(MGL_LIBS)
|
|
||||||
nq_mgl_LDFLAGS= $(common_ldflags)
|
nq_mgl_LDFLAGS= $(common_ldflags)
|
||||||
nq_mgl_DEPENDENCIES= $(soft_QFLIBS) \
|
nq_mgl_DEPENDENCIES= $(nq_mgl_libs)
|
||||||
$(top_builddir)/libs/video/targets/libQFmgl.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... SDL, version 1.2 and higher
|
# ... SDL, version 1.2 and higher
|
||||||
|
nq_sdl_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFsdl.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_sdl_SOURCES= $(combined_sources) sys_sdl.c
|
nq_sdl_SOURCES= $(combined_sources) sys_sdl.c
|
||||||
nq_sdl_LDADD= $(cl_plugin_LIBS) $(soft_QFLIBS) \
|
nq_sdl_LDADD= $(nq_sdl_libs) $(SDL_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl.la \
|
|
||||||
$(client_LIBS) $(SDL_LIBS)
|
|
||||||
nq_sdl_LDFLAGS= $(common_ldflags)
|
nq_sdl_LDFLAGS= $(common_ldflags)
|
||||||
nq_sdl_DEPENDENCIES= $(soft_QFLIBS) \
|
nq_sdl_DEPENDENCIES= $(nq_sdl_libs)
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... 32-bit software, SDL
|
# ... 32-bit software, SDL
|
||||||
|
nq_sdl32_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFsdl32.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_sdl32_SOURCES= $(combined_sources) sys_sdl.c
|
nq_sdl32_SOURCES= $(combined_sources) sys_sdl.c
|
||||||
nq_sdl32_LDADD= $(cl_plugin_LIBS) \
|
nq_sdl32_LDADD= $(nq_sdl32_libs) $(SDL_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_sw32.la \
|
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl32.la \
|
|
||||||
$(client_LIBS) $(SDL_LIBS)
|
|
||||||
nq_sdl32_LDFLAGS= $(common_ldflags)
|
nq_sdl32_LDFLAGS= $(common_ldflags)
|
||||||
nq_sdl32_DEPENDENCIES= $(top_builddir)/libs/video/renderer/libQFrenderer_sw32.la \
|
nq_sdl32_DEPENDENCIES= $(nq_sdl32_libs)
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl32.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... Linux SVGAlib
|
# ... Linux SVGAlib
|
||||||
|
nq_svga_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFsvga.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_svga_SOURCES= $(combined_sources) sys_unix.c
|
nq_svga_SOURCES= $(combined_sources) sys_unix.c
|
||||||
nq_svga_LDADD= $(cl_plugin_LIBS) \
|
nq_svga_LDADD= $(nq_svga_libs) $(SVGA_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_sw.la \
|
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsvga.la \
|
|
||||||
$(client_LIBS) $(SVGA_LIBS)
|
|
||||||
nq_svga_LDFLAGS= $(common_ldflags)
|
nq_svga_LDFLAGS= $(common_ldflags)
|
||||||
nq_svga_DEPENDENCIES= $(top_builddir)/libs/video/renderer/libQFrenderer_sw.la \
|
nq_svga_DEPENDENCIES= $(nq_svga_libs)
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsvga.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... X11
|
# ... X11
|
||||||
|
nq_x11_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFx11.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_x11_SOURCES= $(combined_sources) sys_unix.c
|
nq_x11_SOURCES= $(combined_sources) sys_unix.c
|
||||||
nq_x11_LDADD= $(cl_plugin_LIBS) \
|
nq_x11_LDADD= $(nq_x11_libs) \
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_sw.la \
|
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
$(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/targets/libQFx11.la \
|
|
||||||
$(client_LIBS) \
|
|
||||||
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS) $(X_SHM_LIB)
|
|
||||||
nq_x11_LDFLAGS= $(common_ldflags)
|
nq_x11_LDFLAGS= $(common_ldflags)
|
||||||
nq_x11_DEPENDENCIES= $(top_builddir)/libs/video/renderer/libQFrenderer_sw.la \
|
nq_x11_DEPENDENCIES= $(nq_x11_libs)
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFx11.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# OpenGL-using targets
|
# OpenGL-using targets
|
||||||
|
|
||||||
|
opengl_QFLIBS= \
|
||||||
|
$(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
||||||
|
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFglx.la
|
||||||
|
|
||||||
# ... Linux 3DFX
|
# ... Linux 3DFX
|
||||||
|
nq_3dfx_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(opengl_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQF3dfx.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_3dfx_SOURCES= $(combined_sources) sys_unix.c
|
nq_3dfx_SOURCES= $(combined_sources) sys_unix.c
|
||||||
nq_3dfx_LDADD= $(cl_plugin_LIBS) \
|
nq_3dfx_LDADD= $(nq_3dfx_libs) $(GLIDE_LIBS) $(SVGA_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
nq_3dfx_LDFLAGS= $(common_ldflags)
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
nq_3dfx_DEPENDENCIES= $(nq_3dfx_libs)
|
||||||
$(top_builddir)/libs/video/targets/libQFtdfx.la \
|
|
||||||
$(client_LIBS) $(GLIDE_LIBS) $(SVGA_LIBS)
|
|
||||||
nq_3dfx_LDFAGS= $(common_ldflags)
|
|
||||||
nq_3dfx_DEPENDENCIES= \
|
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFtdfx.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... OpenGL in X Window
|
# ... OpenGL in X Window
|
||||||
|
nq_glx_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(opengl_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFglx.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_glx_SOURCES= $(combined_sources) sys_unix.c
|
nq_glx_SOURCES= $(combined_sources) sys_unix.c
|
||||||
nq_glx_LDADD= $(cl_plugin_LIBS) \
|
nq_glx_LDADD= $(nq_glx_libs) \
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
-lXext $(X_EXTRA_LIBS) $(DL_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/targets/libQFglx.la \
|
|
||||||
$(client_LIBS) \
|
|
||||||
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 -lXext $(X_EXTRA_LIBS) \
|
|
||||||
$(DL_LIBS)
|
|
||||||
nq_glx_LDFLAGS= $(common_ldflags)
|
nq_glx_LDFLAGS= $(common_ldflags)
|
||||||
nq_glx_DEPENDENCIES= $(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
nq_glx_DEPENDENCIES= $(nq_glx_libs)
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFglx.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... Simple Directmedia Layer, version 1.2 and higher, in GL mode
|
# ... Simple Directmedia Layer, version 1.2 and higher, in GL mode
|
||||||
|
nq_sgl_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(opengl_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFsgl.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_sgl_SOURCES= $(combined_sources) sys_sdl.c
|
nq_sgl_SOURCES= $(combined_sources) sys_sdl.c
|
||||||
nq_sgl_LDADD= $(cl_plugin_LIBS) \
|
nq_sgl_LDADD= $(nq_sgl_libs) $(SDL_LIBS) $(DL_LIBS) $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsgl.la \
|
|
||||||
$(client_LIBS) \
|
|
||||||
$(SDL_LIBS) $(DL_LIBS)
|
|
||||||
nq_sgl_LDFLAGS= $(common_ldflags)
|
nq_sgl_LDFLAGS= $(common_ldflags)
|
||||||
nq_sgl_DEPENDENCIES= $(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
nq_sgl_DEPENDENCIES= $(nq_sgl_libs)
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsgl.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... SGI/Microsoft WGL (Windows OpenGL)
|
# ... SGI/Microsoft WGL (Windows OpenGL)
|
||||||
|
nq_wgl_libs= \
|
||||||
|
$(cl_plugin_LIBS) \
|
||||||
|
$(opengl_QFLIBS) \
|
||||||
|
$(top_builddir)/libs/video/targets/libQFwgl.la \
|
||||||
|
$(client_LIBS)
|
||||||
nq_wgl_SOURCES= $(combined_sources) conproc.c sys_win.c
|
nq_wgl_SOURCES= $(combined_sources) conproc.c sys_win.c
|
||||||
nq_wgl_LDADD= $(cl_plugin_LIBS) \
|
nq_wgl_LDADD= $(nq_wgl_libs) -lgdi32 -lcomctl32 -lwinmm $(NET_LIBS)
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFwgl.la \
|
|
||||||
$(client_LIBS) -lgdi32 -lcomctl32 -lwinmm
|
|
||||||
nq_wgl_LDFLAGS= $(common_ldflags)
|
nq_wgl_LDFLAGS= $(common_ldflags)
|
||||||
nq_wgl_DEPENDENCIES= $(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
nq_wgl_DEPENDENCIES= $(nq_wgl_libs)
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFwgl.la \
|
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# Dedicated Server
|
# Dedicated Server
|
||||||
if SYSTYPE_WIN32
|
if SYSTYPE_WIN32
|
||||||
|
|
|
@ -110,9 +110,7 @@ qf_client_LIBS= \
|
||||||
$(top_builddir)/libs/audio/libQFsound.la \
|
$(top_builddir)/libs/audio/libQFsound.la \
|
||||||
$(top_builddir)/libs/util/libQFutil.la
|
$(top_builddir)/libs/util/libQFutil.la
|
||||||
|
|
||||||
client_LIBS= libqfnet.la libasm.la $(qf_client_LIBS) $(NET_LIBS)
|
client_LIBS= libqfnet.la libasm.la $(qf_client_LIBS)
|
||||||
client_LIB_DEPS= libqfnet.la libasm.la $(qf_client_LIBS)
|
|
||||||
# libQFjs is seperate because it needs to be linked after when building statically
|
|
||||||
|
|
||||||
client_sources= cl_cam.c cl_cmd.c cl_cvar.c cl_demo.c cl_ents.c cl_input.c \
|
client_sources= cl_cam.c cl_cmd.c cl_cvar.c cl_demo.c cl_ents.c cl_input.c \
|
||||||
cl_main.c cl_misc.c cl_ngraph.c cl_parse.c cl_pred.c \
|
cl_main.c cl_misc.c cl_ngraph.c cl_parse.c cl_pred.c \
|
||||||
|
@ -126,73 +124,73 @@ soft_LIBS= $(top_builddir)/libs/video/renderer/libQFrenderer_sw.la \
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la
|
$(top_builddir)/libs/models/libQFmodels_sw.la
|
||||||
|
|
||||||
# ... Linux FBDev
|
# ... Linux FBDev
|
||||||
qw_client_fbdev_SOURCES=$(common_sources) $(client_sources) cl_sys_unix.c
|
qw_client_fbdev_libs= \
|
||||||
qw_client_fbdev_LDADD= $(cl_plugin_LIBS) $(soft_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
|
$(soft_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFfbdev.la \
|
$(top_builddir)/libs/video/targets/libQFfbdev.la \
|
||||||
$(client_LIBS)
|
$(client_LIBS)
|
||||||
qw_client_fbdev_LDFLAGS=$(common_ldflags)
|
qw_client_fbdev_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
||||||
qw_client_fbdev_DEPENDENCIES= \
|
qw_client_fbdev_LDADD= $(qw_client_fbdev_libs) $(NET_LIBS)
|
||||||
$(soft_LIBS) \
|
qw_client_fbdev_LDFLAGS= $(common_ldflags)
|
||||||
$(top_builddir)/libs/video/targets/libQFfbdev.la \
|
qw_client_fbdev_DEPENDENCIES= $(qw_client_fbdev_libs)
|
||||||
$(client_LIB_DEPS)
|
|
||||||
|
|
||||||
# ... SciTech MGL
|
# ... SciTech MGL
|
||||||
qw_client_mgl_SOURCES= $(common_sources) $(client_sources) cl_sys_win.c
|
qw_client_mgl_libs= \
|
||||||
qw_client_mgl_LDADD= $(cl_plugin_LIBS) $(soft_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFmgl.la \
|
|
||||||
$(client_LIBS) $(MGL_LIBS)
|
|
||||||
qw_client_mgl_LDFLAGS= $(common_ldflags)
|
|
||||||
qw_client_mgl_DEPENDENCIES= \
|
|
||||||
$(soft_LIBS) \
|
$(soft_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFmgl.la \
|
$(top_builddir)/libs/video/targets/libQFmgl.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_mgl_SOURCES= $(common_sources) $(client_sources) cl_sys_win.c
|
||||||
|
qw_client_mgl_LDADD= $(qw_client_mgl_libs) $(MGL_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_mgl_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_mgl_DEPENDENCIES= $(qw_client_mgl_libs)
|
||||||
|
|
||||||
# ... Simple DirectMedia Layer, version 1.2 and higher
|
# ... Simple DirectMedia Layer, version 1.2 and higher
|
||||||
qw_client_sdl_SOURCES= $(common_sources) $(client_sources) cl_sys_sdl.c
|
qw_client_sdl_libs= \
|
||||||
qw_client_sdl_LDADD= $(cl_plugin_LIBS) $(soft_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl.la \
|
|
||||||
$(client_LIBS) $(SDL_LIBS)
|
|
||||||
qw_client_sdl_LDFLAGS= $(common_ldflags)
|
|
||||||
qw_client_sdl_DEPENDENCIES= \
|
|
||||||
$(soft_LIBS) \
|
$(soft_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl.la \
|
$(top_builddir)/libs/video/targets/libQFsdl.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_sdl_SOURCES= $(common_sources) $(client_sources) cl_sys_sdl.c
|
||||||
|
qw_client_sdl_LDADD= $(qw_client_sdl_libs) $(SDL_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_sdl_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_sdl_DEPENDENCIES= $(qw_client_sdl_libs)
|
||||||
|
|
||||||
# ... 32-bit software, SDL
|
# ... 32-bit software, SDL
|
||||||
qw_client_sdl32_SOURCES=$(qw_client_sdl_SOURCES)
|
qw_client_sdl32_libs= \
|
||||||
qw_client_sdl32_LDADD= $(cl_plugin_LIBS) $(top_builddir)/libs/video/renderer/libQFrenderer_sw32.la \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl32.la \
|
|
||||||
$(client_LIBS) $(SDL_LIBS)
|
|
||||||
qw_client_sdl32_LDFLAGS=$(common_ldflags)
|
|
||||||
qw_client_sdl32_DEPENDENCIES= \
|
|
||||||
$(top_builddir)/libs/video/renderer/libQFrenderer_sw32.la \
|
$(top_builddir)/libs/video/renderer/libQFrenderer_sw32.la \
|
||||||
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
$(top_builddir)/libs/models/libQFmodels_sw.la \
|
||||||
$(top_builddir)/libs/video/targets/libQFsdl32.la \
|
$(top_builddir)/libs/video/targets/libQFsdl32.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_sdl32_SOURCES=$(qw_client_sdl_SOURCES)
|
||||||
|
qw_client_sdl32_LDADD= $(qw_client_sdl32_libs) $(SDL_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_sdl32_LDFLAGS=$(common_ldflags)
|
||||||
|
qw_client_sdl32_DEPENDENCIES= $(qw_client_sdl32_libs)
|
||||||
|
|
||||||
# ... Linux SVGAlib
|
# ... Linux SVGAlib
|
||||||
qw_client_svga_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
qw_client_svga_libs= \
|
||||||
qw_client_svga_LDADD= $(cl_plugin_LIBS) $(soft_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFsvga.la \
|
|
||||||
$(client_LIBS) $(SVGA_LIBS)
|
|
||||||
qw_client_svga_LDFAGS= $(common_ldflags)
|
|
||||||
qw_client_svga_DEPENDENCIES= \
|
|
||||||
$(soft_LIBS) \
|
$(soft_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFsvga.la \
|
$(top_builddir)/libs/video/targets/libQFsvga.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_svga_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
||||||
|
qw_client_svga_LDADD= $(qw_client_svga_libs) $(SVGA_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_svga_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_svga_DEPENDENCIES= $(qw_client_svga_libs)
|
||||||
|
|
||||||
# ... X11
|
# ... X11
|
||||||
qw_client_x11_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
qw_client_x11_libs= \
|
||||||
qw_client_x11_LDADD= $(cl_plugin_LIBS) $(soft_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFx11.la \
|
|
||||||
$(client_LIBS) \
|
|
||||||
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 $(X_EXTRA_LIBS) $(X_SHM_LIB)
|
|
||||||
qw_client_x11_LDFLAGS= $(common_ldflags)
|
|
||||||
qw_client_x11_DEPENDENCIES= \
|
|
||||||
$(soft_LIBS) \
|
$(soft_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFx11.la \
|
$(top_builddir)/libs/video/targets/libQFx11.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_x11_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
||||||
|
qw_client_x11_LDADD= $(qw_client_x11_libs) \
|
||||||
|
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||||
|
$(X_EXTRA_LIBS) $(X_SHM_LIB) $(NET_LIBS)
|
||||||
|
qw_client_x11_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_x11_DEPENDENCIES= $(qw_client_x11_libs)
|
||||||
|
|
||||||
# OpenGL-using clients
|
# OpenGL-using clients
|
||||||
|
|
||||||
|
@ -200,49 +198,51 @@ opengl_LIBS= $(top_builddir)/libs/video/renderer/libQFrenderer_gl.la \
|
||||||
$(top_builddir)/libs/models/libQFmodels_gl.la
|
$(top_builddir)/libs/models/libQFmodels_gl.la
|
||||||
|
|
||||||
# ... OpenGL in X Window
|
# ... OpenGL in X Window
|
||||||
qw_client_glx_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
qw_client_glx_libs= \
|
||||||
qw_client_glx_LDADD= $(cl_plugin_LIBS) $(opengl_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFglx.la \
|
|
||||||
$(client_LIBS) \
|
|
||||||
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 -lXext $(X_EXTRA_LIBS) $(DL_LIBS)
|
|
||||||
qw_client_glx_LDFLAGS= $(common_ldflags)
|
|
||||||
qw_client_glx_DEPENDENCIES= \
|
|
||||||
$(opengl_LIBS) \
|
$(opengl_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFglx.la \
|
$(top_builddir)/libs/video/targets/libQFglx.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_glx_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
||||||
|
qw_client_glx_LDADD= $(qw_client_glx_libs) \
|
||||||
|
$(X_PRE_LIBS) $(VIDMODE_LIBS) $(DGA_LIBS) $(X_LIBS) -lX11 \
|
||||||
|
-lXext $(X_EXTRA_LIBS) $(DL_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_glx_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_glx_DEPENDENCIES= $(qw_client_glx_libs)
|
||||||
|
|
||||||
# ... Linux 3DFX
|
# ... Linux 3DFX
|
||||||
qw_client_3dfx_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
qw_client_3dfx_libs= \
|
||||||
qw_client_3dfx_LDADD= $(cl_plugin_LIBS) $(opengl_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFtdfx.la \
|
|
||||||
$(client_LIBS) $(GLIDE_LIBS) $(SVGA_LIBS)
|
|
||||||
qw_client_3dfx_LDFAGS= $(common_ldflags)
|
|
||||||
qw_client_3dfx_DEPENDENCIES= \
|
|
||||||
$(opengl_LIBS) \
|
$(opengl_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFtdfx.la \
|
$(top_builddir)/libs/video/targets/libQF3dfx.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_3dfx_SOURCES= $(common_sources) $(client_sources) cl_sys_unix.c
|
||||||
|
qw_client_3dfx_LDADD= $(qw_client_3dfx_libs) \
|
||||||
|
$(GLIDE_LIBS) $(SVGA_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_3dfx_LDFAGS= $(common_ldflags)
|
||||||
|
qw_client_3dfx_DEPENDENCIES= $(qw_client_3dfx_libs)
|
||||||
|
|
||||||
# ... Simple DirectMedia Layer, version 1.2 and higher, in GL mode
|
# ... Simple DirectMedia Layer, version 1.2 and higher, in GL mode
|
||||||
qw_client_sgl_SOURCES= $(common_sources) $(client_sources) cl_sys_sdl.c
|
qw_client_sgl_libs= \
|
||||||
qw_client_sgl_LDADD= $(cl_plugin_LIBS) $(opengl_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFsgl.la \
|
|
||||||
$(client_LIBS) $(SDL_LIBS) $(DL_LIBS)
|
|
||||||
qw_client_sgl_LDFLAGS= $(common_ldflags)
|
|
||||||
qw_client_sgl_DEPENDENCIES= \
|
|
||||||
$(opengl_LIBS) \
|
$(opengl_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFsgl.la \
|
$(top_builddir)/libs/video/targets/libQFsgl.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_sgl_SOURCES= $(common_sources) $(client_sources) cl_sys_sdl.c
|
||||||
|
qw_client_sgl_LDADD= $(qw_client_sgl_libs) $(SDL_LIBS) $(DL_LIBS) $(NET_LIBS)
|
||||||
|
qw_client_sgl_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_sgl_DEPENDENCIES= $(qw_client_sgl_libs)
|
||||||
|
|
||||||
# ... SGI/Microsoft WGL (Windows OpenGL)
|
# ... SGI/Microsoft WGL (Windows OpenGL)
|
||||||
qw_client_wgl_SOURCES= $(common_sources) $(client_sources) cl_sys_win.c
|
qw_client_wgl_libs= \
|
||||||
qw_client_wgl_LDADD= $(cl_plugin_LIBS) $(opengl_LIBS) \
|
$(cl_plugin_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFwgl.la \
|
|
||||||
$(client_LIBS) -lgdi32 -lwinmm
|
|
||||||
qw_client_wgl_LDFLAGS= $(common_ldflags)
|
|
||||||
qw_client_wgl_DEPENDENCIES= \
|
|
||||||
$(opengl_LIBS) \
|
$(opengl_LIBS) \
|
||||||
$(top_builddir)/libs/video/targets/libQFwgl.la \
|
$(top_builddir)/libs/video/targets/libQFwgl.la \
|
||||||
$(client_LIB_DEPS)
|
$(client_LIBS)
|
||||||
|
qw_client_wgl_SOURCES= $(common_sources) $(client_sources) cl_sys_win.c
|
||||||
|
qw_client_wgl_LDADD= $(qw_client_wgl_libs) -lgdi32 -lwinmm $(NET_LIBS)
|
||||||
|
qw_client_wgl_LDFLAGS= $(common_ldflags)
|
||||||
|
qw_client_wgl_DEPENDENCIES= $(qw_client_wgl_libs)
|
||||||
|
|
||||||
# Stuff that doesn't get linked into an executable NEEDS to be mentioned here,
|
# Stuff that doesn't get linked into an executable NEEDS to be mentioned here,
|
||||||
# or it won't be distributed with 'make dist'
|
# or it won't be distributed with 'make dist'
|
||||||
|
|
Loading…
Reference in a new issue