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
|
|
|
|
|
2001-09-28 09:49:09 +00:00
|
|
|
lib_LTLIBRARIES= libQFmodels.la @VID_MODEL_TARGETS@
|
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-01-23 07:16:30 +00:00
|
|
|
models_sources = clip_hull.c model.c portal.c skin.c trace.c winding.c
|
2001-07-30 04:33:59 +00:00
|
|
|
|
2012-02-05 05:25:22 +00:00
|
|
|
models_libs = \
|
|
|
|
$(top_builddir)/libs/image/libQFimage.la \
|
|
|
|
$(top_builddir)/libs/util/libQFutil.la
|
2012-01-27 10:55:30 +00:00
|
|
|
|
2011-07-08 22:23:36 +00:00
|
|
|
libQFmodels_la_LDFLAGS= -version-info $(QUAKE_LIBRARY_VERSION_INFO) -no-undefined
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_la_LIBADD= brush/libbrush.la $(models_libs)
|
2004-01-19 07:47:41 +00:00
|
|
|
libQFmodels_la_SOURCES= $(models_sources) null_model.c
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_la_DEPENDENCIES= brush/libbrush.la $(models_libs)
|
2001-09-28 09:49:09 +00:00
|
|
|
|
|
|
|
gl_LIBS= \
|
2012-02-05 05:25:22 +00:00
|
|
|
alias/libalias_gl.la \
|
|
|
|
brush/libbrush_gl.la \
|
|
|
|
sprite/libsprite_gl.la
|
2011-07-08 22:23:36 +00:00
|
|
|
libQFmodels_gl_la_LDFLAGS= -version-info $(QUAKE_LIBRARY_VERSION_INFO) -rpath $(libdir)
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_gl_la_LIBADD= $(gl_LIBS) $(models_libs)
|
2012-01-23 10:24:12 +00:00
|
|
|
libQFmodels_gl_la_SOURCES= $(models_sources) gl_model_fullbright.c gl_skin.c
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_gl_la_DEPENDENCIES= $(gl_LIBS) $(models_libs)
|
2001-09-28 09:49:09 +00:00
|
|
|
|
2011-12-23 03:19:13 +00:00
|
|
|
glsl_LIBS= \
|
2012-02-05 05:25:22 +00:00
|
|
|
alias/libalias_glsl.la \
|
|
|
|
brush/libbrush_glsl.la \
|
|
|
|
sprite/libsprite_glsl.la
|
2011-12-23 03:19:13 +00:00
|
|
|
libQFmodels_glsl_la_LDFLAGS= -version-info $(QUAKE_LIBRARY_VERSION_INFO) -rpath $(libdir)
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_glsl_la_LIBADD= $(glsl_LIBS) $(models_libs)
|
2012-01-23 10:24:12 +00:00
|
|
|
libQFmodels_glsl_la_SOURCES= $(models_sources) glsl_skin.c
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_glsl_la_DEPENDENCIES= $(glsl_LIBS) $(models_libs)
|
2011-12-23 03:19:13 +00:00
|
|
|
|
2001-09-28 09:49:09 +00:00
|
|
|
sw_LIBS= \
|
2012-02-05 05:25:22 +00:00
|
|
|
alias/libalias_sw.la \
|
|
|
|
brush/libbrush_sw.la \
|
|
|
|
sprite/libsprite_sw.la
|
2011-07-08 22:23:36 +00:00
|
|
|
libQFmodels_sw_la_LDFLAGS= -version-info $(QUAKE_LIBRARY_VERSION_INFO) -rpath $(libdir) -no-undefined
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_sw_la_LIBADD= $(sw_LIBS) $(models_libs)
|
2012-01-23 10:24:12 +00:00
|
|
|
libQFmodels_sw_la_SOURCES= $(models_sources) sw_skin.c
|
2012-01-27 10:55:30 +00:00
|
|
|
libQFmodels_sw_la_DEPENDENCIES= $(sw_LIBS) $(models_libs)
|