Annotation of XNU/iokit/IOKit/storage/Makefile, revision 1.1

1.1     ! root        1: export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
        !             2: export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
        !             3: export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
        !             4: export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
        !             5: 
        !             6: export INCDIR = $(FRAMEDIR)/IOKit.framework/Versions/A/Headers
        !             7: export LCLDIR = $(FRAMEDIR)/System.framework/Versions/B/Headers/iokit
        !             8: 
        !             9: include $(MakeInc_cmd)
        !            10: include $(MakeInc_def)
        !            11: 
        !            12: MI_DIR = storage
        !            13: EXCLUDE_HEADERS = IOMediaBSDClient.h
        !            14: 
        !            15: INSTINC_SUBDIRS = \
        !            16:        ata \
        !            17:        scsi
        !            18: 
        !            19: INSTINC_SUBDIRS_PPC =
        !            20: 
        !            21: INSTINC_SUBDIRS_I386 =
        !            22: 
        !            23: EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
        !            24: EXPINC_SUBDIRS_PPC = ${INSTINC_SUBDIRS_PPC}
        !            25: EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386}
        !            26: 
        !            27: ALL_HEADERS = $(shell (cd $(SOURCE); echo *.h))
        !            28: DATAFILES = $(filter-out $(EXCLUDE_HEADERS), $(ALL_HEADERS))
        !            29: 
        !            30: INSTALL_MI_LIST        = \
        !            31:        IOApplePartitionScheme.h \
        !            32:        IODrive.h \
        !            33:        IOFDiskPartitionScheme.h \
        !            34:        IOMedia.h \
        !            35:        IOPartitionScheme.h \
        !            36:        IONeXTPartitionScheme.h
        !            37: INSTALL_MI_LCL_LIST    = ${DATAFILES}
        !            38: INSTALL_MI_DIR = $(MI_DIR)
        !            39: 
        !            40: EXPORT_MI_LIST = ${DATAFILES}
        !            41: EXPORT_MI_DIR = IOKit/$(MI_DIR)
        !            42: 
        !            43: include $(MakeInc_rule)
        !            44: include $(MakeInc_dir)
        !            45: 
        !            46: RED_INST_SCAFFOLD = $(filter $(INSTALL_MI_LIST), $(INSTALL_MI_LCL_LIST))
        !            47: PRE_INST_SCAFFOLD = $(filter-out $(INSTALL_MI_LIST), $(INSTALL_MI_LCL_LIST))
        !            48: 
        !            49: build_installhdrs_mi::
        !            50:        @echo "[ $(SOURCE) ] Removing old IOKit headers";               \
        !            51:        cd $(DSTROOT)/$(LCLDIR)/$(INSTALL_MI_DIR);                      \
        !            52:        IOKitdir=$(EXPORT_MI_DIR);                                      \
        !            53:        iokitdir=iok`expr "$$IOKitdir" : 'IOK\(.*\)'`;                  \
        !            54:        chmod +w $(RED_INST_SCAFFOLD) $(PRE_INST_SCAFFOLD);             \
        !            55:        rm $(RED_INST_SCAFFOLD) $(PRE_INST_SCAFFOLD);                   \
        !            56:        echo "[ $(SOURCE) ] Constructing redirected scoffold headers";  \
        !            57:        for targetfile in $(RED_INST_SCAFFOLD);                         \
        !            58:        do                                                              \
        !            59:            headerName=$$IOKitdir/$$targetfile;                         \
        !            60:            target=$$iokitdir/$$targetfile;                             \
        !            61:            echo "#warning $$target deprecated: use $$headerName"       \
        !            62:                > $$targetfile;                                         \
        !            63:            echo "#include <$$headerName>" >> $$targetfile;             \
        !            64:        done;                                                           \
        !            65:        echo "[ $(SOURCE) ] Constructing deprecated scoffold headers";  \
        !            66:        for targetfile in $(PRE_INST_SCAFFOLD);                         \
        !            67:        do                                                              \
        !            68:            target=$$iokitdir/$$targetfile;                             \
        !            69:            echo "#warning $$target deprecated: about to be deleted"    \
        !            70:                > $$targetfile;                                         \
        !            71:            cat $(SOURCE)/$$targetfile >> $$targetfile;                 \
        !            72:        done;                                                           \
        !            73:        chmod a-w $(RED_INST_SCAFFOLD) $(PRE_INST_SCAFFOLD)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.