source: rtems/c/src/libnetworking/rtems/Makefile.am @ effc2c4

Last change on this file since effc2c4 was effc2c4, checked in by Joel Sherrill <joel.sherrill@…>, on 04/03/00 at 14:44:39

Patch rtems-rc-4.5.0-6-cvs.diff from Ralf Corsepius <corsepiu@…>.
The patch contains:

  • build variants support
  • Reworked make-exe custom/*.cfg for all targets (Should be self-explanatory, may still be incomplete)
  • Several fixes to custom/*.cfgs related to setting debug flags
  • Fixes to some bsp_specs for BSPs which apparently have never been build with debugging before ;)
  • pc386.cfg fix attempts (cf. my mail from earlier today)
  • Updated ampolish (No need to run it, the patch contains the result from having applied it)

Known bugs/deficiencies related to this work:

  • "make [clean|distclean]" support is still incomplete (e.g. "make clean" does not delete all Depends-o-*)
  • Completely untested for linux/posix and hppa.
  • Build failures of i960 BSPs (make VARIANT=DEBUG) - I guess, they are not related to this patch.
  • Successfully tested for all sh, sparc, i386, ppc, m68k BSPs (make VARIANT=DEBUG)
  • make VARIANT=PROFILE not supported by all BSPs (I don't care :)
  • make VARIANT=DEBUG failures below tests/ for some BSPs (e.g. gensh1), because of the tests's binaries being too large to fit into the target memory layout.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = sghostname.c issetugid.c rtems_glue.c rtems_syscall.c \
11    rtems_bootp.c rtems_showmbuf.c rtems_showroute.c rtems_showifstat.c \
12    rtems_showipstat.c rtems_showicmpstat.c rtems_showtcpstat.c \
13    rtems_showudpstat.c rtems_select.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../automake/lib.am
20
21#
22# Add local stuff here using +=
23#
24
25AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
26    -DBOOTP_COMPAT
27
28$(LIB): $(OBJS)
29        $(make-library)
30
31all-local: $(ARCH) $(OBJS) $(LIB)
32
33.PRECIOUS: $(LIB)
34
35EXTRA_DIST = issetugid.c rtems_bootp.c rtems_bsdnet.h \
36    rtems_bsdnet_internal.h rtems_glue.c rtems_select.c rtems_showicmpstat.c \
37    rtems_showifstat.c rtems_showipstat.c rtems_showmbuf.c rtems_showroute.c \
38    rtems_showtcpstat.c rtems_showudpstat.c rtems_syscall.c sghostname.c \
39    tftp.h
40
41include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.