mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
Move test-qfs.c into a test directory.
Same as before: avoiding -prefic-pic issues. Also, catch some minor snafus found in the previous commit. With this, make distcheck passes again :)
This commit is contained in:
parent
c522726021
commit
b18ff4ed3e
6 changed files with 16 additions and 9 deletions
|
@ -24,6 +24,7 @@
|
|||
libs/qw/Makefile
|
||||
libs/ruamoko/Makefile
|
||||
libs/util/Makefile
|
||||
libs/util/test/Makefile
|
||||
libs/video/Makefile
|
||||
libs/video/renderer/Makefile
|
||||
libs/video/renderer/gl/Makefile
|
||||
|
|
|
@ -6,8 +6,6 @@ INCLUDES= -I$(top_srcdir)/include
|
|||
|
||||
lib_LTLIBRARIES= libQFmodels.la @VID_MODEL_TARGETS@
|
||||
EXTRA_LTLIBRARIES= libQFmodels_gl.la libQFmodels_sw.la
|
||||
EXTRA_DIST= trace-id.c
|
||||
TESTS=$(check_PROGRAMS)
|
||||
|
||||
models_sources = clip_hull.c model.c trace.c
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ AUTOMAKE_OPTIONS= foreign
|
|||
INCLUDES= -I$(srcdir) -I$(top_srcdir)/include
|
||||
|
||||
check_PROGRAMS=testclip
|
||||
EXTRA_DIST= trace-id.c
|
||||
|
||||
testclip_SOURCES=testclip.c
|
||||
testclip_LDADD= $(top_builddir)/libs/models/libQFmodels.la $(top_builddir)/libs/util/libQFutil.la
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
AUTOMAKE_OPTIONS= foreign
|
||||
|
||||
SUBDIRS= . test
|
||||
|
||||
AM_CFLAGS= @PREFER_PIC@
|
||||
CCASFLAGS+= @PREFER_PIC@
|
||||
INCLUDES= -I$(top_srcdir)/include
|
||||
|
@ -41,11 +44,4 @@ libQFutil_la_SOURCES= \
|
|||
qfplist.c quakefs.c quakeio.c riff.c script.c sizebuf.c string.c sys.c \
|
||||
va.c ver_check.c wad.c wadfile.c zone.c $(fnmatch) $(getopt)
|
||||
|
||||
check_PROGRAMS=test-qfs
|
||||
|
||||
test_qfs_SOURCES=test-qfs.c
|
||||
test_qfs_LDADD=$(builddir)/libQFutil.la
|
||||
test_qfs_DEPENDENCIES=$(builddir)/libQFutil.la
|
||||
|
||||
EXTRA_DIST= $(fnmatch_src) $(getopt_src)
|
||||
TESTS=$(check_PROGRAMS)
|
||||
|
|
11
libs/util/test/Makefile.am
Normal file
11
libs/util/test/Makefile.am
Normal file
|
@ -0,0 +1,11 @@
|
|||
AUTOMAKE_OPTIONS= foreign
|
||||
|
||||
INCLUDES= -I$(top_srcdir)/include
|
||||
|
||||
check_PROGRAMS=test-qfs
|
||||
|
||||
test_qfs_SOURCES=test-qfs.c
|
||||
test_qfs_LDADD=$(top_builddir)/libs/util/libQFutil.la
|
||||
test_qfs_DEPENDENCIES=$(top_builddir)/libs/util/libQFutil.la
|
||||
|
||||
TESTS=$(check_PROGRAMS)
|
Loading…
Reference in a new issue