summaryrefslogtreecommitdiffstats
path: root/lib/libxpg4/Makefile
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-18 04:41:07 +0000
committerjb <jb@FreeBSD.org>1998-05-18 04:41:07 +0000
commit070d8ad1d4c98e78b173f5302867cbde38eb81d1 (patch)
treef5c3bfd09871525efe4682311d89c7952850cfe3 /lib/libxpg4/Makefile
parente0d2492ccb795ac675d14ffc8e00b4578cfbeddd (diff)
downloadFreeBSD-src-070d8ad1d4c98e78b173f5302867cbde38eb81d1.zip
FreeBSD-src-070d8ad1d4c98e78b173f5302867cbde38eb81d1.tar.gz
This library builds from libc source, so it also needs to know what
syscall style libc is using otherwise the library can contain calls (like issetugid) that you don't find out until you build X programs.
Diffstat (limited to 'lib/libxpg4/Makefile')
-rw-r--r--lib/libxpg4/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libxpg4/Makefile b/lib/libxpg4/Makefile
index 1e5c123..d312614 100644
--- a/lib/libxpg4/Makefile
+++ b/lib/libxpg4/Makefile
@@ -4,6 +4,13 @@ SRCS= setlocale.c setrunelocale.c euc.c mskanji.c utf2.c runetype.c \
CFLAGS+= -Wall -DXPG4 -I${.CURDIR}/../libc/locale
.PATH: ${.CURDIR}/../libc/locale
+#
+# If there is a machine dependent libc makefile, use it:
+#
+.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/Makefile.inc)
+.include "${.CURDIR}/../libc/${MACHINE_ARCH}/Makefile.inc"
+.endif
+
NOMAN= YES
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud