ossp-pkg/xds/regression-tests/Makefile.in
# Build and run the regression tests for libxds.
CC = @CC@
AR = ar
RANLIB = @RANLIB@
CPPFLAGS = @CPPFLAGS@ @DEFS@ -D_GNU_SOURCE
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@ @xdr_lib@ -L..
TESTS64 = @tests_64_bit@
TESTS = xds-core.exe xds-find-engine.exe xds-register.exe xds-encode.exe \
xds-getbuffer.exe xds-decode.exe xds-setbuffer.exe xds-engine-restart.exe \
xdr-uint32.exe xdr-int32.exe xdr-octetstream.exe xdr-octetstream-empty.exe \
xdr-string.exe xdr-string-empty.exe xml-uint32.exe xml-int32.exe \
xml-double.exe xml-octetstream.exe xml-octetstream-empty.exe \
xml-string.exe xml-string-empty.exe $(TESTS64)
.SUFFIXES:
.SUFFIXES: .c .exe
.c.exe:
$(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -lxds
all: $(TESTS)
check: all
@./.run-tests $(TESTS)
../libxds.a:
(cd .. && $(MAKE) libxds.a)
clean::
rm -f $(TESTS) *.log
distclean:: clean
rm -f Makefile
realclean:: distclean
# Dependencies
$(TESTS): ../libxds.a ../internal.h ../xds.h