mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
1d309c4ce6
Implicit paddings have undefined values in C. We want the eattr blocks to be comparable by memcmp and eattrs settable directly by structrure literals. This check ensures that all paddings in eattr and bval are explicit and therefore zeroed in all literals.
14 lines
544 B
Makefile
14 lines
544 B
Makefile
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
|
|
obj := $(src-o-files)
|
|
$(all-daemon)
|
|
$(cf-local)
|
|
$(call proto-build,dev_build)
|
|
|
|
$(proto-build-c): $(lastword $(MAKEFILE_LIST))
|
|
$(E)echo GEN $@
|
|
$(Q)echo "#include \"lib/birdlib.h\"\n$(patsubst %,void %(void);\n,$(PROTO_BUILD)) void protos_build_gen(void) { $(patsubst %, %();\n,$(PROTO_BUILD))}" > $@
|
|
|
|
tests_src :=
|
|
tests_targets := $(tests_targets) $(tests-target-files)
|
|
tests_objs := $(tests_objs) $(src-o-files)
|