2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2012-04-27 05:40:06 +00:00
|
|
|
SUBDIRS= alias brush iqm sprite . test
|
2011-05-10 03:44:44 +00:00
|
|
|
AM_CFLAGS= @PREFER_PIC@
|
2013-11-24 04:11:50 +00:00
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include
|
2001-05-10 06:01:11 +00:00
|
|
|
|
2012-02-14 12:25:19 +00:00
|
|
|
lib_LTLIBRARIES= libQFmodels.la
|
|
|
|
noinst_LTLIBRARIES= @models_libs@
|
|
|
|
EXTRA_LTLIBRARIES= libmodels_gl.la libmodels_glsl.la libmodels_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/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)
|
2012-02-14 12:25:19 +00:00
|
|
|
libQFmodels_la_SOURCES= $(models_sources)
|
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 \
|
2012-04-27 05:40:06 +00:00
|
|
|
iqm/libiqm_gl.la \
|
2012-02-23 03:09:19 +00:00
|
|
|
sprite/libsprite_gl.la \
|
|
|
|
$(top_builddir)/libs/image/libQFimage.la
|
2012-02-14 12:25:19 +00:00
|
|
|
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
|
|
|
|
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-04-27 05:40:06 +00:00
|
|
|
iqm/libiqm_glsl.la \
|
2012-02-23 03:09:19 +00:00
|
|
|
sprite/libsprite_glsl.la \
|
|
|
|
$(top_builddir)/libs/image/libQFimage.la
|
2012-02-14 12:25:19 +00:00
|
|
|
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
|
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-04-27 05:40:06 +00:00
|
|
|
iqm/libiqm_sw.la \
|
2012-02-23 03:09:19 +00:00
|
|
|
sprite/libsprite_sw.la \
|
|
|
|
$(top_builddir)/libs/image/libQFimage.la
|
2012-02-14 12:25:19 +00:00
|
|
|
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
|