* Add dependency of lineinfo unit on exeinfo.

* System.ExeInfo depends on EXEINFO_DEPS, not on LINEINFO_DEPS
  * lnfodwrf unit does not depend on lineinfo unit
  * lnfogdb depends on ctypes, baseunix and unix units, but not on lineinfo
This commit is contained in:
Pierre Muller 2023-07-31 14:56:01 +02:00
parent b76c111e89
commit 67cfa79659

View File

@ -1103,7 +1103,7 @@ System.GetOpts$(PPUEXT) : $(NSINC)/System.GetOpts.pp $(GETOPTS_DEPS)
# lineinfo
#
LINEINFO_DEPS=$(INC)/lineinfo.pp \
$(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) \
$(STRINGSUNIT)$(PPUEXT) $(SYSTEMUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
$(LINEINFO_DEPS_OS) $(LINEINFO_DEPS_CPU)
@ -1121,14 +1121,14 @@ EXEINFO_DEPS=$(INC)/exeinfo.pp \
exeinfo$(PPUEXT) : $(EXEINFO_DEPS)
$(COMPILER) $(EXEINFO_OPT) $<
System.ExeInfo$(PPUEXT) : $(NSINC)/System.ExeInfo.pp $(LINEINFO_DEPS)
System.ExeInfo$(PPUEXT) : $(NSINC)/System.ExeInfo.pp $(EXEINFO_DEPS)
$(COMPILER) $(EXEINFO_OPT) $<
#
# lnfodwrf
#
LNFODWRF_DEPS=$(INC)/lnfodwrf.pp \
$(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(LINEINFOUNIT)$(PPUEXT) \
$(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) \
$(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
$(LNFODWRF_DEPS_OS) $(LNFODWRF_DEPS_CPU)
@ -1140,10 +1140,10 @@ System.LineInfo.Dwarf$(PPUEXT) : $(NSINC)/System.LineInfo.Dwarf.pp $(LNFODWRF_DE
#
# lnfodgdb
#
# uses ctypes,baseunix,unix;
LNFOGDB_DEPS=$(UNIXINC)/lnfogdb.pp \
$(SYSTEMUNIT)$(PPUEXT) $(STRINGSUNIT)$(PPUEXT) $(LINEINFOUNIT)$(PPUEXT) \
$(SYSUTILSUNIT)$(PPUEXT) $(EXEINFOUNIT)$(PPUEXT) \
$(SYSTEMUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
$(BASEUNIXUNIT)$(PPUEXT) $(UNIXUNIT)$(PPUEXT) \
$(LNFOGDB_DEPS_OS) $(LNFOGDB_DEPS_CPU)
lnfogdb$(PPUEXT) : $(LNFOGDB_DEPS)
@ -1471,4 +1471,4 @@ bsd$(PPUEXT): $(BSD_DEPS)
$(COMPILER) $(BSD_OPT) $<
BsdApi$(PPUEXT): $(NSBSDDIR)/BsdApi.pp $(BSD_DEPS)
$(COMPILER) $(BSD_OPT) $<
$(COMPILER) $(BSD_OPT) $<