Index: ossp-pkg/xds/Makefile.in RCS File: /v/ossp/cvs/ossp-pkg/xds/Makefile.in,v rcsdiff -q -kk '-r1.3' '-r1.4' -u '/v/ossp/cvs/ossp-pkg/xds/Makefile.in,v' 2>/dev/null --- Makefile.in 2001/07/20 09:55:29 1.3 +++ Makefile.in 2001/07/20 10:09:06 1.4 @@ -4,7 +4,7 @@ AR = ar RANLIB = @RANLIB@ -CPPFLAGS = @CPPFLAGS@ @DEFS@ +CPPFLAGS = @CPPFLAGS@ @DEFS@ -D_GNU_SOURCE CFLAGS = @CFLAGS@ LDFLAGS = @LDFLAGS@ Index: ossp-pkg/xds/regression-tests/Makefile.in RCS File: /v/ossp/cvs/ossp-pkg/xds/regression-tests/Attic/Makefile.in,v co -q -kk -p'1.3' '/v/ossp/cvs/ossp-pkg/xds/regression-tests/Attic/Makefile.in,v' | diff -u /dev/null - -L'ossp-pkg/xds/regression-tests/Makefile.in' 2>/dev/null --- ossp-pkg/xds/regression-tests/Makefile.in +++ - 2024-05-19 01:48:46.870345157 +0200 @@ -0,0 +1,44 @@ +# Build and run the regression tests for libxds. + +CC = @CC@ +AR = ar +RANLIB = @RANLIB@ + +CPPFLAGS = @CPPFLAGS@ @DEFS@ -D_GNU_SOURCE +CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ -L.. + +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-uint64.exe xdr-int64.exe \ + xdr-octetstream.exe xdr-octetstream-empty.exe xdr-string.exe \ + xdr-string-empty.exe xds-mystruct.exe + +.SUFFIXES: +.SUFFIXES: .c .exe + +.c.exe: + $(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $< -lxds + +.cpp.exe: + $(CXX) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CXXFLAGS) $(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