]> git.ipfire.org Git - thirdparty/cups.git/blob - pdftops/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / pdftops / Makefile
1 #
2 # "$Id: Makefile 4494 2005-02-18 02:18:11Z mike $"
3 #
4 # pdftops filter Makefile for the Common UNIX Printing System (CUPS).
5 #
6 # CUPS filter changes Copyright 1997-2005 by Easy Software Products.
7 # Xpdf code Copyright 1996-1999 by Derek B. Noonburg
8 #
9
10
11 include ../Makedefs
12
13 #
14 # Object files...
15 #
16
17 LIBOBJS = \
18 Annot.o \
19 Array.o \
20 BuiltinFont.o \
21 BuiltinFontTables.o \
22 Catalog.o \
23 CharCodeToUnicode.o \
24 CMap.o \
25 Decrypt.o \
26 Dict.o \
27 Error.o \
28 FoFiBase.o \
29 FoFiEncodings.o \
30 FoFiTrueType.o \
31 FoFiType1C.o \
32 FoFiType1.o \
33 FontEncodingTables.o \
34 Function.o \
35 gfile.o \
36 Gfx.o \
37 GfxFont.o \
38 GfxState.o \
39 GHash.o \
40 GList.o \
41 GlobalParams.o \
42 gmem.o \
43 gmempp.o \
44 GString.o \
45 JArithmeticDecoder.o \
46 JBIG2Stream.o \
47 JPXStream.o \
48 Lexer.o \
49 Link.o \
50 NameToCharCode.o \
51 Object.o \
52 Outline.o \
53 OutputDev.o \
54 Page.o \
55 parseargs.o \
56 Parser.o \
57 PDFDoc.o \
58 PDFDocEncoding.o \
59 PSOutputDev.o \
60 PSTokenizer.o \
61 SecurityHandler.o \
62 SplashBitmap.o \
63 SplashClip.o \
64 Splash.o \
65 SplashFont.o \
66 SplashFontEngine.o \
67 SplashFontFile.o \
68 SplashFontFileID.o \
69 SplashFTFont.o \
70 SplashFTFontEngine.o \
71 SplashFTFontFile.o \
72 SplashOutputDev.o \
73 SplashPath.o \
74 SplashPattern.o \
75 SplashScreen.o \
76 SplashState.o \
77 SplashT1Font.o \
78 SplashT1FontEngine.o \
79 SplashT1FontFile.o \
80 SplashXPath.o \
81 SplashXPathScanner.o \
82 Stream.o \
83 UnicodeMap.o \
84 UnicodeTypeTable.o \
85 XpdfPluginAPI.o \
86 XRef.o
87
88
89 OBJS = pdftops.o $(LIBOBJS)
90
91 TARGETS = libxpdf.a pdftops
92
93
94 #
95 # Make everything...
96 #
97
98 all: $(TARGETS)
99
100
101 #
102 # Clean all object files...
103 #
104
105 clean:
106 $(RM) $(OBJS)
107 $(RM) libxpdf.a
108 $(RM) pdftops
109 $(RM) pdftoraster
110
111
112 #
113 # Update dependencies (without system header dependencies...)
114 #
115
116 depend:
117 makedepend -Y -I.. -fDependencies $(OBJS:.o=.cxx) gmem.c parseargs.c >/dev/null 2>&1
118
119
120 #
121 # Install the filter...
122 #
123
124 install: all
125 $(INSTALL_DIR) $(SERVERBIN)/filter
126 $(INSTALL_BIN) pdftops $(SERVERBIN)/filter
127
128
129 #
130 # pdftops
131 #
132
133 pdftops: libxpdf.a pdftops.o ../cups/$(LIBCUPS)
134 echo Linking $@...
135 $(CXX) $(LDFLAGS) -o $@ pdftops.o libxpdf.a $(LIBS) $(CXXLIBS) -lm
136
137
138 #
139 # libxpdf.a
140 #
141
142 libxpdf.a: $(LIBOBJS)
143 echo Archiving $@...
144 $(RM) $@
145 $(AR) $(ARFLAGS) $@ $(LIBOBJS)
146 $(RANLIB) $@
147
148
149 #
150 # Dependencies...
151 #
152
153 include Dependencies
154
155
156 #
157 # End of "$Id: Makefile 4494 2005-02-18 02:18:11Z mike $".
158 #