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.

43 lines
1.3 KiB

  1. !include $(NTMAKEENV)\makefile.plt
  2. !include sources
  3. all: CheckOut CopyOver
  4. ALLFILES = \
  5. $(ROOT_HIVE_FILES:TYPE=Professional) \
  6. $(IDW_HIVE_FILES:TYPE=Professional) \
  7. $(ROOT_HIVE_FILES:TYPE=Personal) \
  8. $(IDW_HIVE_FILES:TYPE=Personal) \
  9. $(ROOT_HIVE_FILES:TYPE=Blade) \
  10. $(IDW_HIVE_FILES:TYPE=Blade) \
  11. $(ROOT_HIVE_FILES:TYPE=Server) \
  12. $(IDW_HIVE_FILES:TYPE=Server) \
  13. $(ROOT_HIVE_FILES:TYPE=Smallbiz) \
  14. $(IDW_HIVE_FILES:TYPE=Smallbiz) \
  15. $(ROOT_HIVE_FILES:TYPE=Enterprise) \
  16. $(IDW_HIVE_FILES:TYPE=Enterprise) \
  17. $(ROOT_HIVE_FILES:TYPE=DataCenter) \
  18. $(IDW_HIVE_FILES:TYPE=DataCenter) \
  19. $(DATACENTER_HIVE_FILES)
  20. ALLFILES=$(ALLFILES: = )
  21. ALLFILES=$(ALLFILES: = )
  22. CheckOut:
  23. sd -x << edit
  24. $(ALLFILES: =
  25. )
  26. <<NOKEEP
  27. Revert:
  28. sd -x << revert
  29. $(ALLFILES: =
  30. )
  31. <<NOKEEP
  32. BASE_HIVE_FILE_NAMES=$(ROOT_HIVE_FILES:TYPE\=) $(IDW_HIVE_FILES:TYPE\=)
  33. CopyOver:
  34. for %i in ($(BASE_HIVE_FILE_NAMES)) do copy ..\Retail\$(_OBJ_DIR)\$(TARGET_DIRECTORY)\%i Professional\%i
  35. for %x in (Server DataCenter EnterPrise SmallBiz Personal Blade) do for %i in ($(BASE_HIVE_FILE_NAMES)) do copy ..\%x\$(_OBJ_DIR)\$(TARGET_DIRECTORY)\%i %x\%i
  36. for %y in ($(DATACENTER_HIVE_FILES:DataCenter\=)) do copy ..\DataCenter\$(_OBJ_DIR)\$(TARGET_DIRECTORY)\%y DataCenter\%y