annotate buildsys/scripts/conf-nds.bat @ 632:ed19b429a152

- added explicit arm64 target, and clang tool options to Windows' configure.bat - configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain) - simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...) - removed stale test/makepkg.sh helper
author Tassilo Philipp
date Sat, 19 Nov 2022 15:45:41 +0100
parents 3e629dc19168
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 @ECHO OFF
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 REM ///////////////////////////////////////////////////////////////////////////
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 REM
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
4 REM Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>,
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 REM Tassilo Philipp <tphilipp@potion-studios.com>
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 REM
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 REM Permission to use, copy, modify, and distribute this software for any
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 REM purpose with or without fee is hereby granted, provided that the above
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 REM copyright notice and this permission notice appear in all copies.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 REM
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 REM THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 REM WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 REM MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 REM ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 REM WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 REM ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 REM OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 REM
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 REM ///////////////////////////////////////////////////////////////////////////
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 REM We need at least 2 characters in the path.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 IF [%DEVKITPRO:~0,1%]==[%DEVKITPRO%] (
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 GOTO END_ABORT
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 )
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 REM Extract devkitPro path.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 IF [%DEVKITPRO:~0,1%]==[/] (
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
28 ECHO DEVKITPRO_PATH=%DEVKITPRO:~1,1%:%DEVKITPRO:~2%#>>Makefile.config
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 ) ELSE IF [%DEVKITPRO:~1,1%]==[:] (
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
30 ECHO DEVKITPRO_PATH=%DEVKITPRO%#>>Makefile.config
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 ) ELSE (
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 GOTO END_ABORT
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 )
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 GOTO END
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 :END_ABORT
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 ECHO ERROR: Environment variable DEVKITPRO must be set to absolute devkitPro path.
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
39 DEL Makefile.config
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 :END