Annotation of mstools/samples/rpc/data/xmit/makefile, revision 1.1.1.2

1.1       root        1: #*************************************************************#
                      2: #**                                                         **#
                      3: #**                 Microsoft RPC Examples                  **#
                      4: #**                  xmit Application                      **#
                      5: #**           Copyright(c) Microsoft Corp. 1992            **#
                      6: #**                                                         **#
                      7: #*************************************************************#
                      8: 
                      9: !include <ntwin32.mak>
                     10: 
                     11: !if "$(CPU)" == "i386"
                     12: WARN = -W0
                     13: cvtomf =
1.1.1.2 ! root       14: # workaround for Windows NT 10/92 beta
        !            15: cflags = $(cflags:G3=Gz)
1.1       root       16: !endif
                     17: !if "$(CPU)" == "MIPS"
                     18: WARN =
                     19: cvtomf = mip2coff $@
                     20: !endif
                     21: 
                     22: .c.obj:
1.1.1.2 ! root       23:    $(cc) $(cflags) $(cvars) $<
1.1       root       24:    $(cvtomf)
                     25: 
                     26: .obj.exe:
                     27:     $(link) $(conflags) -out:$(@R).exe $(@R).obj $(conlibs)
                     28: 
                     29: all : xmitc xmits
                     30: 
                     31: # Make the client
                     32: xmitc : xmitc.exe
1.1.1.2 ! root       33: xmitc.exe : xmitc.obj xmitu.obj xmit_c.obj xmit_x.obj
1.1       root       34:     $(link) $(conflags) -out:xmitc.exe -map:xmitc.map \
1.1.1.2 ! root       35:       xmitc.obj xmitu.obj xmit_c.obj xmit_x.obj        \
        !            36:       rpcrt4.lib rpcndr.lib $(conlibs)
1.1       root       37: 
                     38: # xmit client main program
1.1.1.2 ! root       39: xmitc.obj : xmitc.c xmit.h xmitu.h
1.1       root       40: 
                     41: # xmit client stub
                     42: xmit_c.obj : xmit_c.c xmit.h
                     43:    $(cc) $(cflags) $(cvars) $(WARN) xmit_c.c
                     44:    $(cvtomf)
                     45: 
                     46: # xmit client auxiliary file
                     47: xmit_x.obj : xmit_x.c xmit.h
                     48:    $(cc) $(cflags) $(cvars) $(WARN) xmit_x.c
                     49:    $(cvtomf)
                     50: 
                     51: # Make the server executable
                     52: xmits : xmits.exe
1.1.1.2 ! root       53: xmits.exe : xmits.obj xmitu.obj xmitp.obj xmit_s.obj xmit_y.obj
1.1       root       54:     $(link) $(conflags) -out:xmits.exe -map:xmits.map \
1.1.1.2 ! root       55:       xmits.obj xmitu.obj xmit_s.obj xmitp.obj xmit_y.obj \
        !            56:       rpcrt4.lib rpcndr.lib $(conlibs)
1.1       root       57: 
                     58: # xmit server main
1.1.1.2 ! root       59: xmits.obj : xmits.c xmit.h xmitu.h
1.1       root       60: 
                     61: # remote procedures
                     62: xmitp.obj  : xmitp.c xmit.h
                     63:    $(cc) $(cflags) $(cvars) $(WARN) xmitp.c
                     64:    $(cvtomf)
                     65: 
                     66: # xmit server stub file
                     67: xmit_s.obj : xmit_s.c xmit.h
                     68:    $(cc) $(cflags) $(cvars) $(WARN) xmit_s.c
                     69:    $(cvtomf)
                     70: 
                     71: # xmit server auxiliary file
                     72: xmit_y.obj : xmit_y.c xmit.h
                     73:    $(cc) $(cflags) $(cvars) $(WARN) xmit_y.c
                     74:    $(cvtomf)
                     75: 
                     76: # Stubs, auxiliary and header file from the IDL file
                     77: xmit.h xmit_c.c xmit_x.c xmit_s.c xmit_y.c : xmit.idl xmit.acf
1.1.1.2 ! root       78:     midl xmit.idl
1.1       root       79: 
                     80: # Clean up everything
                     81: cleanall : clean
                     82:     -del *.exe
                     83: 
                     84: # Clean up everything but the .EXEs
                     85: clean :
                     86:     -del *.obj
                     87:     -del *.map
                     88:     -del xmit_c.c
                     89:     -del xmit_x.c
                     90:     -del xmit_s.c
                     91:     -del xmit_y.c
                     92:     -del xmit.h

unix.superglobalmegacorp.com

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