mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-03-21 12:07:48 +01:00
Add rule to generate exitcode.exe dos/go32v2 binary, required by dosbox_wrapper
This commit is contained in:
parent
f523503828
commit
f4a413fabd
@ -2329,7 +2329,18 @@ ctest:
|
||||
@$(ECHO) "No C compiler found"
|
||||
@exit 1
|
||||
endif
|
||||
extra : erroru$(PPUEXT) ptest$(PPUEXT) popuperr$(PPUEXT)
|
||||
ifneq ($(findstring dosbox_wrapper,$(EMULATOR)),)
|
||||
MSDOS_EXITCODE_SRC=../utils/dosbox/exitcode.pas
|
||||
MSDOS_EXITCODE_PROG=../utils/dosbox/exitcode.exe
|
||||
else
|
||||
MSDOS_EXITCODE_SRC=
|
||||
MSDOS_EXITCODE_PROG=
|
||||
endif
|
||||
ifdef MSDOS_EXITCODE_PROG
|
||||
$(MSDOS_EXITCODE_PROG): $(MSDOS_EXITCODE_SRC)
|
||||
$(TESTCOMPILER) -Fu$(BASEDIR)/$(COMPILER_TARGETDIR) -o$(MSDOS_EXITCODE_PROG) $(MSDOS_EXITCODE_SRC)
|
||||
endif
|
||||
extra : erroru$(PPUEXT) ptest$(PPUEXT) popuperr$(PPUEXT) $(MSDOS_EXITCODE_PROG)
|
||||
PPULIST:=$(wildcard */*.ppu) $(wildcard units/*/*.ppu)
|
||||
PPULOGLIST:=$(subst .ppu,.log-ppu,$(PPULIST))
|
||||
RMPPULOGLIST:=$(subst .ppu,.rm-log-ppu,$(PPULIST))
|
||||
|
@ -163,8 +163,20 @@ ctest:
|
||||
@exit 1
|
||||
endif
|
||||
|
||||
ifneq ($(findstring dosbox_wrapper,$(EMULATOR)),)
|
||||
MSDOS_EXITCODE_SRC=../utils/dosbox/exitcode.pas
|
||||
MSDOS_EXITCODE_PROG=../utils/dosbox/exitcode.exe
|
||||
else
|
||||
MSDOS_EXITCODE_SRC=
|
||||
MSDOS_EXITCODE_PROG=
|
||||
endif
|
||||
|
||||
extra : erroru$(PPUEXT) ptest$(PPUEXT) popuperr$(PPUEXT)
|
||||
ifdef MSDOS_EXITCODE_PROG
|
||||
$(MSDOS_EXITCODE_PROG): $(MSDOS_EXITCODE_SRC)
|
||||
$(TESTCOMPILER) -Fu$(BASEDIR)/$(COMPILER_TARGETDIR) -o$(MSDOS_EXITCODE_PROG) $(MSDOS_EXITCODE_SRC)
|
||||
endif
|
||||
|
||||
extra : erroru$(PPUEXT) ptest$(PPUEXT) popuperr$(PPUEXT) $(MSDOS_EXITCODE_PROG)
|
||||
|
||||
|
||||
#####################################################################
|
||||
|
5
tests/tstunits/go32v2/Package.fpc
Normal file
5
tests/tstunits/go32v2/Package.fpc
Normal file
@ -0,0 +1,5 @@
|
||||
[package]
|
||||
name=rtl
|
||||
version=3.3.1
|
||||
[require]
|
||||
packages_go32v2_i386=
|
Loading…
Reference in New Issue
Block a user