Annotation of sys/arch/mvme68k/stand/bootsd/Makefile, Revision 1.1
1.1 ! nbrk 1: # from: @(#)Makefile 8.1 (Berkeley) 6/10/93
! 2: # $OpenBSD: Makefile,v 1.16 2006/01/10 07:36:31 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: LDFLAGS=-N -T ${STAGE2_RELOC}
! 10: CLEANFILES+=bootsd
! 11:
! 12: .include "${S}/arch/mvme68k/stand/bugcrt/Makefile.inc"
! 13: .include "${S}/arch/mvme68k/stand/libbug/Makefile.inc"
! 14: .include "${S}/arch/mvme68k/stand/libsa/Makefile.inc"
! 15: .include "${S}/arch/mvme68k/stand/libz/Makefile.inc"
! 16:
! 17: SRCS= boot.c conf.c version.c
! 18:
! 19: LIBS= ${LIBSA} ${LIBBUG} ${LIBZ}
! 20:
! 21: OBJS= ${SRCS:N*.h:R:S/$/.o/g}
! 22:
! 23: BOOTS= bootsd
! 24: ALL= ${BOOTS}
! 25:
! 26: all: ${ALL}
! 27:
! 28: bootsd: ${OBJS} ${BUGCRT} ${LIBS}
! 29: ${LD} ${LDFLAGS} -o $@ \
! 30: ${BUGCRT} ${OBJS} ${LIBS} `cc -print-libgcc-file-name`
! 31: #${SRTOBJ}
! 32: install:
! 33: install ${INSTALL_STRIP} -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
! 34:
! 35: .include <bsd.prog.mk>
CVSweb