[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / sys / arch / aviion / stand / netboot

Annotation of sys/arch/aviion/stand/netboot/Makefile, Revision 1.1

1.1     ! nbrk        1: #      $OpenBSD: Makefile,v 1.1 2006/05/16 22:48:18 miod Exp $
        !             2:
        !             3: SIZE?= size
        !             4:
        !             5: S=     ${.CURDIR}/../../../..
        !             6: DEFS=  -DSUN_BOOTPARAMS
        !             7: #DEFS+=        -DNETIF_DEBUG
        !             8: INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libprom \
        !             9:        -I${S} -I${S}/lib/libsa
        !            10: CFLAGS+=${DEFS} ${INCPATH} ${COPTS}
        !            11: CLEANFILES+=netboot netboot.aout
        !            12:
        !            13: .include "${S}/arch/aviion/stand/Makefile.inc"
        !            14: .include "${S}/arch/aviion/stand/libprom/Makefile.inc"
        !            15: .include "${S}/arch/aviion/stand/libsa/Makefile.inc"
        !            16: .include "${S}/arch/aviion/stand/libz/Makefile.inc"
        !            17:
        !            18: # Keep crt.c first in the object list for ld's sake.
        !            19: SRCS=   crt.c boot.c conf.c devopen.c dev_net.c if_le.c version.c
        !            20: OBJS=  ${SRCS:S/.c/.o/g}
        !            21: LIBS=  ${LIBSA} ${LIBPROM} ${LIBZ}
        !            22: LDFLAGS+= -N -T ${STAGE2_RELOC}
        !            23:
        !            24: all:   netboot.aout
        !            25:
        !            26: netboot: netboot.aout a2coff
        !            27:        ${DESTDIR}${MDEC_DIR}/a2coff netboot.aout netboot
        !            28:
        !            29: netboot.aout: ${OBJS} ${SINGLE} ${LIBS}
        !            30:        ${LD} ${LDFLAGS} -o $@ \
        !            31:                ${SINGLE} ${OBJS} ${LIBS} `cc -print-libgcc-file-name`
        !            32:        @${SIZE} $@
        !            33:
        !            34: a2coff:        ${DESTDIR}${MDEC_DIR}/a2coff
        !            35:        cd ${S}/arch/aviion/stand/a2coff && ${MAKE} && ${MAKE} install
        !            36:
        !            37: install: netboot
        !            38:        ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
        !            39:          netboot ${DESTDIR}${MDEC_DIR}/netboot
        !            40:
        !            41: .include <bsd.prog.mk>

CVSweb