mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
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.
46 lines
696 B
Plaintext
46 lines
696 B
Plaintext
#
|
|
# 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)
|
|
|