From e8c93c424fc6bd936386f745b50e0a77384ad14d Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Thu, 4 Nov 2010 11:37:31 -0500 Subject: [PATCH] tsm: Make explicit rules for stem-changing targets If the stem changes for generating a .o from a .c file, implicit/suffix rules will not apply. That is, if we specify the dependencies for 'bar.o' in a Makefile as so: bar.o: foo.c This will not match an implicit .c.o rule, since the filename stem changes. We must add an explicit AFS_CCRULE invocation to make the rule do anything. This fixes this problem for the src/tsm41 directory. It may exist elsewhere, but it's difficult to find unless the build breaks. Change-Id: I090c074beec120201f334b8bc613170cd4345dde Reviewed-on: http://gerrit.openafs.org/3261 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/tsm41/Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tsm41/Makefile.in b/src/tsm41/Makefile.in index bb85c607f..c79f551dc 100644 --- a/src/tsm41/Makefile.in +++ b/src/tsm41/Makefile.in @@ -90,8 +90,10 @@ aix_aklog.o: ${srcdir}/aix_aklog.c CFLAGS_aix_ktc_krb.o = -DAFS_KERBEROS_ENV aix_ktc_krb.o: ${srcdir}/aix_ktc.c + $(AFS_CCRULE) ${srcdir}/aix_ktc.c aix_ktc_null.o: ${srcdir}/aix_ktc.c + $(AFS_CCRULE) ${srcdir}/aix_ktc.c aix_auth.o: @set -e; set -x; case "$(SYS_NAME)" in \ @@ -107,6 +109,7 @@ aix_auth.o: # aix41_ident.c is a null source file for rs_aix5* aix_ident.o: ${srcdir}/aix41_ident.c + $(AFS_CCRULE) ${srcdir}/aix41_ident.c dest: afs_dynamic_auth afs_dynamic_kerbauth @MAKE_KRB5@ aklog_dynamic_auth ${INSTALL} -d ${DEST}/root.client/usr/vice/etc -- 2.39.5