2 openocd_SOURCES = openocd.c
4 # set the include path found by configure
5 INCLUDES = -I$(top_srcdir)/src/helper \
6 -I$(top_srcdir)/src/jtag -I$(top_srcdir)/src/target -I$(top_srcdir)/src/xsvf -I$(top_srcdir)/src/server \
7 -I$(top_srcdir)/src/flash $(all_includes)
9 # the library search path.
10 openocd_LDFLAGS = $(all_libraries)
11 SUBDIRS = helper jtag xsvf target server flash
21 FTD2XXLDADD = @WITH_FTD2XX@/FTD2XX.lib
23 FTD2XXLDADD = -lftd2xx
26 FTD2XXLDADD = -lftd2xx
30 FTD2XXLIB = $(FTD2XXLDADD)
35 openocd_LDADD = $(top_builddir)/src/xsvf/libxsvf.a \
36 $(top_builddir)/src/target/libtarget.a $(top_builddir)/src/jtag/libjtag.a \
37 $(top_builddir)/src/helper/libhelper.a \
38 $(top_builddir)/src/server/libserver.a $(top_builddir)/src/helper/libhelper.a \
39 $(top_builddir)/src/flash/libflash.a $(top_builddir)/src/target/libtarget.a \
40 $(FTDI2232LIB) $(FTD2XXLIB)