Annotation of mstools/samples/rpc/handles/cxhndl/makefile, revision 1.1

1.1     ! root        1: #*************************************************************#
        !             2: #**                                                         **#
        !             3: #**                 Microsoft RPC Examples                  **#
        !             4: #**                  cxhndl Application                    **#
        !             5: #**           Copyright(c) Microsoft Corp. 1992            **#
        !             6: #**                                                         **#
        !             7: #*************************************************************#
        !             8: 
        !             9: !include <ntwin32.mak>
        !            10: 
        !            11: !if "$(CPU)" == "i386"
        !            12: cvtomf =
        !            13: WARN = -W1
        !            14: !endif
        !            15: !if "$(CPU)" == "MIPS"
        !            16: cvtomf = mip2coff $@
        !            17: WARN =
        !            18: !endif
        !            19: 
        !            20: .c.obj:
        !            21:    $(cc) $(cflags) $(cvars) $<
        !            22:    $(cvtomf)
        !            23: 
        !            24: all : cxhndlc cxhndls
        !            25: 
        !            26: # Make the cxhndl client
        !            27: cxhndlc : cxhndlc.exe
        !            28: cxhndlc.exe : cxhndlc.obj cxhndl_c.obj cxhndl_x.obj
        !            29:     $(link) $(conflags) -out:cxhndlc.exe \
        !            30:       cxhndlc.obj cxhndl_c.obj cxhndl_x.obj \
        !            31:       $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs)
        !            32: 
        !            33: # client main program
        !            34: cxhndlc.obj : cxhndlc.c cxhndl.h
        !            35: 
        !            36: # client stub
        !            37: cxhndl_c.obj : cxhndl_c.c cxhndl.h
        !            38:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_c.c
        !            39:    $(cvtomf)
        !            40: 
        !            41: # client auxiliary file
        !            42: cxhndl_x.obj : cxhndl_x.c cxhndl.h
        !            43:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_x.c
        !            44:    $(cvtomf)
        !            45: 
        !            46: # Make the cxhndl server
        !            47: cxhndls : cxhndls.exe
        !            48: cxhndls.exe : cxhndls.obj cxhndlp.obj cxhndl_s.obj cxhndl_y.obj
        !            49:     $(link) $(conflags) -out:cxhndls.exe \
        !            50:       cxhndls.obj cxhndl_s.obj cxhndlp.obj cxhndl_y.obj \
        !            51:       $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs)
        !            52: 
        !            53: # server main loop
        !            54: cxhndls.obj : cxhndls.c cxhndl.h
        !            55: 
        !            56: # remote procedures
        !            57: cxhndlp.obj  : cxhndlp.c cxhndl.h
        !            58: 
        !            59: # server stub file
        !            60: cxhndl_s.obj : cxhndl_s.c cxhndl.h
        !            61:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_s.c
        !            62:    $(cvtomf)
        !            63: 
        !            64: # server auxiliary file
        !            65: cxhndl_y.obj : cxhndl_y.c cxhndl.h
        !            66:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_y.c
        !            67:    $(cvtomf)
        !            68: 
        !            69: # Stubs, auxiliary and header file from the IDL file
        !            70: cxhndl.h cxhndl_c.c cxhndl_x.c cxhndl_s.c cxhndl_y.c : cxhndl.idl cxhndl.acf
        !            71:     midl -cpp_cmd $(cc) -cpp_opt "-E"  cxhndl.idl
        !            72: 
        !            73: # Clean up everything
        !            74: cleanall : clean
        !            75:     -del *.exe
        !            76: 
        !            77: # Clean up everything but the .EXEs
        !            78: clean :
        !            79:     -del *.obj
        !            80:     -del *.map
        !            81:     -del cxhndl_c.c
        !            82:     -del cxhndl_x.c
        !            83:     -del cxhndl_s.c
        !            84:     -del cxhndl_y.c
        !            85:     -del cxhndl.h

unix.superglobalmegacorp.com

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