diff options
Diffstat (limited to 'nest/Makefile')
-rw-r--r-- | nest/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nest/Makefile b/nest/Makefile index a2e30ee2..ef0fdf67 100644 --- a/nest/Makefile +++ b/nest/Makefile @@ -1,12 +1,15 @@ -src := a-path.c a-set.c cli.c cmds.c iface.c locks.c neighbor.c password.c proto.c proto-build.c rt-attr.c rt-dev.c rt-fib.c rt-show.c rt-table.c +src := a-path.c a-set.c cli.c cmds.c iface.c locks.c mpls.c neighbor.c password.c proto.c proto-build.c rt-attr.c rt-dev.c rt-fib.c rt-show.c rt-table.c obj := $(src-o-files) $(all-daemon) $(cf-local) +$(conf-y-targets): $(s)mpls.Y -$(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST)) +$(o)proto-build.c: Makefile $(lastword $(MAKEFILE_LIST)) $(objdir)/.dir-stamp $(E)echo GEN $@ $(Q)echo "$(patsubst %,void %_build(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %_build(); ,$(PROTO_BUILD))}" > $@ -tests_src := a-set_test.c a-path_test.c +prepare: $(o)proto-build.c + +tests_src := a-set_test.c a-path_test.c rt-fib_test.c tests_targets := $(tests_targets) $(tests-target-files) tests_objs := $(tests_objs) $(src-o-files) |