diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-09-06 00:38:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-09-06 00:38:29 +0000 |
commit | 72d74d713b28ac4bc7892b347a8a9ad6921fdc04 (patch) | |
tree | 1f07bfd38c632a715256764d94c985a609a20b8c /Makefile | |
parent | a1380a837e87b38c06256fac373b035478a7b4a2 (diff) |
Remove more headers when options are disabled
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -199,6 +199,19 @@ ifneq ($(strip $(UCLIBC_HAS_GETTEXT_AWARENESS)),y) # 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 -@for i in `find $(PREFIX)$(DEVEL_PREFIX) -type d` ; do \ chmod -f 755 $$i; chmod -f 644 $$i/*.h; \ done; |