1# -*- Makefile -*- 2 3AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DPKGLIBDIR=\"$(pkglibdir)\" -DSYSCONFDIR=\"$(sysconfdir)\" -rdynamic 4AM_LDFLAGS = -L${top_builddir}/lib -ldl 5 6#nobase_pkglib_LTLIBRARIES = cls/basic.la cls/ematch/cmp.la 7#cls_basic_la_LDFLAGS = -module -version-info 2:0:0 8#cls_ematch_cmp_la_LDFLAGS = -module -version-info 2:0:0 9 10#cls/ematch_grammar.c: cls/ematch_grammar.l 11# $(LEX) --header-file=cls/ematch_grammar.h $(LFLAGS) -o $@ $^ 12 13#cls/ematch_syntax.c: cls/ematch_syntax.y 14# $(YACC) -d $(YFLAGS) -o $@ $^ 15 16#cls/pktloc_grammar.c: cls/pktloc_grammar.l 17# $(LEX) --header-file=cls/pktloc_grammar.h $(LFLAGS) -o $@ $^ 18 19#cls/pktloc_syntax.c: cls/pktloc_syntax.y 20# $(YACC) -d $(YFLAGS) -o $@ $^ 21 22#CLEANFILES = \ 23# cls/ematch_grammar.c cls/ematch_grammar.h \ 24# cls/ematch_syntax.c cls/ematch_syntax.h \ 25# cls/pktloc_grammar.c cls/pktloc_grammar.h \ 26# cls/pktloc_syntax.c cls/pktloc_syntax.h 27 28lib_LTLIBRARIES = \ 29 libnl-cli.la 30 31libnl_cli_la_LDFLAGS = -version-info 2:0:0 32 33libnl_cli_la_LIBADD = ${top_builddir}/lib/libnl.la \ 34 ${top_builddir}/lib/libnl-route.la \ 35 ${top_builddir}/lib/libnl-nf.la \ 36 ${top_builddir}/lib/libnl-genl.la 37 38libnl_cli_la_SOURCES = \ 39 utils.c addr.c ct.c link.c neigh.c qdisc.c rule.c route.c 40# cls/ematch_syntax.c cls/ematch_grammar.c cls/ematch.c 41# cls/pktloc_syntax.c cls/pktloc_grammar.c cls/utils.c 42