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.

46 lines
1.3 KiB

  1. iCPU=$(PROCESSOR_ARCHITECTURE)
  2. !IF "$(iCPU)"=="x86"
  3. iCPU=I386
  4. !ENDIF
  5. !IF "$(PROCESSOR_ARCHITECTURE)"!="MIPS"
  6. !IF "$(PROCESSOR_ARCHITECTURE)"!="PPC"
  7. CDROOT=$(_NTTREE)\inetsrv
  8. CDDUMP=$(_NTTREE)\inetsrv\Dump
  9. MY_BINPLACE = -binplace -P $(BINPLACE_PLACEFILE)
  10. copyfile:
  11. if not exist "$(CDROOT)" mkdir $(CDROOT)
  12. if not exist "$(CDDUMP)" mkdir $(CDDUMP)
  13. # create a list of the files that could change
  14. # and we would want to make sure to rebuild the cabs if they changed.
  15. if exist makecab.lst attrib -r -a -s -h makecab.lst
  16. if exist makecab.lst0 (del makecab.lst0)
  17. if exist makecab.lst (del makecab.lst)
  18. dir /b /a-d > makecab.lst0
  19. # remove makecab.lst from the the list...
  20. findstr /i /v makecab.lst makecab.lst0 > makecab.lst
  21. # stuff we really do need
  22. $(MY_BINPLACE) infutil.csv
  23. $(MY_BINPLACE) header.ddf
  24. $(MY_BINPLACE) makecab.lst
  25. $(MY_BINPLACE) hardcode.lst
  26. $(MY_BINPLACE) iistop.inx
  27. $(MY_BINPLACE) iisend.inx
  28. $(MY_BINPLACE) dirmake.txt
  29. $(MY_BINPLACE) empty.txt
  30. # --------------------------------------
  31. # old bad way of copying files to the binaries dir
  32. # bad bad bad, you should not use xcopy!
  33. # use binplace and modify the placefil.txt file
  34. # --------------------------------------
  35. # xcopy /d /i header*.inf $(CDDUMP)
  36. !ENDIF
  37. !ENDIF