2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2011-06-12 07:12:52 +00:00
|
|
|
SUBDIRS= alias brush sprite . test
|
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
|
|
|
|
|
2012-02-10 04:29:45 +00:00
|
|
|
lib_LTLIBRARIES= libQFmodels.la @QFmodels_libs@
|
2011-12-23 03:19:13 +00:00
|
|
|
EXTRA_LTLIBRARIES= libQFmodels_gl.la libQFmodels_glsl.la libQFmodels_sw.la
|
2001-05-10 06:01:11 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
|
|
|
|
-rpath $(libdir) -no-undefined
|
|
|
|
|
2012-02-14 10:47:02 +00:00
|
|
|
models_sources = clip_hull.c model.c portal.c trace.c winding.c
|
2001-07-30 04:33:59 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
common_libs = \
|
2012-02-05 05:25:22 +00:00
|
|
|
$(top_builddir)/libs/image/libQFimage.la \
|
|
|
|
$(top_builddir)/libs/util/libQFutil.la
|
2012-01-27 10:55:30 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
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) null_model.c
|
2001-09-28 09:49:09 +00:00
|
|
|
|
2012-02-14 10:47:02 +00:00
|
|
|
gl_sources=gl_model_fullbright.c gl_skin.c skin.c
|
2012-02-07 07:04:19 +00:00
|
|
|
gl_libs= \
|
2012-02-05 05:25:22 +00:00
|
|
|
alias/libalias_gl.la \
|
|
|
|
brush/libbrush_gl.la \
|
|
|
|
sprite/libsprite_gl.la
|
2012-02-07 07:04:19 +00:00
|
|
|
libQFmodels_gl_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libQFmodels_gl_la_LIBADD= $(gl_libs)
|
|
|
|
libQFmodels_gl_la_DEPENDENCIES= $(gl_libs)
|
|
|
|
libQFmodels_gl_la_SOURCES= $(models_sources) $(gl_sources)
|
2001-09-28 09:49:09 +00:00
|
|
|
|
2012-02-07 07:04:19 +00:00
|
|
|
glsl_libs= \
|
2012-02-05 05:25:22 +00:00
|
|
|
alias/libalias_glsl.la \
|
|
|
|
brush/libbrush_glsl.la \
|
2012-02-07 07:04:19 +00:00
|
|
|
sprite/libsprite_glsl.la \
|
|
|
|
$(common_libs)
|
|
|
|
libQFmodels_glsl_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libQFmodels_glsl_la_LIBADD= $(glsl_libs)
|
|
|
|
libQFmodels_glsl_la_DEPENDENCIES= $(glsl_libs)
|
2012-02-14 10:47:02 +00:00
|
|
|
libQFmodels_glsl_la_SOURCES= $(models_sources) glsl_skin.c skin.c
|
2012-02-07 07:04:19 +00:00
|
|
|
|
|
|
|
sw_libs= \
|
2012-02-05 05:25:22 +00:00
|
|
|
alias/libalias_sw.la \
|
|
|
|
brush/libbrush_sw.la \
|
2012-02-07 07:04:19 +00:00
|
|
|
sprite/libsprite_sw.la \
|
|
|
|
$(common_libs)
|
|
|
|
libQFmodels_sw_la_LDFLAGS= $(lib_ldflags)
|
|
|
|
libQFmodels_sw_la_LIBADD= $(sw_libs)
|
|
|
|
libQFmodels_sw_la_DEPENDENCIES= $(sw_libs)
|
2012-02-14 10:47:02 +00:00
|
|
|
libQFmodels_sw_la_SOURCES= $(models_sources) sw_skin.c skin.c
|