summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/xpdf-3.04/Makefile.in
blob: 40f74491d664a8347d3cce9f802eb661f5f285ed (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#========================================================================
#
# Main xpdf Makefile.
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================

SHELL = /bin/sh

DESTDIR =

prefix = @prefix@
exec_prefix = @exec_prefix@
srcdir = @srcdir@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

EXE = @EXE@

all:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) @XPDF_TARGET@

all-no-x:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) all-no-x

xpdf: dummy
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) xpdf$(EXE)

pdftops: dummy
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdftops$(EXE)

pdftotext: dummy
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdftotext$(EXE)

pdfinfo:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdfinfo$(EXE)

pdffonts:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdffonts$(EXE)

pdfdetach:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdfdetach$(EXE)

pdftoppm:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdftoppm$(EXE)

pdfimages:
	cd goo; $(MAKE)
	cd @UP_DIR@fofi; $(MAKE)
	cd @UP_DIR@splash; $(MAKE)
	cd @UP_DIR@xpdf; $(MAKE) pdfimages$(EXE)

dummy:

install: dummy
	-mkdir -p $(DESTDIR)@bindir@
@X@	$(INSTALL_PROGRAM) xpdf/xpdf$(EXE) $(DESTDIR)@bindir@/xpdf$(EXE)
	$(INSTALL_PROGRAM) xpdf/pdftops$(EXE) $(DESTDIR)@bindir@/pdftops$(EXE)
	$(INSTALL_PROGRAM) xpdf/pdftotext$(EXE) $(DESTDIR)@bindir@/pdftotext$(EXE)
	$(INSTALL_PROGRAM) xpdf/pdfinfo$(EXE) $(DESTDIR)@bindir@/pdfinfo$(EXE)
	$(INSTALL_PROGRAM) xpdf/pdffonts$(EXE) $(DESTDIR)@bindir@/pdffonts$(EXE)
	$(INSTALL_PROGRAM) xpdf/pdfdetach$(EXE) $(DESTDIR)@bindir@/pdfdetach$(EXE)
@X@	$(INSTALL_PROGRAM) xpdf/pdftoppm$(EXE) $(DESTDIR)@bindir@/pdftoppm$(EXE)
	$(INSTALL_PROGRAM) xpdf/pdfimages$(EXE) $(DESTDIR)@bindir@/pdfimages$(EXE)
	-mkdir -p $(DESTDIR)@mandir@/man1
@X@	$(INSTALL_DATA) $(srcdir)/doc/xpdf.1 $(DESTDIR)@mandir@/man1/xpdf.1
	$(INSTALL_DATA) $(srcdir)/doc/pdftops.1 $(DESTDIR)@mandir@/man1/pdftops.1
	$(INSTALL_DATA) $(srcdir)/doc/pdftotext.1 $(DESTDIR)@mandir@/man1/pdftotext.1
	$(INSTALL_DATA) $(srcdir)/doc/pdfinfo.1 $(DESTDIR)@mandir@/man1/pdfinfo.1
	$(INSTALL_DATA) $(srcdir)/doc/pdffonts.1 $(DESTDIR)@mandir@/man1/pdffonts.1
	$(INSTALL_DATA) $(srcdir)/doc/pdfdetach.1 $(DESTDIR)@mandir@/man1/pdfdetach.1
@X@	$(INSTALL_DATA) $(srcdir)/doc/pdftoppm.1 $(DESTDIR)@mandir@/man1/pdftoppm.1
	$(INSTALL_DATA) $(srcdir)/doc/pdfimages.1 $(DESTDIR)@mandir@/man1/pdfimages.1
	-mkdir -p $(DESTDIR)@mandir@/man5
	$(INSTALL_DATA) $(srcdir)/doc/xpdfrc.5 $(DESTDIR)@mandir@/man5/xpdfrc.5
	-mkdir -p $(DESTDIR)@sysconfdir@
	@if test ! -f $(DESTDIR)@sysconfdir@/xpdfrc; then \
		echo "$(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc"; \
		$(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc; \
	else \
		echo "# not overwriting the existing $(DESTDIR)@sysconfdir@/xpdfrc"; \
	fi

clean:
	-cd goo; $(MAKE) clean
	-cd @UP_DIR@fofi; $(MAKE) clean
	-cd @UP_DIR@splash; $(MAKE) clean
	-cd @UP_DIR@xpdf; $(MAKE) clean

distclean: clean
	rm -f config.log config.status config.cache
	rm -f aconf.h
	rm -f Makefile goo/Makefile fofi/Makefile splash/Makefile xpdf/Makefile
	rm -f goo/Makefile.dep fofi/Makefile.dep splash/Makefile.dep xpdf/Makefile.dep
	rm -f goo/Makefile.in.bak fofi/Makefile.in.bak splash/Makefile.in.bak xpdf/Makefile.in.bak
	touch goo/Makefile.dep
	touch fofi/Makefile.dep
	touch splash/Makefile.dep
	touch xpdf/Makefile.dep

depend:
	cd goo; $(MAKE) depend
	cd @UP_DIR@fofi; $(MAKE) depend
	cd @UP_DIR@splash; $(MAKE) depend
	cd @UP_DIR@xpdf; $(MAKE) depend