Source code of Windows XP (NT5)
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.

127 lines
2.8 KiB

  1. !ifndef MIDL
  2. MIDL = midl.exe
  3. !endif
  4. # Paths
  5. PUBLIC_IDL=..\..\public\
  6. # Flags
  7. MIDL_FLAGS= \
  8. $(MIDL_OPTIMIZATION) \
  9. -no_stamp \
  10. -Zp8 \
  11. $(INCPATH0) \
  12. -oldnames \
  13. -dlldata nul \
  14. -char unsigned \
  15. -ms_ext -c_ext \
  16. -DMIDL_PASS \
  17. $(C_DEFINES) \
  18. -cpp_cmd $(TARGET_CPP) \
  19. MES_MIDL_FLAGS= \
  20. -Oicf -no_format_opt -error all \
  21. -no_stamp \
  22. -Zp8 -robust \
  23. $(INCPATH0) \
  24. -oldnames \
  25. -dlldata nul \
  26. -char unsigned \
  27. -ms_ext -c_ext \
  28. -DMIDL_PASS \
  29. $(C_DEFINES) \
  30. -cpp_cmd $(TARGET_CPP)
  31. SSWITCH=-prefix sstub _
  32. CSWITCH=-prefix cstub _
  33. # Targets
  34. # Dual (Raw/Object) local RPC interface for forwarding remote activation calls
  35. # in DCOM95 -- RPCSS is the server
  36. # first MIDL invocation makes the object header proxy and stub
  37. # second MIDL invocation makes the client and the '_' prefixed server
  38. # The client/server stubs for the object version are generated by mega.idl
  39. # Only generate a header.
  40. $(O)\iface.h: ..\iface.idl
  41. $(MIDL) $(MIDL_FLAGS) -header $@ ..\iface.idl
  42. $(O)\catalog.h: ..\catalog.idl
  43. $(MIDL) $(MIDL_FLAGS) \
  44. -client none -server none -header $@ \
  45. -proxy nul \
  46. -iid $(O)\catalog_i.c \
  47. ..\catalog.idl
  48. $(O)\unisrgt.h: ..\unisrgt.idl
  49. $(MIDL) $(MIDL_FLAGS) \
  50. -client none -server none -header $@ \
  51. -proxy nul \
  52. -iid $(O)\unisrgt_i.c \
  53. ..\unisrgt.idl
  54. # the object proxy and stub are made with mega.idl
  55. $(O)\activate.h: ..\activate.idl
  56. $(MIDL) $(MES_MIDL_FLAGS) \
  57. -client none -server none -header $@ \
  58. -proxy nul \
  59. -iid $(O)\activate_i.c \
  60. ..\activate.idl
  61. $(O)\partitions.h: ..\partitions.idl
  62. $(MIDL) $(MIDL_FLAGS) \
  63. -client none -server none -header $@ \
  64. -proxy nul \
  65. -iid $(O)\partitions_i.c \
  66. ..\partitions.idl
  67. # first MIDL invocation makes the object header
  68. # the object proxy and stub are made with mega.idl
  69. # second MIDL invocation makes the server
  70. $(O)\privact.h: ..\privact.idl
  71. $(MIDL) $(MES_MIDL_FLAGS) \
  72. -client none -server none -header $@ \
  73. -proxy nul \
  74. -iid $(O)\privact_i.c \
  75. ..\privact.idl
  76. $(O)\rawprivact.h: ..\privact.idl
  77. $(MIDL) $(MES_MIDL_FLAGS) \
  78. -cstub $(O)\rawprivact_c.c \
  79. -sstub $(O)\rawprivact_s.c \
  80. -header $@ \
  81. -D RAW \
  82. ..\privact.idl
  83. $(O)\contxt.h: ..\contxt.idl
  84. $(MIDL) $(MIDL_FLAGS) \
  85. -client none -server none -header $@ \
  86. -proxy nul \
  87. -iid $(O)\contxt_i.c \
  88. ..\contxt.idl
  89. $(O)\asrtcfg.h: ..\asrtcfg.idl
  90. $(MIDL) $(MIDL_FLAGS) \
  91. -client none -server none -header $@ \
  92. -proxy nul \
  93. -iid $(O)\asrtcfg_i.c \
  94. ..\asrtcfg.idl
  95. allidl: $(O)\iface.h $(O)\activate.h $(O)\contxt.h $(O)\privact.h $(O)\rawprivact.h $(O)\catalog.h \
  96. $(O)\unisrgt.h $(O)\asrtcfg.h $(O)\partitions.h
  97. clean:
  98. -erase $(O)\*.h >NUL 2>NUL