Move the test program into its own directory.

This is to avoid issues with -prefer-pic (really need to clean things up
properly).
This commit is contained in:
Bill Currie 2011-05-10 11:25:12 +09:00
parent d638fdce83
commit f7a95ec2f4
4 changed files with 11 additions and 7 deletions

View file

@ -7,6 +7,7 @@
libs/audio/Makefile
libs/audio/targets/Makefile
libs/audio/renderer/Makefile
libs/audio/test/Makefile
libs/console/Makefile
libs/gamecode/Makefile
libs/gamecode/engine/Makefile

View file

@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS= foreign
SUBDIRS= targets renderer
SUBDIRS= targets renderer test
CFLAGS+= @PREFER_PIC@
INCLUDES= -I$(top_srcdir)/include
SDL_LIBS= @SDL_LIBS@
@ -9,12 +9,6 @@ plugin_ldflags= @plugin_ldflags@ -avoid-version -module -rpath $(plugindir)
plugin_libadd= @plugin_libadd@
EXEEXT=
noinst_PROGRAMS= testsound
testsound_SOURCES= testsound.c
testsound_LDADD= libQFsound.la $(top_builddir)/libs/util/libQFutil.la
testsound_DEPENDENCIES= libQFsound.la $(top_builddir)/libs/util/libQFutil.la
plugin_LTLIBRARIES= @CD_PLUGIN_TARGETS@
noinst_LTLIBRARIES= @CD_PLUGIN_STATIC@
lib_LTLIBRARIES= @CD_TARGETS@ @SND_TARGETS@

View file

@ -0,0 +1,9 @@
AUTOMAKE_OPTIONS= foreign
INCLUDES= -I$(top_srcdir)/include
noinst_PROGRAMS= testsound
testsound_SOURCES= testsound.c
testsound_LDADD= $(top_builddir)/libs/audio/libQFsound.la $(top_builddir)/libs/util/libQFutil.la
testsound_DEPENDENCIES= $(top_builddir)/libs/audio/libQFsound.la $(top_builddir)/libs/util/libQFutil.la