1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../aclocal |
---|
6 | |
---|
7 | SUBDIRS = . kern lib libc net netinet nfs rtems |
---|
8 | SUBDIRS += wrapup |
---|
9 | |
---|
10 | ## poll.h is not in the list because RTEMS does not have poll() |
---|
11 | ## and installing poll.h confuses autoconf. |
---|
12 | include_HEADERS = \ |
---|
13 | bpfilter.h loop.h netdb.h opt_ipfw.h opt_mrouting.h \ |
---|
14 | opt_tcpdebug.h resolv.h syslog.h memory.h |
---|
15 | |
---|
16 | $(PROJECT_INCLUDE): |
---|
17 | @$(mkinstalldirs) $@ |
---|
18 | |
---|
19 | PREINSTALL_FILES = $(PROJECT_INCLUDE) \ |
---|
20 | $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
21 | |
---|
22 | # arpa |
---|
23 | |
---|
24 | include_arpadir = $(includedir)/arpa |
---|
25 | |
---|
26 | include_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 | |
---|
32 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/arpa \ |
---|
33 | $(include_arpa_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
34 | |
---|
35 | ## machine |
---|
36 | |
---|
37 | include_machinedir = $(includedir)/machine |
---|
38 | |
---|
39 | include_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 | |
---|
45 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/machine \ |
---|
46 | $(include_machine_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
47 | |
---|
48 | ## net |
---|
49 | |
---|
50 | include_netdir = $(includedir)/net |
---|
51 | |
---|
52 | include_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 | |
---|
60 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/net \ |
---|
61 | $(include_net_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
62 | |
---|
63 | ## netinet |
---|
64 | |
---|
65 | include_netinetdir = $(includedir)/netinet |
---|
66 | |
---|
67 | include_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 | |
---|
77 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/netinet \ |
---|
78 | $(include_netinet_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
79 | |
---|
80 | ## nfs |
---|
81 | |
---|
82 | include_nfsdir = $(includedir)/nfs |
---|
83 | |
---|
84 | include_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 | |
---|
90 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/nfs \ |
---|
91 | $(include_nfs_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
92 | |
---|
93 | ## sys |
---|
94 | |
---|
95 | include_sysdir = $(includedir)/sys |
---|
96 | |
---|
97 | include_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 | |
---|
107 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys \ |
---|
108 | $(include_sys_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
109 | |
---|
110 | # vm |
---|
111 | |
---|
112 | include_vmdir = $(includedir)/vm |
---|
113 | |
---|
114 | include_vm_HEADERS = vm/vm.h vm/vm_extern.h vm/vm_kern.h vm/vm_param.h |
---|
115 | |
---|
116 | $(PROJECT_INCLUDE)/vm: |
---|
117 | @$(mkinstalldirs) $@ |
---|
118 | |
---|
119 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/vm \ |
---|
120 | $(include_vm_HEADERS:%=$(PROJECT_INCLUDE)/%) |
---|
121 | |
---|
122 | # --- |
---|
123 | |
---|
124 | $(PROJECT_INCLUDE)/%.h: %.h |
---|
125 | $(INSTALL_DATA) $< $@ |
---|
126 | |
---|
127 | all-local: $(PREINSTALL_FILES) |
---|
128 | |
---|
129 | include $(top_srcdir)/../automake/subdirs.am |
---|
130 | include $(top_srcdir)/../automake/local.am |
---|