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.

76 lines
1.4 KiB

  1. #
  2. # This is the MKTYBLIB compile phase of the build process.
  3. #
  4. # Builds Type Library for the IIS provider
  5. #
  6. #
  7. !INCLUDE $(NTMAKEENV)\makefile.plt
  8. !INCLUDE ..\..\..\place.inc
  9. O = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
  10. #
  11. # TARGET specific defines (do not use extensions!)
  12. #
  13. TARGET_TLB = iisext
  14. TARGET_H = iiisext
  15. SOURCE_ODL = iisext
  16. DEPENDENCIES = \
  17. \
  18. ..\oleds2.0\types\activeds.tlb \
  19. \
  20. ..\adsiis\$(O)\adsiis.tlb \
  21. \
  22. iisext.h
  23. #
  24. # Common defines
  25. #
  26. !if !exist($(O))
  27. !if [mkdir $(O)]
  28. !endif
  29. !endif
  30. TARGETS = $(TARGET_TLB).tlb $(TARGET_H).h
  31. IMPORT =
  32. UNICODE = 1
  33. SDKBIN = $(BASEDIR)\public\sdk\bin
  34. SDKINC = $(BASEDIR)\public\sdk\inc
  35. OAKINC = $(BASEDIR)\public\oak\inc
  36. SDKCRTINC = $(BASEDIR)\public\sdk\inc\crt
  37. INCLUDE = $(SDKINC)
  38. MIDLODL = midl /I $(INCLUDE) /no_stamp /ms_ext /client none /server none /newtlb /out .\$(O)
  39. CPP = -cpp_cmd "$(MIDL_CPP)" -cpp_opt "-E -nologo -DNO_STRICT $(MIDL_FLAGS) -I. -I$(SDKINC) -I$(SDKCRTINC) -I$(OAKINC)"
  40. #
  41. # Define Products and Dependencies
  42. #
  43. all: $(TARGETS)
  44. !IF "$(BUILDMSG)" != ""
  45. @ech ; $(BUILDMSG) ;
  46. !ENDIF
  47. clean: clean_source all
  48. clean_source:
  49. erase $(TARGETS)
  50. #
  51. # MIDL COMPILE
  52. #
  53. $(TARGETS): $(DEPENDENCIES) $(SOURCE_ODL).odl
  54. # mktyplib $(CPP) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
  55. $(MIDLODL) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl