aboutsummaryrefslogtreecommitdiffstats
path: root/redshift/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'redshift/config.mk')
-rw-r--r--redshift/config.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/redshift/config.mk b/redshift/config.mk
new file mode 100644
index 0000000..00a032c
--- /dev/null
+++ b/redshift/config.mk
@@ -0,0 +1,20 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+LOCALEDIR = $(PREFIX)/share/locale
+
+PACKAGE = redshift-ng
+
+CC = c99
+
+PKGCONFIG = pkg-config
+PKGCONFIG_CFLAGS = $(PKGCONFIG) --cflags
+PKGCONFIG_LDFLAGS = $(PKGCONFIG) --libs
+
+GEOCLUE_LIBS = glib-2.0 gio-2.0
+
+LIBS_PKGCONFIG = $(GEOCLUE_LIBS) libgamma
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE\
+ -DENABLE_GEOCLUE2 -DENABLE_COOPGAMMA
+CFLAGS = $$($(PKGCONFIG_CFLAGS) $(LIBS_PKGCONFIG))
+LDFLAGS = $$($(PKGCONFIG_LDFLAGS) $(LIBS_PKGCONFIG)) -lm -lcoopgamma -lred -lgeome