[PATCH 6/7] wmcpuload: Fix Makefile.am for automake 1.14.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
Patch by Andreas Metzler <[email protected]> to fix Debian bug #724162.
---
 wmcpuload/src/Makefile.am | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/wmcpuload/src/Makefile.am b/wmcpuload/src/Makefile.am
index 3eacac1..26d1da8 100644
--- a/wmcpuload/src/Makefile.am
+++ b/wmcpuload/src/Makefile.am
@@ -1,3 +1,5 @@
+AUTOMAKE_OPTIONS = subdir-objects
+
 bin_PROGRAMS = wmcpuload
 
 wmcpuload_SOURCES = \
@@ -6,7 +8,8 @@ wmcpuload_SOURCES = \
 	main.c \
 	backlight_on.xpm \
 	backlight_off.xpm \
-	parts.xpm
+	parts.xpm \
+	../libdockapp/dockapp.c ../libdockapp/dockapp.h
 
 EXTRA_wmcpuload_SOURCES = \
 	cpu_linux.c \
@@ -19,7 +22,6 @@ EXTRA_wmcpuload_SOURCES = \
 	cpu_irix.c \
 	cpu_darwin.c
 
-wmcpuload_DEPENDENCIES = ../libdockapp/dockapp.o
 
 AM_CPPFLAGS = \
 	@HEADER_SEARCH_PATH@ \
@@ -28,7 +30,6 @@ AM_CPPFLAGS = \
 AM_CFLAGS = @DFLAGS@ @CFLAGS@ -I../libdockapp/
 
 wmcpuload_LDADD = \
-	dockapp.o \
 	@LIBRARY_SEARCH_PATH@ \
 	@XLIBS@ \
 	@XLFLAGS@
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.