diff options
author | Tor Andersson <tor@ghostscript.com> | 2005-03-07 14:02:25 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2005-03-07 14:02:25 +0100 |
commit | ae96939ef402ab3835214817920350fb1eef484f (patch) | |
tree | 86bf7d29db7fb5646cc1a04f61613d20bfb72b90 /Jamfile | |
parent | 6ac819a158bec9d9773e9652804d91f90401ebb1 (diff) | |
download | mupdf-ae96939ef402ab3835214817920350fb1eef484f.tar.xz |
freshened up jamfile & config
Diffstat (limited to 'Jamfile')
-rw-r--r-- | Jamfile | 45 |
1 files changed, 3 insertions, 42 deletions
@@ -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) = |