Add x86_64 cpu specific units

git-svn-id: trunk@21371 -
This commit is contained in:
pierre 2012-05-23 09:13:06 +00:00
parent 312c6bb7f8
commit 7a9f1556e2

View File

@ -85,10 +85,11 @@ ifndef USELIBGGI
USELIBGGI=NO
endif
ifeq ($(CPU_TARGET),i386)
ifeq ($(ARCH),x86_64)
CPU_UNITS=x86 ports cpu
endif
ifeq ($(ARCH),i386)
CPU_UNITS=x86 ports cpu mmx
else
CPU_UNITS=
endif
@ -241,7 +242,11 @@ macpas$(PPUEXT) : $(INC)/macpas.pp objpas$(PPUEXT) math$(PPUEXT)
# Other system-independent RTL Units
#
ifeq ($(ARCH),x86_64)
cpu$(PPUEXT) : $(PROCINC)/cpu.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT)
else
cpu$(PPUEXT) : $(PROCINC)/cpu.pp $(SYSTEMUNIT)$(PPUEXT)
endif
mmx$(PPUEXT) : $(PROCINC)/mmx.pp cpu$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)