- whitespace cleanup.

- check if /opt/local exists and add it to search paths, so libjpeg installed by MacPort can be found, as it doesn't seem to have a pkg-config descriptor.

svn path=/trunk/netsurf/; revision=11471
This commit is contained in:
François Revel 2011-01-23 20:31:36 +00:00
parent d4881ab935
commit 4dda0f0204

View File

@ -32,6 +32,12 @@
CFLAGS += -Icocoa/PSMTabBarControl
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)