#
# Makefile for the LTT probes.
-#
+# Only build from the package top-level directory. Never use with make directly.
ifneq ($(KERNELRELEASE),)
ifneq ($(CONFIG_TRACEPOINTS),)
ccflags-y += -I$(PWD)/probes
-obj-m += sched.o
+obj-m += lttng-types.o
+
+obj-m += lttng-probe-lttng.o
+
+obj-m += lttng-probe-sched.o
+obj-m += lttng-probe-kvm.o
+obj-m += lttng-probe-irq.o
+obj-m += lttng-probe-block.o
+obj-m += lttng-probe-syscalls.o
+
+obj-m += lttng-kprobes.o
+
+ifneq ($(CONFIG_DYNAMIC_FTRACE),)
+obj-m += lttng-ftrace.o
+endif
endif