2023-06-21 11:15:07 +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 aggregator.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
|
|
|
|
2023-02-01 15:15:13 +00:00
|
|
|
$(o)proto-build.c: Makefile $(lastword $(MAKEFILE_LIST)) $(objdir)/.dir-stamp
|
2022-03-18 21:05:50 +00:00
|
|
|
$(E)echo GEN $@
|
2023-02-01 18:30:21 +00:00
|
|
|
$(Q)echo "$(patsubst %,void %_build(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %_build(); ,$(PROTO_BUILD))}" > $@
|
2023-02-01 15:15:13 +00:00
|
|
|
|
|
|
|
prepare: $(o)proto-build.c
|
2016-11-09 15:36:34 +00:00
|
|
|
|
2023-05-16 11:25:48 +00:00
|
|
|
tests_src := a-set_test.c a-path_test.c rt-fib_test.c
|
2016-11-09 15:36:34 +00:00
|
|
|
tests_targets := $(tests_targets) $(tests-target-files)
|
|
|
|
tests_objs := $(tests_objs) $(src-o-files)
|