File: Makefile.am

package info (click to toggle)
prelink 0.0.20061027-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,716 kB
  • ctags: 2,061
  • sloc: ansic: 24,381; sh: 11,286; makefile: 169; cpp: 103
file content (42 lines) | stat: -rw-r--r-- 1,339 bytes parent folder | download | duplicates (8)
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
## Process this file with automake to create Makefile.in

AUTOMAKE_OPTIONS = 1.4 gnu

man_MANS = prelink.8 execstack.8
EXTRA_DIST = prelink.8 execstack.8 prelink.conf
PDFLATEXINPUTS = TEXINPUTS_pdflatex=.:$(srcdir):`kpsewhich --progname=pdflatex --show-path=cnf.pdflatex`
LATEXINPUTS = TEXINPUTS_latex=.:$(srcdir):`kpsewhich --progname=latex --show-path=cnf.latex`

noinst_DATA = prelink.pdf
pics = gap bss basemove newseg dso1 dso2 dso3

prelink.pdf: prelink.tex $(pics:=.fig) linuxtag.sty \
	     prelinklisting.sty lineno.sty glossary.conf
	$(MAKE) $(pics:=.pdf)
	$(PDFLATEXINPUTS) pdflatex $<
	makeindex -s $(srcdir)/glossary.conf -o prelink.gls prelink.glo
	if grep -q Rerun prelink.log; then $(PDFLATEXINPUTS) pdflatex $<; fi
	thumbpdf $@ && $(PDFLATEXINPUTS) pdflatex $<
	mv $@ prelinkin.pdf
	pdfopt prelinkin.pdf $@
	rm prelinkin.pdf

prelink.ps: prelink.dvi
	dvips $< -o $@

prelink.dvi: prelink.tex $(pics:=.eps)
	$(LATEXINPUTS) latex $<
	if grep -q Rerun prelink.log; then $(LATEXINPUTS) latex $<; fi

SUFFIXES = .fig .eps .pdf

.fig.eps:
	fig2dev -L eps $^ $@

.fig.pdf:
	fig2dev -L pdf $^ $@

CLEANFILES = $(pics:=.eps) $(pics:=.pdf) prelink.aux prelink.dvi \
	     prelink.log prelink.mtc prelink.mtc1 prelink.pdf prelink.ps \
	     prelink.glo prelink.idx prelink.out prelink.tpt prelink.ilg \
	     prelink.gls prelink.toc