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

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