summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e3c62d53..192dc3b5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,21 +15,31 @@ zenity_SOURCES = \
text.c \
progress.c \
tree.c \
- notification.c \
- eggtrayicon.c \
eggtrayicon.h \
+ eggtrayicon.c \
+ notification.c \
about.c \
util.h \
util.c
-INCLUDES = \
- $(ZENITY_CFLAGS) \
+zenity_CPPFLAGS = \
-I$(includedir) \
- -DGNOMELOCALEDIR=\""$(zenitylocaledir)"\" \
- -DZENITY_DATADIR=\""$(datadir)/zenity"\"
+ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ -DZENITY_DATADIR=\""$(pkgdatadir)"\" \
+ $(AM_CPPFLAGS)
+
+zenity_CFLAGS = \
+ $(ZENITY_CFLAGS) \
+ $(LIBNOTIFY_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(AM_CFLAGS)
+
+zenity_LDFLAGS = \
+ $(AM_LDFLAGS)
zenity_LDADD = \
$(ZENITY_LIBS) \
+ $(LIBNOTIFY_LIBS) \
$(X_LIBS)
gladedir = $(datadir)/zenity
bgstack15