Start integrating regtest.

This commit is contained in:
Erik de Castro Lopo 2005-05-17 11:56:15 +00:00
parent b9fdfad449
commit 5675ac1897
4 changed files with 3 additions and 31 deletions

View File

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = man doc Win32 Octave src examples tests
SUBDIRS = man doc Win32 Octave src examples tests regtest
DIST_SUBDIRS = $(SUBDIRS)
EXTRA_DIST = reconfigure.mk acinclude.m4 libsndfile.spec.in \
sndfile.pc.in Make.bat

View File

@ -435,7 +435,7 @@ AC_SUBST(LIBTOOL_DEPS)
AC_CONFIG_FILES([ \
src/sndfile.h src/Makefile src/GSM610/Makefile src/G72x/Makefile \
man/Makefile examples/Makefile tests/Makefile \
man/Makefile examples/Makefile tests/Makefile regtest/Makefile \
doc/Makefile doc/libsndfile.css \
Win32/Makefile Win32/Makefile.mingw \
Octave/Makefile \

View File

@ -1,25 +0,0 @@
TARGETS = sndfile-regtest
CC = gcc
CFLAGS = -W -Wall -Werror -Wstrict-prototypes -Wshadow
SNDFILE_CFLAG = $(shell pkg-config --cflags sndfile)
SNDFILE_LIBS = $(shell pkg-config --libs sndfile)
SQL_LIBS = -lsqlite3
all: $(TARGETS)
clean :
rm -rf $(TARGETS) *.o
sndfile-regtest : checksum.o database.o regtest.o
$(CC) $+ $(SNDFILE_LIBS) $(SQL_LIBS) -o $@
# Do not edit or modify anything in this comment block.
# The arch-tag line is a file identity tag for the GNU Arch
# revision control system.
#
# arch-tag: ac4a9626-49ce-4bb4-9fb6-e43de0a23432

View File

@ -2,10 +2,7 @@
bin_PROGRAMS = sndfile-regtest
noinst_HEADERS = regtest.h
SNDFILEDIR =../src
INCLUDES = -I$(srcdir)/$(SNDFILEDIR) $(OS_SPECIFIC_CFLAGS)
noinst_HEADERS = database.h
sndfile_regtest_SOURCES = sndfile-regtest.c database.c checksum.c
sndfile_regtest_LDADD = $(SNDFILEDIR)/libsndfile.la $(SQLITE3_LIBS)