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