+# Common library
+noinst_LTLIBRARIES = libpath.la libcommon-lgpl.la libcommon-gpl.la
+EXTRA_DIST = mi-lttng-4.1.xsd
+
+# The libcommon-lgpl static archive contains only LGPLv2.1 code. It is
+# meant to be used by LGPLv2.1 libraries such as liblttng-ctl. It also
+# contains libcommon-lgpl.la.
+
+libcommon_lgpl_la_SOURCES = \
+ actions/action.c \
+ actions/list.c \
+ actions/notify.c \
+ actions/path.c \
+ actions/rotate-session.c \
+ actions/snapshot-session.c \
+ actions/start-session.c \
+ actions/stop-session.c \
+ actions/rate-policy.c \
+ buffer-view.h buffer-view.c \
+ channel.c \
+ conditions/buffer-usage.c \
+ conditions/condition.c \
+ conditions/event-rule-matches.c \
+ conditions/session-consumed-size.c \
+ conditions/session-rotation.c \
+ credentials.c credentials.h \
+ defaults.c \
+ domain.c \
+ dynamic-array.c dynamic-array.h \
+ dynamic-buffer.c dynamic-buffer.h \
+ endpoint.c \
+ error.c error.h \
+ error-query.c \
+ evaluation.c \
+ event-expr/event-expr.c \
+ event-field-value.c \
+ event-rule/event-rule.c \
+ event-rule/kernel-kprobe.c \
+ event-rule/kernel-syscall.c \
+ event-rule/kernel-uprobe.c \
+ event-rule/kernel-tracepoint.c \
+ event-rule/user-tracepoint.c \
+ event-rule/log4j-logging.c \
+ event-rule/jul-logging.c \
+ event-rule/python-logging.c \
+ fd-handle.c fd-handle.h \
+ kernel-probe.c \
+ location.c \
+ log-level-rule.c \
+ mi-lttng.c mi-lttng.h \
+ notification.c \
+ payload.c payload.h \
+ payload-view.c payload-view.h \
+ readwrite.c readwrite.h \
+ runas.c runas.h \
+ session-descriptor.c \
+ snapshot.c snapshot.h \
+ spawn-viewer.c spawn-viewer.h \
+ thread.c thread.h \
+ time.c \
+ tracker.c tracker.h \
+ trigger.c \
+ unix.c unix.h \
+ uri.c uri.h \
+ userspace-probe.c \
+ utils.c utils.h
+
+if HAVE_ELF_H
+libcommon_lgpl_la_SOURCES += \
+ lttng-elf.c lttng-elf.h