source: rtems/c/src/libnetworking/netinet/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: 1.3 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = if_ether.c igmp.c in.c in_cksum.c in_pcb.c in_proto.c in_rmx.c \
11    ip_divert.c ip_fw.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c \
12    raw_ip.c tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c \
13    tcp_usrreq.c udp_usrreq.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 = icmp_var.h if_ether.c if_ether.h igmp.c igmp.h igmp_var.h in.c \
36    in.h in_cksum.c in_cksum_i386.c in_cksum_m68k.c in_cksum_powerpc.c \
37    in_pcb.c in_pcb.h in_proto.c in_rmx.c in_systm.h in_var.h ip.h \
38    ip_divert.c ip_fw.c ip_fw.h ip_icmp.c ip_icmp.h ip_input.c ip_mroute.c \
39    ip_mroute.h ip_output.c ip_var.h raw_ip.c tcp.h tcp_debug.c tcp_debug.h \
40    tcp_fsm.h tcp_input.c tcp_output.c tcp_seq.h tcp_subr.c tcp_timer.c \
41    tcp_timer.h tcp_usrreq.c tcp_var.h tcpip.h udp.h udp_usrreq.c udp_var.h
42
43include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.