mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
yaay, cleaned up.
This commit is contained in:
parent
37495db521
commit
b794d4c316
1 changed files with 20 additions and 27 deletions
|
@ -1,42 +1,35 @@
|
||||||
SUBDIRS= gl sw sw32
|
SUBDIRS= gl sw sw32
|
||||||
INCLUDES= -I$(top_srcdir)/include
|
INCLUDES= -I$(top_srcdir)/include
|
||||||
|
|
||||||
|
lib_LTLIBRARIES= libQFrenderer_sw.la libQFrenderer_sw32.la libQFrenderer_gl.la
|
||||||
|
|
||||||
|
common_sources= r_cvar.c r_efrag.c r_ent.c r_graph.c r_light.c r_main.c r_part.c
|
||||||
|
|
||||||
|
libQFrenderer_gl_la_LDFLAGS= -version-info 1:0:0
|
||||||
if BUILD_GL
|
if BUILD_GL
|
||||||
RENDERER_GL = libQFrenderer_gl.la
|
libQFrenderer_gl_la_LIBADD= gl/libgl.la
|
||||||
|
libQFrenderer_gl_la_SOURCES= $(common_sources)
|
||||||
|
libQFrenderer_gl_la_DEPENDENCIES= gl/libgl.la
|
||||||
else
|
else
|
||||||
RENDERER_GL =
|
libQFrenderer_gl_la_SOURCES=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
libQFrenderer_sw_la_LDFLAGS= -version-info 1:0:0
|
||||||
if BUILD_SW
|
if BUILD_SW
|
||||||
RENDERER_SW = libQFrenderer_sw.la
|
libQFrenderer_sw_la_LIBADD= sw/libsw.la
|
||||||
|
libQFrenderer_sw_la_SOURCES= $(common_sources)
|
||||||
|
libQFrenderer_sw_la_DEPENDENCIES= sw/libsw.la
|
||||||
else
|
else
|
||||||
RENDERER_SW =
|
libQFrenderer_sw_la_SOURCES=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
libQFrenderer_sw32_la_LDFLAGS= -version-info 1:0:0
|
||||||
if BUILD_SW32
|
if BUILD_SW32
|
||||||
RENDERER_SW32 = libQFrenderer_sw32.la
|
libQFrenderer_sw32_la_LIBADD= sw32/libsw32.la
|
||||||
|
libQFrenderer_sw32_la_SOURCES= $(common_sources)
|
||||||
|
libQFrenderer_sw32_la_DEPENDENCIES= sw32/libsw32.la
|
||||||
else
|
else
|
||||||
RENDERER_SW32 =
|
libQFrenderer_sw32_la_SOURCES=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lib_LTLIBRARIES = $(RENDERER_GL) $(RENDERER_SW) $(RENDERER_SW32)
|
#LIBLIST = libQFrenderer_gl.la libQFrenderer_sw.la libQFrenderer_sw32.la
|
||||||
|
|
||||||
common_sources = r_cvar.c r_efrag.c r_ent.c r_graph.c r_light.c r_main.c \
|
|
||||||
r_part.c
|
|
||||||
|
|
||||||
libQFrenderer_gl_la_LDFLAGS = -version-info 1:0:0
|
|
||||||
libQFrenderer_gl_la_LIBADD = gl/libgl.la
|
|
||||||
libQFrenderer_gl_la_SOURCES = $(common_sources)
|
|
||||||
libQFrenderer_gl_la_DEPENDENCIES = gl/libgl.la
|
|
||||||
|
|
||||||
libQFrenderer_sw_la_LDFLAGS = -version-info 1:0:0
|
|
||||||
libQFrenderer_sw_la_LIBADD = sw/libsw.la
|
|
||||||
libQFrenderer_sw_la_SOURCES = $(common_sources)
|
|
||||||
libQFrenderer_sw_la_DEPENDENCIES = sw/libsw.la
|
|
||||||
|
|
||||||
libQFrenderer_sw32_la_LDFLAGS = -version-info 1:0:0
|
|
||||||
libQFrenderer_sw32_la_LIBADD = sw32/libsw32.la
|
|
||||||
libQFrenderer_sw32_la_SOURCES = $(common_sources)
|
|
||||||
libQFrenderer_sw32_la_DEPENDENCIES = sw32/libsw32.la
|
|
||||||
|
|
||||||
LIBLIST = libQFrenderer_gl.la libQFrenderer_sw.la libQFrenderer_sw32.la
|
|
||||||
|
|
Loading…
Reference in a new issue