Fix automake warning about deprecated INCLUDES
[dockapps/wmnotify.git] / src / Makefile.am
index d4ed91c..705e9ba 100644 (file)
@@ -1,25 +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 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
 
 # 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 =