[BACK]Return to Makefile.inc CVS log [TXT][DIR] Up to [local] / sys / arch / alpha / stand / libsa

Annotation of sys/arch/alpha/stand/libsa/Makefile.inc, Revision 1.1.1.1

1.1       nbrk        1: #      $OpenBSD: Makefile.inc,v 1.1 1997/05/05 06:01:57 millert Exp $
                      2: #      $NetBSD: Makefile.inc,v 1.5 1996/09/30 16:01:18 ws Exp $
                      3: #
                      4: #      NOTE: $S must correspond to the top of the 'sys' tree
                      5: SADIR= $S/lib/libsa
                      6:
                      7: SADST?=        lib/sa
                      8: SAREL?=        ../../
                      9: SALIB?=        ${SADST}/libsa.a
                     10:
                     11: SAMAKE= \
                     12:        cd ${SADST} && ${MAKE} -f ${SAREL}${SADIR}/Makefile \
                     13:          CC="${CC}" XCFLAGS="${CFLAGS}" \
                     14:          AS='${AS}' XAFLAGS='${AFLAGS}' \
                     15:          LD='${LD}' \
                     16:          XCPPFLAGS="${CPPFLAGS}" \
                     17:          SAREL="${SAREL}" \
                     18:          SADIR="${SADIR}" \
                     19:          EXTRACFLAGS="${EXTRACFLAGS}"
                     20: .if defined(NO_NET)
                     21: SAMAKE+= NO_NET=""
                     22: .endif
                     23: .if defined(SA_ZLIB)
                     24: SAMAKE+= SA_ZLIB=""
                     25: .endif
                     26:
                     27: ${SALIB}:              .NOTMAIN __always_make_salib
                     28:        @echo making sure the stand-alone library is up to date...
                     29:        @${SAMAKE} libsa.a
                     30:
                     31: clean:                 .NOTMAIN __always_make_salib
                     32:        @echo cleaning the stand-alone library objects
                     33:        @${SAMAKE} clean
                     34:
                     35: depend:                        .NOTMAIN __always_make_salib
                     36:        @echo depending the standalone library objects
                     37:        @${SAMAKE} depend
                     38:
                     39: __always_make_salib:   .NOTMAIN
                     40:        @([ -d ${SADST} ] || mkdir -p ${SADST})
                     41:

CVSweb