mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-01 16:42:37 +00:00
2ce0f2ded2
This gives us a bunch more flexibility. plugins no longer have the "lib" prefix or the version suffix, they're now installed in $fs_sharepath/QFplugins,, builds should take much less time (in general, only one of pic or non-pic versions are build), bins and libs can have individual CFLAGS
28 lines
445 B
Makefile
28 lines
445 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_SW_MOD
|
|
sw= libsprite_sw.la
|
|
else
|
|
sw=
|
|
endif
|
|
|
|
noinst_LTLIBRARIES= $(gl) $(sw)
|
|
|
|
sprite_src= model_sprite.c
|
|
gl_src= gl_model_sprite.c
|
|
sw_src= sw_model_sprite.c
|
|
|
|
libsprite_gl_la_SOURCES= $(gl_src) $(sprite_src)
|
|
|
|
libsprite_sw_la_SOURCES= $(sw_src) $(sprite_src)
|
|
|
|
EXTRA_DIST= $(gl_src) $(sw_src) $(sprite_src)
|