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