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