[uClibc-cvs] uClibc Makefile,1.213,1.214
Manuel Novoa III
mjn3 at uclibc.org
Sat Sep 6 03:28:13 UTC 2003
Update of /var/cvs/uClibc
In directory winder:/tmp/cvs-serv22607
Modified Files:
Makefile
Log Message:
Don't install floating point related headers, and wrap some previously
unwrapped prototypes, when float support is disabled.
Also don't install printf.h if glibc custom printf specifier support
is disabled.
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/Makefile,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -d -r1.213 -r1.214
--- Makefile 6 Sep 2003 01:08:55 -0000 1.213
+++ Makefile 6 Sep 2003 03:28:09 -0000 1.214
@@ -182,6 +182,14 @@
install -d $(PREFIX)$(DEVEL_PREFIX)/include
-install -m 644 lib/*.[ao] $(PREFIX)$(DEVEL_PREFIX)/lib/
tar -chf - include | tar -xf - -C $(PREFIX)$(DEVEL_PREFIX);
+ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
+ # Remove floating point related headers since float support is disabled.
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/complex.h
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/fpu_control.h
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/ieee754.h
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/math.h
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/tgmath.h
+endif
ifneq ($(strip $(UCLIBC_HAS_WCHAR)),y)
# Remove wide char headers since wide char support is disabled.
rm $(PREFIX)$(DEVEL_PREFIX)/include/wctype.h
@@ -191,6 +199,10 @@
# Remove iconv header since locale support is disabled.
rm $(PREFIX)$(DEVEL_PREFIX)/include/iconv.h
endif
+ifneq ($(strip $(UCLIBC_HAS_GLIBC_CUSTOM_PRINTF)),y)
+ # Remove printf header since custom print specifier support is disabled.
+ rm $(PREFIX)$(DEVEL_PREFIX)/include/printf.h
+endif
ifneq ($(strip $(UCLIBC_HAS_XLOCALE)),y)
# Remove xlocale header since extended locale support is disabled.
rm $(PREFIX)$(DEVEL_PREFIX)/include/xlocale.h
More information about the uClibc-cvs
mailing list