OpenAFS.prefPane:
@case ${SYS_NAME} in \
*_darwin_100 ) \
- xcodebuild -sdk macosx10.6 -project AFSPreference/OpenAFS.xcodeproj ;; \
+ xcodebuild -sdk macosx10.6 -project ${srcdir}/AFSPreference/OpenAFS.xcodeproj SYMDIR=`pwd`/AFSPreference/build;; \
*_darwin_90 ) \
- xcodebuild -sdk macosx10.5 -project AFSPreference/OpenAFS.xcodeproj ;; \
+ xcodebuild -sdk macosx10.5 -project ${srcdir}/AFSPreference/OpenAFS.xcodeproj SYMDIR=`pwd`/AFSPreference/build;; \
*_darwin_80 ) \
- xcodebuild -sdk macosx10.4 -project AFSPreference/OpenAFS.xcodeproj ;; \
+ xcodebuild -sdk macosx10.4 -project ${srcdor}/AFSPreference/OpenAFS.xcodeproj SYMDIR=`pwd`/AFSPreference/build;; \
* ) \
echo Not building AFS prefPane for ${SYS_NAME} ;; \
esac
afscell:
- cd afscell && xcodebuild
+ xcodebuild -project ${srcdir}/afscell/afscell.xcodeproj SYMROOT=`pwd`/afscell/build
afssettings: afssettings.m
- ${CC} ${CFLAGS} -o afssettings afssettings.m -framework Foundation
+ ${CC} ${CFLAGS} -o afssettings $? -framework Foundation
install: \
${DESTDIR}${sbindir}/afssettings
clean:
$(RM) -rf OpenAFS.prefPane
$(RM) -rf AFSPreference/build
+ $(RM) -rf afscell/build
$(RM) -f *.o core afssettings AFS_component_version_number.c
- @cd afscell && xcodebuild clean
#include <string.h>
#include <rx/xdr.h>
#include <rx/rx.h>
+#include <rx/rxkad.h>
#include <des.h>
#include "lifetimes.h"
-#include "rxkad.h"
#endif /* defined(UKERNEL) */
static u_long table[256];
#include <string.h>
#include <rx/xdr.h>
#include <rx/rx.h>
+#include <rx/rxkad.h>
#include <des.h>
#include "lifetimes.h"
-#include "rxkad.h"
#endif /* defined(UKERNEL) */
#endif
#include <string.h>
#include <rx/rx.h>
+#include <rx/rxkad.h>
#include <des.h>
#include "lifetimes.h"
-#include "rxkad.h"
#endif /* defined(UKERNEL) */
RX = ../rx
CCRULE = ${CC} ${CFLAGS} -c $?
-RXKAD = ../rxkad
+RXKAD = $(srcdir)/../rxkad
RXSTAT = ../rxstat
FSINT = ../fsint
DES = ../des
${CCRULE}
rxkad_client.o: ${RXKAD}/rxkad_client.c
- ${CCRULE}
+ ${CCRULE} -I../rxkad
rxkad_server.o: ${RXKAD}/rxkad_server.c
- ${CCRULE}
+ ${CCRULE} -I../rxkad
rxkad_common.o: ${RXKAD}/rxkad_common.c
- ${CCRULE}
+ ${CCRULE} -I../rxkad
ticket.o: ${RXKAD}/ticket.c
- ${CCRULE}
+ ${CCRULE} -I ../rxkad
ticket5.o: ${RXKAD}/ticket5.c
${CCRULE} -I../rxkad -I${RXKAD}
${CCRULE} -I../rxkad -I${RXKAD}
crypt_conn.o: ${RXKAD}/domestic/crypt_conn.c
- ${CCRULE}
+ ${CCRULE} -I../rxkad -I${RXKAD}
AFS_component_version_number.o: ${RX}/AFS_component_version_number.c
${CCRULE}
case ${SYS_NAME} in \
hp_ux11*) \
set X `echo ${CCRULE} | sed s/-g//`; shift; \
- "$$@" \
+ "-I../des $$@" \
;; \
*) \
- ${CCRULE} \
+ ${CCRULE} -I../des \
;; \
esac
${CCRULE}
key_sched.o: ${DES}/key_sched.c
- ${CCRULE}
+ ${CCRULE} -I../des
debug_decl.o: ${DES}/debug_decl.c
${CCRULE}
${CCRULE}
key_parity.o: ${DES}/key_parity.c
- ${CCRULE}
+ ${CCRULE} -I../des
weak_key.o: ${DES}/weak_key.c
${CCRULE}
${CCRULE}
afsaux.o: ${FSINT}/afsaux.c
- ${CCRULE}
+ ${CCRULE} -I../fsint
clean:
$(RM) -f *.o libafsrpc.a* libafsrpc.sl* libafsrpc.so* libafsrpc_pic.a libafsrpc.dylib.*