Annotation of sys/arch/mvme68k/stand/bootxx/Makefile, Revision 1.1.1.1
1.1 nbrk 1: # from: @(#)Makefile 8.1 (Berkeley) 6/10/93
2: # $OpenBSD: Makefile,v 1.8 2006/01/10 07:36:32 miod Exp $
3:
4: S= ${.CURDIR}/../../../..
5: DEFS=
6: INCPATH=-I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
7: -I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
8: CFLAGS+=-O2 ${INCPATH} ${DEFS} ${COPTS}
9: CLEANFILES+=bootxx
10:
11: .include "${S}/arch/mvme68k/stand/bugcrt/Makefile.inc"
12: .include "${S}/arch/mvme68k/stand/libbug/Makefile.inc"
13: .include "${S}/arch/mvme68k/stand/libsa/Makefile.inc"
14: .include "${S}/arch/mvme68k/stand/libz/Makefile.inc"
15:
16: SRCS= bootxx.c conf.c version.c
17:
18: LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
19:
20: OBJS= ${SRCS:N*.h:R:S/$/.o/g}
21:
22: BOOTS= bootxx
23: ALL= ${BOOTS}
24:
25: all: ${ALL}
26:
27: bootxx: ${OBJS} ${BUGCRT} ${LIBS}
28: ${LD} -N -T ${STAGE1_RELOC} ${BUGCRT} ${OBJS} ${LIBS} \
29: `cc -print-libgcc-file-name` -o $@
30:
31: install:
32: install -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
33:
34: .include <bsd.prog.mk>
CVSweb