summaryrefslogtreecommitdiff
path: root/cocoa/Makefile.target
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-03-05 09:49:15 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-03-05 09:49:15 +0000
commit208b98bb44b986e62ff0f80b7e50c9da3e12cb8f (patch)
tree83620f97ee05ddf3a4852607e465b2c1ae114175 /cocoa/Makefile.target
parent323d5f3ba1b8ea700215616e42a5fb158ee7006f (diff)
downloadnetsurf-208b98bb44b986e62ff0f80b7e50c9da3e12cb8f.tar.gz
netsurf-208b98bb44b986e62ff0f80b7e50c9da3e12cb8f.tar.bz2
Created content handler CONTENT_APPLE_IMAGE for Mac OS X that can handle all image file formats supported by Apples ImageIO framework. Right now used only for JPEG to get rid of libjpeg dependency.
svn path=/trunk/netsurf/; revision=11911
Diffstat (limited to 'cocoa/Makefile.target')
-rw-r--r--cocoa/Makefile.target9
1 files changed, 2 insertions, 7 deletions
diff --git a/cocoa/Makefile.target b/cocoa/Makefile.target
index 3b9915947..ee79b9c92 100644
--- a/cocoa/Makefile.target
+++ b/cocoa/Makefile.target
@@ -31,12 +31,6 @@
CFLAGS += -I/usr/include/libxml2
CFLAGS += -include cocoa/Prefix.pch
-ifneq ($(wildcard /opt/local*),)
- # libjpeg is there when installed from MacPort.
- LDFLAGS += -L/opt/local/lib
- CFLAGS += -I/opt/local/include
-endif
-
VERSION_FULL := $(shell sed -n '/\"/{s/.*"\(.*\)\".*/\1/;p;}' desktop/version.c)
VERSION_MAJ := $(shell sed -n '/_major/{s/.* = \([0-9]*\).*/\1/;p;}' desktop/version.c)
VERSION_MIN := $(shell sed -n '/_minor/{s/.* = \([0-9]*\).*/\1/;p;}' desktop/version.c)
@@ -96,7 +90,8 @@ S_COCOA := \
ArrowBox.m \
ArrowWindow.m \
BlackScroller.m \
- LocalHistoryController.m
+ LocalHistoryController.m \
+ apple_image.m
S_TABBAR := \
NSBezierPath_AMShading.m \