source: rtems/c/src/exec/libnetworking/net/Makefile.am @ 4bf1801

4.104.114.84.95
Last change on this file since 4bf1801 was 4bf1801, checked in by Joel Sherrill <joel.sherrill@…>, on 02/03/00 at 13:21:38

Patches rtems-rc-20000118-7.diff from Ralf Corsepius <corsepiu@…>
that contains the automake files for libnetworking plus a couple of
minor fixes. [Now only one unused/unsupported Makefile.in remains
(./c/src/lib/libbsp/hppa1.1/pxfl/Makefile.in).]

To apply:

patch -p1 < rtems-rc-20000118-7.diff
/bin/sh rtems-rc-20000118-7.rm
/bin/sh rtems-rc-20000118-7.add
./bootstrap

Notes:

  • I have tested this one by building all BSPs for m68k, powerpc, sh and unix with toolchains built since last weekend.
  • I did not touch libnetworking's directory layout.
  • Property mode set to 100644
File size: 841 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = if.c if_ethersubr.c if_loop.c radix.c route.c rtsock.c raw_cb.c \
11    raw_usrreq.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
14OBJS = $(C_O_FILES)
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(top_srcdir)/../../../automake/lib.am
18
19#
20# Add local stuff here using +=
21#
22
23AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
24    -DBOOTP_COMPAT
25
26$(LIB): $(OBJS)
27        $(make-library)
28
29all-local: $(ARCH) $(OBJS) $(LIB)
30
31.PRECIOUS: $(LIB)
32
33EXTRA_DIST = bpf.h ethernet.h if.c if.h if_arp.h if_dl.h if_ethersubr.c \
34    if_llc.h if_loop.c if_ppp.h if_types.h netisr.h ppp-comp.h ppp_defs.h \
35    radix.c radix.h raw_cb.c raw_cb.h raw_usrreq.c route.c route.h rtsock.c
36
37include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.