2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2011-05-10 03:44:44 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2001-05-10 06:01:11 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
|
2001-05-17 03:48:31 +00:00
|
|
|
if BUILD_GL
|
2001-10-03 17:50:36 +00:00
|
|
|
gl= libsprite_gl.la
|
2001-05-17 03:48:31 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
gl=
|
2001-05-17 03:48:31 +00:00
|
|
|
endif
|
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
if BUILD_GLSL
|
|
|
|
glsl= libsprite_glsl.la
|
|
|
|
else
|
|
|
|
glsl=
|
|
|
|
endif
|
|
|
|
|
2001-11-21 19:13:53 +00:00
|
|
|
if BUILD_SW_MOD
|
2001-10-03 17:50:36 +00:00
|
|
|
sw= libsprite_sw.la
|
2001-05-17 03:48:31 +00:00
|
|
|
else
|
2001-10-03 17:50:36 +00:00
|
|
|
sw=
|
2001-05-17 03:48:31 +00:00
|
|
|
endif
|
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
noinst_LTLIBRARIES= $(gl) $(glsl) $(sw)
|
2001-10-03 17:50:36 +00:00
|
|
|
|
|
|
|
sprite_src= model_sprite.c
|
|
|
|
gl_src= gl_model_sprite.c
|
2011-12-23 03:19:13 +00:00
|
|
|
glsl_src= glsl_model_sprite.c
|
2001-10-03 17:50:36 +00:00
|
|
|
sw_src= sw_model_sprite.c
|
|
|
|
|
|
|
|
libsprite_gl_la_SOURCES= $(gl_src) $(sprite_src)
|
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
libsprite_glsl_la_SOURCES= $(glsl_src) $(sprite_src)
|
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
libsprite_sw_la_SOURCES= $(sw_src) $(sprite_src)
|
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
EXTRA_DIST= $(gl_src) $(glsl_src) $(sw_src) $(sprite_src)
|