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.
 
 
 
 
 
 

65 lines
1.0 KiB

  1. include $(top_srcdir)/common.mk
  2. METASOURCES = AUTO
  3. noinst_LTLIBRARIES = libhelper.la
  4. if ECOSBOARD
  5. CONFIGFILES = time_support_ecos.c
  6. else
  7. CONFIGFILES = options.c time_support_common.c
  8. endif
  9. libhelper_la_SOURCES = \
  10. binarybuffer.c \
  11. $(CONFIGFILES) \
  12. configuration.c \
  13. log.c \
  14. command.c \
  15. time_support.c \
  16. replacements.c \
  17. fileio.c \
  18. util.c \
  19. jim-nvp.c
  20. if IOUTIL
  21. libhelper_la_SOURCES += ioutil.c
  22. else
  23. libhelper_la_SOURCES += ioutil_stubs.c
  24. endif
  25. libhelper_la_CFLAGS =
  26. if IS_MINGW
  27. # FD_* macros are sloppy with their signs on MinGW32 platform
  28. libhelper_la_CFLAGS += -Wno-sign-compare
  29. endif
  30. noinst_HEADERS = \
  31. binarybuffer.h \
  32. configuration.h \
  33. ioutil.h \
  34. util.h \
  35. types.h \
  36. log.h \
  37. command.h \
  38. time_support.h \
  39. replacements.h \
  40. fileio.h \
  41. system.h \
  42. bin2char.c \
  43. jim-nvp.h
  44. EXTRA_DIST = startup.tcl
  45. BIN2C = bin2char$(EXEEXT_FOR_BUILD)
  46. BUILT_SOURCES = $(BIN2C)
  47. $(BIN2C): bin2char.c
  48. ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
  49. CLEANFILES = bin2char$(EXEEXT_FOR_BUILD)
  50. MAINTAINERCLEANFILES = $(srcdir)/Makefile.in