diff --git a/binconst.mk b/binconst.mk index e162a0f..c0eefff 100644 --- a/binconst.mk +++ b/binconst.mk @@ -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 diff --git a/binrules.mk b/binrules.mk index cdb6b21..9bc2bc6 100644 --- a/binrules.mk +++ b/binrules.mk @@ -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