From 03a2959e46c8729b41168bf71b985ec41c5e6845 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Thu, 25 Oct 2012 15:54:46 +0200 Subject: move xddm driver to xddm subdir --- xddm/scripts/buildAll.bat | 75 +++++++++++++++++++++++++++++++++++++++++++++++ xddm/scripts/clean.bat | 6 ++++ 2 files changed, 81 insertions(+) create mode 100644 xddm/scripts/buildAll.bat create mode 100644 xddm/scripts/clean.bat (limited to 'xddm/scripts') diff --git a/xddm/scripts/buildAll.bat b/xddm/scripts/buildAll.bat new file mode 100644 index 0000000..24c81ea --- /dev/null +++ b/xddm/scripts/buildAll.bat @@ -0,0 +1,75 @@ +REM Copyright Red Hat 2007-2011 +REM Authors: Yan Vugenfirer +REM Arnon Gilboa +REM Uri Lublin +: +: Set global parameters: +: + +: Use Windows 7 DDK +if "%DDKVER%"=="" set DDKVER=7600.16385.0 + +: By default DDK is installed under C:\WINDDK, but it can be installed in different location +if "%DDKINSTALLROOT%"=="" set DDKINSTALLROOT=C:\WINDDK\ +set BUILDROOT=%DDKINSTALLROOT%%DDKVER% +set X64ENV=x64 +if "%DDKVER%"=="6000" set X64ENV=amd64 +if "%BUILDCFG%"=="" set BUILDCFG=fre + +if not "%1"=="" goto parameters_here +echo no parameters specified, exiting +goto :eof +:parameters_here + +:nextparam +if "%1"=="" goto :eof +goto %1 +:continue +shift +goto nextparam + +:fre +set BUILDCFG=fre +goto continue + +:chk +set BUILDCFG=chk +goto continue + +:Win7 +set BUILDENV=WIN7 +goto build_it + +:Win7_64 +set BUILDENV=%X64ENV% WIN7 +goto build_it + +:Vista +set BUILDENV=Wlh +goto build_it + +:Vista64 +set BUILDENV=%X64ENV% Wlh +goto build_it + +:Win2003 +set BUILDENV=WNET +goto build_it + +:Win200364 +set BUILDENV=%X64ENV% WNET +goto build_it + +:XP +set BUILDENV=WXP +goto build_it + +:build_it +set DDKBUILDENV= +pushd %BUILDROOT% +call %BUILDROOT%\bin\setenv.bat %BUILDROOT% %BUILDCFG% %BUILDENV% +popd +build -cZg + +goto continue + diff --git a/xddm/scripts/clean.bat b/xddm/scripts/clean.bat new file mode 100644 index 0000000..acc3bc3 --- /dev/null +++ b/xddm/scripts/clean.bat @@ -0,0 +1,6 @@ +REM Copyright Red Hat 2009-2011 +REM Authors: Arnon Gilboa +:rmdir /S /Q Debug +rmdir /S /Q Release +for /d %%a in (obj*) do rd /s /q "%%a" +del /F *.log *.wrn *.err -- cgit v1.2.3