summaryrefslogtreecommitdiff
path: root/Jamrules
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2008-09-05 18:07:34 +0200
committerTor Andersson <tor@ghostscript.com>2008-09-05 18:07:34 +0200
commit57c6583aeca0c5cd4ba425344c7eecc0db37ff91 (patch)
tree5311c88742c5fbac14c7d8d5319bc94983fa99cd /Jamrules
parentd861716137c216dee26b69b606d1189949d97f8d (diff)
downloadmupdf-57c6583aeca0c5cd4ba425344c7eecc0db37ff91.tar.xz
Put back the NEED_STRLCPY, NEED_STRSEP and NEED_GETOPT flags.
Diffstat (limited to 'Jamrules')
-rw-r--r--Jamrules18
1 files changed, 14 insertions, 4 deletions
diff --git a/Jamrules b/Jamrules
index 86e49995..d8915a4a 100644
--- a/Jamrules
+++ b/Jamrules
@@ -34,10 +34,9 @@ ALL_LOCATE_TARGET ?= [ FDirName $(TOP) build $(OS)-$(OSPLAT) ] ;
if $(HAVE_JBIG2DEC) { DEFINES += HAVE_JBIG2DEC ; }
if $(HAVE_JASPER) { DEFINES += HAVE_JASPER ; }
-# NEED_GETOPT = true ;
-# NEED_STRLCAT = true ;
-# NEED_STRLCPY = true ;
-# NEED_STRSEP = true ;
+# NEED_STRLCPY = true ;
+# NEED_STRSEP = true ;
+# NEED_GETOPT = true ;
if $(OS) = LINUX
{
@@ -46,6 +45,9 @@ if $(OS) = LINUX
THIRDPARTYINC ?= "`freetype-config --cflags`" ;
THIRDPARTYLIB ?= "`freetype-config --libs`" ;
+ NEED_STRLCPY = true ;
+ NEED_STRSEP = true ;
+
BUILD_X11APP = true ;
CCFLAGS = -Wall -std=c99 $(THIRDPARTYINC) ;
@@ -87,6 +89,10 @@ if $(OS) = MINGW
THIRDPARTYINC ?= -Ic:/local/include ;
THIRDPARTYLIB ?= -Lc:/local/lib ;
+ NEED_STRLCPY = true ;
+ NEED_STRSEP = true ;
+ NEED_GETOPT = true ;
+
CCFLAGS = -Wall -std=c99 $(THIRDPARTYINC) ;
LINKFLAGS = $(THIRDPARTYLIB) ;
LINKLIBS = -lfreetype -ljpeg -lz ;
@@ -109,6 +115,10 @@ if $(OS) = NT
THIRDPARTYINC ?= /Ic:/local/include ;
THIRDPARTYLIB ?= /LIBPATH:c:/local/lib ;
+ NEED_STRLCPY = true ;
+ NEED_STRSEP = true ;
+ NEED_GETOPT = true ;
+
CCFLAGS = $(THIRDPARTYINC) ;
LINKFLAGS = $(THIRDPARTYLIB) ;
LINKLIBS = freetype.lib jpeg.lib z.lib ;