[libdmapsharing] Fix some autotools warnings
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Fix some autotools warnings
- Date: Tue, 30 Jun 2020 13:01:13 +0000 (UTC)
commit 2111cb95060feebaeaa3e4bf66da86b38da07fbf
Author: W. Michael Petullo <mike flyn org>
Date: Tue Jun 30 08:01:04 2020 -0500
Fix some autotools warnings
libdmapsharing/Makefile.am | 2 +-
tests/Makefile.am | 18 ++++++++----------
2 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/libdmapsharing/Makefile.am b/libdmapsharing/Makefile.am
index 239465b..60664d3 100644
--- a/libdmapsharing/Makefile.am
+++ b/libdmapsharing/Makefile.am
@@ -173,7 +173,7 @@ dmap-enums.h: $(libdmapsharinginclude_HEADERS) Makefile
&& sed -e "s/d_map/dmap/" -e "s/D_MAP/DMAP/" -e "s/d_acp/dacp/" -e "s/D_ACP/DACP/" $@.tmp >$@ \
&& rm -f $@.tmp
-unit-test.stamp: $(grep -l START_TEST *.c)
+unit-test.stamp: *.c
./generate-test-suites
mv unit-test.c ../tests
touch unit-test.stamp
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0e19ec2..db41efd 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,7 +7,7 @@ endif
# Automake documentation mentions LDADD, but it does not work;
# LIBS does.
-LIBS = $(top_builddir)/libdmapsharing/libdmapsharing-4.0.la
+LIBS += $(top_builddir)/libdmapsharing/libdmapsharing-4.0.la
if HAVE_CHECK
noinst_PROGRAMS += unit-test
@@ -125,18 +125,16 @@ unit_test_LDADD = \
AM_CPPFLAGS = \
-I$(top_srcdir) \
+ $(GDKPIXBUF_CFLAGS) \
+ $(GEE_CFLAGS) \
$(GLIB_CFLAGS) \
- $(GTHREAD_CFLAGS) \
- $(GSTREAMERAPP_CFLAGS) \
$(GOBJECT_CFLAGS) \
- $(GDKPIXBUF_CFLAGS) \
- $(SOUP_CFLAGS) \
- $(MDNS_CFLAGS)
-
-INCLUDES = \
- $(IMAGEMAGICK_CFLAGS) \
+ $(GSTREAMERAPP_CFLAGS) \
+ $(GTHREAD_CFLAGS) \
$(GTK_CFLAGS) \
- $(GEE_CFLAGS)
+ $(IMAGEMAGICK_CFLAGS) \
+ $(MDNS_CFLAGS) \
+ $(SOUP_CFLAGS)
EXTRA_DIST = \
$(dacplisten_VALASOURCES) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]