1 1.6 is # $NetBSD: Makefile.inc,v 1.6 1997/09/21 17:33:36 is Exp $ 2 1.1 mycroft # 3 1.6 is # Configuration variables (default values are below): 4 1.6 is # 5 1.6 is # S must be set to the top of the 'sys' tree. 6 1.6 is # FPSPDST may be set to the location of the directory where library 7 1.6 is # objects are to be built. Defaults to ${.OBJDIR}/lib/kern. 8 1.6 is # FPSP_AS isn't there. We always build an object file. 9 1.6 is # FPSPMISCCPPFLAGS 10 1.6 is # Miscellaneous cpp flags to be passed to the library's Makefile 11 1.6 is # when building. 12 1.6 is # FPSPMISCMAKEFLAGS 13 1.6 is # Miscellaneous flags to be passed to the library's Makefile when 14 1.6 is # building. See library's Makefile for more details about 15 1.6 is # supported flags and their default values. 16 1.1 mycroft 17 1.6 is # Default values: 18 1.6 is FPSPDST?= ${.OBJDIR}/lib/fpsp 19 1.1 mycroft 20 1.6 is FPSPDIR= $S/arch/m68k/fpsp 21 1.6 is FPSPOBJ= ${FPSPDST}/fpsp.o 22 1.6 is FPSP!= printf "\#ifdef FPSP\n${FPSPOBJ}\n\#endif\n" | ${CPP} -P -undef ${CPPFLAGS:M-DFPSP} 23 1.1 mycroft 24 1.1 mycroft 25 1.6 is # CC=${CC:Q} CFLAGS=${CFLAGS:Q} \ 26 1.6 is # AS=${AS:Q} AFLAGS=${AFLAGS:Q} \ 27 1.6 is # LD=${LD:Q} STRIP=${STRIP:Q} \ 28 1.6 is 29 1.6 is FPSPMAKE= \ 30 1.6 is cd ${FPSPDIR} && MAKEOBJDIR=${FPSPDST} ${MAKE} .OBJDIR=${FPSPDST} \ 31 1.6 is MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \ 32 1.6 is FPSPCPPFLAGS=${CPPFLAGS:S@^-I.@-I../../.@g:Q} \ 33 1.6 is FPSPMISCCPPFLAGS=${FPSPMISCCPPFLAGS:Q} \ 34 1.6 is FPSPDIR=${FPSPDIR:Q} \ 35 1.6 is ${FPSPMISCMAKEFLAGS} 36 1.6 is 37 1.6 is ${FPSP}: .NOTMAIN __always_make_fpsp 38 1.6 is @echo making sure the 68040 FPSP is up to date... 39 1.6 is @${FPSPMAKE} fpsp.o 40 1.6 is 41 1.6 is ${FPSPLIB_PROF}: .NOTMAIN __always_make_fpsp 42 1.6 is @echo making sure the profiled 68040 FPSP is up to date... 43 1.6 is @${FPSPMAKE} fpsp.po 44 1.6 is 45 1.6 is clean: .NOTMAIN cleanfpsp 46 1.6 is cleanfpsp: .NOTMAIN __always_make_fpsp 47 1.6 is @echo cleaning the 68040 FPSP objects 48 1.6 is @${FPSPMAKE} clean 49 1.6 is 50 1.6 is #cleandir: .NOTMAIN cleandirfpsp 51 1.6 is #cleandirfpsp: .NOTMAIN __always_make_fpsp 52 1.6 is # @echo cleandiring the 68040 FPSP objects 53 1.6 is # @${FPSPMAKE} cleandir 54 1.6 is 55 1.6 is #depend: .NOTMAIN dependfpsp 56 1.6 is #dependfpsp: .NOTMAIN __always_make_fpsp 57 1.6 is # @echo depending the 68040 FPSP objects 58 1.6 is # @${FPSPMAKE} depend 59 1.6 is # 60 1.1 mycroft 61 1.6 is __always_make_fpsp: .NOTMAIN 62 1.6 is @(mkdir -p ${FPSPDST}) 63