Check-in Number:
|
4126 | |
Date: |
2001-Jun-28 14:32:04 (local)
2001-Jun-28 12:32:04 (UTC) |
User: | simons |
Branch: | |
Comment: |
The build infrastructure for the libarary. Currently does not more
than compile an empty test program in order to check the syntax of
xds.h. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/xds/Makefile -> 1.1
*** /dev/null Sat Nov 23 01:38:17 2024
--- - Sat Nov 23 01:38:25 2024
***************
*** 0 ****
--- 1,28 ----
+ # Build libxds and support/test programs.
+
+ CC = gcc
+ CXX = g++
+
+ WARNFLAGS = -Wall -ansi -pedantic
+ OPTFLAGS = -O3 -pipe
+
+ CPPFLAGS =
+ CFLAGS =
+ CXXFLAGS =
+ LDFLAGS = -s
+
+ .c.o:
+ $(CC) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CFLAGS) -c $<
+
+ .cpp.o:
+ $(CXX) $(CPPFLAGS) $(WARNFLAGS) $(OPTFLAGS) $(CXXFLAGS) -c $<
+
+ test: test.o
+ $(CXX) $(LDFLAGS) -o $@ test.o
+
+ clean::
+ rm -f test.o test
+
+ # Dependencies
+
+ test.o: test.c xds.h
|
|
ossp-pkg/xds/test.c -> 1.1
*** /dev/null Sat Nov 23 01:38:17 2024
--- - Sat Nov 23 01:38:25 2024
***************
*** 0 ****
--- 1,23 ----
+ /*
+ $Source: /v/ossp/cvs/ossp-pkg/xds/Attic/test.c,v $
+ $Revision: 1.1 $
+
+ Copyright (c) 2001 by Cable & Wireless Deutschland.
+
+ Permission to use, copy, modify, and distribute this software for
+ any purpose with or without fee is hereby granted, provided that
+ the above copyright notice and this permission notice appear in all
+ copies.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ included license for more details.
+ */
+
+ #include "xds.h"
+
+ int main(int argc, char** argv)
+ {
+ return 0;
+ }
|
|