]> git.saurik.com Git - apple/xnu.git/blobdiff - security/Makefile
xnu-6153.11.26.tar.gz
[apple/xnu.git] / security / Makefile
index 90a42a992a0a02192ef5d2d4e51abb522aa5c94e..77eb0bf7c301a0d0ea1fa4e3b796cf79598c49d4 100644 (file)
@@ -6,50 +6,51 @@ export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
 include $(MakeInc_cmd)
 include $(MakeInc_def)
 
-INSTINC_SUBDIRS = \
-
-INSTINC_SUBDIRS_PPC =  \
-
-INSTINC_SUBDIRS_I386 = \
-
-INSTINC_SUBDIRS_X86_64 = \
-
-EXPINC_SUBDIRS = \
-
-EXPINC_SUBDIRS_PPC = \
-
-EXPINC_SUBDIRS_I386 = \
-
-EXPINC_SUBDIRS_X86_64 = \
-
-DATAFILES = \
-       mac.h \
-       mac_policy.h
-
-PRIVATE_DATAFILES = \
+INCDIR=$(SDKHEADERSROOT)/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}
+
+# 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 \
+       mac_internal.h \
        mac_mach_internal.h \
-       mac_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 = ${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 = ${DATAFILES} ${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 = ${DATAFILES} ${PRIVATE_DATAFILES}
-
-SETUP_SUBDIRS = conf
+INSTALL_KF_MI_LCL_LIST = $(sort ${KERNELFILES} ${PRIVATE_KERNELFILES})
 
 COMP_SUBDIRS = conf