summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-01-09 14:20:32 +0000
committerEric Andersen <andersen@codepoet.org>2002-01-09 14:20:32 +0000
commitdc5dac9013cf2b2ee70e126c9399367055717f94 (patch)
tree62a44f6e819613c9a96499bc99ad4f86e2a4d95a /libc
parent90374108bb8e84f45ef3186f8d569cf1eb4e446d (diff)
Allow people to exclude regex code, since it is huge (27k)
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index dfa1bf9ea..2a43c9f2f 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -26,7 +26,10 @@ include $(TOPDIR)Rules.mak
DIRS = assert ctype dirent file fnmatch glob internals lsearch \
- mntent syslog time utmp tsearch locale regex sysvipc statfs
+ mntent syslog time utmp tsearch locale sysvipc statfs
+ifeq ($(strip $(INCLUDE_REGEX)),true)
+DIRS += regex
+endif
all: libc.a