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.

50 lines
1.9 KiB

  1. #
  2. # Supplemental rules for generating Type library.
  3. #
  4. iCPU=$(PROCESSOR_ARCHITECTURE)
  5. !IF "$(iCPU)"=="x86"
  6. iCPU=I386
  7. !ENDIF
  8. ASPTLB_H = ..\..\..\inc\$(O)\asptlb.h
  9. CDROOT=$(_NTTREE)\inetsrv
  10. # MkTypeLib Stuff
  11. $(O)\_asptlb.h $(O)\asp.tlb: .\asp.idl
  12. midl /mktyplib203 /Oicf /out .\$(O) /I $(SDK_INC_PATH) /h _asptlb.h /tlb asp.tlb asp.idl
  13. $(ASPTLB_H): $(O)\_asptlb.h
  14. echo // This file was generated by mktyplib.exe, then munged by Active Server Pages build. > $@
  15. echo // Changes: >> $@
  16. echo // - we include "dispatch.h" (our standard IDispatch implementation) >> $@
  17. echo // >> $@
  18. echo // - we #define "NO_BASEINTERFACE_FUNCS" to prevent pure virtual >> $@
  19. echo // redefinitions of the four IDispatch members that CDispatch defines. >> $@
  20. echo // >> $@
  21. echo // - we change the derivation of the classes from "IDispatch" to "CDispatch" >> $@
  22. echo // >> $@
  23. echo #include "dispatch.h" >> $@
  24. echo #define NO_BASEINTERFACE_FUNCS >> $@
  25. echo // >> $@
  26. perl -n -e "s/\: public IDispatch/\: public CDispatch/g;print $_;" $(O)\_asptlb.h >> $@
  27. # MIDL for asptxn object
  28. $(O)\asptxn.h: $(O)\_asptxn.h
  29. echo // This file was generated by mktyplib.exe, then munged by Active Server Pages build. > $@
  30. echo // Changes: >> $@
  31. echo // - we include "dispatch.h" (our standard IDispatch implementation) >> $@
  32. echo // >> $@
  33. echo // - we #define "NO_BASEINTERFACE_FUNCS" to prevent pure virtual >> $@
  34. echo // redefinitions of the four IDispatch members that CDispatch defines. >> $@
  35. echo // >> $@
  36. echo // - we change the derivation of the classes from "IDispatch" to "CDispatch" >> $@
  37. echo // >> $@
  38. echo #include "dispatch.h" >> $@
  39. echo #define NO_BASEINTERFACE_FUNCS >> $@
  40. echo // >> $@
  41. perl -n -e "s/\: public IDispatch/\: public CDispatch/g;print $_;" $(O)\_asptxn.h >> $@
  42. $(O)\_asptxn.h : .\asptxn.idl
  43. midl /robust /Oicf /I $(SDK_INC_PATH) /out .\$(O) /h _asptxn.h /tlb asptxn.tlb asptxn.idl