You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.am 1.6 KiB

Update autotools scripts to require automake 1.6. The configure.in script already required autoconf 2.59 (circa 2006), so there is no reason to support versions of automake older than 1.6 (circa 2002). The first part of this patch upgrades the configure.in script: 1. Use current calling conventions for the AC_INIT and AM_INIT_AUTOMAKE macros, bringing their usage up-to-date with the version of autoconf already specified by AC_PREREQ. 2. Add AC_CONFIG_SRCDIR macro, required by new version of AC_INIT. 3. Automatically enable all of automake's warnings except Makefile portability (which OpenOCD violates by using GNU make's $(wildcard)). [[ While automake has its own -Werror option, I did not enabled it due to existing warnings. ]] 4. Add the missing AM_PROG_C_O check, required by the build rules for openocd.o in src/Makefile.am. 5. Adjust version number to show progress toward the next release. 6. Include a bug reporting e-mail address to direct users to this list. This patch makes the following adjustments to the Makefile.am files: 1. Update AUTOMAKE_OPTIONS to require automake version 1.6 2. Rewrite all deprecated INCLUDES assignments as AM_CPPFLAGS 3. Clean-up all AM_CPPFLAGS declarations to be patch-friendly. 4. Remove vestigial references to $(all_includes) 5. Remove erroneous references to @CPPFLAGS@ (only use AM_CPPFLAGS) 6. Remove unused -I and -D directives in helper/, flash/, target/ git-svn-id: svn://svn.berlios.de/openocd/trunk@1591 b42882b7-edfa-0310-969c-e2dbd0fdcd60
15 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. if OOCD_TRACE
  2. OOCD_TRACE_FILES = oocd_trace.c
  3. else
  4. OOCD_TRACE_FILES =
  5. endif
  6. AM_CPPFLAGS = \
  7. -I$(top_srcdir)/src/helper \
  8. -I$(top_srcdir)/src/jtag \
  9. -I$(top_srcdir)/src/xsvf
  10. METASOURCES = AUTO
  11. noinst_LTLIBRARIES = libtarget.la
  12. libtarget_la_SOURCES = \
  13. target.c \
  14. register.c \
  15. breakpoints.c \
  16. armv4_5.c \
  17. embeddedice.c \
  18. etm.c \
  19. arm7tdmi.c \
  20. arm9tdmi.c \
  21. arm_jtag.c \
  22. arm7_9_common.c \
  23. algorithm.c \
  24. arm920t.c \
  25. arm720t.c \
  26. armv4_5_mmu.c \
  27. armv4_5_cache.c \
  28. arm_disassembler.c \
  29. arm966e.c \
  30. arm926ejs.c \
  31. fa526.c \
  32. feroceon.c \
  33. etb.c \
  34. xscale.c \
  35. xscale_debug.S \
  36. arm_simulator.c \
  37. image.c \
  38. armv7m.c \
  39. armv7a.c \
  40. cortex_m3.c \
  41. cortex_a8.c \
  42. arm_adi_v5.c \
  43. etm_dummy.c \
  44. $(OOCD_TRACE_FILES) \
  45. target_request.c \
  46. trace.c \
  47. arm11.c \
  48. arm11_dbgtap.c \
  49. mips32.c \
  50. mips_m4k.c \
  51. mips32_pracc.c \
  52. mips32_dmaacc.c \
  53. mips_ejtag.c \
  54. avrt.c
  55. noinst_HEADERS = \
  56. target.h \
  57. target_type.h \
  58. trace.h \
  59. register.h \
  60. armv4_5.h \
  61. embeddedice.h \
  62. etm.h \
  63. arm7tdmi.h \
  64. arm9tdmi.h \
  65. arm_jtag.h \
  66. arm7_9_common.h \
  67. arm920t.h \
  68. arm720t.h \
  69. armv4_5_mmu.h \
  70. armv4_5_cache.h \
  71. breakpoints.h \
  72. algorithm.h \
  73. arm_disassembler.h \
  74. arm966e.h \
  75. arm926ejs.h \
  76. etb.h \
  77. xscale.h \
  78. arm_simulator.h \
  79. image.h \
  80. armv7m.h \
  81. armv7a.h \
  82. cortex_m3.h \
  83. cortex_a8.h \
  84. arm_adi_v5.h \
  85. etm_dummy.h \
  86. oocd_trace.h \
  87. target_request.h \
  88. trace.h \
  89. arm11.h \
  90. mips32.h \
  91. mips_m4k.h \
  92. mips_ejtag.h \
  93. mips32_pracc.h \
  94. mips32_dmaacc.h \
  95. avrt.h
  96. nobase_dist_pkglib_DATA =
  97. nobase_dist_pkglib_DATA += ecos/at91eb40a.elf
  98. MAINTAINERCLEANFILES = $(srcdir)/Makefile.in