]> sigrok.org Git - libsigrok.git/blobdiff - hardware/demo/Makefile.am
sr: fx2lafw: Forgot to add (C) line to fx2lafw.h in recent commit.
[libsigrok.git] / hardware / demo / Makefile.am
index 28287baf4d182e35992f71ea816906d3c162df9f..35e7d7bded90fc8525130733086daa7fd00d7390 100644 (file)
@@ -17,6 +17,8 @@
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ##
 
+if LA_DEMO
+
 # Local lib, this is NOT meant to be installed!
 noinst_LTLIBRARIES = libsigrokhwdemo.la
 
@@ -24,5 +26,7 @@ libsigrokhwdemo_la_SOURCES = \
        demo.c
 
 libsigrokhwdemo_la_CFLAGS = \
-       -I$(top_srcdir)/libsigrok
+       -I$(top_srcdir)
+
+endif