diff --git a/sys/arch/news68k/stand/boot/Makefile b/sys/arch/news68k/stand/boot/Makefile index 06219dfd0d59..37784017fd89 100644 --- a/sys/arch/news68k/stand/boot/Makefile +++ b/sys/arch/news68k/stand/boot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2009/03/15 06:04:02 tsutsui Exp $ +# $NetBSD: Makefile,v 1.27 2009/03/20 13:59:49 tsutsui Exp $ NOMAN= # defined @@ -11,7 +11,6 @@ COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR} PROG= boot SRCS= locore.S boot.c devopen.c -SRCS+= romcalls.S getchar.c putchar.c STRIPFLAG= BINMODE= 444 diff --git a/sys/arch/news68k/stand/bootxx/Makefile b/sys/arch/news68k/stand/bootxx/Makefile index a6d7700bb656..aa9d5d9a750b 100644 --- a/sys/arch/news68k/stand/bootxx/Makefile +++ b/sys/arch/news68k/stand/bootxx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/03/15 06:04:02 tsutsui Exp $ +# $NetBSD: Makefile,v 1.20 2009/03/20 13:59:49 tsutsui Exp $ NOMAN= # defined @@ -11,7 +11,6 @@ COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR} PROG= bootxx SRCS= start.S bootxx.c -SRCS+= romcalls.S putchar.c STRIPFLAG= BINMODE= 444 diff --git a/sys/arch/news68k/stand/common/Makefile b/sys/arch/news68k/stand/common/Makefile index 25ec50af66c5..bb3b5110212c 100644 --- a/sys/arch/news68k/stand/common/Makefile +++ b/sys/arch/news68k/stand/common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2009/03/15 06:04:02 tsutsui Exp $ +# $NetBSD: Makefile,v 1.12 2009/03/20 13:59:49 tsutsui Exp $ S= ${.CURDIR}/../../../.. @@ -28,7 +28,7 @@ LIBZ= ${ZLIB} ### find out what to use for libsa SA_AS= library -SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes +SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR} .include "${S}/lib/libsa/Makefile.inc" LIBSA= ${SALIB} diff --git a/sys/arch/news68k/stand/common/Makefile.inc b/sys/arch/news68k/stand/common/Makefile.inc new file mode 100644 index 000000000000..1d017845bae1 --- /dev/null +++ b/sys/arch/news68k/stand/common/Makefile.inc @@ -0,0 +1,8 @@ +# $NetBSD: Makefile.inc,v 1.1 2009/03/20 13:59:49 tsutsui Exp $ + +# MD libsa files shared among each SA program + +.PATH.c: ${SA_EXTRADIR} +.PATH.S: ${SA_EXTRADIR} + +SRCS+= getchar.c putchar.c romcalls.S