/src/wrappers/common/library/externals/Makefile

http://github.com/tybor/Liberty · Makefile · 22 lines · 15 code · 4 blank · 3 comment · 0 complexity · 0dcdeed2134854cf3ca1105fc9e56ebb MD5 · raw file

  1. ## To avoid an Ubuntu Intrepid Ibex bug.
  2. ## See https://bugs.launchpad.net/ubuntu/+source/gccxml/+bug/293807 for further informations.
  3. ##export GCCXML_COMPILER = gcc-4.2
  4. XML=standard-c-library.gcc-xml
  5. HEADER=plugin/c/standard-c-lib.h
  6. HEADERS= /usr/include/assert.h \
  7. /usr/include/ctype.h \
  8. /usr/include/errno.h \
  9. /usr/include/float.h \
  10. /usr/include/math.h \
  11. /usr/include/stdio.h \
  12. /usr/include/stdlib.h \
  13. /usr/include/string.h \
  14. /usr/include/time.h
  15. wrappers: $(XML)
  16. wrappers-generator --local $(XML) $(HEADERS)
  17. $(XML):
  18. gccxml $(HEADER) -fxml=$(XML)