source: rtems/c/src/libnetworking/netinet/Makefile.am @ 9b28bea5

4.104.114.84.95
Last change on this file since 9b28bea5 was 9b28bea5, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 16:07:35

2000-09-04 Ralf Corsepius <corsepiu@…>

  • kern/Makefile.am, lib/Makefile.am, libc/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.6 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/compile.am
20include $(top_srcdir)/../../../automake/lib.am
21
22#
23# Add local stuff here using +=
24#
25
26AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
27    -DBOOTP_COMPAT
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
33
34.PRECIOUS: $(LIB)
35
36EXTRA_DIST = if_ether.c igmp.c igmp_var.h in.c in_cksum.c in_cksum_i386.c \
37    in_cksum_m68k.c in_cksum_powerpc.c in_pcb.c in_proto.c in_rmx.c \
38    ip_divert.c ip_fw.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c \
39    raw_ip.c tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c \
40    tcp_usrreq.c udp_usrreq.c
41
42H_FILES = icmp_var.h if_ether.h igmp.h igmp_var.h in.h in_pcb.h in_systm.h \
43    in_var.h ip.h ip_fw.h ip_icmp.h ip_mroute.h ip_var.h tcp.h tcp_debug.h \
44    tcp_fsm.h tcp_seq.h tcp_timer.h tcp_var.h tcpip.h udp.h udp_var.h
45
46noinst_HEADERS = $(H_FILES)
47
48PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet \
49    $(H_FILES:%=$(PROJECT_INCLUDE)/netinet/%)
50
51$(PROJECT_INCLUDE)/netinet:
52        @$(mkinstalldirs) $@
53
54$(PROJECT_INCLUDE)/netinet/%.h: %.h
55        $(INSTALL_DATA) $< $@
56
57include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.