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

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
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: cvtomf = mip2coff $@
                     19: WARN =
                     20: !endif
                     21: 
                     22: .c.obj:
                     23:    $(cc) $(cflags) $(cvars) $<
                     24:    $(cvtomf)
                     25: 
                     26: all : cxhndlc cxhndls
                     27: 
                     28: # Make the cxhndl client
                     29: cxhndlc : cxhndlc.exe
                     30: cxhndlc.exe : cxhndlc.obj cxhndl_c.obj cxhndl_x.obj
                     31:     $(link) $(conflags) -out:cxhndlc.exe \
                     32:       cxhndlc.obj cxhndl_c.obj cxhndl_x.obj \
1.1.1.2 ! root       33:       rpcrt4.lib rpcndr.lib $(conlibs)
1.1       root       34: 
                     35: # client main program
                     36: cxhndlc.obj : cxhndlc.c cxhndl.h
                     37: 
                     38: # client stub
                     39: cxhndl_c.obj : cxhndl_c.c cxhndl.h
                     40:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_c.c
                     41:    $(cvtomf)
                     42: 
                     43: # client auxiliary file
                     44: cxhndl_x.obj : cxhndl_x.c cxhndl.h
                     45:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_x.c
                     46:    $(cvtomf)
                     47: 
                     48: # Make the cxhndl server
                     49: cxhndls : cxhndls.exe
                     50: cxhndls.exe : cxhndls.obj cxhndlp.obj cxhndl_s.obj cxhndl_y.obj
                     51:     $(link) $(conflags) -out:cxhndls.exe \
                     52:       cxhndls.obj cxhndl_s.obj cxhndlp.obj cxhndl_y.obj \
1.1.1.2 ! root       53:       rpcrt4.lib rpcndr.lib $(conlibs)
1.1       root       54: 
                     55: # server main loop
                     56: cxhndls.obj : cxhndls.c cxhndl.h
                     57: 
                     58: # remote procedures
                     59: cxhndlp.obj  : cxhndlp.c cxhndl.h
                     60: 
                     61: # server stub file
                     62: cxhndl_s.obj : cxhndl_s.c cxhndl.h
                     63:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_s.c
                     64:    $(cvtomf)
                     65: 
                     66: # server auxiliary file
                     67: cxhndl_y.obj : cxhndl_y.c cxhndl.h
                     68:    $(cc) $(cflags) $(cvars) $(WARN) cxhndl_y.c
                     69:    $(cvtomf)
                     70: 
                     71: # Stubs, auxiliary and header file from the IDL file
                     72: cxhndl.h cxhndl_c.c cxhndl_x.c cxhndl_s.c cxhndl_y.c : cxhndl.idl cxhndl.acf
                     73:     midl -cpp_cmd $(cc) -cpp_opt "-E"  cxhndl.idl
                     74: 
                     75: # Clean up everything
                     76: cleanall : clean
                     77:     -del *.exe
                     78: 
                     79: # Clean up everything but the .EXEs
                     80: clean :
                     81:     -del *.obj
                     82:     -del *.map
                     83:     -del cxhndl_c.c
                     84:     -del cxhndl_x.c
                     85:     -del cxhndl_s.c
                     86:     -del cxhndl_y.c
                     87:     -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.