-/*
- * This file is part of the libCEC(R) library.
- *
- * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved.
- * libCEC(R) is a original work, containing original code.
- *
- * libCEC(R) is a trademark of Pulse-Eight Limited.
- *
- * This program is dual-licensed; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- *
- * Alternatively, you can license this library under a commercial license,
- * please contact Pulse-Eight Licensing for more information.
- *
- * For more information contact:
- * Pulse-Eight Licensing <license@pulse-eight.com>
- * http://www.pulse-eight.com/
- * http://www.pulse-eight.net/
- */
+This file is part of the libCEC(R) library.
+
+libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved.
+libCEC(R) is a original work, containing original code.
+
+libCEC(R) is a trademark of Pulse-Eight Limited.
+
+This program is dual-licensed; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+Alternatively, you can license this library under a commercial license,
+please contact Pulse-Eight Licensing for more information.
+
+For more information contact:
+Pulse-Eight Licensing <license@pulse-eight.com>
+ http://www.pulse-eight.com/
+ http://www.pulse-eight.net/
+
+
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
IF NOT EXIST "C:\WinDDK\7600.16385.1" GOTO NODDK
set DDK="C:\WinDDK\7600.16385.1"
-cd ..\project
-
-del /s /f /q ..\build
mkdir ..\build
echo. Copying driver installer
copy "%DDK%\redist\DIFx\dpinst\MultiLin\x86\dpinst.exe" ..\build\dpinst-x86.exe
:CREATECAT
-IF EXIST "..\support\create-cat.cmd" (
+cd ..\driver
+IF EXIST "..\support\private\create-cat.cmd" (
echo. Updating the catalogue
- CALL ..\support\create-cat.cmd
+ CALL ..\support\private\create-cat.cmd p8usb-cec.cat
)
:CREATEINSTALLER
IF NOT EXIST "..\build\p8-usbcec-driver-installer.exe" GOTO :ERRORCREATINGINSTALLER
rem Sign the installer if sign-binary.cmd exists
-IF EXIST "..\support\sign-binary.cmd" (
+IF EXIST "..\support\private\sign-binary.cmd" (
echo. Signing the installer binaries
- CALL ..\support\sign-binary.cmd ..\build\p8-usbcec-driver-installer.exe
+ CALL ..\support\private\sign-binary.cmd ..\build\p8-usbcec-driver-installer.exe
)
echo. The installer can be found here: ..\build\p8-usbcec-driver-installer.exe
rem Check for sign-binary.cmd, only present on the Pulse-Eight production build system
rem Calls signtool.exe and signs the DLLs with Pulse-Eight's code signing key
-IF NOT EXIST "..\support\sign-binary.cmd" GOTO CREATEINSTALLER
+IF NOT EXIST "..\support\private\sign-binary.cmd" GOTO CREATEINSTALLER
echo. Signing all binaries
-CALL ..\support\sign-binary.cmd ..\build\cec-client.exe
-CALL ..\support\sign-binary.cmd ..\build\CecSharpTester.exe
-CALL ..\support\sign-binary.cmd ..\build\libcec.dll
-CALL ..\support\sign-binary.cmd ..\build\LibCecSharp.dll
-CALL ..\support\sign-binary.cmd ..\build\cec-config-gui.exe
-CALL ..\support\sign-binary.cmd ..\build\x64\cec-client.x64.exe
-CALL ..\support\sign-binary.cmd ..\build\x64\CecSharpTester.exe
-CALL ..\support\sign-binary.cmd ..\build\x64\libcec.x64.dll
-CALL ..\support\sign-binary.cmd ..\build\x64\LibCecSharp.dll
-CALL ..\support\sign-binary.cmd ..\build\x64\cec-config-gui.exe
+CALL ..\support\private\sign-binary.cmd ..\build\cec-client.exe
+CALL ..\support\private\sign-binary.cmd ..\build\CecSharpTester.exe
+CALL ..\support\private\sign-binary.cmd ..\build\libcec.dll
+CALL ..\support\private\sign-binary.cmd ..\build\LibCecSharp.dll
+CALL ..\support\private\sign-binary.cmd ..\build\cec-config-gui.exe
+CALL ..\support\private\sign-binary.cmd ..\build\x64\cec-client.x64.exe
+CALL ..\support\private\sign-binary.cmd ..\build\x64\CecSharpTester.exe
+CALL ..\support\private\sign-binary.cmd ..\build\x64\libcec.x64.dll
+CALL ..\support\private\sign-binary.cmd ..\build\x64\LibCecSharp.dll
+CALL ..\support\private\sign-binary.cmd ..\build\x64\cec-config-gui.exe
:CREATEINSTALLER
echo. Creating the installer
IF NOT EXIST "..\build\libCEC-installer.exe" GOTO :ERRORCREATINGINSTALLER
rem Sign the installer if sign-binary.cmd exists
-IF EXIST "..\support\sign-binary.cmd" (
+IF EXIST "..\support\private\sign-binary.cmd" (
echo. Signing the installer binaries
- CALL ..\support\sign-binary.cmd ..\build\libCEC-installer.exe
+ CALL ..\support\private\sign-binary.cmd ..\build\libCEC-installer.exe
)
echo. The installer can be found here: ..\build\libCEC-installer.exe