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

1.1     ! root        1: #
        !             2: # Makefile for driverkit code examples.
        !             3: 
        !             4: MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
        !             5: include $(MAKEFILEDIR)/platform.make
        !             6: 
        !             7: CFILES=
        !             8: MFILES= ioThread.m
        !             9: HFILES=        ioThread.h ioThreadPrivate.h
        !            10: ifneq "" "$(wildcard /bin/mkdirs)"
        !            11:   MKDIRS = /bin/mkdirs
        !            12: else
        !            13:   MKDIRS = /bin/mkdir -p
        !            14: endif
        !            15: 
        !            16: #
        !            17: # OBJROOT and SYMROOT are overridden by RC tools for builds from read-only
        !            18: # source.
        !            19: #
        !            20: OBJROOT= .
        !            21: SYMROOT= .
        !            22: VPATH= $(OBJROOT)
        !            23: 
        !            24: #
        !            25: # use these for local build...
        !            26: #
        !            27: DRIVER_LIB=    $(SYMROOT)/../../libDriver/syms/libDriver_g.a
        !            28: CFLAGS= -g -DDEBUG -DXPR_DEBUG $(RC_CFLAGS) -DNRW_BUILD -MD -Wall -I../..
        !            29: 
        !            30: #
        !            31: # and these for building from installed libs and header files...
        !            32: #
        !            33: #DRIVER_LIB=   $(DSTROOT)/usr/local/lib/libDriver_g.a
        !            34: #CFLAGS= -g -DDEBUG -DXPR_DEBUG -DNRW_BUILD -MD -Wall \
        !            35: #       -I//NextDeveloper/Imports 
        !            36: 
        !            37: SOURCEFILES= Makefile $(CFILES) $(MFILES) $(HFILES)
        !            38: OFILES= $(CFILES:.c=.o) $(MFILES:.m=.o)
        !            39: 
        !            40: TARGETS = $(OBJROOT)/ioThread
        !            41: 
        !            42: USER_CFLAGS= -DIOSERVER
        !            43: 
        !            44: all debug: $(OBJROOT) $(SYMROOT) $(TARGETS)
        !            45: 
        !            46: install: all
        !            47: 
        !            48: installhdrs install_only tags kern:
        !            49:        
        !            50: installsrc: $(SRCROOT)
        !            51:        gnutar cf - $(SOURCEFILES) | (cd $(SRCROOT); gnutar xpf -)
        !            52: 
        !            53: clean:
        !            54:        -rm -f *.o *.d $(TARGETS) Makedep *~
        !            55: 
        !            56: $(SRCROOT) $(OBJROOT) $(SYMROOT):
        !            57:        $(MKDIRS) $@
        !            58: 
        !            59: $(OBJROOT)/ioThread:   ioThread.o  $(DRIVER_LIB)
        !            60:        ${CC} ${CFLAGS} $(USER_CFLAGS) -o $@ [email protected] $(DRIVER_LIB)
        !            61: 
        !            62: .c.o:
        !            63:        ${CC} ${CFLAGS} -c -o $(OBJROOT)/$@ \
        !            64:                -dependency-file $(OBJROOT)/$(*F).d $(*F).c
        !            65:        md -u $(OBJROOT)/Makedep -d $(OBJROOT)/$(*F).d
        !            66:                
        !            67: .m.o:
        !            68:        ${CC} ${CFLAGS} -c -o $(OBJROOT)/$@ \
        !            69:                -dependency-file $(OBJROOT)/$(*F).d $(*F).m
        !            70:        md -u $(OBJROOT)/Makedep -d $(OBJROOT)/$(*F).d
        !            71:                
        !            72: -include $(OBJROOT)/Makedep

unix.superglobalmegacorp.com

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