summaryrefslogtreecommitdiff
path: root/Jamfile
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2005-04-21 08:33:55 +0200
committerRalph Giles <giles@ghostscript.com>2005-04-21 08:33:55 +0200
commit8ee75ff8a5f4d9c72083dc597f83e7266f134252 (patch)
treec16fd95871cc4cb2ea47615d99994a603795fc25 /Jamfile
parent5d60cba9550a9c9cb1ca0fce00a8791ff06f457e (diff)
downloadmupdf-8ee75ff8a5f4d9c72083dc597f83e7266f134252.tar.xz
macpdf-1
First stab at getting the MacOS client to work again. Tigers if you change the embedded file name. The extra stuff in Jamfile was intended to copy the .app directory structure from the source tree, but doesn't work. You'll have to copy it manually to the build target directory.
Diffstat (limited to 'Jamfile')
-rw-r--r--Jamfile19
1 files changed, 11 insertions, 8 deletions
diff --git a/Jamfile b/Jamfile
index 17ef4a30..882b9056 100644
--- a/Jamfile
+++ b/Jamfile
@@ -326,14 +326,17 @@ if $(HAVE_X11) = yes
LINKLIBS on ghostpdf$(SUFEXE) = $(LINKLIBS) -lX11 -lXext ;
}
-# if $(OS) = MACOSX
-# {
-# SubDir TOP apps macosx ;
-# MACPDF = macpdf.app/Contents/MacOS/macpdf ;
-# Main $(MACPDF) : apps/macpdf.c ;
-# LinkLibraries $(MACPDF) : libmupdf libfitz ;
-# LINKLIBS on $(MACPDF) = $(LINKLIBS) -framework Carbon ;
-# }
+if $(OS) = MACOSX
+{
+ SubDir TOP apps macosx ;
+ MACBUNDLE = macpdf.app ;
+ MACPDF = $(MACBUNDLE)/Contents/MacOS/macpdf ;
+ File $(MACBUNDLE) : $(MACBUNDLE) ;
+ LOCATE on $(MACBUNDLE) = $(LOCATE_SOURCE) ;
+ Main $(MACPDF) : macpdf.c ;
+ LinkLibraries $(MACPDF) : $(FITZLIBS) ;
+ LINKLIBS on $(MACPDF) = $(LINKLIBS) -framework Carbon ;
+}
# --------------------------------------------------------------------------
#