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.

69 lines
1.3 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 = adsnds
  12. TARGET_H = inds
  13. SOURCE_ODL = nds
  14. O = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
  15. !IF "$(ADSI_NT40_BUILD)" == "1"
  16. DEPENDENCIES = \
  17. ..\types\$(O)\activeds.tlb \
  18. nds2.h
  19. !ELSE
  20. DEPENDENCIES = \
  21. ..\types\$(O)\activeds.tlb \
  22. $(SDK_LIB_DEST)\$(TARGET_DIRECTORY)\stdole2.tlb \
  23. nds2.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. INCLUDE = $(SDK_INC_PATH)
  36. MIDLODL = midl /I $(INCLUDE) /ms_ext /client none /server none /newtlb /out .\$(O)
  37. 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)"
  38. #
  39. # Define Products and Dependencies
  40. #
  41. all: $(TARGETS)
  42. !IF "$(BUILDMSG)" != ""
  43. @ech ; $(BUILDMSG) ;
  44. !ENDIF
  45. clean: clean_source all
  46. clean_source:
  47. erase $(TARGETS)
  48. #
  49. # MIDL COMPILE
  50. #
  51. $(TARGETS): $(DEPENDENCIES) $(SOURCE_ODL).odl
  52. $(MIDLODL) $(TLB_SWITCHES) $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl