|
|
1.1 root 1: #*************************************************************#
2: #** **#
3: #** Microsoft RPC Examples **#
1.1.1.3 ! root 4: #** doctor 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) $(DEBUG) $<
1.1 root 13:
14: all : doctorc doctors
15:
16: # Make the doctor client executable
17: doctorc : doctorc.exe
18: doctorc.exe : doctorc.obj doctor_c.obj doctor_x.obj
1.1.1.3 ! root 19: $(link) $(linkdebug) $(conflags) -out:doctorc.exe \
1.1 root 20: doctorc.obj doctor_c.obj doctor_x.obj \
1.1.1.3 ! root 21: rpcrt4.lib $(conlibs)
1.1 root 22:
23: # client main program
24: doctorc.obj : doctorc.c doctor.h
25:
26: # client stub
27: doctor_c.obj : doctor_c.c doctor.h
28:
29: # client auxiliary file
30: doctor_x.obj : doctor_x.c doctor.h
31:
32: # Make the doctor server executable
33: doctors : doctors.exe
34: doctors.exe : doctors.obj doctorp.obj doctor_s.obj doctor_y.obj
1.1.1.3 ! root 35: $(link) $(linkdebug) $(conflags) -out:doctors.exe \
1.1 root 36: doctors.obj doctor_s.obj doctorp.obj doctor_y.obj \
1.1.1.3 ! root 37: rpcrt4.lib $(conlibs)
1.1 root 38:
39: # server main loop
40: doctors.obj : doctors.c doctor.h
41:
42: # remote procedures
43: doctorp.obj : doctorp.c doctor.h
44:
45: # server stub file
46: doctor_s.obj : doctor_s.c doctor.h
47:
48: # server auxiliary file
49: doctor_y.obj : doctor_y.c doctor.h
50:
51: # Stubs, auxiliary and header file from the IDL file
52: doctor.h doctor_c.c doctor_x.c doctor_s.c doctor_y.c : doctor.idl doctor.acf
1.1.1.3 ! root 53: midl -cpp_cmd $(cc) -cpp_opt "-E" -ms_ext doctor.idl
1.1 root 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 doctor_c.c
64: -del doctor_x.c
65: -del doctor_s.c
66: -del doctor_y.c
67: -del doctor.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.