diff options
author | Ralph Giles <giles@ghostscript.com> | 2005-04-21 08:33:55 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2005-04-21 08:33:55 +0200 |
commit | 8ee75ff8a5f4d9c72083dc597f83e7266f134252 (patch) | |
tree | c16fd95871cc4cb2ea47615d99994a603795fc25 /Jamfile | |
parent | 5d60cba9550a9c9cb1ca0fce00a8791ff06f457e (diff) | |
download | mupdf-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-- | Jamfile | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -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 ; +} # -------------------------------------------------------------------------- # |