]> git.saurik.com Git - apple/xnu.git/blob - bsd/net/Makefile
60c66a58b95134d3b77afe10a0efa152c06ad8c0
[apple/xnu.git] / bsd / net / Makefile
1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6 include $(MakeInc_cmd)
7 include $(MakeInc_def)
8
9 INSTINC_SUBDIRS = \
10 altq classq pktsched
11
12 DATAFILES= \
13 bpf.h \
14 dlil.h \
15 ethernet.h \
16 if.h \
17 if_arp.h \
18 if_dl.h \
19 if_llc.h \
20 if_media.h \
21 if_mib.h \
22 if_types.h \
23 if_var.h \
24 if_utun.h \
25 kext_net.h \
26 ndrv.h \
27 pfkeyv2.h \
28 route.h \
29 net_kev.h
30
31 KERNELFILES= \
32 kpi_interface.h kpi_interfacefilter.h kpi_protocol.h \
33 if_ether.h init.h radix.h
34
35 PRIVATE_DATAFILES = \
36 bpf.h \
37 content_filter.h \
38 etherdefs.h \
39 firewire.h \
40 if.h \
41 if_bond_var.h \
42 if_bond_internal.h \
43 if_bridgevar.h \
44 if_ipsec.h \
45 if_llreach.h \
46 if_media.h \
47 if_mib.h \
48 if_pflog.h \
49 if_ports_used.h \
50 if_ppp.h \
51 if_utun.h \
52 if_var.h \
53 if_vlan_var.h \
54 if_fake_var.h \
55 iptap.h \
56 lacp.h \
57 ndrv_var.h \
58 necp.h \
59 net_api_stats.h \
60 netsrc.h \
61 network_agent.h \
62 ntstat.h \
63 packet_mangler.h \
64 pfkeyv2.h \
65 pfvar.h \
66 pktap.h \
67 ppp_defs.h \
68 radix.h \
69 raw_cb.h \
70 route.h \
71 net_perf.h \
72 net_kev.h \
73 nat464_utils.h
74
75 PRIVATE_KERNELFILES = $(filter-out radix.h,${KERNELFILES}) \
76 bpfdesc.h ppp_comp.h \
77 zlib.h bpf_compat.h net_osdep.h \
78 flowadv.h net_perf.h
79
80 INSTALL_MI_LIST = ${DATAFILES}
81
82 INSTALL_MI_DIR = net
83
84 EXPORT_MI_LIST = ${INSTALL_MI_LIST} ${KERNELFILES}
85
86 EXPORT_MI_DIR = ${INSTALL_MI_DIR}
87
88 INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
89
90 INSTALL_KF_MI_LCL_LIST = $(sort ${DATAFILES} ${PRIVATE_DATAFILES} ${PRIVATE_KERNELFILES})
91
92 include $(MakeInc_rule)
93 include $(MakeInc_dir)