quakeforge/libs/models/Makefile.am
Bill Currie 4606c6c63a new automake conditionals: BUILD_GL and BUILD_SW for use in places where it
matters (eg, selecting whether to build the gl and or sw specific model code)
2001-05-17 03:48:31 +00:00

30 lines
985 B
Makefile

SUBDIRS= alias brush sprite
INCLUDES= -I$(top_srcdir)/include
if BUILD_GL
MODELS_GL = libQFmodels_gl.la
else
MODELS_GL =
endif
if BUILD_SW
MODELS_SW = libQFmodels_sw.la
else
MODELS_SW =
endif
lib_LTLIBRARIES = libQFmodels.la $(MODELS_GL) $(MODELS_SW)
libQFmodels_la_LDFLAGS = -version-info 1:0:0 brush/model_brush.lo
libQFmodels_la_SOURCES = model.c
libQFmodels_la_DEPENDENCIES = brush/model_brush.lo
libQFmodels_gl_la_LDFLAGS = -version-info 1:0:0 alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
libQFmodels_gl_la_SOURCES = model.c gl_model_fullbright.c
libQFmodels_gl_la_DEPENDENCIES = alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
libQFmodels_sw_la_LDFLAGS = -version-info 1:0:0 alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
libQFmodels_sw_la_SOURCES = model.c
libQFmodels_sw_la_DEPENDENCIES = alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
LIBLIST = libQFmodels.la libQFmodels_gl.la libQFmodels_sw.la