From 7e0f30a1241d3884b7761851dacda30a2d70e831 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sun, 31 Mar 1996 03:47:07 +0000 Subject: [PATCH] macfiles.sh: Add the C files which were used in the MACSRCS definition, as well as the SRCS definition. Makefile.tmpl (KH): Add KerberosHeaders.h to the dependencies for the precompiled header. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7740 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/ChangeLog | 8 ++++++++ src/mac/Makefile.tmpl | 4 ++-- src/mac/macfiles.sh | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/mac/ChangeLog b/src/mac/ChangeLog index 62f65fc90..40bf1a625 100644 --- a/src/mac/ChangeLog +++ b/src/mac/ChangeLog @@ -1,3 +1,11 @@ +Sat Mar 30 22:45:56 1996 Theodore Y. Ts'o + + * macfiles.sh: Add the C files which were used in the MACSRCS + definition, as well as the SRCS definition. + + * Makefile.tmpl (KH): Add KerberosHeaders.h to the dependencies + for the precompiled header. + Wed Mar 27 18:53:04 1996 Theodore Y. Ts'o * Makefile.tmpl (link): Don't use "-model far" when linking on the diff --git a/src/mac/Makefile.tmpl b/src/mac/Makefile.tmpl index bcaf1bbeb..d844908d9 100644 --- a/src/mac/Makefile.tmpl +++ b/src/mac/Makefile.tmpl @@ -19,10 +19,10 @@ build : {KH68K} {KHPPC} .c.PPC.o : .c MWCPPC {DepDir}{Default}.c {OPTIONS} -prefix {KHPPC} -{KH68K} : {KH}KerberosHeaders.pch +{KH68K} : {KH}KerberosHeaders.pch {KH}KerberosHeaders.h MWC68K {KH}KerberosHeaders.pch -precompile {KH68K} {OPTIONS} -i {KH} -{KHPPC} : {KH}KerberosHeaders.pch +{KHPPC} : {KH}KerberosHeaders.pch {KH}KerberosHeaders.h MWCPPC {KH}KerberosHeaders.pch -precompile {KHPPC} {OPTIONS} -i {KH} link : diff --git a/src/mac/macfiles.sh b/src/mac/macfiles.sh index 45acd1ce3..f2fb8d864 100644 --- a/src/mac/macfiles.sh +++ b/src/mac/macfiles.sh @@ -2,6 +2,8 @@ for DIR do for SDIR in `sed -n -e 's/MAC_SUBDIRS.*=//p' $DIR/Makefile.in`; do + awk '/^MACSRCS?[ ]*=/, /[^\\]$/' $DIR/$SDIR/Makefile.in | \ + tr ' ' '\012\012' | sed -n -e 's|.*[/)]\([A-Za-z0-9_]*\.c\).*|\1|' -e 's|\(.*\.c\)|'$DIR/$SDIR'/\1|p'; 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 -- 2.26.2