diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-06-27 02:59:22 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-06-27 02:59:22 +0000 |
commit | 8887c4463087928913ef641714aab0e3fdfd7a98 (patch) | |
tree | ed960a6e179999cfee11ba3893317a7d3979af6a /sys/arch/hppa/stand/Makefile.inc | |
parent | ef742d6195ff198e82ea8c4c0208aed15efd11b0 (diff) |
gen boot.lif automagically
Diffstat (limited to 'sys/arch/hppa/stand/Makefile.inc')
-rw-r--r-- | sys/arch/hppa/stand/Makefile.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/hppa/stand/Makefile.inc b/sys/arch/hppa/stand/Makefile.inc index 1da307b9927..e4d6368179c 100644 --- a/sys/arch/hppa/stand/Makefile.inc +++ b/sys/arch/hppa/stand/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1 1998/06/23 18:46:40 mickey Exp $ +# $OpenBSD: Makefile.inc,v 1.2 1998/06/27 02:59:20 mickey Exp $ CFLAGS=${DEBUG} -O2 -Wall -Werror CPPFLAGS+=-I${S} -I. -I${.CURDIR} @@ -21,6 +21,7 @@ CLEANFILES+= machine @([ -h machine ] || ln -s $(S)/arch/hppa/include machine) .endif +.if 0 .if $(CC) != $(HOSTCC) .S.o .s.o: @echo "${CPP} ${CPPFLAGS} ${CFLAGS:M-[ID]*} ${AINC} ${.IMPSRC} | \ @@ -37,7 +38,7 @@ CLEANFILES+= machine @${LD} -x -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o .endif - +.endif .if exists(${SADIR}/libsa/libsa.a) LIBSA=${SADIR}/libsa/libsa.a .else @@ -53,6 +54,11 @@ LIBZ=${SADIR}/libz/libz.a .else LIBZ=${SADIR}/libz/${__objdir}/libz.a .endif +.if exists(${SADIR}/mkboot/mkboot) +MKBOOT=${SADIR}/mkboot/mkboot +.else +MKBOOT=${SADIR}/mkboot/${__objdir}/mkboot +.endif # NO_NET=no_net BINDIR= /usr/mdec |