|
@@ -11,7 +11,7 @@ fpcpackage=y
|
|
|
[target]
|
|
|
loaders=prt0 cprt0 dllprt0
|
|
|
units=$(SYSTEMUNIT) $(UUCHARUNIT) unixtype ctypes $(OBJPASUNIT) $(MACPASUNIT) $(ISO7185UNIT) $(EXTPASUNIT) \
|
|
|
- $(STRINGSUNIT) syscall sysctl baseunix unixutil $(CHARACTERUNIT) \
|
|
|
+ $(STRINGSUNIT) $(SYSCALLUNIT) sysctl baseunix unixutil $(CHARACTERUNIT) \
|
|
|
unix rtlconsts $(INITCUNIT) $(CMEMUNIT) \
|
|
|
$(DLUNIT) $(TERMIOUNIT) \
|
|
|
sysutils $(MATHUNIT) typinfo types $(SORTBASEUNIT) classes $(FGLUNIT) $(DYNLIBSUNIT) \
|
|
@@ -61,6 +61,7 @@ UNITPREFIX=rtl
|
|
|
TARGETPROCINC=$(RTL)/netbsd/$(CPU_TARGET)
|
|
|
DYNLIBS_DEPS_OS=$(DLUNIT)$(PPUEXT)
|
|
|
DYNLIBSINCDIR=$(UNIXINC)
|
|
|
+SYSCALL_DEPS_OS=baseunix$(PPUEXT) unixtype$(PPUEXT) sysnr.inc $(BSDPROCINC)/syscallh.inc
|
|
|
|
|
|
SYSTEMUNIT=system
|
|
|
LINUXUNIT=
|
|
@@ -193,16 +194,13 @@ fpmkunit$(PPUEXT) : $(COMMON)/fpmkunit.pp classes$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT
|
|
|
# Other system-dependent RTL Units
|
|
|
#
|
|
|
|
|
|
-syscall$(PPUEXT) : $(UNIXINC)/syscall.pp $(SYSTEMUNIT)$(PPUEXT)
|
|
|
- $(COMPILER) $<
|
|
|
-
|
|
|
unixutil$(PPUEXT) : $(UNIXINC)/unixutil.pp $(INC)/textrec.inc $(INC)/filerec.inc $(SYSTEMUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $(UNIXINC)/unixutil.pp
|
|
|
|
|
|
sysconst$(PPUEXT) : $(OBJPASDIR)/sysconst.pp $(OBJPASUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $(OBJPASDIR)/sysconst.pp
|
|
|
|
|
|
-sysctl$(PPUEXT) : $(BSDINC)/sysctl.pp unixtype$(PPUEXT) syscall$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
+sysctl$(PPUEXT) : $(BSDINC)/sysctl.pp unixtype$(PPUEXT) $(SYSCALLUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $<
|
|
|
|
|
|
cthreads$(PPUEXT) : $(UNIXINC)/cthreads.pp $(SYSTEMUNIT)$(PPUEXT)
|
|
@@ -214,7 +212,7 @@ variants$(PPUEXT) : $(INC)/variants.pp sysutils$(PPUEXT) sysconst$(PPUEXT) varut
|
|
|
cwstring$(PPUEXT) : $(UNIXINC)/cwstring.pp $(SYSTEMUNIT)$(PPUEXT) sysutils$(PPUEXT) baseunix$(PPUEXT) unix$(PPUEXT) unixtype$(PPUEXT) ctypes$(PPUEXT) $(DYNLIBSUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $<
|
|
|
|
|
|
-bsd$(PPUEXT) : $(BSDINC)/bsd.pas $(INITCUNIT)$(PPUEXT) unix$(PPUEXT) syscall$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
+bsd$(PPUEXT) : $(BSDINC)/bsd.pas $(INITCUNIT)$(PPUEXT) unix$(PPUEXT) $(SYSCALLUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT)
|
|
|
$(COMPILER) $<
|
|
|
|
|
|
ctypes$(PPUEXT) : $(INC)/ctypes.pp $(SYSTEMUNIT)$(PPUEXT)
|