|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: Makefile.inc,v 1.44 2010/05/18 22:24:55 tedu Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: Makefile.inc,v 1.45 2012/09/04 03:10:42 okan Exp $ |
|
|
|
|
|
|
|
|
# stdlib sources |
|
|
# stdlib sources |
|
|
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib |
|
|
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib |
|
@ -14,16 +14,12 @@ SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ |
|
|
|
|
|
|
|
|
.if (${MACHINE_CPU} == "m68k") |
|
|
.if (${MACHINE_CPU} == "m68k") |
|
|
SRCS+= abs.S div.c labs.c ldiv.c |
|
|
SRCS+= abs.S div.c labs.c ldiv.c |
|
|
LSRCS+= abs.c |
|
|
|
|
|
.elif (${MACHINE_CPU} == "i386") |
|
|
.elif (${MACHINE_CPU} == "i386") |
|
|
SRCS+= abs.S div.S labs.S ldiv.S |
|
|
SRCS+= abs.S div.S labs.S ldiv.S |
|
|
LSRCS+= abs.c div.c labs.c ldiv.c |
|
|
|
|
|
.elif (${MACHINE_CPU} == "ns32k") |
|
|
.elif (${MACHINE_CPU} == "ns32k") |
|
|
SRCS+= abs.S div.c labs.c ldiv.c |
|
|
SRCS+= abs.S div.c labs.c ldiv.c |
|
|
LSRCS+= abs.c |
|
|
|
|
|
.elif (${MACHINE_CPU} == "tahoe") |
|
|
.elif (${MACHINE_CPU} == "tahoe") |
|
|
SRCS+= abs.S div.c labs.c ldiv.c |
|
|
SRCS+= abs.S div.c labs.c ldiv.c |
|
|
LSRCS+= abs.c |
|
|
|
|
|
.elif (${MACHINE_CPU} == "vax") |
|
|
.elif (${MACHINE_CPU} == "vax") |
|
|
SRCS+= abs.c div.c labs.c ldiv.c |
|
|
SRCS+= abs.c div.c labs.c ldiv.c |
|
|
.elif (${MACHINE_CPU} == "alpha") |
|
|
.elif (${MACHINE_CPU} == "alpha") |
|
|