build: Move hash/helper.c into new libbsd_la_included_sources

Use this variable in EXTRA_DIST and libbsd_la_DEPENDENCIES.
This commit is contained in:
Guillem Jover 2015-11-30 04:12:02 +01:00
parent 02c33d5022
commit 0871daf7b0

View File

@ -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 \