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.

35 lines
1.8 KiB

  1. set DDKPATH = %1
  2. md %DDKPATH%
  3. cd /d %DDKPATH%
  4. md inc
  5. cd inc
  6. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %_NTDRIVE%%_NTROOT%\public\sdk\inc\d3d.h > d3d.h
  7. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %D3DROOT%\inc\d3dhal.h > d3dhal.h
  8. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %D3DROOT%\dx7\inc\halprov.h > halprov.h
  9. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %_NTDRIVE%%_NTROOT%\public\sdk\inc\d3dtypes.h > d3dtypes.h
  10. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %_NTDRIVE%%_NTROOT%\public\sdk\inc\d3dcaps.h > d3dcaps.h
  11. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\ddrawp.h > ddraw.h
  12. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\ddrawi.h > ddrawi.h
  13. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\dmemmgr.h > dmemmgr.h
  14. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\dvpp.h > dvp.h
  15. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\ddkernel.h > ddkernel.h
  16. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\ddkmmini.h > ddkmmini.h
  17. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\dd\ddraw\main\ddkmmini.inc > ddkmmini.inc
  18. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\inc\dciddi.h > dciddi.h
  19. cd ..
  20. copy /y %DXROOT%\drivers\display\mini\mini.mk mini.mk
  21. copy /y %DXROOT%\drivers\display\mini\mini32.mk mini32.mk
  22. md ref
  23. cd ref
  24. rem assumes that the ref-tree has been cleaned
  25. copy /y %DXROOT%\dxg\d3d\ref\drv\*.* .
  26. copy /y %DXROOT%\dxg\d3d\ref\inc\*.* .
  27. copy /y %DXROOT%\dxg\d3d\ref\link\*.* .
  28. copy /y %DXROOT%\dxg\d3d\ref\rast\*.* .
  29. copy /y %DXROOT%\dxg\d3d\ref\tnl\*.* .
  30. copy /y %DXROOT%\dxg\d3d\ref\ddk\mkwin9x makefile
  31. del sources.inc dirs pch.cpp !!!.dif rralloc.cpp
  32. sed "/@@BEGIN_MSINTERNAL/,/@@END_MSINTERNAL/D" %DXROOT%\dxg\d3d\ref\drv\pch.cpp > pch.cpp
  33. cd ..