Move the testclip program into its own directory.

Same as with the audio test program, this is to avoid issues with
-prefer-pic.
This commit is contained in:
Bill Currie 2011-06-12 16:12:52 +09:00
parent 3061270d3a
commit c522726021
5 changed files with 14 additions and 8 deletions

View file

@ -17,6 +17,7 @@
libs/models/alias/Makefile
libs/models/brush/Makefile
libs/models/sprite/Makefile
libs/models/test/Makefile
libs/net/Makefile
libs/net/nc/Makefile
libs/net/nm/Makefile

View file

@ -1,15 +1,9 @@
AUTOMAKE_OPTIONS= foreign
SUBDIRS= alias brush sprite
SUBDIRS= alias brush sprite . test
AM_CFLAGS= @PREFER_PIC@
INCLUDES= -I$(top_srcdir)/include
check_PROGRAMS=testclip
testclip_SOURCES=testclip.c
testclip_LDADD= libQFmodels.la $(top_builddir)/libs/util/libQFutil.la
testclip_DEPENDENCIES=
lib_LTLIBRARIES= libQFmodels.la @VID_MODEL_TARGETS@
EXTRA_LTLIBRARIES= libQFmodels_gl.la libQFmodels_sw.la
EXTRA_DIST= trace-id.c

View file

@ -0,0 +1,11 @@
AUTOMAKE_OPTIONS= foreign
INCLUDES= -I$(srcdir) -I$(top_srcdir)/include
check_PROGRAMS=testclip
testclip_SOURCES=testclip.c
testclip_LDADD= $(top_builddir)/libs/models/libQFmodels.la $(top_builddir)/libs/util/libQFutil.la
testclip_DEPENDENCIES= $(top_builddir)/libs/models/libQFmodels.la $(top_builddir)/libs/util/libQFutil.la
TESTS=$(check_PROGRAMS)

View file

@ -10,7 +10,7 @@
#ifdef TEST_ID
# include "trace-id.c"
#else
# include "trace.c"
# include "../trace.c"
#endif
mclipnode_t clipnodes0[] = {