Makefile.fpc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630
  1. #
  2. # $Id$
  3. # This file is part of the Free Pascal run time library.
  4. # Copyright (c) 1996-98 by Michael van Canneyt
  5. #
  6. # Makefile for the Free Pascal Documentation
  7. #
  8. # See the file COPYING.FPC, included in this distribution,
  9. # for details about the copyright.
  10. #
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15. [package]
  16. name=fpdocs
  17. version=2.0.0
  18. [require]
  19. nortl=y
  20. [install]
  21. #fpcpackage=y
  22. [default]
  23. fpcdir=..
  24. rule=help
  25. [rules]
  26. # Debugging the install, that will only copy the .tex to index.html
  27. # so a make html and make install goes quickly
  28. #INSTALLDEBUG=1
  29. # Which docs to build by default
  30. ifndef DOCS
  31. DOCS = user rtl ref prog fpdoc chart
  32. endif
  33. # Can be 'report','book' for pdf/ps, html use their own preamble file
  34. PREAMBLETYPE = report
  35. # Locate FPDoc
  36. ifndef CROSSCOMPILE
  37. ifndef FPDOC
  38. ifneq ($(wildcard ../utils/fpdoc/fpdoc),)
  39. FPDOC=../utils/fpdoc/fpdoc
  40. else
  41. FPDOC=fpdoc
  42. endif
  43. endif
  44. endif
  45. ifndef FPCSRCDIR
  46. FPCSRCDIR=..
  47. endif
  48. # Use Ascii mode ? (i.e. no pics in produced HTML ?)
  49. ifndef ASCIIMODE
  50. ASCIIMODE=NO
  51. endif
  52. #######################################################################
  53. # LaTeX Program definitions
  54. #######################################################################
  55. # Latex itself
  56. ifndef LATEX
  57. LATEX = latex
  58. endif
  59. # DVI to PS converter
  60. ifndef DVIPS
  61. DVIPS=dvips
  62. endif
  63. # DVI to TXT converter
  64. ifndef DVITXT
  65. DVITXT=dvi2tty -w132
  66. endif
  67. # PDF converter
  68. ifndef PDFLATEX
  69. PDFLATEX=pdflatex
  70. endif
  71. # Makeindex programma
  72. ifndef MAKEINDEX
  73. MAKEINDEX=makeindex
  74. endif
  75. #######################################################################
  76. # Latex2html conversion.
  77. #######################################################################
  78. ifdef USEL2H
  79. # Command to use.
  80. ifndef LATEX2HTML
  81. LATEX2HTML = /usr/bin/latex2html
  82. endif
  83. # Default options for converter
  84. ifndef LATEX2HTMLOPTS
  85. LATEX2HTMLOPTS = -no_reuse -up_url "../fpctoc.html"\
  86. -up_title "Free Pascal manuals"\
  87. -html_version 4.0 -split 3
  88. endif
  89. ifeq ($(ASCIIMODE),YES)
  90. LATEX2HTMLOPTS+=-ascii_mode
  91. endif
  92. endif # USEL2H
  93. #######################################################################
  94. # HEVEA conversion.
  95. #######################################################################
  96. ifdef USEHEVEA
  97. # Hevea conversion.
  98. ifndef HEVEA
  99. HEVEA = /usr/bin/hevea
  100. endif
  101. ifeq ($(ASCIIMODE),YES)
  102. HEVEAOPTS+=-text
  103. endif
  104. endif # USEHEVEA
  105. # tmpdir
  106. export TMP=/tmp
  107. #
  108. PS = $(addsuffix .ps, $(DOCS))
  109. DVI = $(addsuffix .dvi, $(DOCS))
  110. TXT = $(addsuffix .txt, $(DOCS))
  111. PDF = $(addsuffix .pdf, $(DOCS))
  112. TOC = $(addsuffix .toc, $(DOCS))
  113. AUX = $(addsuffix .aux, $(DOCS))
  114. LOG = $(addsuffix .log, $(DOCS))
  115. LOT = $(addsuffix .lot, $(DOCS))
  116. OUT = $(addsuffix .out, $(DOCS))
  117. # Html files are build in a directory
  118. HTML = $(DOCS)
  119. CHK = $(addsuffix .chk, $(DOCS))
  120. #####################################################################
  121. # Conversion from types
  122. #####################################################################
  123. .PHONY: clean dvi help html ps psdist htmldist htmdist htdist pdfdist \
  124. txtdist htm txt pdf refex alldist messages onechap gtk \
  125. user ref prog rtl
  126. .SUFFIXES: .dvi .tex .ps .txt .pdf
  127. # default show help
  128. .dvi.ps:
  129. $(DVIPS) $<
  130. .tex.dvi:
  131. -rm $*.aux $*.idx $*.ilg $*.ind $*.log $*.out $*.toc $*.tmp $*.xref $*.4ht
  132. cp -f preamble.$(PREAMBLETYPE) preamble.inc
  133. $(LATEX) $*
  134. -$(MAKEINDEX) $*
  135. $(LATEX) $*
  136. -$(MAKEINDEX) $*
  137. $(LATEX) $*
  138. .dvi.txt:
  139. $(DVITXT) -o $*.txt $*.dvi
  140. .tex.pdf:
  141. -rm $*.aux $*.idx $*.ilg $*.ind $*.log $*.out $*.toc $*.tmp $*.xref $*.4ht
  142. cp -f preamble.$(PREAMBLETYPE) preamble.inc
  143. $(PDFLATEX) $*
  144. -$(MAKEINDEX) $*
  145. $(PDFLATEX) $*
  146. -$(MAKEINDEX) $*
  147. $(PDFLATEX) $*
  148. $(TXT) : %.txt: %.dvi
  149. $(DVI) : %.dvi: %.tex
  150. $(PDF) : %.pdf: %.tex
  151. #####################################################################
  152. # Targets
  153. #####################################################################
  154. help:
  155. @echo 'Possible targets :'
  156. @echo ' dvi : Make documentation using latex.'
  157. @echo ' ps : Make documentation using latex and dvips.'
  158. @echo ' html : Make HTML documentation using default converter.'
  159. @echo ' hevea : Make HTML documentation using hevea'
  160. @echo ' l2h : Make HTML documentation using latex2html'
  161. @echo ' 4ht : Make HTML documentation using tex4ht'
  162. @echo ' pdf : Make documentation using pdflatex'
  163. @echo ' txt : dvi, convert to text using dvi2tty'
  164. @echo ' htm : Convert .html to .htm files, zip result'
  165. @echo ' clean : Clean up the mess.'
  166. @echo ' examples : Comple all generic examples'
  167. @echo ' linuxexamples : Compile all examples for linux'
  168. @echo ' dosexamples : Compile all examples for dos'
  169. @echo ' execute : Execute examples (DOS/Windows/OS/2 only)'
  170. @echo ' htmldist : html, and rchive result.'
  171. @echo ' psdist : ps, and archive result.'
  172. @echo ' pdfdist : pdf, and archive result.'
  173. clean:
  174. -rm -f preamble.inc date.inc messages.inc rtl.inc
  175. -rm -f *.4tc *.4ct *.css *.lg *.tmp *.xref
  176. -rm -rf $(DOCS)
  177. -rm -f $(CHK) $(TOC) $(LOG) $(DVI) $(PDF) $(AUX) $(OUT) $(PS) $(HTML) *.i* $(LOT) $(TXT)
  178. # Styles
  179. -rm -f $(notdir $(wildcard styles/*.sty))
  180. distclean: clean cleanexamples
  181. -rm -f *.tar.gz *.zip
  182. #####################################################################
  183. # Include files
  184. #####################################################################
  185. date.inc:
  186. @echo \\date\{`date +'%B %Y'`\} > date.inc
  187. ../compiler/msg2inc$(EXEEXT):
  188. $(MAKE) -C ../compiler msg2inc
  189. messages.inc: ../compiler/msg2inc$(EXEEXT) ../compiler/msg/errore.msg
  190. ../compiler/msg2inc -TE ../compiler/msg/errore.msg messages.inc
  191. # Local copy of the required styles
  192. syntax.sty: styles/syntax.sty
  193. cp $(wildcard styles/*.sty) .
  194. # Default includes needed for all docs, don't include preamble.inc
  195. # because that is overwritten everytime with a new value and therefor
  196. # always more recent
  197. INCLUDES=date.inc syntax.sty
  198. #####################################################################
  199. # Tex from XML
  200. #####################################################################
  201. # Where is System.pp located
  202. SYSTEMUNITDIR=$(OS_SOURCE)
  203. ifeq ($(findstring bsd,$(OS_SOURCE)),)
  204. override SYSTEMUNITDIR=bsd
  205. endif
  206. ifeq ($(findstring darwin,$(OS_SOURCE)),)
  207. override SYSTEMUNITDIR=bsd
  208. endif
  209. HOSTOS=$(OS_SOURCE)
  210. # Classes.pp is in rtl/unix/ for several targets
  211. ifneq ($(findstring $(OS_SOURCE),linux freebsd darwin netbsd openbsd),)
  212. CLASSESUNITDIR=unix
  213. else
  214. CLASSESUNITDIR=$(OS_SOURCE)
  215. endif
  216. FCLOPTS=--package=fcl --descr=classes.xml --input='$(FPCSRCDIR)/rtl/$(OS_SOURCE)/classes.pp -Fi$(FPCSRCDIR)/rtl/objpas/classes'
  217. fcl.inc: classes.xml
  218. $(FPDOC) --output=fcl.inc $(FCLOPTS) --format=latex
  219. RTLOPTS=--package=rtl --descr=rtl.xml
  220. ifndef CURRENTXMLONLY
  221. XMLUNITS=sysutils strutils dateutils strings mouse keyboard \
  222. crt video dos sockets objects heaptrc mmx ipc printer typinfo \
  223. ports getopts emu387 dxeload go32 gpm graph oldlinux baseunix \
  224. unixtype unix classes unixutil x86 dynlibs linux math system\
  225. objpas dateutils rtl
  226. RTLXML=$(addsuffix .xml,$(XMLUNITS))
  227. RTLOPTS+= --descr=strutils.xml --input="../rtl/objpas/strutils.pp"
  228. RTLOPTS+= --descr=sysutils.xml --input="../rtl/unix/sysutils.pp -Fi../rtl/objpas/sysutils -Fi../rtl/inc"
  229. RTLOPTS+= --descr=strings.xml --input="../rtl/inc/strings.pp -Fi../rtl/i386 -Fi../rtl/inc"
  230. RTLOPTS+= --descr=mouse.xml --input="../rtl/unix/mouse.pp -Fi../rtl/inc"
  231. RTLOPTS+= --descr=keyboard.xml --input="../rtl/unix/keyboard.pp -Fi../rtl/inc"
  232. RTLOPTS+= --descr=crt.xml --input="../rtl/unix/crt.pp -Fi../rtl/inc"
  233. RTLOPTS+= --descr=video.xml --input="../rtl/unix/video.pp -Fi../rtl/inc"
  234. RTLOPTS+= --descr=dos.xml --input="../rtl/unix/dos.pp -Fi../rtl/inc -dcpui386"
  235. RTLOPTS+= --descr=sockets.xml --input="-dver1_0 ../rtl/unix/sockets.pp -Fi../rtl/inc -Fi../rtl/$(OS_SOURCE)"
  236. RTLOPTS+= --descr=objects.xml --input="../rtl/inc/objects.pp -Fi../rtl/i386 -Fi../rtl/$(OS_SOURCE)"
  237. RTLOPTS+= --descr=heaptrc.xml --input="../rtl/inc/heaptrc.pp -Fi../rtl/i386 -Fi../rtl/$(OS_SOURCE)"
  238. RTLOPTS+= --descr=mmx.xml --input="../rtl/i386/mmx.pp -Fi../rtl/$(OS_SOURCE)"
  239. RTLOPTS+= --descr=ipc.xml --input="../rtl/unix/ipc.pp -Fi../rtl/$(OS_SOURCE)"
  240. RTLOPTS+= --descr=printer.xml --input="../rtl/unix/printer.pp -Fi../rtl/$(OS_SOURCE) -Fi../rtl/inc"
  241. RTLOPTS+= --descr=typinfo.xml --input="../rtl/objpas/typinfo.pp -Fi../rtl/$(OS_SOURCE)"
  242. RTLOPTS+= --descr=ports.xml --input="../rtl/unix/ports.pp -Fi../rtl/$(OS_SOURCE)"
  243. RTLOPTS+= --descr=getopts.xml --input="../rtl/inc/getopts.pp -Fi../rtl/$(OS_SOURCE)"
  244. RTLOPTS+= --descr=emu387.xml --input="../rtl/go32v2/emu387.pp -Fi../rtl/i386"
  245. RTLOPTS+= --descr=dxeload.xml --input="../rtl/go32v2/dxeload.pp -Fi../rtl/i386"
  246. RTLOPTS+= --descr=go32.xml --input="../rtl/go32v2/go32.pp -Fi../rtl/i386"
  247. RTLOPTS+= --descr=gpm.xml --input="-dVER1_0 ../rtl/linux/gpm.pp -Fi../rtl/i386"
  248. RTLOPTS+= --descr=graph.xml --input="../rtl/unix/graph.pp -Fi../rtl/i386 -Fi../rtl/inc/graph"
  249. RTLOPTS+= --descr=oldlinux.xml --input="../rtl/unix/oldlinux.pp -Fi../rtl/linux -Fi../rtl/unix"
  250. RTLOPTS+= --descr=unixtype.xml --input="../rtl/unix/unixtype.pp -Fi../rtl/unix -Fi../rtl/linux -Fi../rtl/linux/i386"
  251. RTLOPTS+= --descr=baseunix.xml --input="../rtl/unix/baseunix.pp -Fi../rtl/unix -Fi../rtl/linux -Fi../rtl/linux/i386"
  252. RTLOPTS+= --descr=unix.xml --input="../rtl/unix/unix.pp -Fi../rtl/unix -Fi../rtl/linux -Fi../rtl/linux/i386"
  253. RTLOPTS+= --descr=classes.xml --input='$(FPCSRCDIR)/rtl/$(CLASSESUNITDIR)/classes.pp -Fi$(FPCSRCDIR)/rtl/objpas/classes'
  254. RTLOPTS+= --descr=unixutil.xml --input="../rtl/unix/unixutil.pp"
  255. RTLOPTS+= --descr=x86.xml --input="../rtl/unix/x86.pp"
  256. RTLOPTS+= --descr=dynlibs.xml --input="../rtl/inc/dynlibs.pp -Fi../rtl/unix"
  257. RTLOPTS+= --descr=linux.xml --input="../rtl/unix/linux.pp -Fi../rtl/linux -Fi../rtl/unix"
  258. RTLOPTS+= --descr=math.xml --input="../rtl/objpas/math.pp -Fi../rtl/i386 -dFPC_HAS_TYPE_EXTENDED"
  259. RTLOPTS+= --descr=system.xml --input="-dfpdocsystem -dHASGETHEAPSTATUS -dSUPPORT_DOUBLE ../rtl/$(SYSTEMUNITDIR)/system.pp -Fi../rtl/$(OS_SOURCE) -Fi../rtl/unix -Fi../rtl/inc -Fi../rtl/i386 -dCPU32 -dHASVARIANT -dFPC_HAS_TYPE_EXTENDED -dHASWIDECHAR"
  260. RTLOPTS+=--descr=objpas.xml --input="-dHASINTF ../rtl/objpas/objpas.pp"
  261. RTLOPTS+=--descr=dateutils.xml --input="../rtl/objpas/dateutils.pp -Fi../rtl/objpas"
  262. else
  263. RTLXML=dateutils.xml
  264. RTLOPTS+=--descr=dateutils.xml --input="../rtl/objpas/dateutils.pp -Fi../rtl/objpas"
  265. endif
  266. rtl.inc: $(RTLXML)
  267. $(FPDOC) --output=rtl.inc $(RTLOPTS) --format=latex
  268. #####################################################################
  269. # DVI files
  270. #####################################################################
  271. ref.dvi: ref.tex $(INCLUDES)
  272. prog.dvi: prog.tex $(INCLUDES)
  273. user.dvi: user.tex $(INCLUDES) messages.inc
  274. fpdoc.dvi: fpdoc.tex $(INCLUDES)
  275. fcl.dvi: fcl.tex fcl.inc $(INCLUDES)
  276. chart.dvi: chart.tex
  277. ref.pdf: ref.tex $(INCLUDES)
  278. user.pdf: user.tex $(INCLUDES) messages.inc
  279. prog.pdf: prog.tex $(INCLUDES)
  280. onechap.pdf: onechap.tex $(INCLUDES)
  281. onechap.dvi: onechap.tex $(INCLUDES)
  282. fpdoc.pdf: fpdoc.tex $(INCLUDES)
  283. fcl.pdf: fcl.tex fcl.inc $(INCLUDES)
  284. chart.pdf: chart.tex
  285. rtl.dvi: rtl.tex rtl.inc $(INCLUDES)
  286. rtl.pdf: rtl.tex rtl.inc $(INCLUDES)
  287. dvi : $(DVI)
  288. txt : dvi $(TXT)
  289. ps : dvi $(PS)
  290. pdf : $(PDF)
  291. all : dvi ps pdf txt html
  292. #######################################################################
  293. # HTML creation
  294. #######################################################################
  295. .PHONY: htex user prog onechap ref internal html hevea
  296. ifdef INSTALLDEBUG
  297. #######################################################################
  298. # Installation debugging
  299. $(HTML):
  300. mkdir $@
  301. cp [email protected] $@/index.html
  302. html: $(HTML)
  303. else
  304. #######################################################################
  305. # Automatic selection. Default tex4ht
  306. ifdef USEHEVEA
  307. include Makefile.hev
  308. else
  309. ifdef USEL2H
  310. include Makefile.l2h
  311. else
  312. include Makefile.4ht
  313. endif # USEL2H
  314. endif # USEHEVEA
  315. #fcl.chk: classes.xml
  316. # $(FPDOC) $(FCLOPTS) --format=html --output=fcl
  317. # touch fcl.chk
  318. rtl.chk: $(RTLXML)
  319. $(FPDOC) $(RTLOPTS) --format=html --output=rtl
  320. touch rtl.chk
  321. user.chk: $(INCLUDES) user.tex messages.inc
  322. prog.chk: $(INCLUDES) prog.tex
  323. onechap.chk: $(INCLUDES) onechap.tex
  324. ref.chk: $(INCLUDES) ref.tex
  325. fpdoc.chk: $(INCLUDES) fpdoc.tex
  326. chart.chk: $(INCLUDES) chart.tex
  327. html: $(INCLUDES) $(CHK)
  328. endif # INSTALLDEBUG
  329. #######################################################################
  330. # Targets to force using a specific tool.
  331. hevea:
  332. $(MAKE) html USEHEVEA=1
  333. l2h:
  334. $(MAKE) html USEL2H=1
  335. 4ht:
  336. $(MAKE) html USETEX4HT=1
  337. #####################################################################
  338. # GTK Articles
  339. #####################################################################
  340. GTKPDF=$(addsuffix .pdf,$(addprefix gtk, 1 2 3 4 5))
  341. gtk: $(GTKPDF)
  342. gtk1.pdf: gtk1.tex
  343. gtk2.pdf: gtk2.tex
  344. gtk3.pdf: gtk3.tex
  345. gtk4.pdf: gtk4.tex
  346. gtk5.pdf: gtk5.tex
  347. #####################################################################
  348. # Installation
  349. #####################################################################
  350. .PHONY: pdfinstall psinstall dviinstall txtinstall
  351. pdfinstall: pdf
  352. install -d -m 755 $(INSTALL_DOCDIR)
  353. cp $(PDF) $(INSTALL_DOCDIR)
  354. psinstall: ps
  355. install -d -m 755 $(INSTALL_DOCDIR)
  356. cp $(PS) $(INSTALL_DOCDIR)
  357. dviinstall: dvi
  358. install -d -m 755 $(INSTALL_DOCDIR)
  359. cp $(DVI) $(INSTALL_DOCDIR)
  360. txtinstall: txt
  361. install -d -m 755 $(INSTALL_DOCDIR)
  362. cp $(TXT) $(INSTALL_DOCDIR)
  363. htmlinstall: html
  364. install -d -m 755 $(INSTALL_DOCDIR)
  365. cp fpctoc.html $(INSTALL_DOCDIR)
  366. cp -R buttons $(INSTALL_DOCDIR)
  367. cp -R pics $(INSTALL_DOCDIR)
  368. cp -R $(HTML) $(INSTALL_DOCDIR)
  369. find $(INSTALL_DOCDIR) -name 'CVS' -or -name '*.eps' | xargs -n1 rm -rf
  370. install:
  371. @echo Choose install from:
  372. @echo pdfinstall,htmlinstall,htmldosinstall
  373. @exit
  374. #####################################################################
  375. # Distribution archives/packages
  376. #####################################################################
  377. pstar:
  378. $(MAKE) zipinstall ZIPTARGET=psinstall UNIXHier=1 USETAR=y FULLZIPNAME=doc-ps
  379. pszip:
  380. $(MAKE) zipinstall ZIPTARGET=psinstall UNIXHier= USEZIP=y FULLZIPNAME=doc-ps
  381. pdftar:
  382. $(MAKE) zipinstall ZIPTARGET=pdfinstall UNIXHier=1 USETAR=y FULLZIPNAME=doc-pdf
  383. pdfzip:
  384. $(MAKE) zipinstall ZIPTARGET=pdfinstall UNIXHier= USEZIP=y FULLZIPNAME=doc-pdf
  385. dvizip:
  386. $(MAKE) zipinstall ZIPTARGET=dviinstall UNIXHier= USEZIP=y FULLZIPNAME=doc-dvi
  387. txtzip:
  388. $(MAKE) zipinstall ZIPTARGET=txtinstall UNIXHier= USEZIP=y FULLZIPNAME=doc-txt
  389. htmltar:
  390. $(MAKE) zipinstall ZIPTARGET=htmlinstall UNIXHier=1 USETAR=y FULLZIPNAME=doc-html
  391. htmlzip:
  392. $(MAKE) zipinstall ZIPTARGET=htmlinstall UNIXHier= USEZIP=y FULLZIPNAME=doc-html
  393. psdist: pszip pstar
  394. pdfdist: pdfzip pdftar
  395. txtdist: txtzip
  396. dvidist: dvizip
  397. htmldist: htmlzip htmltar
  398. alldist: dvidist psdist txtdist pdfdist htmldist
  399. #####################################################################
  400. # Examples
  401. #####################################################################
  402. examples:
  403. $(MAKE) -C crtex
  404. $(MAKE) -C dosex
  405. $(MAKE) -C optex
  406. $(MAKE) -C mathex
  407. $(MAKE) -C printex
  408. $(MAKE) -C progex
  409. $(MAKE) -C refex
  410. $(MAKE) -C stringex
  411. $(MAKE) -C objectex
  412. $(MAKE) -C sysutex
  413. $(MAKE) -C typinfex
  414. $(MAKE) -C kbdex
  415. cleanexamples:
  416. $(MAKE) -C crtex clean
  417. $(MAKE) -C dosex clean
  418. $(MAKE) -C optex clean
  419. $(MAKE) -C mathex clean
  420. $(MAKE) -C printex clean
  421. $(MAKE) -C progex clean
  422. $(MAKE) -C refex clean
  423. $(MAKE) -C stringex clean
  424. $(MAKE) -C objectex clean
  425. $(MAKE) -C sysutex clean
  426. $(MAKE) -C typinfex clean
  427. $(MAKE) -C kbdex clean
  428. dosexamples: examples
  429. $(MAKE) -C go32ex
  430. $(MAKE) -C mouseex
  431. linuxexamples: examples
  432. $(MAKE) -C linuxex
  433. $(MAKE) -C sockex
  434. $(MAKE) -C ipcex
  435. execute:
  436. $(MAKE) -C dosex all
  437. $(MAKE) -C dosex execute
  438. $(MAKE) -C refex all
  439. $(MAKE) -C refex execute
  440. $(MAKE) -C mathex all
  441. $(MAKE) -C mathex execute
  442. $(MAKE) -C stringex all
  443. $(MAKE) -C stringex execute
  444. $(MAKE) -C objectex all
  445. $(MAKE) -C objectex execute
  446. $(MAKE) -C sysutex all
  447. $(MAKE) -C sysutex execute
  448. $(MAKE) -C typinfex all
  449. $(MAKE) -C typinfex execute
  450. #
  451. # $Log$
  452. # Revision 1.12 2005-05-05 12:59:59 peter
  453. # * 2.0.0
  454. #
  455. # Revision 1.11 2005/02/20 00:38:28 michael
  456. # + Changed tar.gz names to resemble zip names
  457. #
  458. # Revision 1.10 2005/02/19 22:24:47 peter
  459. # * updated html target
  460. #
  461. # Revision 1.9 2005/02/18 23:04:15 michael
  462. # + Fixed psdist target zip names
  463. #
  464. # Revision 1.8 2005/02/14 17:53:11 peter
  465. # * baseunix moved to unix
  466. #
  467. # Revision 1.7 2005/02/11 16:26:38 peter
  468. # * fix previous commit
  469. #
  470. # Revision 1.6 2005/02/11 16:25:37 peter
  471. # * classes in unix dir
  472. #
  473. # Revision 1.5 2005/02/07 21:05:58 michael
  474. # + Small fix for classes.pp
  475. #
  476. # Revision 1.4 2005/02/07 20:39:19 peter
  477. # fix zip names
  478. #
  479. # Revision 1.3 2005/02/06 21:02:12 peter
  480. # * updated for current rtl
  481. #
  482. # Revision 1.2 2005/01/10 22:49:56 armin
  483. # * updated makefile.fpc versions to 1.9.7, regenerated makefiles
  484. #
  485. # Revision 1.1 2005/01/09 20:14:33 peter
  486. # * build messages.inc from errore.msg
  487. # * new zip and tar targets
  488. # * use fpcmake generated Makefile
  489. #
  490. # Revision 1.38 2004/12/30 13:48:53 michael
  491. # + Fixed warnings, completed dateutils
  492. #
  493. # Revision 1.37 2004/12/22 08:47:31 marco
  494. # * bsd system unit location fix. Hope it works for Darwin too
  495. #
  496. # Revision 1.36 2004/12/21 22:58:24 michael
  497. # + Added dateutils functions
  498. #
  499. # Revision 1.35 2004/12/19 20:20:16 peter
  500. # * includes variable instead of target to prevent always rebuilding
  501. # * also build fcl.pdf
  502. #
  503. # Revision 1.34 2004/12/15 22:14:14 michael
  504. # + Make targets fixed (hopefully)
  505. #