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

Annotation of sys/arch/mvme88k/stand/bootst/Makefile, Revision 1.1.1.1

1.1       nbrk        1: #      from: @(#)Makefile      8.1 (Berkeley) 6/10/93
                      2: #      $OpenBSD: Makefile,v 1.12 2006/05/16 22:52:26 miod Exp $
                      3:
                      4: SIZE?= size
                      5:
                      6: S=     ${.CURDIR}/../../../..
                      7: DEFS= -DSTANDALONE -DCOMPAT_NOLABEL
                      8: INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
                      9:        -I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
                     10: CFLAGS+=${INCPATH} ${DEFS} ${COPTS}
                     11: LDFLAGS=-s -N -T ${STAGE2_RELOC}
                     12: CLEANFILES+=stboot bootst bootst.bug
                     13:
                     14: .include "${S}/arch/mvme88k/stand/wrtvid/Makefile.inc"
                     15: .include "${S}/arch/mvme88k/stand/bugcrt/Makefile.inc"
                     16: .include "${S}/arch/mvme88k/stand/libbug/Makefile.inc"
                     17: .include "${S}/arch/mvme88k/stand/libsa/Makefile.inc"
                     18: .include "${S}/arch/mvme88k/stand/libz/Makefile.inc"
                     19:
                     20: SRCS=   boot.c conf.c dev_tape.c rawfs.c version.c
                     21:
                     22: LIBS=  ${LIBSA} ${LIBBUG} ${LIBZ}
                     23:
                     24: OBJS= ${SRCS:N*.h:R:S/$/.o/g}
                     25:
                     26: BOOTS= bootst stboot
                     27: ALL=   ${BOOTS}
                     28:
                     29: all: ${ALL}
                     30:
                     31: bootst.bug:    ${OBJS} ${SINGLE} ${LIBS}
                     32:        ${LD} ${LDFLAGS} ${SINGLE} -o $@ \
                     33:            ${OBJS} ${LIBS} `cc -print-libgcc-file-name`
                     34:        @${SIZE} bootst.bug
                     35:
                     36: bootst stboot: bootst.bug ${WRTVID}
                     37:        ${WRTVID} bootst.bug
                     38:
                     39: install:
                     40:        install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
                     41:
                     42: .include <bsd.prog.mk>

CVSweb