SUBDIRS = hardware input output
-# lib_LTLIBRARIES = libsigrok.la
-noinst_LTLIBRARIES = libsigrok.la
+lib_LTLIBRARIES = libsigrok.la
libsigrok_la_SOURCES = \
backend.c \
input/libsigrokinput.la \
output/libsigrokoutput.la
-# include_HEADERS = sigrok.h sigrok-proto.h
-# noinst_HEADERS = sigrok-internal.h
-noinst_HEADERS = sigrok.h sigrok-proto.h sigrok-internal.h
+include_HEADERS = sigrok.h sigrok-proto.h
+noinst_HEADERS = sigrok-internal.h
-# pkgconfigdir = $(libdir)/pkgconfig
-# pkgconfig_DATA = libsigrok.pc
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libsigrok.pc
asix-sigma \
common \
demo \
+ link-mso19 \
openbench-logic-sniffer \
saleae-logic \
zeroplus-logic-cube
libsigrokhardware_la_LIBADD += asix-sigma/libsigrokhwasixsigma.la
endif
-# if LA_LINK_MSO19
-# libsigrokhardware_la_LIBADD += link-mso19/libsigrokhwlinkmso19.la
-# endif
+if LA_LINK_MSO19
+libsigrokhardware_la_LIBADD += link-mso19/libsigrokhwlinkmso19.la
+endif
if LA_OLS
libsigrokhardware_la_LIBADD += openbench-logic-sniffer/libsigrokhwols.la
case 115200:
baud = B115200;
break;
-/* removed for 0.1 release
case 460800:
baud = B460800;
break;
-*/
default:
return SIGROK_ERR;
}
#ifdef HAVE_LA_ASIX_SIGMA
extern struct device_plugin asix_sigma_plugin_info;
#endif
-// #ifdef HAVE_LA_LINK_MSO19
-// extern struct device_plugin link_mso19_plugin_info;
-// #endif
+#ifdef HAVE_LA_LINK_MSO19
+extern struct device_plugin link_mso19_plugin_info;
+#endif
/* TODO: No linked list needed, this can be a simple array. */
int load_hwplugins(void)
#ifdef HAVE_LA_ASIX_SIGMA
plugins = g_slist_append(plugins, (gpointer *)&asix_sigma_plugin_info);
#endif
-// #ifdef HAVE_LA_LINK_MSO19
-// plugins = g_slist_append(plugins, (gpointer *)&link_mso19_plugin_info);
-// #endif
+#ifdef HAVE_LA_LINK_MSO19
+ plugins = g_slist_append(plugins, (gpointer *)&link_mso19_plugin_info);
+#endif
return SIGROK_OK;
}