Build common standalone MD sources in libsa.

This commit is contained in:
tsutsui 2009-03-20 13:59:49 +00:00
parent cc5989d71d
commit e61fbf18ec
4 changed files with 12 additions and 6 deletions

View File

@ -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 NOMAN= # defined
@ -11,7 +11,6 @@ COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR}
PROG= boot PROG= boot
SRCS= locore.S boot.c devopen.c SRCS= locore.S boot.c devopen.c
SRCS+= romcalls.S getchar.c putchar.c
STRIPFLAG= STRIPFLAG=
BINMODE= 444 BINMODE= 444

View File

@ -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 NOMAN= # defined
@ -11,7 +11,6 @@ COMMONOBJ!= cd ${COMMON} && ${PRINTOBJDIR}
PROG= bootxx PROG= bootxx
SRCS= start.S bootxx.c SRCS= start.S bootxx.c
SRCS+= romcalls.S putchar.c
STRIPFLAG= STRIPFLAG=
BINMODE= 444 BINMODE= 444

View File

@ -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}/../../../.. S= ${.CURDIR}/../../../..
@ -28,7 +28,7 @@ LIBZ= ${ZLIB}
### find out what to use for libsa ### find out what to use for libsa
SA_AS= library 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" .include "${S}/lib/libsa/Makefile.inc"
LIBSA= ${SALIB} LIBSA= ${SALIB}

View File

@ -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