2022-03-18 21:05:50 +00:00
|
|
|
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
|
2016-04-12 09:14:54 +00:00
|
|
|
obj := $(src-o-files)
|
|
|
|
$(all-daemon)
|
|
|
|
$(cf-local)
|
2022-03-18 21:05:50 +00:00
|
|
|
|
2022-08-18 16:32:33 +00:00
|
|
|
$(objdir)/nest/proto-build.c: $(lastword $(MAKEFILE_LIST))
|
2022-03-18 21:05:50 +00:00
|
|
|
$(E)echo GEN $@
|
2022-08-18 16:32:33 +00:00
|
|
|
$(Q)echo "$(patsubst %,void %_build(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %_build(); ,$(PROTO_BUILD))}" > $@
|
2016-11-09 15:36:34 +00:00
|
|
|
|
|
|
|
tests_src := a-set_test.c a-path_test.c
|
|
|
|
tests_targets := $(tests_targets) $(tests-target-files)
|
|
|
|
tests_objs := $(tests_objs) $(src-o-files)
|