summaryrefslogtreecommitdiffstats
path: root/c/src/tests/samples/pppd/Makefile-user
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-04-29 02:04:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-04-29 02:04:26 +0000
commit478bb1e63d1ddecd7579a0628f3f54cc4f5afa7f (patch)
tree4ee5bb16317d68971808b4758b796cfc53338395 /c/src/tests/samples/pppd/Makefile-user
parent888fc8e28608e670db33e53cb852d72021c5352b (diff)
downloadrtems-478bb1e63d1ddecd7579a0628f3f54cc4f5afa7f.tar.bz2
2003-04-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Adding pppd: * pppd/Makefile-user: New, copied over from libnetworking/pppd/example. * pppd/README: New, copied over from libnetworking/pppd/example. * pppd/init.c: New, copied over from libnetworking/pppd/example. * pppd/netconfig.h: New, copied over from libnetworking/pppd/example. * pppd/ppp.conf: New, copied over from libnetworking/pppd/example. * pppd/pppdapp.c: New, copied over from libnetworking/pppd/example. * pppd/system.h: New, copied over from libnetworking/pppd/example. * pppd/pppd.options: New, copied over from libnetworking/pppd/example. * pppd/Makefile.am: New, converted to automake from Makefile-user. * pppd/.cvsignore: New.
Diffstat (limited to 'c/src/tests/samples/pppd/Makefile-user')
-rw-r--r--c/src/tests/samples/pppd/Makefile-user45
1 files changed, 45 insertions, 0 deletions
diff --git a/c/src/tests/samples/pppd/Makefile-user b/c/src/tests/samples/pppd/Makefile-user
new file mode 100644
index 0000000000..69cc8aab50
--- /dev/null
+++ b/c/src/tests/samples/pppd/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)
+