Annotation of mstools/samples/rpc/data/dunion/makefile, revision 1.1

1.1     ! root        1: #*************************************************************#
        !             2: #**                                                         **#
        !             3: #**                 Microsoft RPC Examples                  **#
        !             4: #**                  dunion 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: .obj.exe:
        !            25:     $(link) $(conflags) -out:$(@R).exe $(@R).obj $(conlibs)
        !            26: 
        !            27: all : dunionc dunions
        !            28: 
        !            29: # Make the dunionc
        !            30: dunionc : dunionc.exe
        !            31: dunionc.exe : dunionc.obj dunion_c.obj dunion_x.obj
        !            32:     $(link) $(conflags) -out:dunionc.exe \
        !            33:       dunionc.obj dunion_c.obj dunion_x.obj \
        !            34:       $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs)
        !            35: 
        !            36: # dunionc main program
        !            37: dunionc.obj : dunionc.c dunion.h
        !            38: 
        !            39: # dunionc stub
        !            40: dunion_c.obj : dunion_c.c dunion.h
        !            41:    $(cc) $(cflags) $(cvars) $(WARN) dunion_c.c
        !            42:    $(cvtomf)
        !            43: 
        !            44: # dunionc auxiliary file
        !            45: dunion_x.obj : dunion_x.c dunion.h
        !            46:    $(cc) $(cflags) $(cvars) $(WARN) dunion_x.c
        !            47:    $(cvtomf)
        !            48: 
        !            49: # Make the dunions
        !            50: dunions : dunions.exe
        !            51: dunions.exe : dunions.obj dunionp.obj dunion_s.obj dunion_y.obj
        !            52:     $(link) $(conflags) -out:dunions.exe \
        !            53:       dunions.obj dunion_s.obj dunionp.obj dunion_y.obj \
        !            54:       $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs)
        !            55: 
        !            56: # dunions main loop
        !            57: dunions.obj : dunions.c dunion.h
        !            58: 
        !            59: # remote procedures
        !            60: dunionp.obj  : dunionp.c dunion.h
        !            61: 
        !            62: # dunions stub file
        !            63: dunion_s.obj : dunion_s.c dunion.h
        !            64:    $(cc) $(cflags) $(cvars) $(WARN) dunion_s.c
        !            65:    $(cvtomf)
        !            66: 
        !            67: # dunions auxiliary file
        !            68: dunion_y.obj : dunion_y.c dunion.h
        !            69:    $(cc) $(cflags) $(cvars) $(WARN) dunion_y.c
        !            70:    $(cvtomf)
        !            71: 
        !            72: # Stubs, auxiliary and header file from the IDL file
        !            73: dunion.h dunion_c.c dunion_x.c dunion_s.c dunion_y.c : dunion.idl dunion.acf
        !            74:     midl -cpp_cmd $(cc) -cpp_opt "-E"  dunion.idl
        !            75: 
        !            76: # Clean up everything
        !            77: cleanall : clean
        !            78:     -del *.exe
        !            79: 
        !            80: # Clean up everything but the .EXEs
        !            81: clean :
        !            82:     -del *.obj
        !            83:     -del *.map
        !            84:     -del dunion_c.c
        !            85:     -del dunion_x.c
        !            86:     -del dunion_s.c
        !            87:     -del dunion_y.c
        !            88:     -del dunion.h

unix.superglobalmegacorp.com

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