11.11Schristos# $NetBSD: Makefile.inc,v 1.12 2018/06/13 16:05:14 christos 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.2Sskrll cd ${SPMATHDIR} && MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX && \ 171.2Sskrll MAKEOBJDIR=${SPMATHDST} ${MAKE} \ 181.12Schristos CC=${CC:q} CFLAGS=${CFLAGS:q} \ 191.10Schristos SPMATHCPPFLAGS=${CPPFLAGS:S@^-I.@-I. -I../../.@g:q} \ 201.10Schristos AS=${AS:q} AFLAGS=${AFLAGS:q} \ 211.10Schristos LD=${LD:q} STRIP=${STRIP:q} \ 221.10Schristos CPP=${CPP:q} STRIP=${STRIP:q} AR=${AR:q} \ 231.10Schristos NM=${NM:q} LORDER=${LORDER:q} \ 241.10Schristos XMACHINE=${MACHINE:q} XMACHINE_ARCH=${MACHINE_ARCH:q} 251.1Sfredette 261.4Sdsl${SPMATH}: .NOTMAIN .MAKE __always_make_spmath 271.1Sfredette @echo making sure the spmath library is up to date... 281.1Sfredette @${SPMATHMAKE} spmath.o 291.1Sfredette 301.4Sdsl${SPMATH_PROF}: .NOTMAIN .MAKE __always_make_spmath 311.1Sfredette @echo making sure the profiled spmath library is up to date... 321.1Sfredette @${SPMATHMAKE} spmath.po 331.1Sfredette 341.4Sdsl__CLEANSPMATH: .NOTMAIN .MAKE __always_make_spmath 351.1Sfredette @echo cleaning the spmath library objects 361.1Sfredette @${SPMATHMAKE} clean 371.1Sfredette 381.1Sfredetteclean: __CLEANSPMATH 391.1Sfredette 401.4Sdsl__DEPENDSPMATH: .NOTMAIN .MAKE __always_make_spmath assym.h 411.1Sfredette @echo depending the spmath library objects 421.1Sfredette @${SPMATHMAKE} depend 431.1Sfredette 441.1Sfredettedepend: __DEPENDSPMATH 451.1Sfredette 461.1Sfredette__always_make_spmath: .NOTMAIN 471.1Sfredette -mkdir -p ${SPMATHDST} 481.1Sfredette 49