|
|
1.1.1.4 ! root 1: 1.1 root 2: #*************************************************************# 3: #** **# 4: #** Microsoft RPC Examples **# 5: #** Dictionary Application **# 6: #** Copyright(c) Microsoft Corp. 1991 **# 7: #** **# 8: #*************************************************************# 9: 1.1.1.4 ! root 10: !include <ntwin32.mak> 1.1 root 11: 1.1.1.4 ! root 12: !if "$(CPU)" == "i386" ! 13: cflags = $(cflags:G3=Gz) 1.1 root 14: !endif 1.1.1.2 root 15: 1.1.1.4 ! root 16: .c.obj: ! 17: $(cc) $(cdebug) $(cflags) $(cvars) $< 1.1.1.2 root 18: 19: all : client.exe server.exe play.exe 20: 1.1.1.4 ! root 21: # Make the client ! 22: client : client.exe ! 23: client.exe : client.obj util0.obj replay_c.obj replay_x.obj ! 24: $(link) $(linkdebug) $(conflags) -out:client.exe -map:client.map \ ! 25: client.obj util0.obj replay_c.obj replay_x.obj \ ! 26: rpcrt4.lib $(conlibs) ! 27: ! 28: # dict client main program ! 29: client.obj : client.c util0.h replay.h ! 30: ! 31: # dict client stub ! 32: replay_x.obj : replay_x.c replay.h ! 33: ! 34: # dict client auxiliary file ! 35: replay_c.obj : replay_c.c replay.h ! 36: ! 37: # Make the server executable ! 38: server : server.exe ! 39: server.exe : server.obj util0.obj replay_s.obj replay_y.obj replay.obj dict0.obj ! 40: $(link) $(linkdebug) $(conflags) -out:server.exe -map:server.map \ ! 41: server.obj util0.obj replay_s.obj replay_y.obj replay.obj dict0.obj \ ! 42: rpcrt4.lib $(conlibs) ! 43: ! 44: # dict server main program ! 45: server.obj : server.c util0.h replay.h ! 46: ! 47: # dict remote procedures ! 48: replay.obj : replay.c util0.h replay.h 1.1.1.2 root 49: 1.1.1.4 ! root 50: # dict server stub ! 51: replay_y.obj : replay_y.c replay.h 1.1.1.2 root 52: 1.1.1.4 ! root 53: # dict server auxiliary file ! 54: replay_s.obj : replay_s.c replay.h 1.1.1.2 root 55: 1.1.1.4 ! root 56: # make the local executable ! 57: play : play.exe ! 58: play.exe : play.obj lutil0.obj dict0.obj ! 59: $(link) $(linkdebug) $(conflags) -out:play.exe -map:play.map \ ! 60: play.obj lutil0.obj dict0.obj \ ! 61: $(conlibs) 1.1.1.2 root 62: 1.1.1.4 ! root 63: # dict local main program ! 64: play.obj : play.c util0.h dict0.h 1.1.1.2 root 65: 1.1.1.4 ! root 66: dict0.obj : dict0.c dict0.h 1.1.1.2 root 67: 1.1.1.4 ! root 68: util0.obj : util0.c util0.h 1.1.1.2 root 69: 1.1.1.4 ! root 70: lutil0.obj : util0.c util0.h ! 71: copy util0.c lutil0.c ! 72: $(cc) $(cdebug) $(cflags) $(cvars) -D_LOCAL lutil0.c ! 73: del lutil0.c 1.1 root 74: 1.1.1.4 ! root 75: # Stubs, auxiliary and header file from the IDL file 1.1 root 76: replay.h replay_s.c replay_c.c replay_y.c replay_x.c : replay.idl replay.acf 1.1.1.4 ! root 77: midl -cpp_cmd $(cc) -cpp_opt "-E" replay.idl 1.1 root 78: 1.1.1.4 ! root 79: # Clean up everything ! 80: cleanall : clean ! 81: -del *.exe 1.1 root 82: 1.1.1.4 ! root 83: # Clean up everything but the .EXEs 1.1 root 84: clean : 1.1.1.4 ! root 85: -del *.obj ! 86: -del *.map ! 87: -del replay_?.c 1.1.1.2 root 88: -del replay.h 1.1 root 89:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.