Makefile.inc revision 1.1
11.1Sfredette# $NetBSD: Makefile.inc,v 1.1 2002/06/05 01:04:24 fredette Exp $ 21.1Sfredette 31.1Sfredette# $OpenBSD: Makefile.inc,v 1.4 2001/03/29 03:58:17 mickey Exp $ 41.1Sfredette# 51.1Sfredette# NOTE: $S must correspond to the top of the 'sys' tree 61.1Sfredette# $HPPA must correspond to the top of hppa tree 71.1Sfredette 81.1SfredetteSPMATHDIR= ${HPPA}/spmath 91.1Sfredette 101.1SfredetteSPMATHDST?= ${.OBJDIR}/lib/spmath 111.1Sfredette 121.1SfredetteSPMATH= ${SPMATHDST}/spmath.o 131.1SfredetteSPMATH_PROF= ${SPMATHDST}/spmath.po 141.1Sfredette 151.1SfredetteSPMATHMAKE= \ 161.1Sfredette cd ${SPMATHDIR} && MAKEOBJDIR=${SPMATHDST} ${MAKE} \ 171.1Sfredette CC='${CC}' CFLAGS='${CFLAGS}' \ 181.1Sfredette CPPFLAGS='${CPPFLAGS:S@^-I.@-I../../.@g}'\ 191.1Sfredette AS='${AS}' AFLAGS='${AFLAGS}' \ 201.1Sfredette LD='${LD}' STRIP='${STRIP}' \ 211.1Sfredette CPP='${CPP}' STRIP='${STRIP}' AR='${AR}' \ 221.1Sfredette NM='${NM}' LORDER='${LORDER}' \ 231.1Sfredette XMACHINE='${MACHINE}' XMACHINE_ARCH='${MACHINE_ARCH}' \ 241.1Sfredette 251.1Sfredette${SPMATH}: .NOTMAIN __always_make_spmath 261.1Sfredette @echo making sure the spmath library is up to date... 271.1Sfredette @${SPMATHMAKE} spmath.o 281.1Sfredette 291.1Sfredette${SPMATH_PROF}: .NOTMAIN __always_make_spmath 301.1Sfredette @echo making sure the profiled spmath library is up to date... 311.1Sfredette @${SPMATHMAKE} spmath.po 321.1Sfredette 331.1Sfredette__CLEANSPMATH: .NOTMAIN __always_make_spmath 341.1Sfredette @echo cleaning the spmath library objects 351.1Sfredette @${SPMATHMAKE} clean 361.1Sfredette 371.1Sfredetteclean: __CLEANSPMATH 381.1Sfredette 391.1Sfredette__DEPENDSPMATH: .NOTMAIN __always_make_spmath assym.h 401.1Sfredette @echo depending the spmath library objects 411.1Sfredette @${SPMATHMAKE} depend 421.1Sfredette 431.1Sfredettedepend: __DEPENDSPMATH 441.1Sfredette 451.1Sfredette__always_make_spmath: .NOTMAIN 461.1Sfredette -mkdir -p ${SPMATHDST} 471.1Sfredette 48