forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / arospdf / Makefile.in
blobc08e7215cb535d7290f597f30434eb1fd11bc628
1 #========================================================================
3 # Main xpdf Makefile.
5 # Copyright 1996-2003 Glyph & Cog, LLC
7 #========================================================================
9 SHELL = /bin/sh
11 DESTDIR =
13 prefix = @prefix@
14 exec_prefix = @exec_prefix@
15 srcdir = @srcdir@
17 INSTALL = @INSTALL@
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@
19 INSTALL_DATA = @INSTALL_DATA@
21 EXE = @EXE@
23 all:
24 cd goo; $(MAKE)
25 cd @UP_DIR@fofi; $(MAKE)
26 cd @UP_DIR@splash; $(MAKE)
27 cd @UP_DIR@xpdf; $(MAKE) @XPDF_TARGET@
29 all-no-x:
30 cd goo; $(MAKE)
31 cd @UP_DIR@fofi; $(MAKE)
32 cd @UP_DIR@xpdf; $(MAKE) all-no-x
34 xpdf: dummy
35 cd goo; $(MAKE)
36 cd @UP_DIR@fofi; $(MAKE)
37 cd @UP_DIR@splash; $(MAKE)
38 cd @UP_DIR@xpdf; $(MAKE) xpdf$(EXE)
40 pdftops: dummy
41 cd goo; $(MAKE)
42 cd @UP_DIR@fofi; $(MAKE)
43 cd @UP_DIR@splash; $(MAKE)
44 cd @UP_DIR@xpdf; $(MAKE) pdftops$(EXE)
46 pdftotext: dummy
47 cd goo; $(MAKE)
48 cd @UP_DIR@fofi; $(MAKE)
49 cd @UP_DIR@splash; $(MAKE)
50 cd @UP_DIR@xpdf; $(MAKE) pdftotext$(EXE)
52 pdfinfo:
53 cd goo; $(MAKE)
54 cd @UP_DIR@fofi; $(MAKE)
55 cd @UP_DIR@splash; $(MAKE)
56 cd @UP_DIR@xpdf; $(MAKE) pdfinfo$(EXE)
58 pdffonts:
59 cd goo; $(MAKE)
60 cd @UP_DIR@fofi; $(MAKE)
61 cd @UP_DIR@splash; $(MAKE)
62 cd @UP_DIR@xpdf; $(MAKE) pdffonts$(EXE)
64 pdftoppm:
65 cd goo; $(MAKE)
66 cd @UP_DIR@fofi; $(MAKE)
67 cd @UP_DIR@splash; $(MAKE)
68 cd @UP_DIR@xpdf; $(MAKE) pdftoppm$(EXE)
70 pdfimages:
71 cd goo; $(MAKE)
72 cd @UP_DIR@fofi; $(MAKE)
73 cd @UP_DIR@splash; $(MAKE)
74 cd @UP_DIR@xpdf; $(MAKE) pdfimages$(EXE)
76 dummy:
78 install: dummy
79 -mkdir -p $(DESTDIR)@bindir@
80 @X@ $(INSTALL_PROGRAM) xpdf/xpdf$(EXE) $(DESTDIR)@bindir@/xpdf$(EXE)
81 $(INSTALL_PROGRAM) xpdf/pdftops$(EXE) $(DESTDIR)@bindir@/pdftops$(EXE)
82 $(INSTALL_PROGRAM) xpdf/pdftotext$(EXE) $(DESTDIR)@bindir@/pdftotext$(EXE)
83 $(INSTALL_PROGRAM) xpdf/pdfinfo$(EXE) $(DESTDIR)@bindir@/pdfinfo$(EXE)
84 $(INSTALL_PROGRAM) xpdf/pdffonts$(EXE) $(DESTDIR)@bindir@/pdffonts$(EXE)
85 @X@ $(INSTALL_PROGRAM) xpdf/pdftoppm$(EXE) $(DESTDIR)@bindir@/pdftoppm$(EXE)
86 $(INSTALL_PROGRAM) xpdf/pdfimages$(EXE) $(DESTDIR)@bindir@/pdfimages$(EXE)
87 -mkdir -p $(DESTDIR)@mandir@/man1
88 @X@ $(INSTALL_DATA) $(srcdir)/doc/xpdf.1 $(DESTDIR)@mandir@/man1/xpdf.1
89 $(INSTALL_DATA) $(srcdir)/doc/pdftops.1 $(DESTDIR)@mandir@/man1/pdftops.1
90 $(INSTALL_DATA) $(srcdir)/doc/pdftotext.1 $(DESTDIR)@mandir@/man1/pdftotext.1
91 $(INSTALL_DATA) $(srcdir)/doc/pdfinfo.1 $(DESTDIR)@mandir@/man1/pdfinfo.1
92 $(INSTALL_DATA) $(srcdir)/doc/pdffonts.1 $(DESTDIR)@mandir@/man1/pdffonts.1
93 @X@ $(INSTALL_DATA) $(srcdir)/doc/pdftoppm.1 $(DESTDIR)@mandir@/man1/pdftoppm.1
94 $(INSTALL_DATA) $(srcdir)/doc/pdfimages.1 $(DESTDIR)@mandir@/man1/pdfimages.1
95 -mkdir -p $(DESTDIR)@mandir@/man5
96 $(INSTALL_DATA) $(srcdir)/doc/xpdfrc.5 $(DESTDIR)@mandir@/man5/xpdfrc.5
97 -mkdir -p $(DESTDIR)@sysconfdir@
98 @if test ! -f $(DESTDIR)@sysconfdir@/xpdfrc; then \
99 echo "$(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc"; \
100 $(INSTALL_DATA) $(srcdir)/doc/sample-xpdfrc $(DESTDIR)@sysconfdir@/xpdfrc; \
101 else \
102 echo "# not overwriting the existing $(DESTDIR)@sysconfdir@/xpdfrc"; \
105 clean:
106 -cd goo; $(MAKE) clean
107 -cd @UP_DIR@fofi; $(MAKE) clean
108 -cd @UP_DIR@splash; $(MAKE) clean
109 -cd @UP_DIR@xpdf; $(MAKE) clean
111 distclean: clean
112 rm -f config.log config.status config.cache
113 rm -f aconf.h
114 rm -f Makefile goo/Makefile xpdf/Makefile
115 rm -f goo/Makefile.dep fofi/Makefile.dep splash/Makefile.dep xpdf/Makefile.dep
116 rm -f goo/Makefile.in.bak fofi/Makefile.in.bak splash/Makefile.in.bak xpdf/Makefile.in.bak
117 touch goo/Makefile.dep
118 touch fofi/Makefile.dep
119 touch splash/Makefile.dep
120 touch xpdf/Makefile.dep
122 depend:
123 cd goo; $(MAKE) depend
124 cd @UP_DIR@fofi; $(MAKE) depend
125 cd @UP_DIR@splash; $(MAKE) depend
126 cd @UP_DIR@xpdf; $(MAKE) depend