tbuild all with deps (gtk and libnotify) - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 52531e1cf53c54f3c4559ccbd2b565e269fe2058 DIR parent bd370c1ef5e23023cb4ce0177f507bc9daaa9963 HTML Author: Jaromil <jaromil@dyne.org> Date: Wed, 12 Jan 2011 11:38:30 +0100 build all with deps (gtk and libnotify) Diffstat: M configure.ac | 5 +++++ M src/Makefile.am | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) --- DIR diff --git a/configure.ac b/configure.ac t@@ -75,6 +75,11 @@ PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.16, :, AC_SUBST([GTK2_CFLAGS]) AC_SUBST([GTK2_LIBS]) +PKG_CHECK_MODULES(NOTIFY, libnotify, :, + AC_MSG_ERROR([*** libnotify development files not found!])) +AC_SUBST([NOTIFY_CFLAGS]) +AC_SUBST([NOTIFY_LIBS]) + dnl alphabetic order on dir/subdir, but Makefile sorts before everything AC_CONFIG_FILES([ Makefile DIR diff --git a/src/Makefile.am b/src/Makefile.am t@@ -1,7 +1,12 @@ bin_SCRIPTS = tomb -bin_PROGRAMS = tomb-gtk +bin_PROGRAMS = tomb-gtk tomb-notify + tomb_gtk_SOURCES = tomb-gtk.cpp -tomb_gtk_LDADD = @GTK2_LIBS@ -tomb_gtk_CXXFLAGS = @GTK2_CFLAGS@ -\ No newline at end of file +tomb_gtk_LDADD = @GTK2_LIBS@ @NOTIFY_LIBS@ +tomb_gtk_CXXFLAGS = @GTK2_CFLAGS@ @NOTIFY_CFLAGS@ + +tomb_notify_SOURCES = tomb-notify.cpp +tomb_notify_LDADD = @NOTIFY_LIBS@ +tomb_notify_CXXFLAGS = @NOTIFY_CFLAGS@