binconst.mk:

Added MACGEN and MACGEN_FLAGS macros.

binrules.mk:
	Added a (normally empty) macro "LOCAL_SETUP" to the build target.
	If a utility needs a special target to be done prior to the
	main build, then it sets this macro to be that special target(s).

paths.mk:
	Added some comments on the OBJ_DIR directory.
This commit is contained in:
gdr-ftp 1998-03-08 17:12:34 +00:00
parent 7242272eb4
commit cffe806766
3 changed files with 10 additions and 6 deletions

View File

@ -2,7 +2,7 @@
# Compilation constants for utilities (directories ./bin, ./sbin,
# ./usr.bin, ./usr.sbin). These are not used when building the libraries.
#
# $Id: binconst.mk,v 1.7 1998/02/17 00:26:24 gdr-ftp Exp $
# $Id: binconst.mk,v 1.8 1998/03/08 17:12:28 gdr-ftp Exp $
#
# Devin Reade, 1997.
#
@ -17,6 +17,8 @@ DESCU = /usr/sbin/descu
COPYFORK = /usr/orca/bin/copyfork
CATREZ = /usr/bin/catrez
INSTALL = /usr/bin/install
MACGEN = 17/macgen
MACGEN_FLAGS += -P
# $(DESC_SRC) is the created source file for the describe(1) database.
DESC_DIR = $(RELEASE_DIR)/usr/lib

View File

@ -2,13 +2,13 @@
# Standard compilation rules for utilities (directories ./bin, ./sbin,
# ./usr.bin, ./usr.sbin). These are not used when building the libraries.
#
# $Id: binrules.mk,v 1.6 1998/02/17 00:26:25 gdr-ftp Exp $
# $Id: binrules.mk,v 1.7 1998/03/08 17:12:31 gdr-ftp Exp $
#
# Devin Reade, Dave Tribby, 1997.
#
# Default target, "build," generates the program file
build: $(OBJ_DIR) $(OBJ_DIR)$(PROG)
build: $(OBJ_DIR) $(LOCAL_SETUP) $(OBJ_DIR)$(PROG)
# create the object directory hierarchy if necessary
$(OBJ_DIR):

View File

@ -7,7 +7,7 @@
#
# Devin Reade, 1997
#
# $Id: paths.mk,v 1.7 1998/02/17 00:26:27 gdr-ftp Exp $
# $Id: paths.mk,v 1.8 1998/03/08 17:12:34 gdr-ftp Exp $
#
# This one isn't really a path, but it affects the creation of path
@ -24,8 +24,10 @@ PRODOS_OBJS = true
# OBJ_DIR can be used to store the resulting object and binary files on
# a separate partition from the source. This is very handy when the
# source is stored on an AppleShare volume. If you don't need this
# feature, you can either define /obj in /etc/namespace to be the same
# as /src, or simply comment out the OBJ_DIR line here.
# feature, just define /obj in /etc/namespace to be the same as /src.
# It is not sufficient to merely change the definition of OBJ_DIR below,
# because various files in the builds assume that the /obj hierarchy
# exists.
SRC_DIR = /src
CWD = $(PWD:s,:,/,g)