Makefile.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ACLOCAL_AMFLAGS = -I .. -I ../config
  2. if LIBMPX_SUPPORTED
  3. SUBDIRS = mpxrt
  4. if MPX_AS_SUPPORTED
  5. SUBDIRS += mpxwrap
  6. endif
  7. nodist_toolexeclib_HEADERS = libmpx.spec
  8. endif
  9. ## May be used by toolexeclibdir.
  10. gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
  11. # Work around what appears to be a GNU make bug handling MAKEFLAGS
  12. # values defined in terms of make variables, as is the case for CC and
  13. # friends when we are called from the top level Makefile.
  14. AM_MAKEFLAGS = \
  15. "AR_FLAGS=$(AR_FLAGS)" \
  16. "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  17. "CFLAGS=$(CFLAGS)" \
  18. "CXXFLAGS=$(CXXFLAGS)" \
  19. "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
  20. "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
  21. "INSTALL=$(INSTALL)" \
  22. "INSTALL_DATA=$(INSTALL_DATA)" \
  23. "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  24. "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
  25. "JC1FLAGS=$(JC1FLAGS)" \
  26. "LDFLAGS=$(LDFLAGS)" \
  27. "LIBCFLAGS=$(LIBCFLAGS)" \
  28. "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
  29. "MAKE=$(MAKE)" \
  30. "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
  31. "PICFLAG=$(PICFLAG)" \
  32. "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
  33. "SHELL=$(SHELL)" \
  34. "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  35. "exec_prefix=$(exec_prefix)" \
  36. "infodir=$(infodir)" \
  37. "libdir=$(libdir)" \
  38. "prefix=$(prefix)" \
  39. "includedir=$(includedir)" \
  40. "AR=$(AR)" \
  41. "AS=$(AS)" \
  42. "LD=$(LD)" \
  43. "LIBCFLAGS=$(LIBCFLAGS)" \
  44. "NM=$(NM)" \
  45. "PICFLAG=$(PICFLAG)" \
  46. "RANLIB=$(RANLIB)" \
  47. "DESTDIR=$(DESTDIR)"
  48. MAKEOVERRIDES =