]> gitweb.factorcode.org Git - factor.git/blob - unmaintained/pdf/readme.txt
fd5294452010a687b2660fd3f71d37390b22092e
[factor.git] / unmaintained / pdf / readme.txt
1 To build libharu as a shared dylib on Mac OS X, modify the Makefile after calling ./configure --shared\r\rHere are the relevant sections and the lines to be changed:\r\r...\rCC=cc\rPREFIX=/usr/local\r\rLIBNAME=libhpdf.a\rSONAME=libhpdf.dylib\rSOVER1=.1\rSOVER2=.0.0\rLIBTARGET=libhpdf.dylib\rCFLAGS=-Iinclude -fPIC -fno-common -c\r...\r$(SONAME): $(OBJS)\r$(CC) -dynamiclib -o $(SONAME)$(SOVER1)$(SOVER2) $(OBJS) $(LDFLAGS) -Wl\rln -sf $(SONAME)$(SOVER1)$(SOVER2) $(SONAME)$(SOVER1)\rln -sf $(SONAME)$(SOVER1) $(SONAME)
2
3 Now you can build and install:
4
5 make clean
6 make
7 make install
8
9 Test PDF files from pdf-tests.factor are generated in the test folder.