1# $MirOS: src/lib/libc/Makefile,v 1.45 2014/02/19 17:43:26 tg Exp $
2# $OpenBSD: Makefile,v 1.23 2005/06/29 14:05:08 mickey Exp $
3#
4# All library objects contain sccsid strings by default; they may be
5# excluded as a space-saving measure.  To produce a library that does
6# not contain these strings, delete -DLIBC_SCCS and -DSYSLIBC_SCCS
7# from CFLAGS below.  To remove these strings from just the system call
8# stubs, remove just -DSYSLIBC_SCCS from CFLAGS in Makefile.inc.
9
10.include <bsd.own.mk>
11
12SHLIB_VERSION?=		42.0	# note: If changes were made to the file
13#				# src/lib/libc/include/thread_private.h or
14#				# system calls have been added/changed,
15#				# libpthread must also be updated.
16LIB=			c
17LINTFLAGS+=		-z
18
19LIBCSRCDIR=		${.CURDIR}
20KERNNOGCC=		#defined
21KERNISUSR=		#defined
22KERNBASE?=		${.CURDIR}/../../kern
23.include "${LIBCSRCDIR}/Makefile.inc"
24.include "${KERNBASE}/c/Makefile.inc"
25
26SRCS+=			csuhlpr.c
27
28DPADD+=			${.CURDIR}/libc.exp
29LDFLAGS+=		-Wl,--version-script,${.CURDIR}/libc.exp
30
31.include <bsd.lib.mk>
32