]>
Commit | Line | Data |
---|---|---|
52893045 | 1 | src := filter.c data.c f-util.c tree.c trie.c inst-gen.c |
7152e5ef JMM |
2 | obj := $(src-o-files) |
3 | $(all-daemon) | |
4 | $(cf-local) | |
9b0a0ba9 | 5 | |
b40c0f02 MM |
6 | #M4FLAGS_FILTERS=$(filter-out -s,$(M4FLAGS)) |
7 | M4FLAGS_FILTERS=$(M4FLAGS) | |
967b88d9 | 8 | |
87bd7cd7 MM |
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 $^ >$@ | |
9b46748d | 14 | |
d1039926 MM |
15 | $(o)inst-interpret.c: $(s)decl.m4 $(s)f-inst.c $(objdir)/.dir-stamp |
16 | $(M4) $(M4FLAGS_FILTERS) -DTARGET=I -P $^ >$@ | |
17 | ||
8d65add6 | 18 | prepare: $(o)inst-interpret.c $(o)inst-gen.h |
967b88d9 | 19 | |
9b0a0ba9 OZ |
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) | |
de12cd18 | 23 | |
d1039926 | 24 | $(call clean,inst-gen.h inst-gen.c inst-interpret.c) |