No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / vax / boot / xxboot_ustarfs / Makefile
blob217ca076b1a0f457657b7005c57f9028bf4ad664
1 # $NetBSD: Makefile,v 1.4.6.3 2004/09/21 13:23:40 skrll Exp $
3 S= ${.CURDIR}/../../../..
5 .include <bsd.own.mk>
7 .PATH: ${.CURDIR}/../xxboot
9 PROG= xxboot_ustarfs
11 SRCS= start.S bootxx.c romread.S str.S
13 STRIPFLAG=
14 CPPFLAGS+=-D_STANDALONE -DLIBSA_NO_FD_CHECKING -DLIBSA_NO_RAW_ACCESS \
15 -DLIBSA_NO_TWIDDLE -DLIBSA_SINGLE_DEVICE=rom \
16 -DLIBSA_NO_COMPAT_UFS \
17 -DLIBSA_NO_FS_SYMLINK -DLIBSA_NO_FS_CLOSE \
18 -DLIBSA_NO_FS_WRITE -DLIBSA_NO_FS_SEEK \
19 -DNEED_USTARFS
20 BINDIR= /usr/mdec
22 CFLAGS= -Os
23 LIBC=
25 SA_AS= library
26 .include "${S}/lib/libsa/Makefile.inc"
27 LIBSA= ${SALIB}
29 KERN_AS=library
30 .include "${S}/lib/libkern/Makefile.inc"
31 LIBKERN=${KERNLIB}
33 CLEANFILES+= ${PROG}.out
35 ${PROG}: ${OBJS} ${LIBSA} ${LIBKERN}
36 ${LD} -N -Ttext 100000 -o ${PROG}.out ${OBJS} ${LIBSA} ${LIBKERN}
37 ${SIZE} ${PROG}.out
38 ${OBJCOPY} -O binary ${PROG}.out ${PROG}
40 .include <bsd.prog.mk>