| version 1.203.2.1, 2002/11/30 15:31:03 |
version 1.204, 2002/07/01 19:29:31 |
| Line 124 CPPPICFLAGS?= -DPIC -DBIGPIC |
|
| Line 124 CPPPICFLAGS?= -DPIC -DBIGPIC |
|
| CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} |
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} |
| APICFLAGS ?= -KPIC |
APICFLAGS ?= -KPIC |
| |
|
| |
.elif ${MACHINE_ARCH} == "hppa" |
| |
|
| |
FPICFLAGS ?= -fPIC |
| |
CPICFLAGS?= -fPIC -DPIC |
| |
CPPPICFLAGS?= -DPIC |
| |
CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS} |
| |
APICFLAGS?= -k |
| |
# XXX libraries often need the millicode functions in libgcc.a, |
| |
# so we have to work around the -nostdlib: |
| |
LDADD+= `$(CC) -print-libgcc-file-name` |
| |
|
| .else |
.else |
| |
|
| # Platform-independent flags for NetBSD a.out shared libraries |
# Platform-independent flags for NetBSD a.out shared libraries |
|
|
| llib-l${LIB}.ln: ${LOBJS} |
llib-l${LIB}.ln: ${LOBJS} |
| @echo building llib-l${LIB}.ln |
@echo building llib-l${LIB}.ln |
| @rm -f llib-l${LIB}.ln |
@rm -f llib-l${LIB}.ln |
| .if defined(DESTDIR) |
|
| @${LINT} -C${LIB} ${.ALLSRC} -L${DESTDIR}/usr/libdata ${LLIBS} |
|
| .else |
|
| @${LINT} -C${LIB} ${.ALLSRC} ${LLIBS} |
@${LINT} -C${LIB} ${.ALLSRC} ${LLIBS} |
| .endif |
.endif |
| .endif |
|
| |
|
| cleanlib: |
cleanlib: |
| rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES} |
rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES} |