| version 1.213, 2003/03/30 00:35:07 |
version 1.214, 2003/04/11 22:40:31 |
| Line 103 CPPPICFLAGS?= -DPIC |
|
| Line 103 CPPPICFLAGS?= -DPIC |
|
| CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} |
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} |
| APICFLAGS ?= |
APICFLAGS ?= |
| |
|
| .elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" |
|
| |
|
| # On MIPS, all libs are compiled with ABIcalls (and are thus PIC), |
|
| # not just sharedlibs. |
|
| MKPICLIB= no |
|
| |
|
| .elif ${MACHINE_ARCH} == "vax" && ${OBJECT_FMT} == "ELF" |
|
| |
|
| # On the VAX, all object are PIC by default, not just sharedlibs. |
|
| MKPICLIB= no |
|
| |
|
| .elif (${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64") && \ |
.elif (${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64") && \ |
| ${OBJECT_FMT} == "ELF" |
${OBJECT_FMT} == "ELF" |
| |
|
|
|
| |
|
| .endif |
.endif |
| |
|
| MKPICLIB?= yes |
|
| |
|
| .if ${MKPICLIB} != "no" |
.if ${MKPICLIB} != "no" |
| CSHLIBFLAGS+= ${CPICFLAGS} |
CSHLIBFLAGS+= ${CPICFLAGS} |
| .endif |
.endif |