source: rtems/c/src/lib/libnetworking/include/Makefile.in @ 1896a650

4.104.114.84.95
Last change on this file since 1896a650 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 30, 1999 at 5:52:50 PM

Patch from Ralf Corsepius <corsepiu@…>:

The main topic is replacing the hard-coded values for HAS_MP and
HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
(This is the patch I had mentioned before earlier this week).

CHANGES

  • HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check
  • HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check
  • NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)/<bsp>/make/bsp.cfg
  • NEW: default.cfg includes bsp.cfg - this change is backward compatible.
  • IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins
  • HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  • Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files.
  • Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-4.diff
./autogen

  • Property mode set to 100644
File size: 3.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = libnetworking/include
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16H_PIECES = bpfilter loop netdb opt_ipfw opt_mrouting opt_tcpdebug poll \
17    resolv syslog
18H_FILES = $(H_PIECES:%=$(srcdir)/../%.h)
19
20SYS_H_PIECES = buf callout cdefs conf domain filio ioccom ioctl kernel \
21    libkern malloc mbuf mount param proc protosw queue reboot resourcevar \
22    rtprio select signalvar socket socketvar sockio sysctl syslimits syslog \
23    systm ttycom ttydefaults ucred uio
24SYS_H_FILES = $(SYS_H_PIECES:%=$(srcdir)/../sys/%.h)
25
26RTEMS_H_PIECES = rtems_bsdnet rtems_bsdnet_internal tftp
27RTEMS_H_FILES = $(RTEMS_H_PIECES:%=$(srcdir)/../rtems/%.h)
28
29MACHINE_H_PIECES = conf cpu cpufunc endian in_cksum limits param types \
30    vmparam
31MACHINE_H_FILES = $(MACHINE_H_PIECES:%=$(srcdir)/../machine/%.h)
32
33VM_H_PIECES = vm vm_extern vm_kern vm_param
34VM_H_FILES = $(VM_H_PIECES:%=$(srcdir)/../vm/%.h)
35
36NET_H_PIECES = bpf ethernet if if_arp if_dl if_llc if_types netisr radix \
37    raw_cb route
38NET_H_FILES = $(NET_H_PIECES:%=$(srcdir)/../net/%.h)
39
40NETINET_H_PIECES = icmp_var if_ether igmp igmp_var in in_pcb in_systm in_var \
41    ip ip_fw ip_icmp ip_mroute ip_var tcp tcp_debug tcp_fsm tcp_seq \
42    tcp_timer tcp_var tcpip udp udp_var
43NETINET_H_FILES = $(NETINET_H_PIECES:%=$(srcdir)/../netinet/%.h)
44
45ARPA_H_PIECES = ftp inet nameser nameser_compat telnet
46ARPA_H_FILES = $(ARPA_H_PIECES:%=$(srcdir)/../arpa/%.h)
47
48NFS_H_PIECES = krpc nfs nfsdiskless nfsproto rpcv2 xdr_subs
49NFS_H_FILES = $(NFS_H_PIECES:%=$(srcdir)/../nfs/%.h)
50
51RTEMS_SERVERS_H_PIECES = ftpd
52RTEMS_SERVERS_H_FILES = \
53    $(RTEMS_SERVERS_H_PIECES:%=$(srcdir)/../rtems_servers/%.h)
54
55SRCS = $(H_FILES) $(SYS_H_FILES) $(RTEMS_H_FILES) $(MACHINE_H_FILES) \
56    $(VM_H_FILES) $(NET_H_FILES) $(NETINET_H_FILES) $(ARPA_H_FILES) \
57    $(NFS_H_FILES) $(RTEMS_SERVERS_H_FILES)
58
59include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
60include $(RTEMS_ROOT)/make/leaf.cfg
61
62INSTALL_CHANGE = @INSTALL_CHANGE@
63mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
64
65INSTALLDIRS = $(PROJECT_INCLUDE)/networking \
66    $(PROJECT_INCLUDE)/networking/sys $(PROJECT_INCLUDE)/networking/machine \
67    $(PROJECT_INCLUDE)/networking/rtems $(PROJECT_INCLUDE)/networking/vm \
68    $(PROJECT_INCLUDE)/networking/net $(PROJECT_INCLUDE)/networking/netinet \
69    $(PROJECT_INCLUDE)/networking/arpa $(PROJECT_INCLUDE)/networking/nfs
70
71$(INSTALLDIRS):
72        @$(mkinstalldirs) $(INSTALLDIRS)
73
74CLEAN_ADDITIONS +=
75CLOBBER_ADDITIONS +=
76
77# We only make the install point for the networking header files if needed.
78
79preinstall: $(INSTALLDIRS) $(SRCS)
80        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/networking
81        @$(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/networking/sys
82        @$(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/networking/rtems
83        @$(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/networking/machine
84        @$(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/networking/vm
85        @$(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/networking/net
86        @$(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/networking/netinet
87        @$(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/networking/arpa
88        @$(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/networking/nfs
89        @$(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)/networking
90
91all: preinstall
92
93Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
94        cd $(top_builddir) \
95         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.