INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
-include ../../config/Makefile.version
-all: OpenAFS.prefPane afssettings
+.PHONY: all afscell
+
+all: OpenAFS.prefPane afssettings afscell
OpenAFS.prefPane:
xcodebuild -project AFSPreference/OpenAFS.xcodeproj
mv AFSPreference/build/Release/OpenAFS.prefPane OpenAFS.prefPane
+afscell:
+ cd afscell && xcodebuild
+
afssettings: afssettings.m
${CC} ${CFLAGS} -o afssettings afssettings.m -framework Foundation
${DESTDIR}${sbindir}/afssettings
dest: \
- ${DEST}/etc/afssettings
+ ${DEST}/etc/afssettings \
+ ${DEST}/installer/afscell.bundle \
+ ${DEST}/installer/InstallerSections.plist
${DESTDIR}${sbindir}/afssettings: afssettings
${INSTALL} $? $@
${DEST}/etc/afssettings: afssettings
${INSTALL} $? $@
+${DEST}/installer/afscell.bundle: afscell/build/Release/afscell.bundle
+ mkdir -p ${DEST}/installer
+ rm -rf ${DEST}/installer/afscell.bundle
+ cp -R $? $@
+
+${DEST}/installer/InstallerSections.plist: afscell/InstallerSections.plist
+ ${INSTALL} $? $@
+
clean:
$(RM) -rf OpenAFS.prefPane
$(RM) -rf AFSPreference/build
- $(RM) -f *.o core afssettings AFS_component_version_number.c
+ $(RM) -f *.o core afssettings AFS_component_version_number.c
+ @cd afscell && xcodebuild clean