summaryrefslogtreecommitdiff
path: root/Jamrules
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-03-30 10:58:48 +0200
committerTor Andersson <tor@ghostscript.com>2005-03-30 10:58:48 +0200
commitd9f39824674b6c94a5dd3ab7646301cb1f1e305b (patch)
tree3321f8e6d8242df19b3470b706e117499297ac0b /Jamrules
parent5f4d61903ee8fc514ed7e23eac4d5ac6409ff760 (diff)
downloadmupdf-d9f39824674b6c94a5dd3ab7646301cb1f1e305b.tar.xz
jamfile tweaks for freetype
Diffstat (limited to 'Jamrules')
-rw-r--r--Jamrules19
1 files changed, 13 insertions, 6 deletions
diff --git a/Jamrules b/Jamrules
index 87d76ce6..acb9a9d4 100644
--- a/Jamrules
+++ b/Jamrules
@@ -5,17 +5,24 @@
# Put all configuration stuff here
#
-FREETYPE ?= -Ih:/package/include ;
+if $(OS) = MINGW
+{
+ FREETYPECC ?= -Ih:/package/include ;
+ FREETYPELD ?= -lfreetype ;
+}
+
+FREETYPECC ?= "`freetype-config --cflags`" ;
+FREETYPELD ?= "`freetype-config --libs`" ;
# Optional modules:
-HAVE_JBIG2DEC = no ;
-HAVE_JASPER = no ;
+HAVE_JBIG2DEC ?= no ;
+HAVE_JASPER ?= no ;
# Select one of these for the GhostPDF GUI application if you are on unix
-HAVE_X11 = no ;
-HAVE_GTK = no ;
+HAVE_X11 ?= no ;
+HAVE_GTK ?= no ;
# -------------------------------------------------------------------------
@@ -23,7 +30,7 @@ HAVE_GTK = no ;
# Basic system should be mostly SUSv3 compliant
# These are good for GCC
-FLAG_CCALL = -Wall -D_XOPEN_SOURCE=600 $(FREETYPE) ;
+FLAG_CCALL = -Wall -D_XOPEN_SOURCE=600 $(FREETYPECC) ;
FLAG_CCDEBUG = -g ;
FLAG_CCRELEASE = -O3 ;
FLAG_CCPROFILE = -g -pg ;