From 4b82a8bc0b9e9e7f8e117260275c2e0e38722111 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 20 Mar 1996 05:18:11 +0000 Subject: [PATCH] macfiles.sh: Improved matching of the SRCS declaration. It must not be commented out; it must start on the first column of the line. Makefile.tmpl (KH): Fix typos in Dan's original template. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7681 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/ChangeLog | 8 ++++++++ src/mac/Makefile.tmpl | 6 +++--- src/mac/macfiles.sh | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/mac/ChangeLog b/src/mac/ChangeLog index f813fe616..3c31f7230 100644 --- a/src/mac/ChangeLog +++ b/src/mac/ChangeLog @@ -1,3 +1,11 @@ +Wed Mar 20 00:16:45 1996 Theodore Y. Ts'o + + * macfiles.sh: Improved matching of the SRCS declaration. It must + not be commented out; it must start on the first column of + the line. + + * Makefile.tmpl (KH): Fix typos in Dan's original template. + Wed Feb 7 00:26:08 1996 Theodore Y. Ts'o * Makefile.tmpl, macfiles.sh: New files, for danw's changes to diff --git a/src/mac/Makefile.tmpl b/src/mac/Makefile.tmpl index 0639f5d41..cfc0514ed 100644 --- a/src/mac/Makefile.tmpl +++ b/src/mac/Makefile.tmpl @@ -19,11 +19,11 @@ build : {KH68K} {KHPPC} .c.PPC.o : .c MWCPPC {DepDir}{Default}.c {OPTIONS} -prefix {KHPPC} -{KH}68K : {KH}.pch +{KH68K} : {KH}KerberosHeaders.pch MWC68K {KH}KerberosHeaders.pch -precompile {KH68K} {OPTIONS} -i {KH} -{KH}PPC : {KH}.pch - MWCPPC {KH}KerberosHeaders.pch -precompile {KH}PPC {OPTIONS} -i {KH} +{KHPPC} : {KH}KerberosHeaders.pch + MWCPPC {KH}KerberosHeaders.pch -precompile {KHPPC} {OPTIONS} -i {KH} link : MWLink68K -library -model far -o libkrb5.68K {K5OBJS68K} diff --git a/src/mac/macfiles.sh b/src/mac/macfiles.sh index 1e334b291..45acd1ce3 100644 --- a/src/mac/macfiles.sh +++ b/src/mac/macfiles.sh @@ -2,7 +2,7 @@ for DIR do for SDIR in `sed -n -e 's/MAC_SUBDIRS.*=//p' $DIR/Makefile.in`; do - awk '/SRCS?[ ]*=/, /[^\\]$/' $DIR/$SDIR/Makefile.in | \ + awk '/^SRCS?[ ]*=/, /[^\\]$/' $DIR/$SDIR/Makefile.in | \ tr ' ' '\012\012' | sed -n -e 's|.*[/)]\([A-Za-z0-9_]*\.c\).*|\1|' -e 's|\(.*\.c\)|'$DIR/$SDIR'/\1|p'; ls -1 $DIR/$SDIR/*.h 2> /dev/null mac/macfiles.sh $DIR/$SDIR; -- 2.26.2