Makefile 15 KB

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