2016-04-12 09:14:54 +00:00
|
|
|
src := filter.c f-util.c tree.c trie.c
|
|
|
|
obj := $(src-o-files)
|
|
|
|
$(all-daemon)
|
|
|
|
$(cf-local)
|
2016-11-09 15:36:34 +00:00
|
|
|
|
2018-12-20 15:25:54 +00:00
|
|
|
M4FLAGS_FILTERS=$(filter-out -s,$(M4FLAGS))
|
|
|
|
|
2018-12-27 13:26:11 +00:00
|
|
|
$(o)f-inst-line-size.c: $(s)line-size.m4 $(s)f-inst.c $(objdir)/.dir-stamp
|
2018-12-20 15:25:54 +00:00
|
|
|
$(M4) $(M4FLAGS_FILTERS) -P $^ >$@
|
|
|
|
|
2018-12-27 13:26:11 +00:00
|
|
|
$(o)f-inst-postfixify.c: $(s)postfixify.m4 $(s)f-inst.c $(objdir)/.dir-stamp
|
|
|
|
$(M4) $(M4FLAGS_FILTERS) -P $^ >$@
|
|
|
|
|
|
|
|
$(o)f-inst-interpret.c: $(s)interpret.m4 $(s)f-inst.c $(objdir)/.dir-stamp
|
|
|
|
$(M4) $(M4FLAGS_FILTERS) -P $^ >$@
|
|
|
|
|
|
|
|
$(o)f-inst-same.c: $(s)same.m4 $(s)f-inst.c $(objdir)/.dir-stamp
|
|
|
|
$(M4) $(M4FLAGS_FILTERS) -P $^ >$@
|
|
|
|
|
|
|
|
$(o)f-inst-dump.c: $(s)dump.m4 $(s)f-inst.c $(objdir)/.dir-stamp
|
|
|
|
$(M4) $(M4FLAGS_FILTERS) -P $^ >$@
|
|
|
|
|
|
|
|
$(o)filter.o: $(o)f-inst-interpret.c $(o)f-inst-line-size.c $(o)f-inst-postfixify.c $(o)f-inst-same.c $(o)f-inst-dump.c
|
2018-12-20 15:25:54 +00:00
|
|
|
|
2016-11-09 15:36:34 +00:00
|
|
|
tests_src := tree_test.c filter_test.c trie_test.c
|
|
|
|
tests_targets := $(tests_targets) $(tests-target-files)
|
|
|
|
tests_objs := $(tests_objs) $(src-o-files)
|