blob: 3fd172667687fb395cf29a2fc0c94a19a7f36f74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#========================================================================
#
# Xpdf Makefile
#
# Copyright 1996 Derek B. Noonburg
#
# Heavily modified for pdftex by Thomas Esser, 1998, 1999
#
# $Id: //depot/Build/source.development/TeX/libs/xpdf/xpdf/Makefile.in#28 $
#========================================================================
VPATH = @srcdir@
srcdir = @srcdir@
srcdirparent = $(srcdir)/..
goodir = $(srcdirparent)/goo
fofidir=$(srcdirparent)/fofi
CXXFLAGS = @CXXFLAGS@
CXX = @CXX@
ALLCXXFLAGS = $(CXXFLAGS) -DHAVE_CONFIG_H $(XCFLAGS) \
-I.. -I$(srcdirparent) -I$(goodir) -I$(fofidir) -I. -I$(srcdir) \
-DPDF_PARSER_ONLY
kpse_include ../../texk/make/library.mk
.SUFFIXES:
.SUFFIXES: .cc .o
.cc.o:
$(CXX) $(ALLCXXFLAGS) -c $<
#------------------------------------------------------------------------
PDFTOEPDF_OBJS = \
Array.o BuiltinFont.o BuiltinFontTables.o CMap.o \
Catalog.o CharCodeToUnicode.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o GfxFont.o GfxState.o\
GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o Lexer.o Link.o \
NameToCharCode.o Object.o OutputDev.o Outline.o PDFDoc.o Page.o \
Parser.o PDFDocEncoding.o Stream.o UnicodeMap.o XRef.o Function.o \
PSTokenizer.o SecurityHandler.o
libxpdf.a: $(PDFTOEPDF_OBJS)
rm -f $@
$(AR) $(ARFLAGS) $@ $(PDFTOEPDF_OBJS)
$(RANLIB) $@
#------------------------------------------------------------------------
mostlyclean clean:
rm -f $(PDFTOEPDF_OBJS) libxpdf.a
rm -f Makefile.bak
distclean maintainer-clean extraclean: clean
rm -f Makefile c-auto.h
#------------------------------------------------------------------------
depend:
srcdirparent=`(cd $(srcdirparent) >/dev/null; pwd)`; \
$(CXX) $(ALLCXXFLAGS) -MM $(srcdir)/*.cc \
| sed 's|$(srcdir)|$$(srcdir)|g' \
| sed 's|'$$srcdirparent/'|$$(srcdirparent)/|g' \
| sed 's|$$(srcdirparent)/goo/|$$(goodir)/|g' \
| sed 's|$$(srcdirparent)/fofi/|$$(fofidir)/|g' \
> $(srcdir)/depend.mk
#------------------------------------------------------------------------
kpse_include xpdf/depend.mk
|