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.

90 lines
2.2 KiB

  1. #
  2. # This is the MIDL compile phase of the build process.
  3. #
  4. !INCLUDE $(NTMAKEENV)\makefile.plt
  5. UNICODE=1
  6. SDKINC = $(SDK_INC_PATH)
  7. SDKCRTINC = $(CRT_INC_PATH)
  8. PRIVINC = $(DS_INC_PATH)
  9. INCS = -I$(SDKINC) -I$(SDKCRTINC) -I$(PRIVINC) -I..\inc
  10. EXTRN_DEPENDS = $(SDKINC)\winbase.h \
  11. $(SDKINC)\windef.h
  12. NET_C_DEFINES= -DMIDL_PASS -DINCL_32= -DNT -DRPC_NO_WINDOWS_H
  13. CPP = -cpp_cmd "$(MIDL_CPP)" -cpp_opt "-nologo -E $(MIDL_FLAGS) $(INCS) $(C_DEFINES) $(NET_C_DEFINES)"
  14. BINPLACE_CMD= -binplace
  15. #
  16. # Define Products and Dependencies
  17. #
  18. all: binplace
  19. binplace:
  20. $(BINPLACE_CMD) ..\perfdll\ntfrsrep.ini
  21. $(BINPLACE_CMD) ..\perfdll\ntfrsrep.h
  22. $(BINPLACE_CMD) ..\perfdll\ntfrscon.ini
  23. $(BINPLACE_CMD) ..\perfdll\ntfrscon.h
  24. #
  25. # MIDL COMPILE
  26. #
  27. #
  28. # SERVICE RPC
  29. #
  30. $(O)\frsrpc.h \
  31. $(O)\frsrpc_c.c \
  32. $(O)\frsrpc_s.c \ : .\frsrpc.idl .\frsrpc.acf $(EXTRN_DEPENDS)
  33. midl \
  34. $(MIDL_OPTIMIZATION) \
  35. -oldnames \
  36. -error ref \
  37. -ms_ext \
  38. -c_ext $(CPP) \
  39. -prefix server "SERVER_" \
  40. -acf .\frsrpc.acf \
  41. -out .\$(O) \
  42. $(INCS) \
  43. .\frsrpc.idl
  44. #
  45. # API RPC
  46. #
  47. $(O)\frsapi.h \
  48. $(O)\frsapi_c.c \
  49. $(O)\frsapi_s.c \ : .\frsapi.idl .\frsapi.acf $(EXTRN_DEPENDS)
  50. midl \
  51. $(MIDL_OPTIMIZATION) \
  52. -oldnames \
  53. -error ref \
  54. -ms_ext \
  55. -c_ext $(CPP) \
  56. -acf .\frsapi.acf \
  57. -out .\$(O) \
  58. $(INCS) \
  59. .\frsapi.idl
  60. #
  61. # PERFMON RPC
  62. #
  63. $(O)\perffrs.h \
  64. $(O)\perffrs_c.c \
  65. $(O)\perffrs_s.c \ : .\perffrs.idl .\perffrs.acf $(EXTRN_DEPENDS)
  66. midl \
  67. $(MIDL_OPTIMIZATION) \
  68. -oldnames \
  69. -error ref \
  70. -ms_ext \
  71. -c_ext $(CPP) \
  72. -acf .\perffrs.acf \
  73. -out .\$(O) \
  74. $(INCS) \
  75. .\perffrs.idl