17e5bf684SAlexander V. Chernikov.PATH: ${SRCTOP}/sys/netlink 27e5bf684SAlexander V. ChernikovKMOD= netlink 37e5bf684SAlexander V. Chernikov 47e5bf684SAlexander V. ChernikovSRCS = netlink_module.c netlink_domain.c netlink_io.c \ 519e43c16SAlexander V. Chernikov netlink_message_writer.c netlink_generic.c \ 67e5bf684SAlexander V. Chernikov netlink_route.c route/iface.c route/iface_drivers.c route/neigh.c \ 7c9313a0bSAlexander V. Chernikov route/nexthop.c route/rt.c 8*ab393e95SKristof ProvostSRCS+= opt_inet.h opt_inet6.h opt_route.h 919e43c16SAlexander V. Chernikov 1019e43c16SAlexander V. ChernikovCFLAGS+= -DNETLINK_MODULE 117e5bf684SAlexander V. Chernikov 127e5bf684SAlexander V. ChernikovEXPORT_SYMS= 137e5bf684SAlexander V. ChernikovEXPORT_SYMS+= nlmsg_get_chain_writer 147e5bf684SAlexander V. ChernikovEXPORT_SYMS+= nlmsg_refill_buffer 157e5bf684SAlexander V. ChernikovEXPORT_SYMS+= nlmsg_end 167e5bf684SAlexander V. ChernikovEXPORT_SYMS+= nlmsg_flush 177e5bf684SAlexander V. Chernikov 187e5bf684SAlexander V. ChernikovEXPORT_SYMS= YES 197e5bf684SAlexander V. Chernikov 207e5bf684SAlexander V. Chernikov.include <bsd.kmod.mk> 21