Fix automake warning about deprecated INCLUDES
[dockapps/wmnotify.git] / src / Makefile.am
index ead5381..705e9ba 100644 (file)
@@ -1,29 +1,18 @@
 # This file is processed by GNU automake to generate Makefile.in
 
-INCLUDES = -I$(top_srcdir)/pixmaps
-
 bin_PROGRAMS = wmnotify
-wmnotify_SOURCES = wmnotify.c options.c configfile.c xevents.c dockapp.c sound.c \
-                   network.c pop3.c imap.c ssl.c
+
+wmnotify_SOURCES = wmnotify.c wmnotify.h options.c options.h configfile.c configfile.h \
+                   xevents.c xevents.h dockapp.c dockapp.h sound.c sound.h \
+                   network.c network.h pop3.c pop3.h imap.c imap.h ssl.c ssl.h common.h
+
+wmnotify_CPPFLAGS = \
+    -I$(top_srcdir) \
+    -I$(top_srcdir)/pixmaps \
+    $(AM_CPPFLAGS)
 
 CLEANFILES     = *~
-DISTCLEANFILES = .deps/*.P
 MAINTAINERCLEANFILES = Makefile.in
 
-# These headers will be included in the distribution tarball, but will not be
-# installed by 'make install'
-noinst_HEADERS = common.h wmnotify.h options.h configfile.h xevents.h dockapp.h sound.h \
-                 network.h pop3.h imap.h ssl.h
-
 # we want these in the dist tarball
-EXTRA_DIST = 
-
-# This rule is used to bypass the default rule which is generated by Automake, in order
-# to get rid of all the cluttered informations that are displayed by Make before
-# calling the compiler like in the following example:
-#    source='programming.c' object='programming.o' libtool=no \
-#    depfile='.deps/programming.Po' tmpdepfile='.deps/programming.TPo' \
-#    depmode=gcc3 /bin/sh ../config/depcomp \
-#    gcc -DHAVE_CONFIG_H -I. -I. -I.. -c `test -f 'main.c' || echo './'`main.c
-.c.o:
-       $(COMPILE) -c $<
+EXTRA_DIST =