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
|
|
|
|
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 15:15:13 +00:00
|
|
|
$(Q)echo "\n $(patsubst %, void %_build(void);\n,$(PROTO_BUILD))\nvoid protos_build_gen(void) {\n $(patsubst %, %_build();\n,$(PROTO_BUILD))}" > $@
|
|
|
|
|
|
|
|
prepare: $(o)proto-build.c
|
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)
|