]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
objdir build: Add objdir include paths
authorAndrew Deason <adeason@sinenomine.net>
Fri, 15 Aug 2014 06:34:03 +0000 (01:34 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Tue, 9 Sep 2014 12:50:50 +0000 (08:50 -0400)
In commits ff0644c4cf5a54747bf3af2cc9605163e1debcb7,
3be9a451b523cd955cd5b3e68ee3a44ab083c14f, and
7c451fab11b65dd5e2860715b939e5de33c7645e, some includes were changed
from e.g. <afs/auth.h> to "auth.h". This means that src/auth must be
in the include path for that file. For a file like src/auth/ktc.c,
that's usually fine, since '.' is added to the include path.

However, several of these files are also compiled from different
directories, such as src/libafsauthent. These need to also have the
relevant include path added, or else we cannot include the relevant
file. So, add the needed include paths.

This commit is 1.6-specific. The build system on the master branch
differs greatly, and these files are not build separately in these
directories.

Change-Id: I502b99b9411aff9660b50f0f4d9a4fb4f6a1106a
Reviewed-on: http://gerrit.openafs.org/11392
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: D Brashear <shadow@your-file-system.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/libafsauthent/Makefile.in
src/pam/Makefile.in
src/shlibafsauthent/Makefile.in
src/shlibafsrpc/Makefile.in

index 2204e7bc7479588592469f34d72504add2937d76..e8961f214032914930d8b2c0f094c8b8062f9260 100644 (file)
@@ -139,7 +139,7 @@ cellconfig.o: ${AUTH}/cellconfig.c
        ${CCRULE} -I../auth
 
 ktc.o: ${AUTH}/ktc.c
-       ${CCRULE}
+       ${CCRULE} -I../auth
 
 userok.o: ${AUTH}/userok.c
        ${CCRULE} -I../auth
@@ -238,7 +238,7 @@ rxkad_errs.o: ${RXKAD}/rxkad_errs.c
        ${CCRULE}
 
 ticket5_keytab.o: ${RXKAD}/ticket5_keytab.c
-       ${CCRULE} @KRB5_CPPFLAGS@
+       ${CCRULE} -I../rxkad @KRB5_CPPFLAGS@
 
 ptclient.o: ${PTSERVER}/ptclient.c
        ${CCRULE} -I../ptserver
index 2e721e793732a00a2d01ed2340feac4413b772a0..94132446d67b53a3718c99ee553fd6e2becb30d9 100644 (file)
@@ -55,7 +55,7 @@ afs_util_krb.o: afs_util.c afs_pam_msg.h afs_message.h afs_util.h
 ktc_krb.o: ${srcdir}/../auth/ktc.c ${TOP_INCDIR}/afs/cellconfig.h \
                ${TOP_INCDIR}/afs/auth.h ${srcdir}/../auth/keys.h \
                ${TOP_INCDIR}/afs/vice.h
-       ${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c ${srcdir}/../auth/ktc.c -o $@
+       ${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c ${srcdir}/../auth/ktc.c -o $@ -I../auth
 
 pam_afs.so.1: $(SHOBJS) afs_setcred.o afs_auth.o afs_util.o \
                ${TOP_LIBDIR}/libafsauthent_pic.a \
index 923bdb61731e12d32194a10cd970c47bbb7fdc83..94b3037d4c41973cd8f4977a2563b17fa927a15a 100644 (file)
@@ -308,7 +308,7 @@ rxkad_errs.o: ${RXKAD}/rxkad_errs.c
        ${CCRULE}
 
 ticket5_keytab.o: ${RXKAD}/ticket5_keytab.c
-       ${CCRULE} @KRB5_CPPFLAGS@
+       ${CCRULE} -I../rxkad @KRB5_CPPFLAGS@
 
 ptclient.o: ${PTSERVER}/ptclient.c
        ${CCRULE}
index eb6832ef4d278a57a54d921c059fbd2a34ffe2bd..cc6d43f087677c6e574bf6262a805fa3068bf91f 100644 (file)
@@ -224,13 +224,13 @@ ticket5.o: ${RXKAD}/ticket5.c
        ${CCRULE} -I../rxkad -I${RXKAD}
 
 crc.o: ${RXKAD}/crc.c
-       ${CCRULE}
+       ${CCRULE} -I../rxkad
 
 md4.o: ${RXKAD}/md4.c
-       ${CCRULE}
+       ${CCRULE} -I../rxkad
 
 md5.o: ${RXKAD}/md5.c
-       ${CCRULE}
+       ${CCRULE} -I../rxkad
 
 fcrypt.o: ${RXKAD}/fcrypt.c
        ${CCRULE} -I../rxkad -I${RXKAD}