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