mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
Start integrating regtest.
This commit is contained in:
parent
b9fdfad449
commit
5675ac1897
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -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
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user