From 8f5e5726134ce5b4bd436b16f367796d851df553 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Sun, 27 Apr 2014 17:54:01 -0700 Subject: Imported Upstream version 3.5-36 --- pat/Jmakefile | 5 +++-- pat/Makefile.SH | 20 +++++++++++++++----- pat/pat.SH | 4 ++-- pat/patbase.SH | 4 ++-- pat/patcil.SH | 4 ++-- pat/patclean.SH | 4 ++-- pat/patcol.SH | 4 ++-- pat/patdiff.SH | 4 ++-- pat/patftp.SH | 4 ++-- pat/patlog.SH | 4 ++-- pat/patmake.SH | 4 ++-- pat/patname.SH | 4 ++-- pat/patnotify.SH | 4 ++-- pat/patpost.SH | 4 ++-- pat/patsend.SH | 4 ++-- pat/patsnap.SH | 4 ++-- 16 files changed, 46 insertions(+), 35 deletions(-) (limited to 'pat') diff --git a/pat/Jmakefile b/pat/Jmakefile index 1071c76..f4d8fc3 100644 --- a/pat/Jmakefile +++ b/pat/Jmakefile @@ -2,7 +2,7 @@ * Jmakefile for patching tools. */ -;# $Id: Jmakefile 9 2006-08-25 22:31:50Z rmanfredi $ +;# $Id: Jmakefile 48 2010-11-28 23:05:09Z rmanfredi $ ;# ;# Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ;# @@ -50,7 +50,8 @@ PATSH = \ !f.SH \ -expand \\ -depend:: +depend:: local_depend +local_depend:: ($(SED) '/^# DO NOT DELETE/q' Makefile && \ grep '^\$$grep' $(PATSH) | \ $(SED) -e "s/^.*' \([^ ]*\) >>\([^ ]*\)/\2: \1/" \ diff --git a/pat/Makefile.SH b/pat/Makefile.SH index d6a7a10..8fbb905 100755 --- a/pat/Makefile.SH +++ b/pat/Makefile.SH @@ -1,5 +1,5 @@ -: Makefile.SH generated from Jmake.tmpl and Jmakefile [jmake 3.5 PL0] -: $X-Id: Jmake.tmpl 8 2006-08-25 22:27:18Z rmanfredi $ +: Makefile.SH generated from Jmake.tmpl and Jmakefile [jmake 3.5-43] +: $X-Id: Jmake.tmpl 47 2010-11-28 22:23:13Z rmanfredi $ case $CONFIG in '') @@ -53,12 +53,12 @@ SED = $sed $spitshell >>Makefile <<'!NO!SUBS!' ######################################################################## # Jmake rules for building libraries, programs, scripts, and data files -# $X-Id: Jmake.rules 8 2006-08-25 22:27:18Z rmanfredi $ +# $X-Id: Jmake.rules 18 2006-12-27 10:35:09Z rmanfredi $ ######################################################################## # Start of Jmakefile -# $X-Id: Jmakefile 9 2006-08-25 22:31:50Z rmanfredi $ +# $X-Id: Jmakefile 48 2010-11-28 23:05:09Z rmanfredi $ # # Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi # @@ -194,7 +194,8 @@ PATSH = \ patsnap.SH \ patlog.SH -depend:: +depend:: local_depend +local_depend:: ($(SED) '/^# DO NOT DELETE/q' Makefile && \ grep '^\$$grep' $(PATSH) | \ $(SED) -e "s/^.*' \([^ ]*\) >>\([^ ]*\)/\2: \1/" \ @@ -262,6 +263,8 @@ tags:: local_clobber:: $(RM) tags +depend:: + ######################################################################## # Empty rules for directories with no sub-directories -- do not edit @@ -281,6 +284,13 @@ Makefiles:: Makefiles.SH:: +######################################################################## +# Dependencies generated by make depend +# DO NOT DELETE THIS LINE -- make depend relies on it + +# Put nothing here or make depend will gobble it up +.FORCE_DEPEND:: + @echo "You must run 'make depend' in $(TOP) first."; exit 1 !NO!SUBS! chmod 644 Makefile $eunicefix Makefile diff --git a/pat/pat.SH b/pat/pat.SH index c38c998..ac4bc4d 100755 --- a/pat/pat.SH +++ b/pat/pat.SH @@ -17,10 +17,10 @@ esac echo "Extracting pat/pat (with variable substitutions)" cat >pat <patbase <patcil <patclean <patcol <patdiff <patftp <patlog <patmake <patname <patnotify <patpost <patsend <patsnap <