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.

65 lines
1.2 KiB

  1. #
  2. # This is the MKTYBLIB compile phase of the build process.
  3. #
  4. # Builds Type Library for the NDS provider
  5. #
  6. #
  7. !INCLUDE $(NTMAKEENV)\makefile.plt
  8. #
  9. # TARGET specific defines (do not use extensions!)
  10. #
  11. TARGET_TLB = adsnwnds
  12. TARGET_H = inwnds
  13. SOURCE_ODL = nwnds
  14. !IF "$(ADSI_NT40_BUILD)" == "1"
  15. DEPENDENCIES = \
  16. ..\types\$(TARGET_DIRECTORY)\activeds.tlb \
  17. nwnds2.h
  18. !ELSE
  19. DEPENDENCIES = \
  20. ..\types\$(TARGET_DIRECTORY)\activeds.tlb \
  21. $(SDK_LIB_DEST)\$(TARGET_DIRECTORY)\stdole2.tlb \
  22. nwnds2.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$(CRT_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_SWITCHES) $(TARGET_DIRECTORY)\$(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl