quakeforge/libs/models/Makefile.am

34 lines
1.1 KiB
Makefile

SUBDIRS= alias brush sprite
INCLUDES= -I$(top_srcdir)/include
if BUILD_GL
MODELS_GL = libQFmodels_gl.la
AM_CFLAGS = $(GLX_CFLAGS)
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
libQFmodels_la_LIBADD = brush/libbrush.la
libQFmodels_la_SOURCES = model.c
libQFmodels_la_DEPENDENCIES = brush/libbrush.la
libQFmodels_gl_la_LDFLAGS = -version-info 1:0:0
libQFmodels_gl_la_LIBADD = 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
libQFmodels_sw_la_LIBADD = 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