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.
 
 
 
 
 
 

51 lines
1.0 KiB

  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