Annotation of sys/arch/hppa/spmath/Makefile.inc, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: Makefile.inc,v 1.5 2002/02/04 22:17:56 mickey Exp $
! 2: #
! 3: # NOTE: $S must correspond to the top of the 'sys' tree
! 4: # $HPPA must correspond to the top of hppa tree
! 5:
! 6: SPMATHDIR= ${HPPA}/spmath
! 7:
! 8: SPMATHDST?= ${.OBJDIR}/lib/spmath
! 9:
! 10: SPMATH= ${SPMATHDST}/spmath.o
! 11: SPMATH_PROF= ${SPMATHDST}/spmath.po
! 12:
! 13: SPMATHMAKE= \
! 14: cd ${SPMATHDIR} && MAKEOBJDIR=${SPMATHDST} ${MAKE} \
! 15: CC='${CC}' CFLAGS='${CFLAGS}' \
! 16: CPPFLAGS='${CPPFLAGS:S@^-I.@-I../../.@g}'\
! 17: AS='${AS}' AFLAGS='${AFLAGS}' \
! 18: LD='${LD}' STRIP='${STRIP}' \
! 19: CPP='${CPP}' STRIP='${STRIP}' AR='${AR}' \
! 20: NM='${NM}' LORDER='${LORDER}' \
! 21: XMACHINE='${MACHINE}' XMACHINE_ARCH='${MACHINE_ARCH}' \
! 22:
! 23: ${SPMATH}: .NOTMAIN __always_make_spmath
! 24: @echo making sure the spmath library is up to date...
! 25: @${SPMATHMAKE} spmath.o
! 26:
! 27: ${SPMATH_PROF}: .NOTMAIN __always_make_spmath
! 28: @echo making sure the profiled spmath library is up to date...
! 29: @${SPMATHMAKE} spmath.po
! 30:
! 31: clean:: .NOTMAIN __always_make_spmath
! 32: @echo cleaning the spmath library objects
! 33: @${SPMATHMAKE} clean
! 34:
! 35: depend:: .NOTMAIN __always_make_spmath
! 36: @echo depending the spmath library objects
! 37: @${SPMATHMAKE} depend
! 38:
! 39: __always_make_spmath: .NOTMAIN
! 40: -mkdir -p ${SPMATHDST}
! 41:
CVSweb