1# -*- Makefile -*- 2 3AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\" 4 5lib_LTLIBRARIES = \ 6 libnl.la libnl-genl.la libnl-route.la libnl-nf.la 7 8libnl_la_LDFLAGS = -version-info 2:0:0 9libnl_la_SOURCES = \ 10 addr.c attr.c cache.c cache_mngr.c cache_mngt.c data.c doc.c \ 11 error.c handlers.c msg.c nl.c object.c socket.c utils.c 12 13libnl_genl_la_LDFLAGS = -version-info 2:0:0 14libnl_genl_la_LIBADD = libnl.la 15libnl_genl_la_SOURCES = \ 16 genl/ctrl.c genl/family.c genl/genl.c genl/mngt.c 17 18libnl_nf_la_LDFLAGS = -version-info 2:0:0 19libnl_nf_la_LIBADD = libnl-route.la 20libnl_nf_la_SOURCES = \ 21 netfilter/ct.c netfilter/ct_obj.c netfilter/log.c \ 22 netfilter/log_msg.c netfilter/log_msg_obj.c netfilter/log_obj.c \ 23 netfilter/netfilter.c netfilter/nfnl.c netfilter/queue.c \ 24 netfilter/queue_msg.c netfilter/queue_msg_obj.c netfilter/queue_obj.c 25 26CLEANFILES = \ 27 route/pktloc_grammar.c route/pktloc_grammar.h \ 28 route/pktloc_syntax.c route/pktloc_syntax.h 29 30# Hack to avoid using ylwrap. It does not function correctly in combination 31# with --header-file= 32route/pktloc_grammar.c: route/pktloc_grammar.l 33 $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^ 34 35route/pktloc_syntax.c: route/pktloc_syntax.y 36 $(YACC) -d $(YFLAGS) -o $@ $^ 37 38libnl_route_la_LDFLAGS = -version-info 2:0:0 39libnl_route_la_LIBADD = libnl.la 40libnl_route_la_SOURCES = \ 41 route/addr.c route/class.c route/class_api.c route/class_obj.c \ 42 route/cls.c route/cls_api.c route/cls_obj.c route/link.c \ 43 route/neigh.c route/neightbl.c route/nexthop.c route/qdisc.c \ 44 route/qdisc_api.c route/qdisc_obj.c route/route.c route/route_obj.c \ 45 route/route_utils.c route/rtnl.c route/rule.c route/tc.c \ 46 \ 47 route/cls/fw.c route/cls/police.c route/cls/u32.c \ 48 \ 49 route/link/api.c route/link/vlan.c \ 50 \ 51 route/sch/blackhole.c route/sch/cbq.c route/sch/dsmark.c \ 52 route/sch/fifo.c route/sch/htb.c route/sch/netem.c route/sch/prio.c \ 53 route/sch/red.c route/sch/sfq.c route/sch/tbf.c \ 54 \ 55 fib_lookup/lookup.c fib_lookup/request.c \ 56 \ 57 route/pktloc_syntax.c route/pktloc_grammar.c route/pktloc.c 58