Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

  1. #*************************************************************#
  2. #** **#
  3. #** Microsoft RPC Examples **#
  4. #** hello Application **#
  5. #** Copyright(c) Microsoft Corp. 1992 **#
  6. #** **#
  7. #*************************************************************#
  8. !INCLUDE $(NTMAKEENV)\makefile.plt
  9. CPP = -cpp_cmd "$(MIDL_CPP)" $(MIDL_FLAGS) $(C_DEFINES) $(NET_C_DEFINES)
  10. IDL1_NAME = hello
  11. all: hello2.h hello.h
  12. # Stubs, auxiliary and header file from the IDL file
  13. hello.h hello_c.c hello_x.c hello_s.c hello_y.c : hello.idl hello.acf
  14. midl -Oi -error allocation -error ref -ms_ext -c_ext $(CPP) $(CLIENT_FLAGS) .\$(IDL1_NAME).idl $(INCS)
  15. copy hello_c.c client
  16. copy hello_s.c server
  17. IDL2_NAME = hello2
  18. hello2.h hello2_c.c hello2_x.c : hello2.idl hello2.acf
  19. midl -Oi -error allocation -error ref -ms_ext -c_ext $(CPP) $(CLIENT_FLAGS) .\$(IDL2_NAME).idl $(INCS)
  20. copy hello2_c.c server
  21. clean :
  22. -del hello_c.c
  23. -del hello_x.c
  24. -del hello_s.c
  25. -del hello_y.c
  26. -del hello.h
  27. -del hello2_c.c
  28. -del hello2_x.c
  29. -del hello2_s.c
  30. -del hello2_y.c
  31. -del hello2.h