mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:46:00 +02:00
+ Initial implementation
This commit is contained in:
parent
d83d1ac357
commit
4f6ef50810
53
docs/sysutex/Makefile
Normal file
53
docs/sysutex/Makefile
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
#######################################################################
|
||||||
|
#
|
||||||
|
# Makefile to compile all examples and convert them to LaTeX
|
||||||
|
#
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
# Compiler
|
||||||
|
PP=ppc386
|
||||||
|
|
||||||
|
# Unit directory
|
||||||
|
# UNITDIR=/usr/lib/ppc/0.99.0/linuxunits
|
||||||
|
|
||||||
|
|
||||||
|
# Any options you wish to pass.
|
||||||
|
PPOPTS=
|
||||||
|
|
||||||
|
# Script to convert the programs to LaTeX examples which can be included.
|
||||||
|
PP2TEX=../pp2tex
|
||||||
|
|
||||||
|
# Script to collect all examples in 1 file.
|
||||||
|
MAKETEX=make1tex
|
||||||
|
|
||||||
|
#######################################################################
|
||||||
|
# No need to edit after this line.
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
ifdef UNITDIR
|
||||||
|
PPOPTS:=$(PPOPTS) -Up$(UNITDIR);
|
||||||
|
endif
|
||||||
|
|
||||||
|
.SUFFIXES: .pp .tex
|
||||||
|
|
||||||
|
.PHONY: all tex clean
|
||||||
|
|
||||||
|
OBJECTS=
|
||||||
|
|
||||||
|
TEXOBJECTS=$(addsuffix .tex, $(OBJECTS))
|
||||||
|
|
||||||
|
all : $(OBJECTS)
|
||||||
|
|
||||||
|
tex : $(TEXOBJECTS)
|
||||||
|
|
||||||
|
onetex : tex
|
||||||
|
$(MAKETEX) $(TEXOBJECTS)
|
||||||
|
|
||||||
|
clean :
|
||||||
|
rm -f *.o *.s $(OBJECTS) $(TEXOBJECTS)
|
||||||
|
|
||||||
|
$(OBJECTS): %: %.pp
|
||||||
|
$(PP) $(PPOPTS) $*
|
||||||
|
|
||||||
|
$(TEXOBJECTS): %.tex: %.pp head.tex foot.tex
|
||||||
|
$(PP2TEX) $*
|
2
docs/sysutex/foot.tex
Normal file
2
docs/sysutex/foot.tex
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
\end{verbatim}
|
||||||
|
\end{FPCList}
|
3
docs/sysutex/head.tex
Normal file
3
docs/sysutex/head.tex
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
\begin{FPCList}
|
||||||
|
\item[Example]
|
||||||
|
\begin{verbatim}
|
1419
docs/sysutils.tex
Normal file
1419
docs/sysutils.tex
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user