4 if [ "${RC_ProjectName%_Sim}" != "${RC_ProjectName}" ] ; then
5 DESTDIR
="${DSTROOT}${SDKROOT}"/System
/Library
/LaunchDaemons
6 PLIST
="${SRCROOT}"/syslogd.tproj
/com.apple.syslogd_sim.plist
8 DESTDIR
="${DSTROOT}"/System
/Library
/LaunchDaemons
9 PLIST
="${SRCROOT}"/syslogd.tproj
/com.apple.syslogd.plist
12 install -d -m 0755 -o root
-g wheel
"${DESTDIR}"
13 install -m 0644 -o root
-g wheel
"${PLIST}" "${DESTDIR}"/com.apple.syslogd.plist
14 plutil
-convert binary1
"${DESTDIR}"/com.apple.syslogd.plist
16 if [ "${RC_ProjectName%_Sim}" != "${RC_ProjectName}" ] ; then
20 install -d -m 0755 -o root
-g wheel
"$DSTROOT"/private
/var
/log
/asl
22 PRODUCT
=$(xcodebuild -sdk "${SDKROOT}" -version PlatformPath | head -1 | sed 's,^.*/\([^/]*\)\.platform$
,\
1,')
24 if [ ${SDKROOT}x = x ]; then
28 if [ ${PRODUCT}x = x ]; then
32 if [ ${PRODUCT} = iPhone ]; then
33 install -d -m 0755 -o root -g wheel "$DSTROOT"/usr/share/sandbox
34 install -m 0644 -o root -g wheel "$SRCROOT"/syslogd.tproj/syslogd.sb "$DSTROOT"/usr/share/sandbox