From: Vincent Bernat Date: Wed, 23 Mar 2016 19:48:35 +0000 (+0100) Subject: build: ensure atom-glue.h is built first X-Git-Tag: 0.9.3~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=812d9e259b31a25345adf7c107c8fa0f7b453b25;p=thirdparty%2Flldpd.git build: ensure atom-glue.h is built first Forcing direct dependencies is incompatible with VPATH. Use BUILT_SOURCES instead. --- diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 7418513d..96175c16 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -19,9 +19,9 @@ liblldpctl_la_SOURCES = \ $(NON_ATOM_FILES) \ $(ATOM_FILES) nodist_liblldpctl_la_SOURCES = atom-glue.h atom-glue.c +BUILT_SOURCES = atom-glue.h liblldpctl_la_LIBADD = $(top_builddir)/src/libcommon-daemon-lib.la libfixedpoint.la -$(NON_ATOM_FILES):: atom-glue.h atom-glue.h: $(ATOM_FILES) Makefile $(AM_V_GEN)(cat $^ | \ $(SED) -n 's+^ATOM_BUILDER_REGISTER(\([^,]*\), *\([0-9]*\)).*+\2 \1+p' | \