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.
 
 
 
 
 
 

46 lines
969 B

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