From: Guillem Jover Date: Mon, 30 Nov 2015 03:12:02 +0000 (+0100) Subject: build: Move hash/helper.c into new libbsd_la_included_sources X-Git-Tag: 0.8.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0871daf7b0031ca999d5c25f71a93a4560d7b042;p=thirdparty%2Flibbsd.git build: Move hash/helper.c into new libbsd_la_included_sources Use this variable in EXTRA_DIST and libbsd_la_DEPENDENCIES. --- diff --git a/src/Makefile.am b/src/Makefile.am index 1cb04f9..1b324aa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,12 +7,16 @@ AM_CPPFLAGS = \ -DLIBBSD_OVERLAY -DLIBBSD_DISABLE_DEPRECATED \ -D__REENTRANT +libbsd_la_included_sources = \ + hash/helper.c \ + $(nil) + EXTRA_DIST = \ libbsd.map \ libbsd.pc.in \ libbsd-ctor.pc.in \ libbsd-overlay.pc.in \ - hash/helper.c \ + $(libbsd_la_included_sources) \ $(nil) CLEANFILES = \ @@ -39,6 +43,7 @@ hash/md5hl.c: $(srcdir)/hash/helper.c $(AM_V_GEN) sed -e 's:hashinc:md5.h:g' -e 's:HASH:MD5:g' $< > $@ libbsd_la_DEPENDENCIES = \ + $(libbsd_la_included_sources) \ libbsd.map libbsd_la_LDFLAGS = \ -Wl,--version-script=$(srcdir)/libbsd.map \