mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 08:50:58 +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.
37 lines
605 B
Makefile
37 lines
605 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
if BUILD_GL
|
|
gl= libsprite_gl.la
|
|
else
|
|
gl=
|
|
endif
|
|
|
|
if BUILD_GLSL
|
|
glsl= libsprite_glsl.la
|
|
else
|
|
glsl=
|
|
endif
|
|
|
|
if BUILD_SW_MOD
|
|
sw= libsprite_sw.la
|
|
else
|
|
sw=
|
|
endif
|
|
|
|
noinst_LTLIBRARIES= $(gl) $(glsl) $(sw)
|
|
|
|
sprite_src= model_sprite.c
|
|
gl_src= gl_model_sprite.c
|
|
glsl_src= glsl_model_sprite.c
|
|
sw_src= sw_model_sprite.c
|
|
|
|
libsprite_gl_la_SOURCES= $(gl_src) $(sprite_src)
|
|
|
|
libsprite_glsl_la_SOURCES= $(glsl_src) $(sprite_src)
|
|
|
|
libsprite_sw_la_SOURCES= $(sw_src) $(sprite_src)
|
|
|
|
EXTRA_DIST= $(gl_src) $(glsl_src) $(sw_src) $(sprite_src)
|