summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/Makefile
diff options
context:
space:
mode:
authorkupfer <none@none>2005-12-21 19:47:57 -0800
committerkupfer <none@none>2005-12-21 19:47:57 -0800
commitfb9f9b975cb9214fec5dab37d461199adab9b964 (patch)
tree225906767e6b4b8460661d5665512ca553bd4171 /usr/src/lib/libc/Makefile
parentcf8f45c7690afabe63bdb8066b11db58d708ad09 (diff)
downloadillumos-joyent-fb9f9b975cb9214fec5dab37d461199adab9b964.tar.gz
6289535 build_cscope complains a bit on x86
6303550 xencrypt, xdecrypt no longer mangled 6316770 split the tree into open and closed trees 6321333 Install.sh is over-zealous looking for kmods
Diffstat (limited to 'usr/src/lib/libc/Makefile')
-rw-r--r--usr/src/lib/libc/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/usr/src/lib/libc/Makefile b/usr/src/lib/libc/Makefile
index a12850b2a7..961d80a379 100644
--- a/usr/src/lib/libc/Makefile
+++ b/usr/src/lib/libc/Makefile
@@ -100,7 +100,22 @@ $(ROOTVARIANTDIR)/$(VAR2_DYNLIB) := FILEMODE= 755
.KEEP_STATE:
-all: spec .WAIT lib32 $(BUILD64) .WAIT lib64 .WAIT etc
+all: check_i18n .WAIT spec .WAIT lib32 $(BUILD64) .WAIT lib64 .WAIT etc
+
+check_i18n:
+ @if [ ! -f $(ROOTFS_LIBDIR)/libc_i18n.a -a \
+ ! -f $(ROOTFS_LIBDIR64)/libc_i18n.a ]; then \
+ if [ "$$CLOSED_IS_PRESENT" = no ]; then \
+ $(ECHO) "Warning: closed binaries not" \
+ "properly unpacked." >&2;\
+ $(ECHO) "Missing libc_i18n.a" >&2; \
+ exit 1; \
+ else \
+ $(ECHO) "Warning: libc_i18n.a must be built" \
+ "before libc can be built." >&2; \
+ exit 1; \
+ fi \
+ fi
etc: $($(MACH)_ETC)