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.

34 lines
820 B

  1. BuildComPs: $(O)\ComPs.Lib $(O)\ole32p.lib
  2. ##
  3. ## Play wacky import libary tricks with lib!
  4. ## This generates ComPs.Lib, from ole32.lib.
  5. ## If you link your proxy-stub dll with this library,
  6. ## you get an interface helper library, which lets
  7. ## you do interception on non-oleaut compatible interfaces.
  8. ##
  9. COMPSDIR=$(COMP_OLE32_DIR)\com\txf\comps\static\$(O)
  10. $(O)\ComPs.Lib : $(DYNLINK_LIB) $(COMPSDIR)\ComPsStaticLib.Lib
  11. del $@
  12. lib /out:$@ $**
  13. $(O)\ole32p.def : ..\ole32.def
  14. @type <<$(ECHO_RSP)
  15. $(ECHO_MSG) /DPRIVATE /EP ..\ole32.def
  16. <<NOKEEP
  17. @$(C_PREPROCESSOR_NAME) @<<$(CL_RSP) /DEXPORT_PRIVATE_API /Tc..\ole32.def > $@
  18. $(CPPXX: =
  19. )
  20. <<NOKEEP
  21. $(O)\ole32p.lib : $(O)\ole32p.def $(IMPLIB_DEPEND)
  22. -$(LIB_NAME) -out:$(@R).lib @<<
  23. $(LIBRARIAN_FLAGS: =
  24. )
  25. -def:$(O)\ole32p.def
  26. $(LIBRARY_OBJS: =
  27. )
  28. <<NOKEEP