#!/usr/bin/make -f include ../source.mk nop: @: build: @# ProteanOS doesn't have Bison (needs Perl) or Flex yet, so we need to @# provide pregenerated files. Many other packages just include such @# files in their source archives, but libnl doesn't. cp ../src.gen/pktloc_grammar.c src/lib/route/pktloc_grammar.c cp ../src.gen/pktloc_grammar.h src/lib/route/pktloc_grammar.h cp ../src.gen/pktloc_syntax.c src/lib/route/pktloc_syntax.c cp ../src.gen/pktloc_syntax.h src/lib/route/pktloc_syntax.h cp ../src.gen/ematch_grammar.c src/lib/route/cls/ematch_grammar.c cp ../src.gen/ematch_grammar.h src/lib/route/cls/ematch_grammar.h cp ../src.gen/ematch_syntax.c src/lib/route/cls/ematch_syntax.c cp ../src.gen/ematch_syntax.h src/lib/route/cls/ematch_syntax.h printf 'ac_cv_prog_FLEX=:\nac_cv_prog_YACC=:\n' >src/config.cache oh-autoconfigure -- --cache-file=config.cache oh-autobuild touch $@ install: build oh-autoinstall rm dest/usr/lib/$(OPK_HOST_ARCH)/*.la rm dest/usr/lib/$(OPK_HOST_ARCH)/libnl/cli/*/*.la oh-fixperms oh-strip oh-installfiles