edfbddbe942686940f2b1f989ee46cb47849fa42
[openafs.git] / src / platform / DARWIN / Makefile.in
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 srcdir=@srcdir@
9 include @TOP_OBJDIR@/src/config/Makefile.config
10 INSTALL = @INSTALL@
11 INSTALL_DATA = @INSTALL_DATA@
12 INSTALL_PROGRAM = @INSTALL_PROGRAM@
13 INSTALL_SCRIPT = @INSTALL_SCRIPT@
14 include ../../config/Makefile.version
15
16 all: OpenAFS.prefPane afssettings
17
18 OpenAFS.prefPane:
19         xcodebuild -project AFSPreference/OpenAFS.xcodeproj
20         mv AFSPreference/build/Release/OpenAFS.prefPane OpenAFS.prefPane
21
22 afssettings: afssettings.m 
23         ${CC} ${CFLAGS} -o afssettings afssettings.m -framework Foundation
24
25 install: \
26         ${DESTDIR}${sbindir}/afssettings
27
28 dest: \
29         ${DEST}/etc/afssettings
30
31 ${DESTDIR}${sbindir}/afssettings: afssettings
32         ${INSTALL} $? $@
33
34 ${DEST}/etc/afssettings: afssettings
35         ${INSTALL} $? $@
36
37 clean:
38         $(RM) -rf OpenAFS.prefPane
39         $(RM) -rf AFSPreference/build
40         $(RM) -f *.o core afssettings AFS_component_version_number.c