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

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

unix.superglobalmegacorp.com

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