2022-03-31 17:22:07 +00:00
|
|
|
src := 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
|
|
|
$(call proto-build,dev_build)
|
|
|
|
|
|
|
|
$(proto-build-c): $(lastword $(MAKEFILE_LIST))
|
|
|
|
$(E)echo GEN $@
|
2022-07-18 08:26:55 +00:00
|
|
|
$(Q)echo "#include \"lib/birdlib.h\"" > $@
|
|
|
|
$(Q)$(patsubst %,echo 'void %(void);' >> $@;,$(PROTO_BUILD))
|
|
|
|
$(Q)echo "void protos_build_gen(void) {" >> $@
|
|
|
|
$(Q)$(patsubst %,echo ' %();'>>$@;,$(PROTO_BUILD))
|
|
|
|
$(Q)echo "}" >> $@
|
2016-11-09 15:36:34 +00:00
|
|
|
|
2022-03-31 17:22:07 +00:00
|
|
|
tests_src :=
|
2016-11-09 15:36:34 +00:00
|
|
|
tests_targets := $(tests_targets) $(tests-target-files)
|
|
|
|
tests_objs := $(tests_objs) $(src-o-files)
|