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