summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 21:01:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-08-16 21:01:31 +0000
commitb8575ab611bba11c86f0b199166e06653ab8a072 (patch)
tree9d8ffd8861cf4a5d7e4478782c0b01cdfa10a4df /cpukit
parentc0af4e4799ee02834cc8aaf7f1d81048c1292a45 (diff)
downloadrtems-b8575ab611bba11c86f0b199166e06653ab8a072.tar.bz2
2001-08-16 Joel Sherrill <joel@OARcorp.com>
* pppd/example/Makefile: Removed. * pppd/example/Makefile-user: Added was Makefile. Renamed to avoid bootstrap -c clobbering it.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/ChangeLog6
-rw-r--r--cpukit/pppd/example/Makefile-user45
-rw-r--r--cpukit/pppd/example/README4
3 files changed, 54 insertions, 1 deletions
diff --git a/cpukit/libnetworking/ChangeLog b/cpukit/libnetworking/ChangeLog
index 953d9eaf5a..bb87d86154 100644
--- a/cpukit/libnetworking/ChangeLog
+++ b/cpukit/libnetworking/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-16 Joel Sherrill <joel@OARcorp.com>
+
+ * pppd/example/Makefile: Removed.
+ * pppd/example/Makefile-user: Added was Makefile. Renamed to
+ avoid bootstrap -c clobbering it.
+
2001-08-16 Mike Siers <mikes@poliac.com>
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example
diff --git a/cpukit/pppd/example/Makefile-user b/cpukit/pppd/example/Makefile-user
new file mode 100644
index 0000000000..69cc8aab50
--- /dev/null
+++ b/cpukit/pppd/example/Makefile-user
@@ -0,0 +1,45 @@
+#
+# Makefile
+#
+
+#
+# RTEMS_MAKEFILE_PATH is typically set in an environment variable
+#
+
+EXEC=ppptest.exe
+PGM=${ARCH}/$(EXEC)
+
+# optional managers required
+MANAGERS=io event semaphore
+
+# C source names
+CSRCS = init.c pppdapp.c
+
+COBJS_ = $(CSRCS:.c=.o)
+COBJS = $(COBJS_:%=${ARCH}/%)
+
+# C++ source names
+CXXSRCS =
+CXXOBJS_ = $(CXXSRCS:.cc=.o)
+CXXOBJS = $(CXXOBJS_:%=${ARCH}/%)
+
+# AS source names
+ASSRCS =
+ASOBJS_ = $(ASSRCS:.s=.o)
+ASOBJS = $(ASOBJS_:%=${ARCH}/%)
+
+# Libraries
+LIBS = -lrtemsall -lc
+
+include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
+
+include $(RTEMS_CUSTOM)
+include $(PROJECT_ROOT)/make/leaf.cfg
+
+OBJS= $(COBJS) $(CXXOBJS) $(ASOBJS)
+
+all: ${ARCH} $(PGM)
+
+$(PGM): $(OBJS)
+ $(make-exe)
+
diff --git a/cpukit/pppd/example/README b/cpukit/pppd/example/README
index 786d03844b..969745f3a2 100644
--- a/cpukit/pppd/example/README
+++ b/cpukit/pppd/example/README
@@ -3,4 +3,6 @@
#
This is an example user application using pppd. It is built using
-the RTEMS application Makefiles.
+the RTEMS application Makefiles. The file Makefile-user should
+be renamed to Makefile or the -f option given to make. The file
+is renamed to avoid bootstrap -c removing it.