diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-25 01:23:42 +0200 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-05-25 01:23:42 +0200 |
commit | 38aea51b22d1e63b778c0e0cc654edb71b828c4a (patch) | |
tree | 822996b7f584e03640b35c9b61e52ddf2b975f30 /src/Makefile.am | |
parent | Update POTFILES and po files (diff) | |
download | redshift-ng-38aea51b22d1e63b778c0e0cc654edb71b828c4a.tar.gz redshift-ng-38aea51b22d1e63b778c0e0cc654edb71b828c4a.tar.bz2 redshift-ng-38aea51b22d1e63b778c0e0cc654edb71b828c4a.tar.xz |
Add location provider that reads location from the gconf key associated
with the GNOME Clock applet. The implementation is rather simplistic as
it only reads the location once on init but that'll have to do for now.
Diffstat (limited to 'src/Makefile.am')
-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 e4f88de..c07aea3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -18,7 +18,8 @@ redshift_SOURCES = \ EXTRA_redshift_SOURCES = \ gamma-randr.c gamma-randr.h \ gamma-vidmode.c gamma-vidmode.h \ - gamma-w32gdi.c gamma-w32gdi.h + gamma-w32gdi.c gamma-w32gdi.h \ + location-gnome-clock.c location-gnome-clock.h AM_CFLAGS = redshift_LDADD = @LIBINTL@ @@ -44,3 +45,11 @@ if ENABLE_WINGDI redshift_SOURCES += gamma-w32gdi.c gamma-w32gdi.h redshift_LDADD += -lgdi32 endif + +if ENABLE_GNOME_CLOCK +redshift_SOURCES += location-gnome-clock.c location-gnome-clock.h +AM_CFLAGS += $(GLIB_CFLAGS) $(GCONF_CFLAGS) +redshift_LDADD += \ + $(GLIB_LIBS) $(GLIB_CFLAGS) \ + $(GCONF_LIBS) $(GCONF_CFLAGS) +endif |