[Com0com-cvs] com0com/NSIS install.nsi,1.4,1.5
The virtual serial port driver for Windows.
Brought to you by:
vfrolov
From: Vyacheslav F. <vf...@us...> - 2007-01-22 17:10:42
|
Update of /cvsroot/com0com/com0com/NSIS In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv23999 Modified Files: install.nsi Log Message: Partially added support for non i386 CPUs Index: install.nsi =================================================================== RCS file: /cvsroot/com0com/com0com/NSIS/install.nsi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** install.nsi 14 Dec 2006 08:25:44 -0000 1.4 --- install.nsi 22 Jan 2007 17:10:32 -0000 1.5 *************** *** 2,6 **** * $Id$ * ! * Copyright (c) 2006 Vyacheslav Frolov * * This program is free software; you can redistribute it and/or modify --- 2,6 ---- * $Id$ * ! * Copyright (c) 2006-2007 Vyacheslav Frolov * * This program is free software; you can redistribute it and/or modify *************** *** 20,23 **** --- 20,26 ---- * * $Log$ + * Revision 1.5 2007/01/22 17:10:32 vfrolov + * Partially added support for non i386 CPUs + * * Revision 1.4 2006/12/14 08:25:44 vfrolov * Added ReadMe.lnk *************** *** 42,45 **** --- 45,67 ---- ;-------------------------------- + !if "$%BUILD_DEFAULT_TARGETS%" == "-386" + !define TARGET_CPU i386 + !else if "$%BUILD_DEFAULT_TARGETS%" == "-IA64" + !define TARGET_CPU ia64 + !else if "$%BUILD_DEFAULT_TARGETS%" == "-ia64" + !define TARGET_CPU ia64 + !else if "$%BUILD_DEFAULT_TARGETS%" == "-AMD64" + !define TARGET_CPU amd64 + !else if "$%BUILD_DEFAULT_TARGETS%" == "-amd64" + !define TARGET_CPU amd64 + !endif + + !ifndef TARGET_CPU + !define TARGET_CPU i386 + !Warning "TARGET_CPU=${TARGET_CPU}" + !endif + + ;-------------------------------- + Function LaunchSetupCommandPrompt *************** *** 139,144 **** File "..\ReadMe.txt" File "..\com0com.inf" ! File "..\i386\com0com.sys" ! File "..\i386\setup.dll" File "..\setup\setup.bat" --- 161,166 ---- File "..\ReadMe.txt" File "..\com0com.inf" ! File "..\${TARGET_CPU}\com0com.sys" ! File "..\${TARGET_CPU}\setup.dll" File "..\setup\setup.bat" |