2010-02-16 15:41:33 +01:00
|
|
|
# Makefile for libc
|
|
|
|
|
2010-02-24 12:58:05 +01:00
|
|
|
.include "Makefile.inc"
|
|
|
|
|
2010-02-16 15:41:33 +01:00
|
|
|
LIB= c
|
|
|
|
|
|
|
|
CPPFLAGS+=-O -D_MINIX -D_POSIX_SOURCE
|
|
|
|
|
|
|
|
.include "${.CURDIR}/ansi/Makefile.inc"
|
2010-04-19 17:20:24 +02:00
|
|
|
.include "${.CURDIR}/wchar/Makefile.inc"
|
2010-02-16 15:41:33 +01:00
|
|
|
.include "${.CURDIR}/ip/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/math/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/other/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/posix/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/regex/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/stdio/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/stdtime/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/syscall/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/sysvipc/Makefile.inc"
|
|
|
|
|
|
|
|
.include "${.CURDIR}/arch/${ARCH}/int64/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/arch/${ARCH}/misc/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/arch/${ARCH}/math/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/arch/${ARCH}/rts/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/arch/${ARCH}/string/Makefile.inc"
|
|
|
|
|
2010-02-24 12:58:05 +01:00
|
|
|
.if ${COMPILER_TYPE} == "ack"
|
2010-02-16 15:41:33 +01:00
|
|
|
.include "${.CURDIR}/ack/fphook/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/ack/math/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/ack/rts/Makefile.inc"
|
2010-02-24 12:58:05 +01:00
|
|
|
.elif ${COMPILER_TYPE} == "gnu"
|
2010-02-16 15:41:33 +01:00
|
|
|
.include "${.CURDIR}/gnu/ieee_float/Makefile.inc"
|
|
|
|
.include "${.CURDIR}/gnu/arch/${ARCH}/rts/Makefile.inc"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <minix.lib.mk>
|