2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2001-05-10 06:01:11 +00:00
|
|
|
SUBDIRS= alias brush sprite
|
2007-03-10 12:00:59 +00:00
|
|
|
CFLAGS+= @PREFER_PIC@
|
2001-05-10 06:01:11 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
|
2010-12-06 06:30:56 +00:00
|
|
|
check_PROGRAMS=testclip
|
|
|
|
|
|
|
|
testclip_SOURCES=testclip.c
|
|
|
|
testclip_LDADD= libQFmodels.la $(top_builddir)/libs/util/libQFutil.la
|
|
|
|
testclip_DEPENDENCIES=
|
|
|
|
|
2001-09-28 09:49:09 +00:00
|
|
|
lib_LTLIBRARIES= libQFmodels.la @VID_MODEL_TARGETS@
|
2010-12-06 06:30:56 +00:00
|
|
|
EXTRA_LTLIBRARIES= libQFmodels_gl.la libQFmodels_sw.la
|
|
|
|
EXTRA_DIST= trace-id.c
|
|
|
|
TESTS=$(check_PROGRAMS)
|
2001-05-10 06:01:11 +00:00
|
|
|
|
2004-11-02 08:40:00 +00:00
|
|
|
models_sources = clip_hull.c model.c trace.c
|
2001-07-30 04:33:59 +00:00
|
|
|
|
2004-01-19 07:47:41 +00:00
|
|
|
libQFmodels_la_LDFLAGS= -version-info 1:0:0 -no-undefined
|
|
|
|
libQFmodels_la_LIBADD= brush/libbrush.la $(top_builddir)/libs/util/libQFutil.la
|
|
|
|
libQFmodels_la_SOURCES= $(models_sources) null_model.c
|
2001-09-28 09:49:09 +00:00
|
|
|
libQFmodels_la_DEPENDENCIES= brush/libbrush.la
|
|
|
|
|
|
|
|
gl_LIBS= \
|
|
|
|
alias/libalias_gl.la brush/libbrush_gl.la sprite/libsprite_gl.la
|
|
|
|
libQFmodels_gl_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir)
|
2004-01-19 07:47:41 +00:00
|
|
|
libQFmodels_gl_la_LIBADD= $(gl_LIBS) $(top_builddir)/libs/util/libQFutil.la
|
2001-09-28 09:49:09 +00:00
|
|
|
libQFmodels_gl_la_SOURCES= $(models_sources) gl_model_fullbright.c
|
|
|
|
libQFmodels_gl_la_DEPENDENCIES= $(gl_LIBS)
|
|
|
|
|
|
|
|
sw_LIBS= \
|
|
|
|
alias/libalias_sw.la brush/libbrush_sw.la sprite/libsprite_sw.la
|
2004-01-19 07:47:41 +00:00
|
|
|
libQFmodels_sw_la_LDFLAGS= -version-info 1:0:0 -rpath $(libdir) -no-undefined
|
|
|
|
libQFmodels_sw_la_LIBADD= $(sw_LIBS) $(top_builddir)/libs/util/libQFutil.la
|
2001-09-28 09:49:09 +00:00
|
|
|
libQFmodels_sw_la_SOURCES= $(models_sources)
|
|
|
|
libQFmodels_sw_la_DEPENDENCIES= $(sw_LIBS)
|