Annotation of embedaddon/bird2/filter/Makefile, revision 1.1.1.1
1.1 misho 1: src := filter.c data.c f-util.c tree.c trie.c inst-gen.c
2: obj := $(src-o-files)
3: $(all-daemon)
4: $(cf-local)
5:
6: #M4FLAGS_FILTERS=$(filter-out -s,$(M4FLAGS))
7: M4FLAGS_FILTERS=$(M4FLAGS)
8:
9: $(o)inst-gen.h: $(s)decl.m4 $(s)f-inst.c $(objdir)/.dir-stamp
10: $(M4) $(M4FLAGS_FILTERS) -DTARGET=H -P $^ >$@
11:
12: $(o)inst-gen.c: $(s)decl.m4 $(s)f-inst.c $(objdir)/.dir-stamp
13: $(M4) $(M4FLAGS_FILTERS) -DTARGET=C -P $^ >$@
14:
15: $(o)inst-interpret.c: $(s)decl.m4 $(s)f-inst.c $(objdir)/.dir-stamp
16: $(M4) $(M4FLAGS_FILTERS) -DTARGET=I -P $^ >$@
17:
18: prepare: $(o)inst-interpret.c $(o)inst-gen.h
19:
20: tests_src := tree_test.c filter_test.c trie_test.c
21: tests_targets := $(tests_targets) $(tests-target-files)
22: tests_objs := $(tests_objs) $(src-o-files)
23:
24: $(call clean,inst-gen.h inst-gen.c inst-interpret.c)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>