mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 13:18:25 +02:00
60 lines
1.3 KiB
Makefile
60 lines
1.3 KiB
Makefile
#
|
|
# Makefile.fpc for Free Pascal testing utilities
|
|
#
|
|
|
|
[install]
|
|
fpcpackage=y
|
|
|
|
[default]
|
|
fpcdir=../..
|
|
|
|
[require]
|
|
# We depend on the installed compiler with it's fpc.cfg
|
|
nortl=y
|
|
|
|
[target]
|
|
programs=dotest fptime fail testfail digest concat $(DBDIGEST) $(MSDOSPROG)
|
|
programs_win32=prepup
|
|
programs_win64=prepup
|
|
programs_go32v2=prepup
|
|
|
|
[clean]
|
|
programs=dbdigest dbconfig dosbox/dosbox_wrapper
|
|
|
|
[prerules]
|
|
|
|
ifneq ($(findstring dosbox_wrapper,$(EMULATOR)),)
|
|
MSDOSPROG=dosbox/dosbox_wrapper
|
|
else
|
|
MSDOSPROG=
|
|
endif
|
|
|
|
[rules]
|
|
.NOTPARALLEL:
|
|
|
|
utils: all
|
|
|
|
dbconfig$(SRCEXEEXT): dbconfig.pp tsstring$(PPUEXT) tsutils$(PPUEXT) tstypes$(PPUEXT) tsdb$(PPUEXT)
|
|
$(COMPILER) $<
|
|
|
|
dbdigest$(SRCEXEEXT): dbdigest.pp digestanalyst$(PPUEXT) tsstring$(PPUEXT) tsutils$(PPUEXT) tstypes$(PPUEXT) tsdb$(PPUEXT)
|
|
$(COMPILER) $<
|
|
|
|
digest$(SRCEXEEXT): digest.pp tsstring$(PPUEXT)
|
|
$(COMPILER) $<
|
|
|
|
dosbox/dosbox_wrapper$(SRCEXEEXT): dosbox/dosbox_wrapper.pas
|
|
$(COMPILER) -FE./dosbox $<
|
|
|
|
dotest$(SRCEXEEXT): dotest.pp bench$(PPUEXT) tsstring$(PPUEXT) redir$(PPUEXT) tsutils$(PPUEXT)
|
|
$(COMPILER) $<
|
|
|
|
fptime$(SRCEXEEXT): fptime.pp bench$(PPUEXT)
|
|
$(COMPILER) $<
|
|
|
|
testfail$(SRCEXEEXT): testfail.pp redir$(PPUEXT)
|
|
$(COMPILER) $<
|
|
|
|
utilsdb:
|
|
$(MAKE) utils DBDIGEST="dbdigest dbconfig"
|