version 1.72, 2004/01/28 02:28:14 |
version 1.73, 2004/02/01 06:02:13 |
|
|
# Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols |
# Set `DEBUGLIBS' to `yes' to build libraries with debugging symbols |
DEBUGLIBS?= no |
DEBUGLIBS?= no |
# Set toolchain to be able to know differences. |
# Set toolchain to be able to know differences. |
.if (${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "powerpc" || \ |
.if ( ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "arm" || \ |
${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "sparc64" || \ |
${MACHINE_ARCH} == "hppa" || ${MACHINE_ARCH} == "i386" || \ |
${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "i386" || \ |
${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc" || \ |
${MACHINE_ARCH} == "x86_64") |
${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64") |
ELF_TOOLCHAIN?= yes |
ELF_TOOLCHAIN?= yes |
.else |
.else |
ELF_TOOLCHAIN?= no |
ELF_TOOLCHAIN?= no |
.endif |
.endif |
|
|
# do the dew |
# do the dew |
.if (${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "hppa64") |
.if (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "hppa64" || \ |
|
${MACHINE_ARCH} == "x86_64") |
USE_GCC3?=yes |
USE_GCC3?=yes |
.else |
.else |
USE_GCC3?=no |
USE_GCC3?=no |
|
|
# don't try to generate PIC versions of libraries on machines |
# don't try to generate PIC versions of libraries on machines |
# which don't support PIC. |
# which don't support PIC. |
.if (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "x86_64") || \ |
.if (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "x86_64") || \ |
(${MACHINE_ARCH} == "hppa") || (${MACHINE_ARCH} == "m88k") |
(${MACHINE_ARCH} == "hppa") || (${MACHINE_ARCH} == "m88k") \ |
|
|| (${MACHINE_ARCH} == "arm") |
NOPIC= |
NOPIC= |
.endif |
.endif |
|
|