diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-18 22:05:50 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-04-06 18:14:08 +0200 |
commit | 4a23ede2b056a41456790cc20a0c3d92a7137693 (patch) | |
tree | 179c6f0ae13604cb85e9f10729818ef0b131e9a1 /nest/Makefile | |
parent | 0f68515263e91dd49b2d845cdff35af40c064dc2 (diff) |
Protocols have their own explicit init routines
Diffstat (limited to 'nest/Makefile')
-rw-r--r-- | nest/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nest/Makefile b/nest/Makefile index 884d3950..7d451ba4 100644 --- a/nest/Makefile +++ b/nest/Makefile @@ -1,7 +1,12 @@ -src := a-path.c a-set.c cli.c cmds.c iface.c locks.c neighbor.c password.c proto.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 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) +$(call proto-build,dev_build) + +$(proto-build-c): $(lastword $(MAKEFILE_LIST)) + $(E)echo GEN $@ + $(Q)echo "$(patsubst %,void %(void); ,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %(); ,$(PROTO_BUILD))}" > $@ tests_src := a-set_test.c a-path_test.c tests_targets := $(tests_targets) $(tests-target-files) |