From 8839dcd530cbc8f5c7ae45a61d86bed05d2a6e8a Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sat, 6 Dec 2014 15:32:50 -0500 Subject: Add CoreLocation (OSX) location provider Similarly to the Geoclue provider, the CoreLocation provider only requests the location on startup. --- src/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index ba0406d..8d11a03 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -82,3 +82,18 @@ AM_CFLAGS += \ redshift_LDADD += \ $(GEOCLUE2_LIBS) $(GEOCLUE2_CFLAGS) endif + +# Build CoreLocation module as a separate convenience +# library since it is using a separate compiler +# (Objective C). + +if ENABLE_CORELOCATION +noinst_LTLIBRARIES = liblocation-corelocation.la +liblocation_corelocation_la_SOURCES = \ + location-corelocation.m location-corelocation.h +liblocation_corelocation_la_OBJCFLAGS = \ + $(CORELOCATION_CFLAGS) +liblocation_corelocation_la_LIBADD = \ + $(CORELOCATION_CFLAGS) $(CORELOCATION_LIBS) +redshift_LDADD += liblocation-corelocation.la +endif -- cgit v1.2.3-70-g09d2