Fixed Context::open as get_strings() closes the device before. Thanks to Chris M...
[libftdi] / examples / Makefile.am
... / ...
CommitLineData
1METASOURCES = AUTO
2INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/ftdipp
3LDADD = $(top_builddir)/src/libftdi.la
4
5
6if HAVE_LIBFTDIPP
7examples_libftdipp = find_all_pp
8else
9examples_libftdipp =
10endif
11
12
13bin_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
22AM_LDFLAGS = -no-install
23
24simple_SOURCES = simple.c
25bitbang_SOURCES = bitbang.c
26bitbang2_SOURCES = bitbang2.c
27bitbang_ft2232_SOURCES = bitbang_ft2232.c
28bitbang_cbus_SOURCES = bitbang_cbus.c
29find_all_SOURCES = find_all.c
30
31if HAVE_LIBFTDIPP
32find_all_pp_SOURCES = find_all_pp.cpp
33find_all_pp_LDADD = $(top_builddir)/ftdipp/libftdipp.la $(LDADD)
34endif
35
36EXTRA_DIST = CMakeLists.txt