diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2011-03-28 00:14:58 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2011-03-28 00:14:58 +0200 |
commit | 28d553ddbb1c1404a650987c8970958e0d52858c (patch) | |
tree | 00cf92b099149818bb5e9db2ef297145d4e3af4e /src/Makefile.am | |
parent | w32gdi: Obtain a new DC handle on every adjustment. This fixes a bug (diff) | |
parent | Add Makefile bits for geoclue provider to properly link against geoclue (diff) | |
download | redshift-ng-28d553ddbb1c1404a650987c8970958e0d52858c.tar.gz redshift-ng-28d553ddbb1c1404a650987c8970958e0d52858c.tar.bz2 redshift-ng-28d553ddbb1c1404a650987c8970958e0d52858c.tar.xz |
Merge Geoclue location provider by Mathieu Trudel-Lapierre with some tweaks.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3680f4a..6c4a613 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,10 @@ redshift_LDADD += \ $(GLIB_LIBS) $(GLIB_CFLAGS) \ $(GCONF_LIBS) $(GCONF_CFLAGS) endif + +if ENABLE_GEOCLUE +redshift_SOURCES += location-geoclue.c location-geoclue.h +AM_CFLAGS += $(GEOCLUE_CFLAGS) $(GEOCLUE_LIBS) +redshift_LDADD += \ + $(GEOCLUE_LIBS) $(GEOCLUE_CFLAGS) +endif |