1.PATH: ${SRCTOP}/sys/netlink 2KMOD= netlink 3 4SRCS = netlink_module.c netlink_domain.c netlink_io.c \ 5 netlink_message_writer.c netlink_generic.c \ 6 netlink_route.c route/iface.c route/iface_drivers.c route/neigh.c \ 7 route/nexthop.c route/rt.c 8SRCS+= opt_inet.h opt_inet6.h opt_route.h opt_netlink.h 9 10CFLAGS+= -DNETLINK_MODULE 11 12EXPORT_SYMS= 13EXPORT_SYMS+= nlmsg_get_chain_writer 14EXPORT_SYMS+= nlmsg_refill_buffer 15EXPORT_SYMS+= nlmsg_end 16EXPORT_SYMS+= nlmsg_flush 17 18EXPORT_SYMS= YES 19 20.include <bsd.kmod.mk> 21