source: rtems/c/src/libnetworking/include/Makefile.in @ 9f4868c

4.104.114.84.95
Last change on this file since 9f4868c was 9f4868c, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/99 at 13:57:02

Miscellaneous patches from Ralf Corsepius <corsepiu@…>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = 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
59RTEMS_WEBSERVER_H_PIECES = rtems_webserver
60RTEMS_WEBSERVER_H_FILES = \
61    $(RTEMS_WEBSERVER_H_PIECES:%=$(srcdir)/../rtems_webserver/%.h)
62
63include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
64include $(RTEMS_ROOT)/make/leaf.cfg
65
66INSTALL_CHANGE = @INSTALL_CHANGE@
67mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
68
69INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/sys \
70    $(PROJECT_INCLUDE)/machine $(PROJECT_INCLUDE)/rtems \
71    $(PROJECT_INCLUDE)/vm $(PROJECT_INCLUDE)/net $(PROJECT_INCLUDE)/netinet \
72    $(PROJECT_INCLUDE)/arpa $(PROJECT_INCLUDE)/nfs
73
74$(INSTALLDIRS):
75        @$(mkinstalldirs) $(INSTALLDIRS)
76
77CLEAN_ADDITIONS +=
78CLOBBER_ADDITIONS +=
79
80# We only make the install point for the networking header files if needed.
81
82preinstall: $(INSTALLDIRS) $(SRCS)
83        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
84        @$(INSTALL_CHANGE) -m 644 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys
85        @$(INSTALL_CHANGE) -m 644 $(RTEMS_H_FILES) $(PROJECT_INCLUDE)/rtems
86        @$(INSTALL_CHANGE) -m 644 $(MACHINE_H_FILES) $(PROJECT_INCLUDE)/machine
87        @$(INSTALL_CHANGE) -m 644 $(VM_H_FILES) $(PROJECT_INCLUDE)/vm
88        @$(INSTALL_CHANGE) -m 644 $(NET_H_FILES) $(PROJECT_INCLUDE)/net
89        @$(INSTALL_CHANGE) -m 644 $(NETINET_H_FILES) $(PROJECT_INCLUDE)/netinet
90        @$(INSTALL_CHANGE) -m 644 $(ARPA_H_FILES) $(PROJECT_INCLUDE)/arpa
91        @$(INSTALL_CHANGE) -m 644 $(NFS_H_FILES) $(PROJECT_INCLUDE)/nfs
92        @$(INSTALL_CHANGE) -m 644 $(RTEMS_SERVERS_H_FILES) $(PROJECT_INCLUDE)
93        @$(INSTALL_CHANGE) -m 644 $(RTEMS_WEBSERVER_H_FILES) $(PROJECT_INCLUDE)
94
95all: preinstall
96
97Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
98        cd $(top_builddir) \
99         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.