Annotation of mstools/samples/rpc/doctor/makefile, revision 1.1.1.2

1.1       root        1: #*************************************************************#
                      2: #**                                                         **#
                      3: #**                 Microsoft RPC Examples                  **#
                      4: #**                  doctor 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: WARN =
                     19: cvtomf = mip2coff $@
                     20: !endif
                     21: 
                     22: .c.obj:
                     23:    $(cc) $(cflags) $(cvars) $(DEBUG) $<
                     24:    $(cvtomf)
                     25: 
                     26: all : doctorc doctors
                     27: 
                     28: # Make the doctor client executable
                     29: doctorc : doctorc.exe
                     30: doctorc.exe : doctorc.obj doctor_c.obj doctor_x.obj
                     31:     $(link) $(conflags) -out:doctorc.exe \
                     32:       doctorc.obj doctor_c.obj doctor_x.obj \
1.1.1.2 ! root       33:       rpcrt4.lib rpcndr.lib $(conlibs)
1.1       root       34: 
                     35: # client main program
                     36: doctorc.obj : doctorc.c doctor.h
                     37: 
                     38: # client stub
                     39: doctor_c.obj : doctor_c.c doctor.h
                     40:    $(cc) $(cflags) $(cvars) $(WARN) $(DEBUG)  doctor_c.c
                     41:    $(cvtomf)
                     42: 
                     43: # client auxiliary file
                     44: doctor_x.obj : doctor_x.c doctor.h
                     45:    $(cc) $(cflags) $(cvars) $(WARN) $(DEBUG) doctor_x.c
                     46:    $(cvtomf)
                     47: 
                     48: # Make the doctor server executable
                     49: doctors : doctors.exe
                     50: doctors.exe : doctors.obj doctorp.obj doctor_s.obj doctor_y.obj
                     51:     $(link) $(conflags) -out:doctors.exe \
                     52:       doctors.obj doctor_s.obj doctorp.obj doctor_y.obj \
1.1.1.2 ! root       53:       rpcrt4.lib rpcndr.lib $(conlibs)
1.1       root       54: 
                     55: # server main loop
                     56: doctors.obj : doctors.c doctor.h
                     57: 
                     58: # remote procedures
                     59: doctorp.obj  : doctorp.c doctor.h
                     60: 
                     61: # server stub file
                     62: doctor_s.obj : doctor_s.c doctor.h
                     63:    $(cc) $(cflags) $(cvars) $(WARN) $(DEBUG) doctor_s.c
                     64:    $(cvtomf)
                     65: 
                     66: # server auxiliary file
                     67: doctor_y.obj : doctor_y.c doctor.h
                     68:    $(cc) $(cflags) $(cvars) $(WARN) $(DEBUG) doctor_y.c
                     69:    $(cvtomf)
                     70: 
                     71: # Stubs, auxiliary and header file from the IDL file
                     72: doctor.h doctor_c.c doctor_x.c doctor_s.c doctor_y.c : doctor.idl doctor.acf
                     73:     midl -cpp_cmd $(cc) -cpp_opt "-E"  doctor.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 doctor_c.c
                     84:     -del doctor_x.c
                     85:     -del doctor_s.c
                     86:     -del doctor_y.c
                     87:     -del doctor.h

unix.superglobalmegacorp.com

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