Annotation of driverkit/Examples/KStub/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: #      Makefile for kernel loadable version of IOStub
        !             3: #
        !             4: BUILD_NAME=IOStub
        !             5: INSTALL_BIN_DIR= 
        !             6: INSTALL_HDR_DIR= 
        !             7: INSTALLFLAGS=
        !             8: 
        !             9: #
        !            10: # Define target architectures.
        !            11: # MACHINE_LIST is the list of architectures to be build for during "make all"
        !            12: #      and "make install" if RC_ARCHS is not specified.
        !            13: # TARGET_LIST specify the type of build to be performed during "make all" and
        !            14: #      "make install".
        !            15: # MACHINE and first specify the architecture and type of build for a default
        !            16: #      'make' with no arguments. 
        !            17: #
        !            18: # Possible values of 'first' and TARGET_LIST are:
        !            19: #
        !            20: #      release                 -- user executable
        !            21: #      debug                   -- user executable, DEBUG
        !            22: #      kernrelease             -- .o to be linked into kernel code
        !            23: #      kerndebug               -- .o to be linked into kernel code, DEBUG
        !            24: #      relocrelease            -- kern-loadable
        !            25: #      relocdebug              -- kern_loadable, DEBUG
        !            26: #
        !            27: MACHINE_LIST=          m88k
        !            28: TARGET_LIST=           relocdebug
        !            29: MACHINE=               m88k
        !            30: INSTALL_TARGETS=       relocdebug
        !            31: INSTALL_MACHINES=      m88k
        !            32: 
        !            33: first: relocdebug
        !            34: 
        !            35: #
        !            36: # Define machine-dependent subdirectories. Leave commented out if none.
        !            37: #
        !            38: #SOURCE_SUBDIRS=
        !            39: 
        !            40: DEBUG_CFLAGS=  -I../..
        !            41: RELEASE_CFLAGS= -I../..
        !            42: 
        !            43: # For generating relocatable .o:
        !            44: #
        !            45: #LD= /bin/ld
        !            46: #DEBUG_LDFLAGS= -r
        !            47: #RELEASE_LDFLAGS= -r
        !            48: 
        !            49: #
        !            50: # For generating executable:
        !            51: #
        !            52: LD= /bin/cc
        !            53: DEBUG_LDFLAGS=
        !            54: RELEASE_LDFLAGS=
        !            55: 
        !            56: #
        !            57: # Options to kl_ld for generating kern-loadable.
        !            58: #
        !            59: KL_DEBUG_FLAGS= -d IOStub_loadable
        !            60: KL_RELEASE_FLAGS=
        !            61: 
        !            62: #
        !            63: # Define these for generating a kern_loadable relocatable.
        !            64: #
        !            65: SERVER_NAME=IOStub
        !            66: KS_VAR_NAME=stub_var
        !            67: 
        !            68: #
        !            69: # Specify name of load_commands and unload_commands text files for 
        !            70: # kern-loadable module.
        !            71: #
        !            72: LOAD_COMMANDS= Load_Commands.sect
        !            73: UNLOAD_COMMANDS= Unload_Commands.sect
        !            74: 
        !            75: #
        !            76: # Specify the source files common to all machines.
        !            77: #
        !            78: COMMON_MFILES= IOStub.m IOStubThread.m
        !            79: COMMON_CFILES= 
        !            80: COMMON_PUBLIC_HFILES=
        !            81: COMMON_PRIVATE_HFILES= IOStubThread.h IOStubPrivate.h IOStub.h IOStubUnix.h
        !            82: 
        !            83: #
        !            84: # one set of source files sharing a common name in the machine-dependent 
        !            85: # build directories. 
        !            86: #
        !            87: MACHINE_COMMON_CFILES=
        !            88: MACHINE_COMMON_MFILES=
        !            89: 
        !            90: #
        !            91: # optionally, additional source files specific to each machine.
        !            92: #
        !            93: # 88k specific...
        !            94: m88k_CFILES=
        !            95: m88k_MFILES=
        !            96: # 68k specific...
        !            97: m68k_CFILES=
        !            98: m68k_MFILES=
        !            99: # i386 specific...
        !           100: i386_CFILES=
        !           101: i386_MFILES=
        !           102: 
        !           103: #
        !           104: # User, kernel, and kern-loadable specific source.
        !           105: #
        !           106: USER_MFILES=
        !           107: USER_CFILES=
        !           108: KERNEL_MFILES= IOStubKernLoad.m IOStubUnix.m
        !           109: KERNEL_CFILES=
        !           110: 
        !           111: #
        !           112: # Other files to installsrc.
        !           113: #
        !           114: OTHER_SOURCE= Load_Commands.sect Unload_Commands.sect README.rtf
        !           115: 
        !           116: #
        !           117: # Other install rules (invoked as dependency, so this executes before 
        !           118: # the main install rule).
        !           119: #
        !           120: other_install: always
        !           121: 
        !           122: # 
        !           123: # Libraries. These may be overridden, deleted, or appended to.
        !           124: #
        !           125: # KStub - Since this is loaded into the kernel, we don't need any libraries.
        !           126: #
        !           127: RELEASE_LIBS=
        !           128: DEBUG_LIBS=  
        !           129: #RELEASE_KERN_LIBS=    $(SYMROOT)/../../libDriver/syms/libDriver_kern.o
        !           130: #DEBUG_KERN_LIBS=      $(SYMROOT)/../../libDriver/syms/libDriver_kern_g.o
        !           131: RELEASE_KERN_LIBS=
        !           132: DEBUG_KERN_LIBS=       
        !           133: 
        !           134: #
        !           135: # Typically there is nothing to install; public header files are in
        !           136: # ../driverkit and binaries are linked into libDriver. This can be overridden
        !           137: # to install an executable, though.
        !           138: #
        !           139: install: $(TARGETS)
        !           140: 
        !           141: #
        !           142: # This does the rest.
        !           143: #
        !           144: -include ../../MakefileDir/Makefile.device_common

unix.superglobalmegacorp.com

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