summaryrefslogtreecommitdiff
path: root/Jamfile
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-03-07 14:02:25 +0100
committerTor Andersson <tor@ghostscript.com>2005-03-07 14:02:25 +0100
commitae96939ef402ab3835214817920350fb1eef484f (patch)
tree86bf7d29db7fb5646cc1a04f61613d20bfb72b90 /Jamfile
parent6ac819a158bec9d9773e9652804d91f90401ebb1 (diff)
downloadmupdf-ae96939ef402ab3835214817920350fb1eef484f.tar.xz
freshened up jamfile & config
Diffstat (limited to 'Jamfile')
-rw-r--r--Jamfile45
1 files changed, 3 insertions, 42 deletions
diff --git a/Jamfile b/Jamfile
index c1d7669f..ee9b1e34 100644
--- a/Jamfile
+++ b/Jamfile
@@ -2,50 +2,11 @@
# Build flags
#
-include $(HOME)/.jamrules ;
+include Jamconfig ;
+include $(HOME)/.jamconfig ;
HDRS = include filter ;
-# HAVE_JBIG2DEC = yes ;
-# HAVE_JASPER = yes ;
-# HAVE_X11 = yes ;
-# HAVE_GTK = yes ;
-
-# CCFLAGS += -DARCH_$(OSPLAT) ;
-
-switch $(BUILD)
-{
- case RELEASE :
- Echo Release build for $(OS) $(OSPLAT) ;
- OPTIM = -O3 ;
- case PROFILE :
- Echo Profiling build for $(OS) $(OSPLAT) ;
- OPTIM = -g -pg ;
- case * :
- Echo Debug build for $(OS) $(OSPLAT) ;
- OPTIM = -g ;
-}
-
-switch $(OS)
-{
- case LINUX :
- CCFLAGS += -std=c89 -Wall ;
- CCFLAGS += -DNEED_GETOPT ;
- CCFLAGS += -DNEED_STRLCPY ;
- CCFLAGS += -DNEED_STRLCAT ;
- case MACOSX :
- CCFLAGS += -std=gnu99 -DHAVE_C99 -Wall -faltivec ;
- case NT :
- NOARSCAN = true ;
- CCFLAGS += -std=gnu99 -DHAVE_C99 -Wall -DWIN32 ;
- CCFLAGS += -DNEED_GETOPT ;
- CCFLAGS += -DNEED_STRSEP ;
- CCFLAGS += -DNEED_STRLCPY ;
- CCFLAGS += -DNEED_STRLCAT ;
- case SOLARIS :
- CCFLAGS += -std=c89 -Wall ;
-}
-
#
# Libraries
#
@@ -273,7 +234,7 @@ if $(HAVE_X11)
if $(HAVE_GTK)
{
Main gtkpdf : apps/gtkpdf.c ;
- CCFLAGS on apps/gtkpdf.c =
+ CCFLAGS on apps/gtkpdf$(SUFOBJ) =
$(CCFLAGS) `pkg-config --cflags gtk+ gthread` ;
LinkLibraries gtkpdf : libmupdf libfitz ;
LINKLIBS on gtkpdf$(SUFEXE) =