diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/libnetworking/rtems/Makefile.in | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/c/src/libnetworking/rtems/Makefile.in b/c/src/libnetworking/rtems/Makefile.in index 6240ac8a51..2896582634 100644 --- a/c/src/libnetworking/rtems/Makefile.in +++ b/c/src/libnetworking/rtems/Makefile.in @@ -5,42 +5,40 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../../../.. -subdir = c/src/lib/libnetworking/rtems +top_builddir = ../.. +subdir = libnetworking/rtems -INSTALL = @INSTALL@ - -RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ +RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -LIBNAME=lib.a -LIB=${ARCH}/${LIBNAME} +LIBNAME = lib.a +LIB = ${ARCH}/${LIBNAME} # C and C++ source names, if any, go here -- minus the .c or .cc -C_PIECES=sghostname issetugid \ - rtems_glue rtems_syscall rtems_bootp \ - rtems_showmbuf rtems_showroute \ - rtems_showifstat rtems_showipstat rtems_showicmpstat \ - rtems_showtcpstat rtems_showudpstat rtems_select -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) - -SRCS=$(C_FILES) -OBJS=$(C_O_FILES) - -include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg +C_PIECES = sghostname issetugid rtems_glue rtems_syscall rtems_bootp \ + rtems_showmbuf rtems_showroute rtems_showifstat rtems_showipstat \ + rtems_showicmpstat rtems_showtcpstat rtems_showudpstat rtems_select +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) + +SRCS = $(C_FILES) +OBJS = $(C_O_FILES) + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/lib.cfg +INSTALL_CHANGE = @INSTALL_CHANGE@ + # # Add local stuff here using += # -DEFINES += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \ - -DDIAGNOSTIC -DBOOTP_COMPAT +DEFINES += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \ + -DBOOTP_COMPAT CPPFLAGS += -CFLAGS += +CFLAGS += # # Add your list of files to delete here. The config files @@ -52,11 +50,11 @@ CFLAGS += CLEAN_ADDITIONS += $(LIB) CLOBBER_ADDITIONS += -all: ${ARCH} $(LIB) +all: ${ARCH} $(LIB) $(LIB): $(SRCS) ${OBJS} $(make-library) -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |