# # "$Id: Makefile 4494 2005-02-18 02:18:11Z mike $" # # pdftops filter Makefile for the Common UNIX Printing System (CUPS). # # CUPS filter changes Copyright 1997-2005 by Easy Software Products. # Xpdf code Copyright 1996-1999 by Derek B. Noonburg # include ../Makedefs # # Object files... # LIBOBJS = \ Annot.o \ Array.o \ BuiltinFont.o \ BuiltinFontTables.o \ Catalog.o \ CharCodeToUnicode.o \ CMap.o \ Decrypt.o \ Dict.o \ Error.o \ FoFiBase.o \ FoFiEncodings.o \ FoFiTrueType.o \ FoFiType1C.o \ FoFiType1.o \ FontEncodingTables.o \ Function.o \ gfile.o \ Gfx.o \ GfxFont.o \ GfxState.o \ GHash.o \ GList.o \ GlobalParams.o \ gmem.o \ gmempp.o \ GString.o \ JArithmeticDecoder.o \ JBIG2Stream.o \ JPXStream.o \ Lexer.o \ Link.o \ NameToCharCode.o \ Object.o \ Outline.o \ OutputDev.o \ Page.o \ parseargs.o \ Parser.o \ PDFDoc.o \ PDFDocEncoding.o \ PSOutputDev.o \ PSTokenizer.o \ SecurityHandler.o \ SplashBitmap.o \ SplashClip.o \ Splash.o \ SplashFont.o \ SplashFontEngine.o \ SplashFontFile.o \ SplashFontFileID.o \ SplashFTFont.o \ SplashFTFontEngine.o \ SplashFTFontFile.o \ SplashOutputDev.o \ SplashPath.o \ SplashPattern.o \ SplashScreen.o \ SplashState.o \ SplashT1Font.o \ SplashT1FontEngine.o \ SplashT1FontFile.o \ SplashXPath.o \ SplashXPathScanner.o \ Stream.o \ UnicodeMap.o \ UnicodeTypeTable.o \ XpdfPluginAPI.o \ XRef.o OBJS = pdftops.o $(LIBOBJS) TARGETS = libxpdf.a pdftops # # Make everything... # all: $(TARGETS) # # Clean all object files... # clean: $(RM) $(OBJS) $(RM) libxpdf.a $(RM) pdftops $(RM) pdftoraster # # Update dependencies (without system header dependencies...) # depend: makedepend -Y -I.. -fDependencies $(OBJS:.o=.cxx) gmem.c parseargs.c >/dev/null 2>&1 # # Install the filter... # install: all $(INSTALL_DIR) $(SERVERBIN)/filter $(INSTALL_BIN) pdftops $(SERVERBIN)/filter # # pdftops # pdftops: libxpdf.a pdftops.o ../cups/$(LIBCUPS) echo Linking $@... $(CXX) $(LDFLAGS) -o $@ pdftops.o libxpdf.a $(LIBS) $(CXXLIBS) -lm # # libxpdf.a # libxpdf.a: $(LIBOBJS) echo Archiving $@... $(RM) $@ $(AR) $(ARFLAGS) $@ $(LIBOBJS) $(RANLIB) $@ # # Dependencies... # include Dependencies # # End of "$Id: Makefile 4494 2005-02-18 02:18:11Z mike $". #