build all with deps (gtk and libnotify)

This commit is contained in:
Jaromil 2011-01-12 11:38:30 +01:00
parent bd370c1ef5
commit 52531e1cf5
2 changed files with 13 additions and 3 deletions

View File

@ -75,6 +75,11 @@ PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.16, :,
AC_SUBST([GTK2_CFLAGS]) AC_SUBST([GTK2_CFLAGS])
AC_SUBST([GTK2_LIBS]) 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 dnl alphabetic order on dir/subdir, but Makefile sorts before everything
AC_CONFIG_FILES([ AC_CONFIG_FILES([
Makefile Makefile

View File

@ -1,7 +1,12 @@
bin_SCRIPTS = tomb bin_SCRIPTS = tomb
bin_PROGRAMS = tomb-gtk bin_PROGRAMS = tomb-gtk tomb-notify
tomb_gtk_SOURCES = tomb-gtk.cpp tomb_gtk_SOURCES = tomb-gtk.cpp
tomb_gtk_LDADD = @GTK2_LIBS@ tomb_gtk_LDADD = @GTK2_LIBS@ @NOTIFY_LIBS@
tomb_gtk_CXXFLAGS = @GTK2_CFLAGS@ tomb_gtk_CXXFLAGS = @GTK2_CFLAGS@ @NOTIFY_CFLAGS@
tomb_notify_SOURCES = tomb-notify.cpp
tomb_notify_LDADD = @NOTIFY_LIBS@
tomb_notify_CXXFLAGS = @NOTIFY_CFLAGS@