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
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
17 all: OpenAFS.prefPane afssettings afscell
20 xcodebuild -project AFSPreference/OpenAFS.xcodeproj
21 mv AFSPreference/build/Release/OpenAFS.prefPane OpenAFS.prefPane
24 cd afscell && xcodebuild
26 afssettings: afssettings.m
27 ${CC} ${CFLAGS} -o afssettings afssettings.m -framework Foundation
30 ${DESTDIR}${sbindir}/afssettings
33 ${DEST}/etc/afssettings \
34 ${DEST}/installer/afscell.bundle \
35 ${DEST}/installer/InstallerSections.plist
37 ${DESTDIR}${sbindir}/afssettings: afssettings
40 ${DEST}/etc/afssettings: afssettings
43 ${DEST}/installer/afscell.bundle: afscell/build/Release/afscell.bundle
44 mkdir -p ${DEST}/installer
45 rm -rf ${DEST}/installer/afscell.bundle
48 ${DEST}/installer/InstallerSections.plist: afscell/InstallerSections.plist
52 $(RM) -rf OpenAFS.prefPane
53 $(RM) -rf AFSPreference/build
54 $(RM) -f *.o core afssettings AFS_component_version_number.c
55 @cd afscell && xcodebuild clean