source: rtems/cpukit/libnetworking/netinet/Makefile.am @ 0e1dd41f

4.104.114.84.95
Last change on this file since 0e1dd41f was 0e1dd41f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/22/02 at 13:44:48

2002-07-22 Ralf Corsepius <corsepiu@…>

  • kern/Makefile.am: Use .$(OBJEXT) instead of .o.
  • lib/Makefile.am: Ditto.
  • libc/Makefile.am: Ditto.
  • net/Makefile.am: Ditto.
  • netinet/Makefile.am: Ditto.
  • nfs/Makefile.am: Ditto.
  • rtems/Makefile.am: Ditto.
  • wrapup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1##
2## $Id$
3##
4
5include_netinetdir = $(includedir)/netinet
6
7LIB = $(ARCH)/lib.a
8
9C_FILES = if_ether.c igmp.c in.c in_cksum.c in_pcb.c in_proto.c in_rmx.c \
10    ip_divert.c ip_fw.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c \
11    raw_ip.c tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c \
12    tcp_usrreq.c udp_usrreq.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15OBJS = $(C_O_FILES)
16
17include $(top_srcdir)/../automake/multilib.am
18include $(top_srcdir)/../automake/compile.am
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: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
32
33.PRECIOUS: $(LIB)
34
35EXTRA_DIST = if_ether.c igmp.c igmp_var.h in.c in_cksum.c in_cksum_i386.c \
36    in_cksum_m68k.c in_cksum_powerpc.c in_pcb.c in_proto.c in_rmx.c \
37    ip_divert.c ip_fw.c ip_icmp.c ip_input.c ip_mroute.c ip_output.c \
38    raw_ip.c tcp_debug.c tcp_input.c tcp_output.c tcp_subr.c tcp_timer.c \
39    tcp_usrreq.c udp_usrreq.c
40
41include_netinet_HEADERS = icmp_var.h if_ether.h igmp.h igmp_var.h in.h in_pcb.h in_systm.h \
42    in_var.h ip.h ip_fw.h ip_icmp.h ip_mroute.h ip_var.h tcp.h tcp_debug.h \
43    tcp_fsm.h tcp_seq.h tcp_timer.h tcp_var.h tcpip.h udp.h udp_var.h
44
45PREINSTALL_FILES = $(PROJECT_INCLUDE)/netinet \
46    $(include_netinet_HEADERS:%=$(PROJECT_INCLUDE)/netinet/%)
47
48$(PROJECT_INCLUDE)/netinet:
49        @$(mkinstalldirs) $@
50
51$(PROJECT_INCLUDE)/netinet/%.h: %.h
52        $(INSTALL_DATA) $< $@
53
54include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.