diff options
author | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2011-02-09 23:36:14 -0500 |
---|---|---|
committer | Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> | 2011-02-09 23:36:14 -0500 |
commit | d4472d291b11008b3f6e19965bc79791612c0e25 (patch) | |
tree | d758bb757a05ca47a450e0e1a802b3646ef3b7b7 /src | |
parent | Add first pass of Geoclue location provider. (diff) | |
download | redshift-ng-d4472d291b11008b3f6e19965bc79791612c0e25.tar.gz redshift-ng-d4472d291b11008b3f6e19965bc79791612c0e25.tar.bz2 redshift-ng-d4472d291b11008b3f6e19965bc79791612c0e25.tar.xz |
Add Makefile bits for geoclue provider to properly link against geoclue
and dbus-glib.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3680f4a..b19efab 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,7 +20,8 @@ EXTRA_redshift_SOURCES = \ gamma-randr.c gamma-randr.h \ gamma-vidmode.c gamma-vidmode.h \ gamma-w32gdi.c gamma-w32gdi.h \ - location-gnome-clock.c location-gnome-clock.h + location-gnome-clock.c location-gnome-clock.h \ + location-geoclue.c location-geoclue.h AM_CFLAGS = redshift_LDADD = @LIBINTL@ @@ -54,3 +55,11 @@ redshift_LDADD += \ $(GLIB_LIBS) $(GLIB_CFLAGS) \ $(GCONF_LIBS) $(GCONF_CFLAGS) endif + +if ENABLE_GEOCLUE +redshift_SOURCES += location-geoclue.c location-geoclue.h +AM_CFLAGS += $(GLIB_CFLAGS) $(GCONF_CFLAGS) $(GEOCLUE_LIBS) $(GEOCLUE_CFLAGS) +redshift_LDADD += \ + $(GLIB_LIBS) $(GLIB_CFLAGS) \ + $(GEOCLUE_LIBS) $(GEOCLUE_CFLAGS) +endif |