2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2012-02-14 08:28:09 +00:00
|
|
|
SUBDIRS= @vid_render_dirs@
|
2012-02-10 04:29:45 +00:00
|
|
|
DIST_SUBDIRS= gl glsl sw sw32
|
2013-11-24 04:11:50 +00:00
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include
|
2001-05-24 19:22:35 +00:00
|
|
|
|
2012-02-14 08:28:09 +00:00
|
|
|
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
|
|
|
-rpath $(libdir) -no-undefined
|
|
|
|
plugin_ldflags= @plugin_ldflags@ -avoid-version -module -rpath $(plugindir)
|
|
|
|
plugin_libadd= @plugin_libadd@
|
|
|
|
EXEEXT=
|
2012-02-07 07:04:19 +00:00
|
|
|
|
2012-02-10 04:29:45 +00:00
|
|
|
#lib_LTLIBRARIES= @VID_REND_TARGETS@
|
2012-02-14 08:28:09 +00:00
|
|
|
plugin_LTLIBRARIES= @vid_render_plugins@
|
|
|
|
noinst_LTLIBRARIES= libQFrenderer.la @vid_render_static_plugins@
|
2001-09-28 05:33:58 +00:00
|
|
|
|
2012-02-14 08:28:09 +00:00
|
|
|
EXTRA_LTLIBRARIES= \
|
|
|
|
vid_render_sw.la vid_render_sw32.la \
|
|
|
|
vid_render_gl.la vid_render_glsl.la
|
2001-09-27 21:28:44 +00:00
|
|
|
|
2002-01-18 22:35:46 +00:00
|
|
|
common_sources= \
|
2012-01-21 10:13:01 +00:00
|
|
|
crosshair.c noisetextures.c r_alias.c r_bsp.c r_cvar.c r_dyn_textures.c \
|
2012-05-11 12:22:10 +00:00
|
|
|
r_efrag.c r_ent.c r_graph.c r_iqm.c r_light.c r_main.c r_part.c \
|
|
|
|
r_screen.c vid_common.c
|
2012-02-14 08:28:09 +00:00
|
|
|
|
2012-02-14 13:19:17 +00:00
|
|
|
renderer_libs= \
|
|
|
|
@vid_render_static_plugin_libs@ \
|
|
|
|
$(top_builddir)/libs/util/libQFutil.la
|
|
|
|
|
2012-04-12 08:16:40 +00:00
|
|
|
libQFrenderer_la_LDFLAGS= @STATIC@
|
2012-02-14 13:19:17 +00:00
|
|
|
libQFrenderer_la_LIBADD= $(renderer_libs)
|
|
|
|
libQFrenderer_la_DEPENDENCIES= $(renderer_libs)
|
2012-02-14 08:28:09 +00:00
|
|
|
libQFrenderer_la_SOURCES= r_init.c r_progs.c
|
|
|
|
|
2012-02-14 12:25:19 +00:00
|
|
|
gl_libs= \
|
|
|
|
gl/libgl.la \
|
|
|
|
$(top_builddir)/libs/models/libmodels_gl.la
|
2012-02-14 08:28:09 +00:00
|
|
|
vid_render_gl_la_LDFLAGS= $(plugin_ldflags)
|
2012-02-14 12:25:19 +00:00
|
|
|
vid_render_gl_la_LIBADD= $(gl_libs)
|
|
|
|
vid_render_gl_la_DEPENDENCIES= $(gl_libs)
|
2012-02-14 13:19:17 +00:00
|
|
|
vid_render_gl_la_SOURCES= $(common_sources) vid_render_gl.c
|
2012-02-14 08:28:09 +00:00
|
|
|
|
2012-02-14 12:25:19 +00:00
|
|
|
glsl_libs= \
|
|
|
|
glsl/libglsl.la \
|
|
|
|
$(top_builddir)/libs/models/libmodels_glsl.la
|
2012-02-14 08:28:09 +00:00
|
|
|
vid_render_glsl_la_LDFLAGS= $(plugin_ldflags)
|
2012-02-14 12:25:19 +00:00
|
|
|
vid_render_glsl_la_LIBADD= $(glsl_libs)
|
|
|
|
vid_render_glsl_la_DEPENDENCIES=$(glsl_libs)
|
2012-02-14 13:19:17 +00:00
|
|
|
vid_render_glsl_la_SOURCES= $(common_sources) vid_render_glsl.c
|
2012-02-14 08:28:09 +00:00
|
|
|
|
2012-02-14 12:25:19 +00:00
|
|
|
sw_libs= \
|
|
|
|
sw/libsw.la \
|
|
|
|
$(top_builddir)/libs/models/libmodels_sw.la
|
2012-02-14 08:28:09 +00:00
|
|
|
vid_render_sw_la_LDFLAGS= $(plugin_ldflags)
|
2012-02-14 12:25:19 +00:00
|
|
|
vid_render_sw_la_LIBADD= $(sw_libs)
|
|
|
|
vid_render_sw_la_DEPENDENCIES= $(sw_libs)
|
2012-02-14 13:19:17 +00:00
|
|
|
vid_render_sw_la_SOURCES= $(common_sources) vid_render_sw.c
|
2012-02-14 08:28:09 +00:00
|
|
|
|
2012-02-14 12:25:19 +00:00
|
|
|
sw32_libs= \
|
|
|
|
sw32/libsw32.la \
|
|
|
|
$(top_builddir)/libs/models/libmodels_sw.la
|
2012-02-14 08:28:09 +00:00
|
|
|
vid_render_sw32_la_LDFLAGS= $(plugin_ldflags)
|
2012-02-14 12:25:19 +00:00
|
|
|
vid_render_sw32_la_LIBADD= $(sw32_libs)
|
|
|
|
vid_render_sw32_la_DEPENDENCIES=$(sw32_libs)
|
2012-02-14 13:19:17 +00:00
|
|
|
vid_render_sw32_la_SOURCES= $(common_sources) vid_render_sw32.c
|