]> sigrok.org Git - libsigrok.git/blobdiff - hardware/saleae-logic/Makefile.am
sr: Make wrappers honor return values.
[libsigrok.git] / hardware / saleae-logic / Makefile.am
index 3e7fc724025d95a37819f868b08a919f18005925..baa70bd359854efa2c5148ef05311dfabeada7c7 100644 (file)
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ##
 
+if LA_SALEAE_LOGIC
+
 AM_CPPFLAGS = -DFIRMWARE_DIR='"$(FIRMWARE_DIR)"'
 
 # Local lib, this is NOT meant to be installed!
 noinst_LTLIBRARIES = libsigrokhwsaleaelogic.la
 
 libsigrokhwsaleaelogic_la_SOURCES = \
-       saleae-logic.c
+       saleae-logic.c \
+       saleae-logic.h
 
 libsigrokhwsaleaelogic_la_CFLAGS = \
-       -I$(top_srcdir)/libsigrok
+       -I$(top_srcdir)
+
+endif