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.
 
 
 
 
 
 

58 lines
958 B

  1. AM_CPPFLAGS = \
  2. -I$(top_srcdir)/src \
  3. -I$(top_builddir)/src
  4. METASOURCES = AUTO
  5. noinst_LTLIBRARIES = libjtag.la
  6. SUBDIRS =
  7. DRIVERFILES =
  8. libjtag_la_LIBADD =
  9. if MINIDRIVER
  10. # for minidriver_imp.h
  11. AM_CPPFLAGS += -I$(srcdir)/minidriver
  12. if ZY1000
  13. DRIVERFILES += zy1000/zy1000.c
  14. AM_CPPFLAGS += -I$(srcdir)/zy1000
  15. endif
  16. if MINIDRIVER_DUMMY
  17. DRIVERFILES += minidummy/minidummy.c commands.c
  18. AM_CPPFLAGS += -I$(srcdir)/minidummy
  19. endif
  20. else
  21. DRIVERFILES += commands.c
  22. SUBDIRS += drivers
  23. libjtag_la_LIBADD += $(top_builddir)/src/jtag/drivers/libocdjtagdrivers.la
  24. # for minidriver_imp.h
  25. AM_CPPFLAGS += -I$(srcdir)/drivers
  26. endif
  27. # endif // MINIDRIVER
  28. libjtag_la_SOURCES = \
  29. core.c \
  30. interface.c \
  31. interfaces.c \
  32. tcl.c \
  33. $(DRIVERFILES)
  34. noinst_HEADERS = \
  35. commands.h \
  36. interface.h \
  37. interfaces.h \
  38. minidriver.h \
  39. jtag.h \
  40. minidriver/minidriver_imp.h \
  41. minidummy/jtag_minidriver.h
  42. EXTRA_DIST = startup.tcl
  43. MAINTAINERCLEANFILES = $(srcdir)/Makefile.in