use same build path way also for prospero

This commit is contained in:
Mario Fetka
2024-05-27 17:24:46 +02:00
parent 1898d83f0a
commit d3589cd843
23 changed files with 68 additions and 73 deletions

View File

@@ -14,7 +14,7 @@
# Every Makefile in Prospero has (possibly unset) variables in it
# named PROGS, SPECIAL_PROGS, DATA_FILE_TARGETS, OTHERPROGS,
# CFILES, OBJECTS, SUBDIRS, SOURCEBASE
# CFILES, OBJECTS, SUBDIRS, PROSPERO_ROOT
# PROGS:
# These are the programs which follow the default rule for making and
# which are installed by default. They will be deleted during cleanup.
@@ -36,7 +36,7 @@
# Special-purpose libraries are DATA_FILE_TARGETS
# SUBDIRS:
# Subdirectories that this Makefile will recursively execute in.
# SOURCEBASE:
# PROSPERO_ROOT:
# A relative path up to the top-level Makefile.
@@ -94,7 +94,7 @@ SED_SCRIPT = sed -e '/^[a-z0123456789_\/\.]*\.[ch]:/s,^,'$$i'\/,'
##### Prospero Include Files
P_INC = -I$(SOURCEBASE)/include
P_INC = -I$(PROSPERO_ROOT)/include
# Used by all subsidiary makefiles on an as-needed basis.
INCS = $(P_INC) $(K_INC)
@@ -106,7 +106,7 @@ INCS = $(P_INC) $(K_INC)
### descendants when they change.
## PASTHRU is officially dead now, because it is incompatible with never
## having to specify the old SOURCEBASE. --swa, 5/8/94
## having to specify the old PROSPERO_ROOT. --swa, 5/8/94
##
#PASTHRU = \
@@ -136,24 +136,24 @@ INCS = $(P_INC) $(K_INC)
# The targets ending in _LIB are real file names of single libraries that
# Prospero is compiled with.
PFS_LIB = $(SOURCEBASE)/lib/pfs/libpfs.a
FIL_LIB = $(SOURCEBASE)/lib/filters/libfilter.a
CMP_LIB = $(SOURCEBASE)/lib/pcompat/libpcompat.a
RDP_LIB = $(SOURCEBASE)/lib/ardp/libardp.a
SRV_LIB = $(SOURCEBASE)/lib/psrv/libpsrv.a
VCACHE_LIB = $(SOURCEBASE)/user/vcache/libpvcache.a
GOPHER_GW_LIB = $(SOURCEBASE)/lib/psrv/gopher_gw/libpgoph_gw.a
WAIS_GW_LIB = $(SOURCEBASE)/lib/psrv/wais_gw/libpwais_gw.a
PFS_LIB = $(PROSPERO_ROOT)/lib/pfs/libpfs.a
FIL_LIB = $(PROSPERO_ROOT)/lib/filters/libfilter.a
CMP_LIB = $(PROSPERO_ROOT)/lib/pcompat/libpcompat.a
RDP_LIB = $(PROSPERO_ROOT)/lib/ardp/libardp.a
SRV_LIB = $(PROSPERO_ROOT)/lib/psrv/libpsrv.a
VCACHE_LIB = $(PROSPERO_ROOT)/user/vcache/libpvcache.a
GOPHER_GW_LIB = $(PROSPERO_ROOT)/lib/psrv/gopher_gw/libpgoph_gw.a
WAIS_GW_LIB = $(PROSPERO_ROOT)/lib/psrv/wais_gw/libpwais_gw.a
# For ARCHIE servers, version 3. To use this, you will need to get the ARCHIE
# distribution from Bunyip Information Systems.
#ARCHIE2_LIB = $(SOURCEBASE)/lib/psrv/archie2/libpsarchie.a
#ARCHIE2_LIB = $(PROSPERO_ROOT)/lib/psrv/archie2/libpsarchie.a
# For ARCHIE servers, version 3. To use this, you will need to get the ARCHIE
# distribution from Bunyip Information Systems.
#ARCHIE3_PSARCHIE_LIB = $(SOURCEBASE)/lib/psrv/archie3/libpsarchie.a
ARCHIE3_PARCHIE_LIB = $(SOURCEBASE)/lib/psrv/archie3/libparchie.a
#ARCHIE3_PSARCHIE_LIB = $(PROSPERO_ROOT)/lib/psrv/archie3/libpsarchie.a
ARCHIE3_PARCHIE_LIB = $(PROSPERO_ROOT)/lib/psrv/archie3/libparchie.a
#### LIBRARIES USED FOR ACTUALLY LINKING AND DEPENDENCIES
@@ -338,7 +338,7 @@ DIR1777 = $(VCACHE_DIR1777)
## if Makefile.config changes, recompile everything.
## For this rule to have any effect, Makefile.boilerplate must be included
## after $(OBJECTS) is set.
##$(OBJECTS): $(SOURCEBASE)/Makefile.config
##$(OBJECTS): $(PROSPERO_ROOT)/Makefile.config
@@ -417,7 +417,7 @@ etags: TAGS
$(SUBDIRS_MAKE_START) etags $(SUBDIRS_MAKE_END)
TAGS: $(CFILES)
etags $(CFILES) $(SOURCEBASE)/misc/empty.c
etags $(CFILES) $(PROSPERO_ROOT)/misc/empty.c
###
### Rules and macros for checking out code with RCS