Annotation of mstools/samples/rpc/hello/makefile, revision 1.1.1.3

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

unix.superglobalmegacorp.com

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