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