]>
Commit | Line | Data |
---|---|---|
57b0aad2 A |
1 | Project = syslogd |
2 | ProductType = tool | |
3 | Install_Dir = /usr/sbin | |
4 | ||
c4fdb7d1 | 5 | 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 |
57b0aad2 A |
6 | |
7 | MANPAGES = asl.conf.5 syslogd.8 syslog.conf.5 | |
8 | #syslogd.sb | |
9 | LAUNCHD_PLISTS = com.apple.syslogd.plist | |
10 | ||
11 | Extra_CC_Flags = -Wall -mdynamic-no-pic \ | |
12 | -DINET6 \ | |
13 | -I"$(OBJROOT)"/aslcommon \ | |
14 | -I../aslcommon \ | |
15 | -I"$(SDKROOT)"/System/Library/Frameworks/System.framework/PrivateHeaders | |
16 | ||
17 | # Determine product configuartion | |
18 | PRODUCT = $(shell tconf --product) | |
19 | ifeq ($(PRODUCT),MacOSX) | |
20 | Extra_CC_Flags += -DCONFIG_MAC -DREMOTE_IPV4 | |
21 | endif | |
22 | ifeq ($(PRODUCT),AppleTV) | |
23 | Extra_CC_Flags += -DCONFIG_APPLETV -DREMOTE_IPV4 | |
24 | endif | |
25 | ifeq ($(PRODUCT),iPhone) | |
26 | Extra_CC_Flags += -DCONFIG_IPHONE -DLOCKDOWN | |
27 | endif | |
28 | ||
c4fdb7d1 | 29 | Extra_LD_Flags = -dead_strip -L"$(SYMROOT)" -laslcommon -lbsm |
57b0aad2 A |
30 | |
31 | include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make | |
32 | ||
33 | after_install: | |
34 | $(INSTALL_DIRECTORY) "$(DSTROOT)"/private/var/log/asl | |
35 | $(INSTALL_DIRECTORY) "$(DSTROOT)"/usr/share/sandbox | |
36 | $(INSTALL_FILE) syslogd.sb "$(DSTROOT)"/usr/share/sandbox | |
c4fdb7d1 A |
37 | codesign -s- $(DSTROOT)/usr/sbin/syslogd |
38 | mkfile 8 "$(DSTROOT)"/private/var/log/asl/SweepStore | |
39 | chmod 644 "$(DSTROOT)"/private/var/log/asl/SweepStore |