Add probe registry
[lttng-modules.git] / Makefile
1 #
2 # Makefile for the LTT objects.
3 #
4
5 ifneq ($(KERNELRELEASE),)
6 ifneq ($(CONFIG_TRACEPOINTS),)
7
8 obj-m += ltt-core.o
9 obj-m += ltt-ring-buffer-client-discard.o
10 obj-m += ltt-ring-buffer-client-overwrite.o
11
12 obj-m += ltt-relay.o
13 ltt-relay-objs := ltt-events.o ltt-event-header.o ltt-debugfs-abi.o \
14 ltt-probes.o
15
16 obj-m += probes/
17
18 #ltt-type-serializer.o
19 #ltt-serialize.o
20 #obj-m += ltt-marker-control.o
21 #obj-m += ltt-trace-control.o
22 #ltt-ascii.o
23
24 #obj-m += ltt-statedump.o
25 #obj-m += ltt-userspace-event.o
26 #obj-m += ltt-filter.o
27 #obj-m += ltt-kprobes.o
28 #obj-m += probes/
29
30 endif
31
32 else
33 KERNELDIR ?= /lib/modules/$(shell uname -r)/build
34 PWD := $(shell pwd)
35 CFLAGS = $(EXTCFLAGS)
36
37 default:
38 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
39
40 modules_install:
41 $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
42 /sbin/depmod -a
43
44 clean:
45 $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
46
47 endif
This page took 0.029811 seconds and 5 git commands to generate.