Basic comment to describe the tests and the requirements
[benchmarks.git] / ust-systemtap-tracepoints / Makefile
CommitLineData
851803ea
JD
1CC=gcc
2CFLAGS=-g -Wall -DHAVE_SYSTEMTAP
3LDFLAGS=-lust
4DTRACE=dtrace
5STAP=stap
6
7TARGETS=probes.h probes.o tracepoint_benchmark testutrace
8
9all: $(TARGETS)
10
11clean:
12 rm $(TARGETS)
13
14tracepoint_benchmark:
15 $(CC) $(CFLAGS) $(LDFLAGS) tracepoint_benchmark.c probes.o -o tracepoint_benchmark
16
17probes.h: probes.d
18 $(DTRACE) -C -h -s $< -o $@
19probes.o: probes.d
20 $(DTRACE) -C -G -s $< -o $@
21testutrace:
22 $(STAP) -p4 testutrace.stp
23
This page took 0.023538 seconds and 4 git commands to generate.