aboutsummaryrefslogtreecommitdiffstats
path: root/mk/method-quartz-cg=yes.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/method-quartz-cg=yes.mk')
-rw-r--r--mk/method-quartz-cg=yes.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/method-quartz-cg=yes.mk b/mk/method-quartz-cg=yes.mk
new file mode 100644
index 0000000..b98d03d
--- /dev/null
+++ b/mk/method-quartz-cg=yes.mk
@@ -0,0 +1,8 @@
+F_APPLICATION_SERVICES = /System/Library/Frameworks/ApplicationServices.framework
+I_APPLICATION_SERVICES = $(F_APPLICATION_SERVICES)/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Headers
+
+HDR_METHODS += gamma-quartz-cg.h
+METHODS_PARAMS += LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS quartz_cg -1 rampsf
+CPPFLAGS_METHODS += -DHAVE_LIBGAMMA_METHOD_QUARTZ_CORE_GRAPHICS
+CFLAGS_METHODS += -I$(I_APPLICATION_SERVICES) -F$(F_APPLICATION_SERVICES)
+LDFLAGS_METHODS += -framework ApplicationServices