mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-17 02:11:35 +00:00
497461b4c2
For now, only nq-glslx will be built, but as there is no actual code, it doesn't link. However, this gets the glsl stuff into the build system.
39 lines
637 B
Makefile
39 lines
637 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
if BUILD_GL
|
|
gl= libbrush_gl.la
|
|
else
|
|
gl=
|
|
endif
|
|
|
|
if BUILD_GLSL
|
|
glsl= libbrush_glsl.la
|
|
else
|
|
glsl=
|
|
endif
|
|
|
|
if BUILD_SW_MOD
|
|
sw= libbrush_sw.la
|
|
else
|
|
sw=
|
|
endif
|
|
|
|
noinst_LTLIBRARIES= libbrush.la $(gl) $(glsl) $(sw)
|
|
|
|
brush_src= model_brush.c
|
|
gl_src= gl_model_brush.c
|
|
glsl_src= glsl_model_brush.c
|
|
sw_src= sw_model_brush.c
|
|
|
|
libbrush_la_SOURCES= $(brush_src)
|
|
|
|
libbrush_gl_la_SOURCES= $(gl_src) $(brush_src)
|
|
|
|
libbrush_glsl_la_SOURCES= $(glsl_src) $(brush_src)
|
|
|
|
libbrush_sw_la_SOURCES= $(sw_src) $(brush_src)
|
|
|
|
EXTRA_DIST= $(gl_src) $(glsl_src) $(sw_src) $(brush_src)
|