Makefile 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. #
  2. # Makefile generated by fpcmake v0.99.13 [2000/01/14]
  3. #
  4. defaultrule: all
  5. #####################################################################
  6. # Autodetect OS (Linux or Dos or Windows NT)
  7. # define inlinux when running under linux
  8. # define inWinNT when running under WinNT
  9. #####################################################################
  10. # We need only / in the path
  11. override PATH:=$(subst \,/,$(PATH))
  12. # Search for PWD and determine also if we are under linux
  13. PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(subst ;, ,$(PATH)))))
  14. ifeq ($(PWD),)
  15. PWD:=$(strip $(wildcard $(addsuffix /pwd,$(subst :, ,$(PATH)))))
  16. ifeq ($(PWD),)
  17. nopwd:
  18. @echo You need the GNU utils package to use this Makefile!
  19. @echo Get ftp://ftp.freepascal.org/pub/fpc/dist/go32v2/utilgo32.zip
  20. @exit
  21. else
  22. inlinux=1
  23. endif
  24. else
  25. PWD:=$(firstword $(PWD))
  26. endif
  27. # Detect NT - NT sets OS to Windows_NT
  28. ifndef inlinux
  29. ifeq ($(OS),Windows_NT)
  30. inWinNT=1
  31. endif
  32. endif
  33. # Detect OS/2 - OS/2 has OS2_SHELL defined
  34. ifndef inlinux
  35. ifndef inWinNT
  36. ifdef OS2_SHELL
  37. inOS2=1
  38. endif
  39. endif
  40. endif
  41. # The extension of executables
  42. ifdef inlinux
  43. EXEEXT=
  44. else
  45. EXEEXT=.exe
  46. endif
  47. # The path which is searched separated by spaces
  48. ifdef inlinux
  49. SEARCHPATH=$(subst :, ,$(PATH))
  50. else
  51. SEARCHPATH=$(subst ;, ,$(PATH))
  52. endif
  53. # Base dir
  54. ifdef PWD
  55. BASEDIR:=$(shell $(PWD))
  56. else
  57. BASEDIR=.
  58. endif
  59. #####################################################################
  60. # FPC version/target Detection
  61. #####################################################################
  62. # What compiler to use ?
  63. ifndef FPC
  64. # Compatibility with old makefiles
  65. ifdef PP
  66. FPC=$(PP)
  67. else
  68. ifdef inOS2
  69. FPC=ppos2$(EXEEXT)
  70. else
  71. FPC=ppc386$(EXEEXT)
  72. endif
  73. endif
  74. endif
  75. # Target OS
  76. ifndef OS_TARGET
  77. OS_TARGET:=$(shell $(FPC) -iTO)
  78. endif
  79. # Source OS
  80. ifndef OS_SOURCE
  81. OS_SOURCE:=$(shell $(FPC) -iSO)
  82. endif
  83. # Target CPU
  84. ifndef CPU_TARGET
  85. CPU_TARGET:=$(shell $(FPC) -iTP)
  86. endif
  87. # Source CPU
  88. ifndef CPU_SOURCE
  89. CPU_SOURCE:=$(shell $(FPC) -iSP)
  90. endif
  91. # FPC version
  92. ifndef FPC_VERSION
  93. FPC_VERSION:=$(shell $(FPC) -iV)
  94. endif
  95. export FPC OS_TARGET OS_SOURCE CPU_TARGET CPU_SOURCE FPC_VERSION
  96. #####################################################################
  97. # FPCDIR Setting
  98. #####################################################################
  99. # Test FPCDIR to look if the RTL dir exists
  100. ifdef FPCDIR
  101. override FPCDIR:=$(subst \,/,$(FPCDIR))
  102. ifeq ($(wildcard $(FPCDIR)/rtl),)
  103. override FPCDIR=wrong
  104. endif
  105. else
  106. override FPCDIR=wrong
  107. endif
  108. # Detect FPCDIR
  109. ifeq ($(FPCDIR),wrong)
  110. ifdef inlinux
  111. override FPCDIR=/usr/lib/fpc/$(FPC_VERSION)
  112. else
  113. override FPCDIR:=$(subst /$(FPC)$(EXEEXT),,$(firstword $(strip $(wildcard $(addsuffix /$(FPC)$(EXEEXT),$(SEARCHPATH))))))
  114. endif
  115. endif
  116. #####################################################################
  117. # User Settings
  118. #####################################################################
  119. # Targets
  120. override DIROBJECTS+=$(wildcard go32v2 linux win32 os2 test)
  121. # Clean
  122. # Install
  123. PACKAGENAME=api
  124. ZIPTARGET=install
  125. # Defaults
  126. # Directories
  127. # Packages
  128. # Libraries
  129. #####################################################################
  130. # Shell tools
  131. #####################################################################
  132. # echo
  133. ifndef ECHO
  134. ECHO:=$(strip $(wildcard $(addsuffix /gecho$(EXEEXT),$(SEARCHPATH))))
  135. ifeq ($(ECHO),)
  136. ECHO:=$(strip $(wildcard $(addsuffix /echo$(EXEEXT),$(SEARCHPATH))))
  137. ifeq ($(ECHO),)
  138. ECHO:=echo
  139. else
  140. ECHO:=$(firstword $(ECHO))
  141. endif
  142. else
  143. ECHO:=$(firstword $(ECHO))
  144. endif
  145. endif
  146. # To copy pograms
  147. ifndef COPY
  148. COPY:=cp -fp
  149. endif
  150. # Copy a whole tree
  151. ifndef COPYTREE
  152. COPYTREE:=cp -rfp
  153. endif
  154. # To move pograms
  155. ifndef MOVE
  156. MOVE:=mv -f
  157. endif
  158. # Check delete program
  159. ifndef DEL
  160. DEL:=rm -f
  161. endif
  162. # Check deltree program
  163. ifndef DELTREE
  164. DELTREE:=rm -rf
  165. endif
  166. # To install files
  167. ifndef INSTALL
  168. ifdef inlinux
  169. INSTALL:=install -m 644
  170. else
  171. INSTALL:=$(COPY)
  172. endif
  173. endif
  174. # To install programs
  175. ifndef INSTALLEXE
  176. ifdef inlinux
  177. INSTALLEXE:=install -m 755
  178. else
  179. INSTALLEXE:=$(COPY)
  180. endif
  181. endif
  182. # To make a directory.
  183. ifndef MKDIR
  184. ifdef inlinux
  185. MKDIR:=install -m 755 -d
  186. else
  187. MKDIR:=ginstall -m 755 -d
  188. endif
  189. endif
  190. export ECHO COPY COPYTREE MOVE DEL DELTREE INSTALL INSTALLEXE MKDIR
  191. #####################################################################
  192. # Default Tools
  193. #####################################################################
  194. # assembler, redefine it if cross compiling
  195. ifndef AS
  196. AS=as
  197. endif
  198. # linker, but probably not used
  199. ifndef LD
  200. LD=ld
  201. endif
  202. # ppas.bat / ppas.sh
  203. ifdef inlinux
  204. PPAS=ppas.sh
  205. else
  206. ifdef inOS2
  207. PPAS=ppas.cmd
  208. else
  209. PPAS=ppas.bat
  210. endif
  211. endif
  212. # also call ppas if with command option -s
  213. ifeq (,$(findstring -s ,$(COMPILER)))
  214. EXECPPAS=
  215. else
  216. EXECPPAS:=@$(PPAS)
  217. endif
  218. # ldconfig to rebuild .so cache
  219. ifdef inlinux
  220. LDCONFIG=ldconfig
  221. else
  222. LDCONFIG=
  223. endif
  224. # ZipProg, you can't use Zip as the var name (PFV)
  225. ifndef ZIPPROG
  226. ZIPPROG:=$(strip $(wildcard $(addsuffix /zip$(EXEEXT),$(SEARCHPATH))))
  227. ifeq ($(ZIPPROG),)
  228. ZIPPROG=
  229. else
  230. ZIPPROG:=$(firstword $(ZIPPROG)) -D9 -r
  231. endif
  232. endif
  233. export ZIPPROG
  234. ZIPOPT=-9
  235. ZIPEXT=.zip
  236. # Tar
  237. ifndef TARPROG
  238. TARPROG:=$(strip $(wildcard $(addsuffix /tar$(EXEEXT),$(SEARCHPATH))))
  239. ifeq ($(TARPROG),)
  240. TARPROG=
  241. else
  242. TARPROG:=$(firstword $(TARPROG))
  243. endif
  244. endif
  245. export TARPROG
  246. ifeq ($(USETAR),bz2)
  247. TAROPT=vI
  248. TAREXT=.tar.bz2
  249. else
  250. TAROPT=vz
  251. TAREXT=.tar.gz
  252. endif
  253. #####################################################################
  254. # Default Directories
  255. #####################################################################
  256. # set the prefix directory where to install everything
  257. ifndef PREFIXINSTALLDIR
  258. ifdef inlinux
  259. PREFIXINSTALLDIR=/usr
  260. else
  261. PREFIXINSTALLDIR=/pp
  262. endif
  263. endif
  264. export PREFIXINSTALLDIR
  265. # Where to place the resulting zip files
  266. ifndef DESTZIPDIR
  267. DESTZIPDIR:=$(BASEDIR)
  268. endif
  269. export DESTZIPDIR
  270. #####################################################################
  271. # Install Directories
  272. #####################################################################
  273. # set the base directory where to install everything
  274. ifndef BASEINSTALLDIR
  275. ifdef inlinux
  276. BASEINSTALLDIR=$(PREFIXINSTALLDIR)/lib/fpc/$(FPC_VERSION)
  277. else
  278. BASEINSTALLDIR=$(PREFIXINSTALLDIR)
  279. endif
  280. endif
  281. # set the directory where to install the binaries
  282. ifndef BININSTALLDIR
  283. ifdef inlinux
  284. BININSTALLDIR=$(PREFIXINSTALLDIR)/bin
  285. else
  286. BININSTALLDIR=$(BASEINSTALLDIR)/bin/$(OS_TARGET)
  287. endif
  288. endif
  289. # set the directory where to install the units.
  290. ifndef UNITINSTALLDIR
  291. UNITINSTALLDIR=$(BASEINSTALLDIR)/units/$(OS_TARGET)
  292. ifdef UNITSUBDIR
  293. UNITINSTALLDIR:=$(UNITINSTALLDIR)/$(UNITSUBDIR)
  294. endif
  295. endif
  296. # Where to install shared libraries
  297. ifndef LIBINSTALLDIR
  298. ifdef inlinux
  299. LIBINSTALLDIR=$(PREFIXINSTALLDIR)/lib
  300. else
  301. LIBINSTALLDIR=$(UNITINSTALLDIR)
  302. endif
  303. endif
  304. # Where the source files will be stored
  305. ifndef SOURCEINSTALLDIR
  306. ifdef inlinux
  307. SOURCEINSTALLDIR=$(PREFIXINSTALLDIR)/src/fpc-$(FPC_VERSION)
  308. else
  309. SOURCEINSTALLDIR=$(BASEINSTALLDIR)/source
  310. endif
  311. ifdef SOURCESUBDIR
  312. SOURCEINSTALLDIR:=$(SOURCEINSTALLDIR)/$(SOURCESUBDIR)
  313. endif
  314. endif
  315. # Where the doc files will be stored
  316. ifndef DOCINSTALLDIR
  317. ifdef inlinux
  318. DOCINSTALLDIR=$(PREFIXINSTALLDIR)/doc/fpc-$(FPC_VERSION)
  319. else
  320. DOCINSTALLDIR=$(BASEINSTALLDIR)/doc
  321. endif
  322. endif
  323. # Where the some extra (data)files will be stored
  324. ifndef DATAINSTALLDIR
  325. DATAINSTALLDIR=$(BASEINSTALLDIR)
  326. endif
  327. #####################################################################
  328. # Redirection
  329. #####################################################################
  330. # Release ? Then force OPT and don't use extra opts via commandline
  331. ifndef REDIRFILE
  332. REDIRFILE=log
  333. endif
  334. ifdef REDIR
  335. ifndef inlinux
  336. override FPC=redir -eo $(FPC)
  337. endif
  338. # set the verbosity to max
  339. override FPCOPT+=-va
  340. override REDIR:= >> $(REDIRFILE)
  341. endif
  342. #####################################################################
  343. # Standard rules
  344. #####################################################################
  345. all: $(addsuffix _all,$(OS_TARGET))
  346. debug: $(addsuffix _debug,$(OS_TARGET))
  347. examples: $(addsuffix _examples,$(OS_TARGET))
  348. test: $(addsuffix _test,$(OS_TARGET))
  349. smart: $(addsuffix _smart,$(OS_TARGET))
  350. shared: $(addsuffix _shared,$(OS_TARGET))
  351. showinstall: $(addsuffix _showinstall,$(OS_TARGET))
  352. install: $(addsuffix _install,$(OS_TARGET))
  353. sourceinstall: fpc_sourceinstall
  354. zipinstall: fpc_zipinstall $(addsuffix _zipinstall,$(OS_TARGET))
  355. zipsourceinstall: fpc_zipsourceinstall
  356. clean: $(addsuffix _clean,$(OS_TARGET))
  357. cleanall: $(addsuffix _cleanall,$(OS_TARGET))
  358. require: $(addsuffix _require,$(OS_TARGET))
  359. info: $(addsuffix _info,$(OS_TARGET))
  360. .PHONY: all debug examples test smart shared showinstall install sourceinstall zipinstall zipsourceinstall clean cleanall require info
  361. #####################################################################
  362. # SourceInstall rules
  363. #####################################################################
  364. .PHONY: fpc_sourceinstall
  365. ifndef SOURCETOPDIR
  366. SOURCETOPDIR=$(BASEDIR)
  367. endif
  368. fpc_sourceinstall: clean
  369. $(MKDIR) $(SOURCEINSTALLDIR)
  370. $(COPYTREE) $(SOURCETOPDIR) $(SOURCEINSTALLDIR)
  371. #####################################################################
  372. # Zip
  373. #####################################################################
  374. .PHONY: fpc_zipinstall
  375. # Create suffix to add
  376. ifndef PACKAGESUFFIX
  377. PACKAGESUFFIX=$(OS_TARGET)
  378. ifeq ($(OS_TARGET),go32v2)
  379. PACKAGESUFFIX=go32
  380. endif
  381. ifeq ($(OS_TARGET),win32)
  382. PACKAGESUFFIX=w32
  383. endif
  384. endif
  385. # Temporary path to pack a file
  386. ifndef PACKDIR
  387. ifndef inlinux
  388. PACKDIR=$(BASEDIR)/pack_tmp
  389. else
  390. PACKDIR=/tmp/fpc-pack
  391. endif
  392. endif
  393. # Maybe create default zipname from packagename
  394. ifndef ZIPNAME
  395. ifdef PACKAGENAME
  396. ZIPNAME=$(PACKAGEPREFIX)$(PACKAGENAME)$(PACKAGESUFFIX)
  397. endif
  398. endif
  399. # Use tar by default under linux
  400. ifndef USEZIP
  401. ifdef inlinux
  402. USETAR=1
  403. endif
  404. endif
  405. fpc_zipinstall:
  406. ifndef ZIPNAME
  407. @$(ECHO) "Please specify ZIPNAME!"
  408. @exit 1
  409. else
  410. $(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
  411. ifdef USETAR
  412. $(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT)
  413. cd $(PACKDIR) ; $(TARPROG) c$(TAROPT) --file $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT) * ; cd $(BASEDIR)
  414. else
  415. $(DEL) $(DESTZIPDIR)/$(ZIPNAME)/$(ZIPEXT)
  416. cd $(PACKDIR) ; $(ZIPPROG) -Dr $(ZIPOPT) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT) * ; cd $(BASEDIR)
  417. endif
  418. $(DELTREE) $(PACKDIR)
  419. endif
  420. .PHONY: fpc_zipsourceinstall
  421. fpc_zipsourceinstall:
  422. $(MAKE) fpc_zipinstall ZIPTARGET=sourceinstall PACKAGESUFFIX=src
  423. #####################################################################
  424. # Directories
  425. #####################################################################
  426. OBJECTDIRGO32V2=1
  427. OBJECTDIRLINUX=1
  428. OBJECTDIRWIN32=1
  429. OBJECTDIROS2=1
  430. OBJECTDIRTEST=1
  431. # Dir go32v2
  432. ifdef OBJECTDIRGO32V2
  433. .PHONY: go32v2_all go32v2_debug go32v2_examples go32v2_test go32v2_smart go32v2_shared go32v2_showinstall go32v2_install go32v2_sourceinstall go32v2_zipinstall go32v2_zipsourceinstall go32v2_clean go32v2_cleanall go32v2_require go32v2_info
  434. go32v2_all:
  435. $(MAKE) -C go32v2 all
  436. go32v2_debug:
  437. $(MAKE) -C go32v2 debug
  438. go32v2_examples:
  439. $(MAKE) -C go32v2 examples
  440. go32v2_test:
  441. $(MAKE) -C go32v2 test
  442. go32v2_smart:
  443. $(MAKE) -C go32v2 smart
  444. go32v2_shared:
  445. $(MAKE) -C go32v2 shared
  446. go32v2_showinstall:
  447. $(MAKE) -C go32v2 showinstall
  448. go32v2_install:
  449. $(MAKE) -C go32v2 install
  450. go32v2_sourceinstall:
  451. $(MAKE) -C go32v2 sourceinstall
  452. go32v2_zipinstall:
  453. $(MAKE) -C go32v2 zipinstall
  454. go32v2_zipsourceinstall:
  455. $(MAKE) -C go32v2 zipsourceinstall
  456. go32v2_clean:
  457. $(MAKE) -C go32v2 clean
  458. go32v2_cleanall:
  459. $(MAKE) -C go32v2 cleanall
  460. go32v2_require:
  461. $(MAKE) -C go32v2 require
  462. go32v2_info:
  463. $(MAKE) -C go32v2 info
  464. endif
  465. # Dir linux
  466. ifdef OBJECTDIRLINUX
  467. .PHONY: linux_all linux_debug linux_examples linux_test linux_smart linux_shared linux_showinstall linux_install linux_sourceinstall linux_zipinstall linux_zipsourceinstall linux_clean linux_cleanall linux_require linux_info
  468. linux_all:
  469. $(MAKE) -C linux all
  470. linux_debug:
  471. $(MAKE) -C linux debug
  472. linux_examples:
  473. $(MAKE) -C linux examples
  474. linux_test:
  475. $(MAKE) -C linux test
  476. linux_smart:
  477. $(MAKE) -C linux smart
  478. linux_shared:
  479. $(MAKE) -C linux shared
  480. linux_showinstall:
  481. $(MAKE) -C linux showinstall
  482. linux_install:
  483. $(MAKE) -C linux install
  484. linux_sourceinstall:
  485. $(MAKE) -C linux sourceinstall
  486. linux_zipinstall:
  487. $(MAKE) -C linux zipinstall
  488. linux_zipsourceinstall:
  489. $(MAKE) -C linux zipsourceinstall
  490. linux_clean:
  491. $(MAKE) -C linux clean
  492. linux_cleanall:
  493. $(MAKE) -C linux cleanall
  494. linux_require:
  495. $(MAKE) -C linux require
  496. linux_info:
  497. $(MAKE) -C linux info
  498. endif
  499. # Dir win32
  500. ifdef OBJECTDIRWIN32
  501. .PHONY: win32_all win32_debug win32_examples win32_test win32_smart win32_shared win32_showinstall win32_install win32_sourceinstall win32_zipinstall win32_zipsourceinstall win32_clean win32_cleanall win32_require win32_info
  502. win32_all:
  503. $(MAKE) -C win32 all
  504. win32_debug:
  505. $(MAKE) -C win32 debug
  506. win32_examples:
  507. $(MAKE) -C win32 examples
  508. win32_test:
  509. $(MAKE) -C win32 test
  510. win32_smart:
  511. $(MAKE) -C win32 smart
  512. win32_shared:
  513. $(MAKE) -C win32 shared
  514. win32_showinstall:
  515. $(MAKE) -C win32 showinstall
  516. win32_install:
  517. $(MAKE) -C win32 install
  518. win32_sourceinstall:
  519. $(MAKE) -C win32 sourceinstall
  520. win32_zipinstall:
  521. $(MAKE) -C win32 zipinstall
  522. win32_zipsourceinstall:
  523. $(MAKE) -C win32 zipsourceinstall
  524. win32_clean:
  525. $(MAKE) -C win32 clean
  526. win32_cleanall:
  527. $(MAKE) -C win32 cleanall
  528. win32_require:
  529. $(MAKE) -C win32 require
  530. win32_info:
  531. $(MAKE) -C win32 info
  532. endif
  533. # Dir os2
  534. ifdef OBJECTDIROS2
  535. .PHONY: os2_all os2_debug os2_examples os2_test os2_smart os2_shared os2_showinstall os2_install os2_sourceinstall os2_zipinstall os2_zipsourceinstall os2_clean os2_cleanall os2_require os2_info
  536. os2_all:
  537. $(MAKE) -C os2 all
  538. os2_debug:
  539. $(MAKE) -C os2 debug
  540. os2_examples:
  541. $(MAKE) -C os2 examples
  542. os2_test:
  543. $(MAKE) -C os2 test
  544. os2_smart:
  545. $(MAKE) -C os2 smart
  546. os2_shared:
  547. $(MAKE) -C os2 shared
  548. os2_showinstall:
  549. $(MAKE) -C os2 showinstall
  550. os2_install:
  551. $(MAKE) -C os2 install
  552. os2_sourceinstall:
  553. $(MAKE) -C os2 sourceinstall
  554. os2_zipinstall:
  555. $(MAKE) -C os2 zipinstall
  556. os2_zipsourceinstall:
  557. $(MAKE) -C os2 zipsourceinstall
  558. os2_clean:
  559. $(MAKE) -C os2 clean
  560. os2_cleanall:
  561. $(MAKE) -C os2 cleanall
  562. os2_require:
  563. $(MAKE) -C os2 require
  564. os2_info:
  565. $(MAKE) -C os2 info
  566. endif
  567. # Dir test
  568. ifdef OBJECTDIRTEST
  569. .PHONY: test_all test_debug test_examples test_test test_smart test_shared test_showinstall test_install test_sourceinstall test_zipinstall test_zipsourceinstall test_clean test_cleanall test_require test_info
  570. test_all:
  571. $(MAKE) -C test all
  572. test_debug:
  573. $(MAKE) -C test debug
  574. test_examples:
  575. $(MAKE) -C test examples
  576. test_test:
  577. $(MAKE) -C test test
  578. test_smart:
  579. $(MAKE) -C test smart
  580. test_shared:
  581. $(MAKE) -C test shared
  582. test_showinstall:
  583. $(MAKE) -C test showinstall
  584. test_install:
  585. $(MAKE) -C test install
  586. test_sourceinstall:
  587. $(MAKE) -C test sourceinstall
  588. test_zipinstall:
  589. $(MAKE) -C test zipinstall
  590. test_zipsourceinstall:
  591. $(MAKE) -C test zipsourceinstall
  592. test_clean:
  593. $(MAKE) -C test clean
  594. test_cleanall:
  595. $(MAKE) -C test cleanall
  596. test_require:
  597. $(MAKE) -C test require
  598. test_info:
  599. $(MAKE) -C test info
  600. endif
  601. #####################################################################
  602. # Local Makefile
  603. #####################################################################
  604. ifneq ($(wildcard fpcmake.loc),)
  605. include fpcmake.loc
  606. endif