mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-27 04:51:55 +01:00
* adapted to work
This commit is contained in:
parent
fa1478ef99
commit
d55bb22c58
@ -23,18 +23,12 @@
|
|||||||
|
|
||||||
# What is the Operating System ?
|
# What is the Operating System ?
|
||||||
ifndef OS_SOURCE
|
ifndef OS_SOURCE
|
||||||
OS_SOURCE=linux
|
OS_SOURCE=dos
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# What is the target operating system ?
|
# What is the target operating system ?
|
||||||
ifndef OS_TARGET
|
ifndef OS_TARGET
|
||||||
OS_TARGET=palmos
|
override OS_TARGET=palmos
|
||||||
endif
|
|
||||||
|
|
||||||
# What is the target processor :
|
|
||||||
ifndef CPU
|
|
||||||
#CPU=i386
|
|
||||||
CPU=m68k
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# What compiler to use ?
|
# What compiler to use ?
|
||||||
@ -78,6 +72,8 @@ endif
|
|||||||
# End of configurable section.
|
# End of configurable section.
|
||||||
# Do not edit after this line.
|
# Do not edit after this line.
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
override OS_TARGET=palmos
|
||||||
|
override CPU=m68k
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# System independent
|
# System independent
|
||||||
@ -122,9 +118,9 @@ ifeq ($(LINK_TO_C),YES)
|
|||||||
override OPT:=$(OPT) -dCRTLIB
|
override OPT:=$(OPT) -dCRTLIB
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Define Linux Units
|
# Define PalmOS units
|
||||||
SYSTEMPPU=syspalm$(PPUEXT)
|
SYSTEMPPU = syspalm.ppu
|
||||||
OBJECTS=strings
|
OBJECTS=syspalm
|
||||||
|
|
||||||
PRT=prt0
|
PRT=prt0
|
||||||
LOADERAS=$(PRT).as
|
LOADERAS=$(PRT).as
|
||||||
@ -168,21 +164,21 @@ clean :
|
|||||||
#
|
#
|
||||||
|
|
||||||
$(SYSTEMPPU) : syspalm.pp $(SYSLINUXDEPS) $(SYSDEPS)
|
$(SYSTEMPPU) : syspalm.pp $(SYSLINUXDEPS) $(SYSDEPS)
|
||||||
$(PP) $(OPT) -Us -Sg syspalm.pp $(REDIR)
|
$(COMPILER) -Us -Sg syspalm.pp $(REDIR)
|
||||||
|
|
||||||
strings$(PPUEXT) : ../template/strings.pp $(SYSTEMPPU)
|
# strings$(PPUEXT) : ../template/strings.pp $(SYSTEMPPU)
|
||||||
$(COPY) ../template/strings.pp .
|
# $(COPY) ../template/strings.pp .
|
||||||
$(PP) $(OPT) strings $(REDIR)
|
# $(PP) $(OPT) strings $(REDIR)
|
||||||
$(DEL) strings.pp
|
# $(DEL) strings.pp
|
||||||
|
|
||||||
#
|
#
|
||||||
# Delphi Object Model
|
# Delphi Object Model
|
||||||
#
|
#
|
||||||
|
|
||||||
objpas$(PPUEXT) : $(OBJPASDIR)/objpas.pp $(SYSTEMPPU)
|
# objpas$(PPUEXT) : $(OBJPASDIR)/objpas.pp $(SYSTEMPPU)
|
||||||
$(COPY) $(OBJPASDIR)/objpas.pp .
|
# $(COPY) $(OBJPASDIR)/objpas.pp .
|
||||||
$(PP) $(OPT) objpas $(REDIR)
|
# $(PP) $(OPT) objpas $(REDIR)
|
||||||
$(DEL) objpas.pp
|
# $(DEL) objpas.pp
|
||||||
|
|
||||||
#
|
#
|
||||||
# System Dependent Units
|
# System Dependent Units
|
||||||
@ -246,7 +242,10 @@ include $(CFG)/makefile.def
|
|||||||
|
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.2 1998-10-02 09:26:03 peter
|
# Revision 1.3 1998-10-14 10:31:28 florian
|
||||||
|
# * adapted to work
|
||||||
|
#
|
||||||
|
# Revision 1.2 1998/10/02 09:26:03 peter
|
||||||
# * fixed rtl path
|
# * fixed rtl path
|
||||||
#
|
#
|
||||||
# Revision 1.1 1998/09/10 14:15:51 peter
|
# Revision 1.1 1998/09/10 14:15:51 peter
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user