tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 52531e1cf53c54f3c4559ccbd2b565e269fe2058
parent bd370c1ef5e23023cb4ce0177f507bc9daaa9963
Author: Jaromil <jaromil@dyne.org>
Date:   Wed, 12 Jan 2011 11:38:30 +0100

build all with deps (gtk and libnotify)

Diffstat:
Mconfigure.ac | 5+++++
Msrc/Makefile.am | 12++++++++----
2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac @@ -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 diff --git a/src/Makefile.am b/src/Makefile.am @@ -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@