source: rtems/cpukit/libnetworking/Makefile.am @ 9eadce0

4.104.114.84.95
Last change on this file since 9eadce0 was 9eadce0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/18/02 at 02:21:19

2002-11-18 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Merge-in HEADER-handling from net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am.
  • net/Makefile.am: Remove *_HEADERS.
  • netinet/Makefile.am: Remove *_HEADERS.
  • nfs/Makefile.am: Remove *_HEADERS.
  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[df49c60]1##
[811804fe]2## $Id$
[df49c60]3##
[e1d8abb]4
[f22ebf0]5ACLOCAL_AMFLAGS = -I ../aclocal
[e1d8abb]6
[471bcf0]7SUBDIRS = . kern lib libc net netinet nfs rtems
[8a79786]8SUBDIRS += wrapup
[65a38bc]9
[ce75da6]10## poll.h is not in the list because RTEMS does not have poll()
11## and installing poll.h confuses autoconf.
[e6d8fe47]12include_HEADERS = \
13    bpfilter.h loop.h netdb.h opt_ipfw.h opt_mrouting.h \
[ce75da6]14    opt_tcpdebug.h resolv.h syslog.h memory.h
[e1d8abb]15
[471bcf0]16$(PROJECT_INCLUDE):
17        @$(mkinstalldirs) $@
18
[0d30932]19PREINSTALL_FILES = $(PROJECT_INCLUDE) \
[e6d8fe47]20  $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
21
[471bcf0]22# arpa
23
24include_arpadir = $(includedir)/arpa
25
26include_arpa_HEADERS = arpa/ftp.h arpa/inet.h arpa/nameser.h \
27    arpa/nameser_compat.h arpa/telnet.h
28
29$(PROJECT_INCLUDE)/arpa:
30        @$(mkinstalldirs) $@
31
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa \
33    $(include_arpa_HEADERS:%=$(PROJECT_INCLUDE)/%)
34
35## machine
36
37include_machinedir = $(includedir)/machine
38
39include_machine_HEADERS = machine/conf.h machine/cpu.h machine/cpufunc.h \
40    machine/endian.h machine/in_cksum.h machine/vmparam.h
41
42$(PROJECT_INCLUDE)/machine:
43        @$(mkinstalldirs) $@
44
45PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine \
46    $(include_machine_HEADERS:%=$(PROJECT_INCLUDE)/%)
47
[9eadce0]48## net
49
50include_netdir = $(includedir)/net
51
52include_net_HEADERS = net/bpf.h net/ethernet.h net/if.h net/if_arp.h \
53    net/if_dl.h net/if_llc.h net/if_ppp.h net/if_types.h net/netisr.h \
54    net/ppp-comp.h net/ppp_defs.h net/radix.h net/raw_cb.h net/route.h \
55    net/if_pppvar.h net/pppcompress.h
56
57$(PROJECT_INCLUDE)/net:
58        @$(mkinstalldirs) $@
59
60PREINSTALL_FILES += $(PROJECT_INCLUDE)/net \
61    $(include_net_HEADERS:%=$(PROJECT_INCLUDE)/%)
62
63## netinet
64
65include_netinetdir = $(includedir)/netinet
66
67include_netinet_HEADERS = netinet/icmp_var.h netinet/if_ether.h netinet/igmp.h \
68    netinet/igmp_var.h netinet/in.h netinet/in_pcb.h netinet/in_systm.h \
69    netinet/in_var.h netinet/ip.h netinet/ip_fw.h netinet/ip_icmp.h \
70    netinet/ip_mroute.h netinet/ip_var.h netinet/tcp.h netinet/tcp_debug.h \
71    netinet/tcp_fsm.h netinet/tcp_seq.h netinet/tcp_timer.h netinet/tcp_var.h \
72    netinet/tcpip.h netinet/udp.h netinet/udp_var.h
73
74$(PROJECT_INCLUDE)/netinet:
75        @$(mkinstalldirs) $@
76
77PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet \
78    $(include_netinet_HEADERS:%=$(PROJECT_INCLUDE)/%)
79
80## nfs
81
82include_nfsdir = $(includedir)/nfs
83
84include_nfs_HEADERS = nfs/krpc.h nfs/nfs.h nfs/nfsdiskless.h nfs/nfsproto.h \
85    nfs/rpcv2.h nfs/xdr_subs.h
86
87$(PROJECT_INCLUDE)/nfs:
88        @$(mkinstalldirs) $@
89
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs \
91    $(include_nfs_HEADERS:%=$(PROJECT_INCLUDE)/%)
92
93## sys
[471bcf0]94
95include_sysdir = $(includedir)/sys
96
97include_sys_HEADERS = sys/buf.h sys/callout.h sys/conf.h sys/domain.h \
98    sys/kernel.h sys/libkern.h sys/malloc.h sys/mbuf.h sys/mount.h \
99    sys/proc.h sys/protosw.h sys/queue.h sys/reboot.h sys/resourcevar.h \
100    sys/rtprio.h sys/select.h sys/signalvar.h sys/socket.h sys/socketvar.h \
101    sys/sysctl.h sys/syslog.h sys/systm.h sys/ttydefaults.h sys/ucred.h \
102    sys/uio.h sys/un.h
103
104$(PROJECT_INCLUDE)/sys:
105        @$(mkinstalldirs) $@
106
107PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \
108    $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/%)
109
110# vm
111
112include_vmdir = $(includedir)/vm
113
114include_vm_HEADERS = vm/vm.h vm/vm_extern.h vm/vm_kern.h vm/vm_param.h
115
116$(PROJECT_INCLUDE)/vm:
[e6d8fe47]117        @$(mkinstalldirs) $@
[471bcf0]118
119PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm \
120    $(include_vm_HEADERS:%=$(PROJECT_INCLUDE)/%)
121
122# ---
123
[e6d8fe47]124$(PROJECT_INCLUDE)/%.h: %.h
125        $(INSTALL_DATA) $< $@
126
127all-local: $(PREINSTALL_FILES)
128
[f22ebf0]129include $(top_srcdir)/../automake/subdirs.am
130include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.