X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3e170ce000f1506b7b5d2c5c7faec85ceabb573d..a39ff7e25e19b3a8c3020042a3872ca9ec9659f1:/security/Makefile diff --git a/security/Makefile b/security/Makefile index d917f8827..1917d6e86 100644 --- a/security/Makefile +++ b/security/Makefile @@ -3,16 +3,31 @@ export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir - include $(MakeInc_cmd) include $(MakeInc_def) -DATAFILES = \ - mac.h \ - mac_policy.h +INCDIR=/usr/local/include + +# Installs header file for user level - +# $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders +# $(DSTROOT)/usr/(local/)include/ +DATAFILES= \ + mac.h + +# Installs header file for kernel extensions - +# $(DSTROOT)/System/Library/Frameworks/Kernel.framework/Headers +# $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders +KERNELFILES= \ + +# Installs header file for Apple internal use in user level - +# $(DSTROOT)/System/Library/Frameworks/System.framework/PrivateHeaders +PRIVATE_DATAFILES = ${DATAFILES} -PRIVATE_DATAFILES = \ +# Installs header file for Apple internal use for kernel extensions - +# $(DSTROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders +PRIVATE_KERNELFILES = \ _label.h \ + mac.h \ mac_alloc.h \ mac_data.h \ mac_framework.h \ @@ -20,20 +35,22 @@ PRIVATE_DATAFILES = \ mac_mach_internal.h \ mac_policy.h -# Installed in /usr/include/security/ -INSTALL_MI_LIST = ${DATAFILES} +INSTALL_MI_LIST = ${DATAFILES} + +# /System/Library/Frameworks/System.framework/PrivateHeaders +INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES} INSTALL_MI_DIR = security -EXPORT_MI_LIST = $(sort ${DATAFILES} ${PRIVATE_DATAFILES}) +EXPORT_MI_LIST = ${PRIVATE_KERNELFILES} -EXPORT_MI_DIR = security +EXPORT_MI_DIR = ${INSTALL_MI_DIR} -# /System/Library/Frameworks/System.framework/PrivateHeaders -INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES} +# /System/Library/Frameworks/Kernel.framework/Headers +INSTALL_KF_MI_LIST = $(sort ${KERNELFILES}) # /System/Library/Frameworks/Kernel.framework/PrivateHeaders -INSTALL_KF_MI_LCL_LIST = $(sort ${DATAFILES} ${PRIVATE_DATAFILES}) +INSTALL_KF_MI_LCL_LIST = $(sort ${KERNELFILES} ${PRIVATE_KERNELFILES}) COMP_SUBDIRS = conf