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

Annotation of sys/arch/mvme68k/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/01/10 07:36:32 miod Exp $
                      3:
                      4: SIZE?= size
                      5:
                      6: S=     ${.CURDIR}/../../../..
                      7: DEFS=
                      8: INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
                      9:        -I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
                     10: CFLAGS+=-O2 ${INCPATH} ${DEFS} ${COPTS}
                     11: CLEANFILES+=stboot bootst bootst.bug
                     12:
                     13: .include "${S}/arch/mvme68k/stand/wrtvid/Makefile.inc"
                     14: .include "${S}/arch/mvme68k/stand/bugcrt/Makefile.inc"
                     15: .include "${S}/arch/mvme68k/stand/libbug/Makefile.inc"
                     16: .include "${S}/arch/mvme68k/stand/libsa/Makefile.inc"
                     17: .include "${S}/arch/mvme68k/stand/libz/Makefile.inc"
                     18:
                     19: SRCS=   boot.c conf.c dev_tape.c rawfs.c version.c
                     20:
                     21: LIBS=  ${LIBSA} ${LIBBUG} ${LIBZ}
                     22:
                     23: OBJS= ${SRCS:N*.h:R:S/$/.o/g}
                     24:
                     25: BOOTS= bootst stboot
                     26: ALL=   ${BOOTS}
                     27:
                     28: all: ${ALL}
                     29:
                     30: bootst.bug:    ${OBJS} ${BUGCRT} ${LIBS}
                     31:        ${LD} -s -N -T ${STAGE2_RELOC} ${BUGCRT} ${OBJS} ${LIBS} \
                     32:            `cc -print-libgcc-file-name` -o $@
                     33:        @${SIZE} bootst.bug
                     34:
                     35: bootst stboot: bootst.bug ${WRTVID}
                     36:        ${WRTVID} bootst.bug
                     37:
                     38: install:
                     39:        install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
                     40:
                     41: .include <bsd.prog.mk>

CVSweb