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

1.1       root        1: #*************************************************************#
                      2: #**                                                         **#
                      3: #**                 Microsoft RPC Examples                  **#
                      4: #**                  hello Application                     **#
                      5: #**           Copyright(c) Microsoft Corp. 1992            **#
                      6: #**                                                         **#
                      7: #*************************************************************#
                      8: 
                      9: !include <ntwin32.mak>
                     10: 
                     11: !if "$(CPU)" == "i386"
                     12: WARN = -W1
                     13: cvtomf =
                     14: !endif
                     15: !if "$(CPU)" == "MIPS"
                     16: WARN =
                     17: cvtomf = mip2coff $@
                     18: !endif
                     19: 
                     20: .c.obj:
                     21:    $(cc) $(cflags) $(cvars) $<
                     22:    $(cvtomf)
                     23: 
                     24: all : helloc hellos
                     25: 
                     26: # Make the client side application helloc
                     27: helloc : helloc.exe
                     28: helloc.exe : helloc.obj hello_c.obj hello_x.obj
                     29:     $(link) $(conflags) -out:helloc.exe \
                     30:       helloc.obj hello_c.obj hello_x.obj \
                     31:       $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs)
                     32: 
                     33: # helloc main program
                     34: helloc.obj : helloc.c hello.h
                     35: 
                     36: # helloc stub
                     37: hello_c.obj : hello_c.c hello.h
                     38:    $(cc) $(cflags) $(cvars) $(WARN) hello_c.c
                     39:    $(cvtomf)
                     40: 
                     41: # helloc auxiliary file
                     42: hello_x.obj : hello_x.c hello.h
                     43:    $(cc) $(cflags) $(cvars) $(WARN) hello_x.c
                     44:    $(cvtomf)
                     45: 
                     46: # Make the server side application
                     47: hellos : hellos.exe
                     48: hellos.exe : hellos.obj hellop.obj hello_s.obj hello_y.obj
                     49:     $(link) $(conflags) -out:hellos.exe \
                     50:       hellos.obj hello_s.obj hellop.obj hello_y.obj \
                     51:       $(LIB)\rpcrt4.lib $(LIB)\rpcndr.lib $(conlibs)
                     52: 
                     53: # hello server main program
                     54: hellos.obj : hellos.c hello.h
                     55: 
                     56: # remote procedures
                     57: hellop.obj     : hellop.c hello.h
                     58: 
                     59: # hellos stub file
                     60: hello_s.obj : hello_s.c hello.h
                     61:    $(cc) $(cflags) $(cvars) $(WARN) hello_s.c
                     62:    $(cvtomf)
                     63: 
                     64: # hellos auxiliary file
                     65: hello_y.obj : hello_y.c hello.h
                     66:    $(cc) $(cflags) $(cvars) $(WARN) hello_y.c
                     67:    $(cvtomf)
                     68: 
                     69: # Stubs, auxiliary and header file from the IDL file
                     70: hello.h hello_c.c hello_x.c hello_s.c hello_y.c : hello.idl hello.acf
                     71:     midl -cpp_cmd $(cc) -cpp_opt "-E"  hello.idl
                     72: 
                     73: # Clean up everything
                     74: cleanall : clean
                     75:     -del *.exe
                     76: 
                     77: # Clean up everything but the .EXEs
                     78: clean :
                     79:     -del *.obj
                     80:     -del *.map
                     81:     -del hello_c.c
                     82:     -del hello_x.c
                     83:     -del hello_s.c
                     84:     -del hello_y.c
                     85:     -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.