|
|
1.1 root 1: #*************************************************************#
2: #** **#
3: #** Microsoft RPC Examples **#
4: #** bndbuf Application **#
5: #** Copyright(c) Microsoft Corp. 1992, 1993 **#
6: #** **#
7: #*************************************************************#
8:
9: !include <ntwin32.mak>
10:
11: .c.obj:
12: $(cc) $(cdebug) $(cflags) $(cvarsmt) $<
13:
14: all : bndbufc bndbufs
15:
16: # Make the bndbufc
17: bndbufc : bndbufc.exe
18: bndbufc.exe : bndbufc.obj bndbuf_c.obj bndbuf_x.obj
19: $(link) $(linkdebug) $(conflags) -out:bndbufc.exe \
20: bndbufc.obj bndbuf_c.obj bndbuf_x.obj \
21: rpcrt4.lib rpcns4.lib $(conlibsmt)
22:
23: # bndbufc main program
24: bndbufc.obj : bndbufc.c bndbuf.h
25:
26: # bndbufc stub
27: bndbuf_c.obj : bndbuf_c.c bndbuf.h
28:
29: # bndbufc auxiliary file
30: bndbuf_x.obj : bndbuf_x.c bndbuf.h
31:
32: # Make the bndbufs
33: bndbufs : bndbufs.exe
34: bndbufs.exe : bndbufs.obj bndbufp.obj bndbuf_s.obj bndbuf_y.obj
35: $(link) $(linkdebug) $(conflags) -out:bndbufs.exe \
36: bndbufs.obj bndbuf_s.obj bndbufp.obj bndbuf_y.obj \
37: rpcrt4.lib rpcns4.lib $(conlibsmt)
38:
39: # bndbufs main loop
40: bndbufs.obj : bndbufs.c bndbuf.h
41:
42: # remote procedures
43: bndbufp.obj : bndbufp.c bndbuf.h
44:
45: # bndbufs stub file
46: bndbuf_s.obj : bndbuf_s.c bndbuf.h
47:
48: # bndbufs auxiliary file
49: bndbuf_y.obj : bndbuf_y.c bndbuf.h
50:
51: # Stubs, auxiliary and header file from the IDL file
52: bndbuf.h bndbuf_c.c bndbuf_x.c bndbuf_s.c bndbuf_y.c : bndbuf.idl bndbuf.acf
53: midl -cpp_cmd $(cc) -cpp_opt "-E" bndbuf.idl
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 bndbuf_c.c
64: -del bndbuf_x.c
65: -del bndbuf_s.c
66: -del bndbuf_y.c
67: -del bndbuf.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.