X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/43866e378188c25dd1e2208016ab3cbeb086ae6c..39236c6e673c41db228275375ab7fdb0f837b292:/iokit/IOKit/Makefile diff --git a/iokit/IOKit/Makefile b/iokit/IOKit/Makefile index 2ae91e0c7..e9ee13a71 100644 --- a/iokit/IOKit/Makefile +++ b/iokit/IOKit/Makefile @@ -3,15 +3,18 @@ export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir -IOKIT_FRAMEDIR = $(FRAMEDIR)/IOKit.framework/Versions/A -export INCDIR = $(IOKIT_FRAMEDIR)/Headers -export LCLDIR = $(IOKIT_FRAMEDIR)/PrivateHeaders +IOKIT_INCVERS = A +IOKIT_INCFRAME = $(FRAMEDIR)/IOKit.framework +IOKIT_INCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/Headers +IOKIT_PINCDIR = $(IOKIT_INCFRAME)/Versions/$(IOKIT_INCVERS)/PrivateHeaders + +INCDIR = $(IOKIT_INCDIR) +LCLDIR = $(IOKIT_PINCDIR) include $(MakeInc_cmd) include $(MakeInc_def) INSTINC_SUBDIRS = \ - adb \ nvram \ platform \ power \ @@ -19,17 +22,17 @@ INSTINC_SUBDIRS = \ rtc \ system_management -INSTINC_SUBDIRS_PPC = \ - ppc +EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} -INSTINC_SUBDIRS_I386 = \ - i386 +NOT_EXPORT_HEADERS = IOReportMacros.h -EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} -EXPINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS_PPC} -EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386} +NOT_KF_MI_HEADERS = $(NOT_EXPORT_HEADERS) \ + IOKitKeysPrivate.h IOCPU.h \ + IOHibernatePrivate.h IOPolledInterface.h \ + IOCommandQueue.h IOLocksPrivate.h \ + IOSyncer.h AppleKeyStoreInterface.h \ + IOStatistics.h IOStatisticsPrivate.h -NOT_EXPORT_HEADERS = NOT_LOCAL_HEADERS = ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) @@ -37,8 +40,10 @@ ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h)) INSTALL_MI_LIST = IOBSD.h IOKitKeys.h IOKitServer.h IOReturn.h\ IOSharedLock.h IOTypes.h OSMessageNotification.h\ IODataQueueShared.h IOMessage.h - -INSTALL_MI_LCL_LIST = "" + +INSTALL_MI_LCL_LIST = IOKitKeysPrivate.h IOHibernatePrivate.h \ + IOLocksPrivate.h IOStatistics.h \ + AppleKeyStoreInterface.h IOReportTypes.h INSTALL_MI_DIR = . @@ -46,5 +51,7 @@ EXPORT_MI_LIST = $(filter-out $(NOT_EXPORT_HEADERS), $(ALL_HEADERS)) EXPORT_MI_DIR = IOKit +INSTALL_KF_MI_LIST = $(filter-out $(NOT_KF_MI_HEADERS), $(ALL_HEADERS)) + include $(MakeInc_rule) include $(MakeInc_dir)