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.

70 lines
1.3 KiB

  1. #
  2. # This is the MKTYBLIB compile phase of the build process.
  3. #
  4. # Builds Type Library for the IIS provider
  5. #
  6. #
  7. !INCLUDE $(NTMAKEENV)\makefile.plt
  8. !INCLUDE ..\..\..\place.inc
  9. #
  10. # TARGET specific defines (do not use extensions!)
  11. #
  12. TARGET_TLB = adsiis
  13. TARGET_H = iiis
  14. SOURCE_ODL = iis
  15. DEPENDENCIES = \
  16. \
  17. ..\oleds2.0\types\activeds.tlb \
  18. \
  19. iis2.h
  20. #
  21. # Common defines
  22. #
  23. TARGETS = $(TARGET_TLB).tlb $(TARGET_H).h
  24. IMPORT =
  25. UNICODE = 1
  26. SDKINC = $(BASEDIR)\public\sdk\inc
  27. OAKINC = $(BASEDIR)\public\oak\inc
  28. SDKCRTINC = $(BASEDIR)\public\sdk\inc\crt
  29. O = $(_OBJ_DIR)\$(TARGET_DIRECTORY)
  30. INCLUDE = $(SDKINC)
  31. MIDLODL = midl /I $(INCLUDE) /ms_ext /client none /server none /newtlb
  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. !if [mkdir $(O)]
  37. !endif
  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. # mktyplib $(CPP) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl
  50. $(MIDLODL) /out .\$(O) /tlb $(TARGET_TLB).tlb /h $(TARGET_H).h $(SOURCE_ODL).odl