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.0 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
13 years ago
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
13 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. AM_CPPFLAGS = \
  2. -I$(top_srcdir)/src \
  3. -I$(top_builddir)/src \
  4. -DPKGDATADIR=\"$(pkgdatadir)\"
  5. METASOURCES = AUTO
  6. noinst_LTLIBRARIES = libserver.la
  7. noinst_HEADERS = server.h telnet_server.h gdb_server.h
  8. libserver_la_SOURCES = server.c telnet_server.c gdb_server.c
  9. if HTTPD
  10. libserver_la_SOURCES += httpd.c
  11. else
  12. libserver_la_SOURCES += httpd_stubs.c
  13. if !ECOSBOARD
  14. libserver_la_SOURCES += server_stubs.c
  15. endif
  16. endif
  17. noinst_HEADERS += httpd.h
  18. libserver_la_CFLAGS =
  19. if IS_MINGW
  20. # FD_* macros are sloppy with their signs on MinGW32 platform
  21. libserver_la_CFLAGS += -Wno-sign-compare
  22. endif
  23. # tcl server addons
  24. noinst_HEADERS += tcl_server.h
  25. libserver_la_SOURCES += tcl_server.c
  26. if HTTPD
  27. nobase_dist_pkgdata_DATA = \
  28. $(wildcard \
  29. $(srcdir)/httpd/*.tcl \
  30. $(srcdir)/httpd/*.css \
  31. $(srcdir)/httpd/menu_cuts/*.png \
  32. )
  33. endif
  34. EXTRA_DIST = \
  35. startup.tcl \
  36. httpd/readme.txt \
  37. httpd/menu.xml \
  38. httpd/menu.xsl \
  39. httpd/build.sh \
  40. httpd/html2tcl.sh \
  41. httpd/Stylizer.java \
  42. httpd/Stylizer.class
  43. MAINTAINERCLEANFILES = $(srcdir)/Makefile.in