summaryrefslogtreecommitdiffstats
path: root/lib/libc/Makefile.inc
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1997-05-03 03:50:06 +0000
committerjb <jb@FreeBSD.org>1997-05-03 03:50:06 +0000
commita1337bb0aea1f73b56821753ae8b9758996f55e4 (patch)
treee2988fbdcf4bbeae883b2bf6b71034d5bd4369ff /lib/libc/Makefile.inc
parent8063125723bbc9af61ddfefc3de495d2f827e118 (diff)
downloadFreeBSD-src-a1337bb0aea1f73b56821753ae8b9758996f55e4.zip
FreeBSD-src-a1337bb0aea1f73b56821753ae8b9758996f55e4.tar.gz
Changed all paths to be relative to src/lib instead of src/lib/libc
so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too.
Diffstat (limited to 'lib/libc/Makefile.inc')
-rw-r--r--lib/libc/Makefile.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/libc/Makefile.inc b/lib/libc/Makefile.inc
new file mode 100644
index 0000000..1f51b57
--- /dev/null
+++ b/lib/libc/Makefile.inc
@@ -0,0 +1,25 @@
+# $Id$
+#
+# This file contains make rules that are shared by libc and libc_r.
+#
+.include "${.CURDIR}/../libc/db/Makefile.inc"
+.include "${.CURDIR}/../libc/compat-43/Makefile.inc"
+.include "${.CURDIR}/../libc/gen/Makefile.inc"
+.include "${.CURDIR}/../libc/gmon/Makefile.inc"
+.include "${.CURDIR}/../libc/locale/Makefile.inc"
+.include "${.CURDIR}/../libc/net/Makefile.inc"
+.include "${.CURDIR}/../libc/nls/Makefile.inc"
+.include "${.CURDIR}/../libc/quad/Makefile.inc"
+.include "${.CURDIR}/../libc/regex/Makefile.inc"
+.include "${.CURDIR}/../libc/stdio/Makefile.inc"
+.include "${.CURDIR}/../libc/stdlib/Makefile.inc"
+.include "${.CURDIR}/../libc/stdtime/Makefile.inc"
+.include "${.CURDIR}/../libc/string/Makefile.inc"
+.include "${.CURDIR}/../libc/sys/Makefile.inc"
+.include "${.CURDIR}/../libc/rpc/Makefile.inc"
+.include "${.CURDIR}/../libc/xdr/Makefile.inc"
+.if !defined(NO_YP_LIBC)
+CFLAGS+= -DYP
+.include "${.CURDIR}/../libc/yp/Makefile.inc"
+.endif
+.include "${.CURDIR}/../libc/${MACHINE}/sys/Makefile.inc"
OpenPOWER on IntegriCloud