X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FMakefile.am;h=a566b4d422fdce4cfd98079a4e3fca3dd55de687;hb=3ecc191b361d913d3bdf156568454de57f093aee;hp=ea753bbff2eb3f363dcfe947da57e1f38b163d5a;hpb=87a0119fa24fe0fc904dcf2e6569cc0b9cb580ed;p=fw%2Fopenocd diff --git a/src/Makefile.am b/src/Makefile.am index ea753bbff..a566b4d42 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -32,7 +32,8 @@ noinst_HEADERS = \ # set the include path found by configure AM_CPPFLAGS = \ - -I$(top_srcdir)/src + -I$(top_srcdir)/src \ + -I$(top_builddir)/src libopenocd_la_CPPFLAGS = -DPKGBLDDATE=\"`date +%F-%R`\" @@ -59,12 +60,16 @@ endif if FT2232_LIBFTDI FTDI2232LIB = -lftdi -lusb else +if USB_BLASTER_LIBFTDI +FTDI2232LIB = -lftdi -lusb +else if PRESTO_LIBFTDI FTDI2232LIB = -lftdi -lusb else FTDI2232LIB = endif endif +endif if USBPROG LIBUSB = -lusb