2001-08-25 02:47:11 +00:00
|
|
|
SUBDIRS= gl sw sw32
|
2001-05-24 19:22:35 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
|
|
|
|
if BUILD_GL
|
|
|
|
RENDERER_GL = libQFrenderer_gl.la
|
|
|
|
else
|
|
|
|
RENDERER_GL =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SW
|
|
|
|
RENDERER_SW = libQFrenderer_sw.la
|
|
|
|
else
|
|
|
|
RENDERER_SW =
|
|
|
|
endif
|
|
|
|
|
2001-08-25 02:47:11 +00:00
|
|
|
if BUILD_SW32
|
|
|
|
RENDERER_SW32 = libQFrenderer_sw32.la
|
|
|
|
else
|
|
|
|
RENDERER_SW32 =
|
|
|
|
endif
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = $(RENDERER_GL) $(RENDERER_SW) $(RENDERER_SW32)
|
2001-05-24 19:22:35 +00:00
|
|
|
|
2001-08-25 23:23:14 +00:00
|
|
|
common_SOURCES = r_cvar.c r_efrag.c r_ent.c r_graph.c r_light.c r_main.c \
|
|
|
|
r_part.c
|
2001-05-24 19:22:35 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2001-08-25 02:47:11 +00:00
|
|
|
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
|