Commit | Line | Data |
---|---|---|
959f3c4c JH |
1 | ?RCS: $Id$ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1999, Jarkko Hietaniemi | |
4 | ?RCS: | |
5 | ?RCS: This file is included with or a derivative work of a file included | |
6 | ?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution. | |
7 | ?RCS: In accordance with clause 7 of dist's modified Artistic License: | |
8 | ?RCS: | |
9 | ?RCS: You may distribute under the terms of either the GNU General Public | |
10 | ?RCS: License or the Artistic License, as specified in the README file. | |
11 | ?RCS: | |
12 | ?MAKE:multiarch: osname | |
13 | ?MAKE: -pick add $@ %< | |
14 | ?S:multiarch: | |
15 | ?S: This variable conditionally defines the MULTIARCH symbol | |
16 | ?S: which signifies the presence of multiplatform files. | |
17 | ?S: This is normally set by hints files. | |
18 | ?S:. | |
19 | ?C:MULTIARCH: | |
20 | ?C: This symbol, if defined, signifies that the build | |
21 | ?C: process will produce some binary files that are going to be | |
22 | ?C: used in a cross-platform environment. This is the case for | |
23 | ?C: example with the NeXT "fat" binaries that contain executables | |
24 | ?C: for several CPUs. | |
25 | ?C:. | |
26 | ?H:#$multiarch MULTIARCH /**/ | |
27 | ?H:. | |
d7a2632b | 28 | : Check if is a multiplatform env |
959f3c4c | 29 | case "$osname" in |
5622286d | 30 | next|darwin) multiarch="$define" ;; |
959f3c4c JH |
31 | esac |
32 | case "$multiarch" in | |
33 | ''|[nN]*) multiarch="$undef" ;; | |
34 | esac | |
35 |