Commit 1178662f authored by erikd's avatar erikd

Minor fixes to allow cross compiling from Linux to windows and running the tests under Wine.

svn path=/trunk/vorbis/; revision=14727
parent 409bacd2
......@@ -42,11 +42,13 @@ EXTRA_DIST = lookups.pl
#vorbis_selftests = test_codebook test_sharedbook
vorbis_selftests = test_sharedbook
TESTS = $(vorbis_selftests)
noinst_PROGRAMS = $(vorbis_selftests)
test_codebook_SOURCES = codebook.c
test_codebook_CFLAGS = -D_V_SELFTEST
check: $(noinst_PROGRAMS)
./test_sharedbook$(EXEEXT)
#test_codebook_SOURCES = codebook.c
#test_codebook_CFLAGS = -D_V_SELFTEST
test_sharedbook_SOURCES = sharedbook.c
test_sharedbook_CFLAGS = -D_V_SELFTEST
......
......@@ -4,10 +4,11 @@ AUTOMAKE_OPTIONS = foreign
INCLUDES = -I$(top_srcdir)/include @OGG_CFLAGS@
TESTS = test
noinst_PROGRAMS = test
check: $(noinst_PROGRAMS)
./test$(EXEEXT)
test_SOURCES = util.c util.h write_read.c write_read.h test.c
test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment