]> git.saurik.com Git - apple/syslog.git/blobdiff - syslogd.tproj/Makefile
syslog-97.1.tar.gz
[apple/syslog.git] / syslogd.tproj / Makefile
index bfb2043380c32beb1b09101e2051ff221cdf4c44..2aa8a324688042b4128dd088a315ab4f69acb79f 100644 (file)
@@ -2,7 +2,7 @@ Project = syslogd
 ProductType = tool
 Install_Dir = /usr/sbin
 
-CFILES = asl_action.c asl_in.c bsd_in.c bsd_out.c daemon.c dbserver.c klog_in.c remote.c syslogd.c udp_in.c
+CFILES = asl_action.c asl_in.c bb_convert.c bsd_in.c bsd_out.c daemon.c dbserver.c klog_in.c remote.c syslogd.c udp_in.c
 
 MANPAGES = asl.conf.5 syslogd.8 syslog.conf.5
 #syslogd.sb
@@ -26,7 +26,7 @@ ifeq ($(PRODUCT),iPhone)
 Extra_CC_Flags += -DCONFIG_IPHONE -DLOCKDOWN
 endif
 
-Extra_LD_Flags = -dead_strip -L"$(SYMROOT)" -laslcommon
+Extra_LD_Flags = -dead_strip -L"$(SYMROOT)" -laslcommon -lbsm
 
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
@@ -34,3 +34,6 @@ after_install:
        $(INSTALL_DIRECTORY) "$(DSTROOT)"/private/var/log/asl
        $(INSTALL_DIRECTORY) "$(DSTROOT)"/usr/share/sandbox
        $(INSTALL_FILE) syslogd.sb "$(DSTROOT)"/usr/share/sandbox
+       codesign -s- $(DSTROOT)/usr/sbin/syslogd
+       mkfile 8 "$(DSTROOT)"/private/var/log/asl/SweepStore
+       chmod 644 "$(DSTROOT)"/private/var/log/asl/SweepStore