mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 18:10:23 +02:00
Fix some WinApi rules for wince
This commit is contained in:
parent
e16364b567
commit
7245f74e9f
@ -54,8 +54,8 @@ RTL=..
|
|||||||
INC=$(RTL)/inc
|
INC=$(RTL)/inc
|
||||||
COMMON=$(RTL)/common
|
COMMON=$(RTL)/common
|
||||||
PROCINC=$(RTL)/$(CPU_TARGET)
|
PROCINC=$(RTL)/$(CPU_TARGET)
|
||||||
WININC=./wininc
|
|
||||||
WINDIR=../win
|
WINDIR=../win
|
||||||
|
WININC=$(WINDIR)/wininc
|
||||||
|
|
||||||
UNITPREFIX=rtl
|
UNITPREFIX=rtl
|
||||||
|
|
||||||
@ -63,7 +63,9 @@ SYSTEMUNIT=system
|
|||||||
PRT0=wprt0
|
PRT0=wprt0
|
||||||
|
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
CPU_UNITS=cpu mmx
|
CPU_UNITS=$(CPUUNIT) $(MMXUNIT)
|
||||||
|
CPU_DEPS_CPU=$(SYSUTILSUNIT)$(PPUEXT)
|
||||||
|
MMX_DEPS_CPU=$(CPUUNIT)$(PPUEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Use new feature from 1.0.5 version
|
# Use new feature from 1.0.5 version
|
||||||
@ -97,6 +99,9 @@ SYSTEMPPU=$(addsuffix $(PPUEXT),$(SYSTEMUNIT))
|
|||||||
# SYSINCNAMES
|
# SYSINCNAMES
|
||||||
include $(INC)/makefile.inc
|
include $(INC)/makefile.inc
|
||||||
SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
|
SYSINCDEPS=$(addprefix $(INC)/,$(SYSINCNAMES))
|
||||||
|
# Change WINDIR and WININC now
|
||||||
|
WINDIR = .
|
||||||
|
WININC = $(WINDIR)/wininc
|
||||||
|
|
||||||
# Get the processor dependent include file names.
|
# Get the processor dependent include file names.
|
||||||
# This will set the following variables :
|
# This will set the following variables :
|
||||||
@ -111,12 +116,7 @@ SYSDEPS=$(SYSINCDEPS) $(SYSCPUDEPS) winres.inc
|
|||||||
# System Units (System, Objpas, Strings)
|
# System Units (System, Objpas, Strings)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
WINMESSAGESDIR=$(OSDIR)
|
||||||
|
|
||||||
$(MESSAGESUNIT)$(PPUEXT): messages.pp $(WININC)/messages.inc windows$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
||||||
$(COMPILER) -I$(WININC) messages.pp
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sharemem$(PPUEXT) : $(WINDIR)/sharemem.pp system$(PPUEXT)
|
sharemem$(PPUEXT) : $(WINDIR)/sharemem.pp system$(PPUEXT)
|
||||||
$(COMPILER) $(WINDIR)/sharemem.pp
|
$(COMPILER) $(WINDIR)/sharemem.pp
|
||||||
|
Loading…
Reference in New Issue
Block a user