diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-06-23 20:34:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-06-23 20:34:04 +0000 |
commit | d0a642bbf4864074783d2527cd579160ed0fd941 (patch) | |
tree | f2f2667e799e0b032798a34b49eb228fbf26218b /sys/arch/hppa/spmath/Makefile.inc | |
parent | 8c6ef82db6e7bdbab41abdfc581800943c7ae103 (diff) |
initial import of osf-hacked HP one
Diffstat (limited to 'sys/arch/hppa/spmath/Makefile.inc')
-rw-r--r-- | sys/arch/hppa/spmath/Makefile.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys/arch/hppa/spmath/Makefile.inc b/sys/arch/hppa/spmath/Makefile.inc new file mode 100644 index 00000000000..871020addda --- /dev/null +++ b/sys/arch/hppa/spmath/Makefile.inc @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile.inc,v 1.1 1998/06/23 20:33:50 mickey Exp $ +# +# NOTE: $S must correspond to the top of the 'sys' tree + +SPMATHDIR= $S/arch/hppa/spmath + +SPMATHDST?= ${.OBJDIR}/lib/spmath +SPMATH_AS?= obj + +SPMATHLIB= ${SPMATHDST}/libspmath.o +SPMATHLIB_PROF= ${SPMATHDST}/libspmath_p.o + +SPMATHMAKE= \ + cd ${SPMATHDIR} && MAKEOBJDIR=${SPMATHDST} ${MAKE} \ + CC='${CC}' CFLAGS='${CFLAGS}' \ + AS='${AS}' AFLAGS='${AFLAGS}' \ + LD='${LD}' STRIP='${STRIP}' \ + CPP='${CPP}' STRIP='${STRIP}' AR='${AR}' \ + NM='${NM}' LORDER='${LORDER}' \ + XMACHINE='${MACHINE}' XMACHINE_ARCH='${MACHINE_ARCH}' \ + SPMATHCPPFLAGS='${CPPFLAGS:S@^-I.@-I../../.@g}' + +${SPMATHLIB}: .NOTMAIN __always_make_kernlib + @echo making sure the kern library is up to date... + @${SPMATHMAKE} libkern.o + +${SPMATHLIB_PROF}: .NOTMAIN __always_make_kernlib + @echo making sure the profiled kern library is up to date... + @${SPMATHMAKE} libkern.po + +clean:: .NOTMAIN __always_make_kernlib + @echo cleaning the kern library objects + @${SPMATHMAKE} clean + +depend:: .NOTMAIN __always_make_kernlib + @echo depending the kern library objects + @${SPMATHMAKE} depend + +__always_make_kernlib: .NOTMAIN + -mkdir -p ${SPMATHDST} |