1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
9 include @TOP_OBJDIR@
/src
/config
/Makefile.config
10 include @TOP_OBJDIR@
/src
/config
/Makefile.pthread
17 all: OpenAFS.prefPane afssettings afscell growlagent aklog.bundle
19 AFSPreference
/build
/Release
/OpenAFS.prefPane
: OpenAFS.prefPane
20 afscell
/build
/Release
/afscell.bundle
: afscell
21 afscell
/InstallerSections.plist
: afscell
26 xcodebuild
-sdk
${OSXSDK} -project
${srcdir}/AFSPreference
/OpenAFS.xcodeproj SYMDIR
=`pwd`/AFSPreference
/build
;; \
28 echo Not building AFS prefPane for
${OSXSDK} ;; \
34 xcodebuild
-sdk
${OSXSDK} -project
${srcdir}/AklogAuthPlugin
/AklogAuthPlugin.xcodeproj SYMDIR
=`pwd`/AklogAuthPlugin
/build
;; \
36 echo Not building AklogAuthPlugin for
${OSXSDK} ;; \
40 cd growlagent
&& $(MAKE
) all
45 xcodebuild
-sdk
${OSXSDK} -project
${srcdir}/afscell
/afscell.xcodeproj SYMROOT
=`pwd`/afscell
/build
;; \
47 echo Not building afscell.bundle for
${OSXSDK} ;; \
50 afssettings
: afssettings.m
51 ${CC} ${AFS_CFLAGS} -o afssettings
$?
-framework Foundation
54 ${DESTDIR}${sbindir}/afssettings
55 cd growlagent
&& $(MAKE
) install
58 ${DEST}/etc
/afssettings \
59 ${DEST}/installer
/afscell.bundle \
60 ${DEST}/installer
/InstallerSections.plist \
61 ${DEST}/tools
/OpenAFS.prefPane \
62 ${DEST}/tools
/aklog.bundle
63 cd growlagent
&& $(MAKE
) dest
65 ${DESTDIR}${sbindir}/afssettings
: afssettings
68 ${DEST}/etc
/afssettings
: afssettings
71 ${DEST}/tools
/aklog.bundle
: AklogAuthPlugin
/build
/Release
/aklog.bundle
72 -mkdir
-p
${DEST}/tools
73 rm -rf
${DEST}/tools
/aklog.bundle
76 ${DEST}/installer
/afscell.bundle
: afscell
/build
/Release
/afscell.bundle
77 -mkdir
-p
${DEST}/installer
78 rm -rf
${DEST}/installer
/afscell.bundle
81 ${DEST}/installer
/InstallerSections.plist
: afscell
/InstallerSections.plist
84 ${DEST}/tools
/OpenAFS.prefPane
: AFSPreference
/build
/Release
/OpenAFS.prefPane
85 -mkdir
-p
${DEST}/tools
86 rm -rf
${DEST}/tools
/OpenAFS.prefPane
90 $(RM
) -rf OpenAFS.prefPane
91 $(RM
) -rf AFSPreference
/build
92 $(RM
) -rf AklogAuthPlugin
/build
93 $(RM
) -rf afscell
/build
94 $(RM
) -f
*.o core afssettings AFS_component_version_number.c
95 cd growlagent
&& $(MAKE
) clean