Fixed Context::open as get_strings() closes the device before. Thanks to Chris M...
[libftdi] / examples / Makefile.am
1 METASOURCES = AUTO
2 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/ftdipp
3 LDADD = $(top_builddir)/src/libftdi.la
4
5
6 if HAVE_LIBFTDIPP
7 examples_libftdipp = find_all_pp
8 else
9 examples_libftdipp =
10 endif
11
12
13 bin_PROGRAMS = simple \
14         bitbang       \
15         bitbang2      \
16         bitbang_ft2232 \
17         bitbang_cbus \
18         find_all \
19         $(examples_libftdipp)
20
21 # Don't install the example files
22 AM_LDFLAGS = -no-install
23
24 simple_SOURCES = simple.c
25 bitbang_SOURCES = bitbang.c
26 bitbang2_SOURCES = bitbang2.c
27 bitbang_ft2232_SOURCES = bitbang_ft2232.c
28 bitbang_cbus_SOURCES = bitbang_cbus.c
29 find_all_SOURCES = find_all.c
30
31 if HAVE_LIBFTDIPP
32 find_all_pp_SOURCES = find_all_pp.cpp
33 find_all_pp_LDADD = $(top_builddir)/ftdipp/libftdipp.la $(LDADD)
34 endif
35
36 EXTRA_DIST = CMakeLists.txt