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.

73 lines
1.3 KiB

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