OSSP CVS Repository

ossp - Check-in [548]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 548
Date: 2001-Jul-20 12:09:06 (local)
2001-Jul-20 10:09:06 (UTC)
User:simons
Branch:
Comment: Hard-code the define of _GNU_SOURCE for the moment.
Tickets:
Inspections:
Files:
ossp-pkg/xds/Makefile.in      1.3 -> 1.4     1 inserted, 1 deleted
ossp-pkg/xds/regression-tests/Makefile.in      added-> 1.3

ossp-pkg/xds/Makefile.in 1.3 -> 1.4

--- 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@
 


ossp-pkg/xds/regression-tests/Makefile.in -> 1.3

*** /dev/null    Sat Nov 23 02:03:36 2024
--- -    Sat Nov 23 02:03:41 2024
***************
*** 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

CVSTrac 2.0.1