fix documentation typo
[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 serial_read \
20 baud_test \
21 $(examples_libftdipp)
22
23# Don't install the example files
24AM_LDFLAGS = -no-install
25
26simple_SOURCES = simple.c
27bitbang_SOURCES = bitbang.c
28bitbang2_SOURCES = bitbang2.c
29bitbang_ft2232_SOURCES = bitbang_ft2232.c
30bitbang_cbus_SOURCES = bitbang_cbus.c
31find_all_SOURCES = find_all.c
32serial_read_SOURCES = serial_read.c
33baud_test_SOURCES = baud_test.c
34
35if HAVE_LIBFTDIPP
36find_all_pp_SOURCES = find_all_pp.cpp
37find_all_pp_LDADD = $(top_builddir)/ftdipp/libftdipp.la $(LDADD)
38endif
39
40EXTRA_DIST = CMakeLists.txt