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.

71 lines
1.3 KiB

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