quakeforge/libs/models/Makefile.am

56 lines
1.5 KiB
Text
Raw Normal View History

AUTOMAKE_OPTIONS= foreign
SUBDIRS= alias brush sprite . test
AM_CFLAGS= @PREFER_PIC@
INCLUDES= -I$(top_srcdir)/include
lib_LTLIBRARIES= libQFmodels.la
noinst_LTLIBRARIES= @models_libs@
EXTRA_LTLIBRARIES= libmodels_gl.la libmodels_glsl.la libmodels_sw.la
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
-rpath $(libdir) -no-undefined
models_sources = clip_hull.c model.c portal.c trace.c winding.c
common_libs = \
$(top_builddir)/libs/util/libQFutil.la
models_libs=brush/libbrush.la $(common_libs)
libQFmodels_la_LDFLAGS= $(lib_ldflags)
libQFmodels_la_LIBADD= $(models_libs)
libQFmodels_la_DEPENDENCIES= $(models_libs)
libQFmodels_la_SOURCES= $(models_sources)
2001-09-28 09:49:09 +00:00
gl_sources=gl_model_fullbright.c gl_skin.c skin.c
gl_libs= \
alias/libalias_gl.la \
brush/libbrush_gl.la \
2012-02-23 03:09:19 +00:00
sprite/libsprite_gl.la \
$(top_builddir)/libs/image/libQFimage.la
libmodels_gl_la_LDFLAGS=
libmodels_gl_la_LIBADD= $(gl_libs)
libmodels_gl_la_DEPENDENCIES= $(gl_libs)
libmodels_gl_la_SOURCES= $(gl_sources)
2001-09-28 09:49:09 +00:00
glsl_libs= \
alias/libalias_glsl.la \
brush/libbrush_glsl.la \
2012-02-23 03:09:19 +00:00
sprite/libsprite_glsl.la \
$(top_builddir)/libs/image/libQFimage.la
libmodels_glsl_la_LDFLAGS=
libmodels_glsl_la_LIBADD= $(glsl_libs)
libmodels_glsl_la_DEPENDENCIES= $(glsl_libs)
libmodels_glsl_la_SOURCES= glsl_skin.c skin.c
sw_libs= \
alias/libalias_sw.la \
brush/libbrush_sw.la \
2012-02-23 03:09:19 +00:00
sprite/libsprite_sw.la \
$(top_builddir)/libs/image/libQFimage.la
libmodels_sw_la_LDFLAGS=
libmodels_sw_la_LIBADD= $(sw_libs)
libmodels_sw_la_DEPENDENCIES= $(sw_libs)
libmodels_sw_la_SOURCES= sw_skin.c skin.c