binconst.mk, binrules.mk:

- Allow for rez source to be on Appleshare volumes.  Kludge is
	  not enabled by default (see paths.mk).
This commit is contained in:
gdr-ftp 1998-12-31 21:26:34 +00:00
parent 6269a8ca25
commit 6d572535da
2 changed files with 16 additions and 2 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.9 1998/04/22 05:07:19 gdr-ftp Exp $
# $Id: binconst.mk,v 1.10 1998/12/31 21:26:34 gdr-ftp Exp $
#
# Devin Reade, 1997.
#
@ -20,6 +20,12 @@ INSTALL = /usr/bin/install
MACGEN = 17/macgen
MACGEN_FLAGS += -P
# Temporary directory needed in some weird cases.
.IMPORT .IGNORE: TMPDIR
.IF $(TMPDIR) == $(NULL)
TMPDIR = 14
.END
# $(DESC_SRC) is the created source file for the describe(1) database.
DESC_DIR = $(RELEASE_DIR)/usr/lib
DESC_SRC = $(DESC_DIR)/describe.src

View File

@ -2,7 +2,7 @@
# 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.7 1998/03/08 17:12:31 gdr-ftp Exp $
# $Id: binrules.mk,v 1.8 1998/12/31 21:26:34 gdr-ftp Exp $
#
# Devin Reade, Dave Tribby, 1997.
#
@ -40,6 +40,14 @@ clean:
clobber: clean
-$(RM) $(OBJ_DIR)$(PROG)
# Implicit rule to handle Rez source on case sensitive Appleshare servers
.IF $(APPLESHARE_CASE_SENSITIVE) != $(NULL)
%.r : %.rez
$(INSTALL) $< $(TMPDIR)/$<
$(REZ) -o $@ -c $(REZFLAGS) $(TMPDIR)/$<
$(RM) -f $(TMPDIR)/$<
.END
# Implicit rule to handle ProDOS-renamed object files
%.o: %.O;
%.O .PRECIOUS : $$(@:b:s/./_/g).c