[uClibc-cvs] uClibc Makefile,1.210,1.211
Erik Andersen
andersen at uclibc.org
Sat Sep 6 00:38:33 UTC 2003
Update of /var/cvs/uClibc
In directory winder:/tmp/cvs-serv20843
Modified Files:
Makefile
Log Message:
Remove more headers when options are disabled
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/Makefile,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- Makefile 3 Sep 2003 07:23:12 -0000 1.210
+++ Makefile 6 Sep 2003 00:38:29 -0000 1.211
@@ -199,6 +199,19 @@
# Remove libintl header if no gettext support.
rm $(PREFIX)$(DEVEL_PREFIX)/include/libintl.h
endif
+ifneq ($(strip $(UCLIBC_HAS_REGEX)),y)
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/regex.h
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/regexp.h
+endif
+ifneq ($(strip $(UCLIBC_HAS_WORDEXP)),y)
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/wordexp.h
+endif
+ifneq ($(strip $(UCLIBC_HAS_FTW)),y)
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/ftw.h
+endif
+ifneq ($(strip $(UCLIBC_HAS_GLOB)),y)
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/glob.h
+endif
- at for i in `find $(PREFIX)$(DEVEL_PREFIX) -type d` ; do \
chmod -f 755 $$i; chmod -f 644 $$i/*.h; \
done;
More information about the uClibc-cvs
mailing list