Fix dependency in ftdipp for 'make dist' on a clean tree
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 22 Oct 2008 07:50:17 +0000 (09:50 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 22 Oct 2008 07:50:17 +0000 (09:50 +0200)
ftdipp/Makefile.am

index 2ce8fdc..e80b15e 100644 (file)
@@ -4,11 +4,12 @@ INCLUDES= -I$(top_srcdir)/src $(all_includes) @BOOST_CPPFLAGS@
 # the library search path.
 lib_LTLIBRARIES = libftdipp.la
 include_HEADERS = ftdi.hpp
-libftdipp_la_SOURCES = $(top_builddir)/src/libftdi.la ftdi.cpp
+libftdipp_la_SOURCES = ftdi.cpp
 
 # Note:  If you specify a:b:c as the version in the next line,
 #  the library that is made has version (a-c).c.b.  In this
 #  example, the version is 2.1.2. (3:2:1)
 libftdipp_la_LDFLAGS = -version-info 16:0:15 $(all_libraries) @BOOST_LDFLAGS@
+libftdipp_la_LIBADD = $(top_builddir)/src/libftdi.la
 
 EXTRA_DIST = CMakeLists.txt