10 openocd_SOURCES = $(MAINFILE)
12 # set the include path found by configure
13 INCLUDES = -I$(top_srcdir)/src/helper \
14 -I$(top_srcdir)/src/jtag -I$(top_srcdir)/src/target -I$(top_srcdir)/src/xsvf -I$(top_srcdir)/src/server \
15 -I$(top_srcdir)/src/flash -I$(top_srcdir)/src/pld $(all_includes)
17 # pass path to prefix path
19 -DPKGLIBDIR=\"$(pkglibdir)\" \
20 -DPKGBLDDATE=\"`date +%F-%R`\" \
21 -DPKGBLDREV=\"`$(top_srcdir)/guess-rev.sh`\" \
24 # the library search path.
25 openocd_LDFLAGS = $(all_libraries)
26 SUBDIRS = helper jtag xsvf target server flash pld
29 MINGWLDADD = -lwsock32
52 FTD2XXLDADD = @WITH_FTD2XX@/FTD2XX.lib
54 FTD2XXLDADD = -lftd2xx
57 FTD2XXLDADD = -lftd2xx
61 FTD2XXLIB = $(FTD2XXLDADD)
64 FTD2XXLIB = $(FTD2XXLDADD)
70 openocd_LDADD = $(top_builddir)/src/xsvf/libxsvf.a \
71 $(top_builddir)/src/target/libtarget.a $(top_builddir)/src/jtag/libjtag.a \
72 $(top_builddir)/src/helper/libhelper.a \
73 $(top_builddir)/src/server/libserver.a $(top_builddir)/src/helper/libhelper.a \
74 $(top_builddir)/src/flash/libflash.a $(top_builddir)/src/target/libtarget.a \
75 $(top_builddir)/src/pld/libpld.a \
76 $(FTDI2232LIB) $(FTD2XXLIB) $(MINGWLDADD) $(LIBUSB)