aix-20030417
authorKevin Coffman <kwc@umich.edu>
Thu, 17 Apr 2003 16:05:58 +0000 (16:05 +0000)
committerJim Rees <rees@umich.edu>
Thu, 17 Apr 2003 16:05:58 +0000 (16:05 +0000)
I had to do the following to do a 'make dest' on AIX in a directory
separate from the source:

src/audit/Makefile.in
src/export/cfgexport.c

index b16cde4..64aebe1 100644 (file)
@@ -57,10 +57,10 @@ ${TOP_INCDIR}/afs/audit.h: audit.h
 dest:  ${DEST}/lib/afs/libaudit.a ${DEST}/include/afs/audit.h
        case ${SYS_NAME} in \
        rs_aix*) \
-          ${INSTALL} Audit              ${DEST}/root.server/usr/afs/local ;  \
-          ${INSTALL} objects.aix.sample ${DEST}/root.server/usr/afs/local/audit/objects.sample ;  \
-          ${INSTALL} events.aix.sample  ${DEST}/root.server/usr/afs/local/audit/events.sample  ;  \
-          ${INSTALL} config.aix.sample  ${DEST}/root.server/usr/afs/local/audit/config.sample  ;; \
+          ${INSTALL} ${srcdir}/Audit              ${DEST}/root.server/usr/afs/local ;  \
+          ${INSTALL} ${srcdir}/objects.aix.sample ${DEST}/root.server/usr/afs/local/audit/objects.sample ;  \
+          ${INSTALL} ${srcdir}/events.aix.sample  ${DEST}/root.server/usr/afs/local/audit/events.sample  ;  \
+          ${INSTALL} ${srcdir}/config.aix.sample  ${DEST}/root.server/usr/afs/local/audit/config.sample  ;; \
         *) ;; \
         esac ;
 
index d13503d..c9ae4ac 100644 (file)
@@ -214,7 +214,9 @@ char *syms;
            case U800WRMAGIC:
            case U800ROMAGIC:
            case U800TOCMAGIC:
+#ifdef __XCOFF64__
            case U64_TOCMAGIC:
+#endif
                break;
 
            default: