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.

63 lines
1.1 KiB

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