File: Makefile.in

package info (click to toggle)
chromium 138.0.7204.183-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,908 kB
  • sloc: cpp: 34,937,088; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (145 lines) | stat: -rw-r--r-- 3,056 bytes parent folder | download | duplicates (6)
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
135
136
137
138
139
140
141
142
143
144
145
#
# UNIX Makefile for NASM documentation
#

@SET_MAKE@

top_srcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@
prefix		= @prefix@
exec_prefix	= @exec_prefix@
bindir		= @bindir@
mandir		= @mandir@
docdir		= @docdir@
htmldir		= @htmldir@
infodir		= @infodir@
datarootdir	= @datarootdir@

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

PERL		= perl
RUNPERL		= $(PERL) -I$(top_srcdir)/perllib -I$(srcdir)

PDFOPT		= @PDFOPT@

MKDIR_P		= @MKDIR_P@
RM_F		= rm -f
RM_RF		= rm -rf
CP_F		= cp -f
CP_UF		= cp -uf

# Optional tools
XZ		= @XZ@

# Optional targets
XZFILES         = @XZFILES@

# Auxiliary files referenced by the HTML files
HTMLAUX		= nasmdoc.css local.css nasmlogw.png

# Generated input files
GENSRC		= insns.src version.src perlbreq.src

# Top-level input file
SRCS		= nasmdoc.src

# All input files (except auto-dependencies)
ALLSRCS		= $(SRCS) $(GENSRC)

OUT		= html nasmdoc.txt nasmdoc.pdf $(XZFILES)
XZOUT           = nasmdoc.pdf.xz

# Don't delete intermediate files
.SECONDARY:

# Delete files on error
.DELETE_ON_ERROR:

.SUFFIXES:
.SUFFIXES: .pfa .ph

.PHONY: all xzfiles html clean spotless install

all: $(OUT)

xzfiles: $(XZOUT)

insns.src: inslist.pl ../x86/insns.dat
	$(RUNPERL) $^ $@

html: $(HTMLAUX)
	$(MKDIR_P) html
	for f in $(HTMLAUX); do $(CP_UF) "$(srcdir)/$$f" html/; done
	$(MAKE) html/nasmdoc0.html

RDSRC = $(RUNPERL) $(srcdir)/rdsrc.pl -I$(srcdir) -M$(@F).dep

html/nasmdoc0.html: $(ALLSRCS) rdsrc.pl
	$(RM_F) html/*.html
	$(RDSRC) -ohtml html $<

nasmdoc.dip: $(ALLSRCS) rdsrc.pl
	$(RDSRC) dip $<

nasmdoc.txt: $(ALLSRCS) rdsrc.pl
	$(RDSRC) txt $<

version.src: $(top_srcdir)/version.pl $(top_srcdir)/version
	$(RUNPERL) $(top_srcdir)/version.pl docsrc \
		< $(top_srcdir)/version > version.src

nasmdoc.ps: nasmdoc.dip genps.pl afmmetrics.ph ttfmetrics.ph \
	pswidth.ph nasmlogo.eps psfonts.ph head.ps
	$(RUNPERL) $(srcdir)/genps.pl -epsdir "$(srcdir)" \
		-headps $(srcdir)/head.ps \
		-fontpath fontpath \
		-fontmap Fontmap \
		nasmdoc.dip > nasmdoc.ps

fontpath: nasmdoc.ps
	@: Generated by side effect

Fontmap: nasmdoc.ps
	@: Generated by side effect

nasmdoc.pdf: nasmdoc.ps pspdf.pl fontpath
	$(RUNPERL) $(srcdir)/pspdf.pl \
		$(PDFOPT) $< $@ fontpath

nasmdoc-raw.pdf: nasmdoc.ps pspdf.pl fontpath
	$(RUNPERL) $(srcdir)/pspdf.pl -nocompress \
		$(PDFOPT) $< $@ fontpath

nasmdoc.pdf.xz: nasmdoc-raw.pdf
	$(RM_F) $@
	$(XZ) -9e < $< > $@

clean:
	-$(RM_F) *.rtf *.hpj *.texi *.gid *.ipf *.dip
	-$(RM_F) *.aux *.cp *.fn *.ky *.pg *.log *.toc *.tp *.vr
	-$(RM_F) $(GENSRC)fontpath Fontmap
	-$(RM_F) nasmdoc*.ps nasmdoc-raw.pdf

spotless: clean
	-$(RM_RF) html info
	-$(RM_F) *.hlp nasmdoc.txt *.inf *.pdf *.pdf.xz *.dvi

install: all
	$(MKDIR_P) $(DESTDIR)$(htmldir)
	$(INSTALL_DATA) html/* $(DESTDIR)$(htmldir)
	$(MKDIR_P) $(DESTDIR)$(docdir)
	$(INSTALL_DATA) nasmdoc.pdf nasmdoc.txt $(DESTDIR)$(docdir)

#
# Dummy rules that changes make behavior
# (at end to avoid confusing non-GNU makes)
#
.SECONDARY:

.DELETE_ON_ERROR:

# Generated dependencies
-include *.dep