X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=usertrace-generic%2FMakefile;h=e4cab2f648ebe19c25714e6a2c1dab951f62a603;hb=d0aabb7f4238325238a13e7598ee63941f209af3;hp=f3e52e1aeb85ce0cd3da6436f3253dd931b20530;hpb=151469222a6e322caaf245152c9f0246a0f377af;p=lttv.git diff --git a/usertrace-generic/Makefile b/usertrace-generic/Makefile index f3e52e1a..e4cab2f6 100644 --- a/usertrace-generic/Makefile +++ b/usertrace-generic/Makefile @@ -2,7 +2,7 @@ CC=gcc INCLUDE_DIR=/usr/include -all: sample-thread sample sample-highspeed sample-printf +all: sample-thread sample sample-highspeed sample-printf sample-instrument-fct sample-thread: sample-thread.c ltt-facility-loader-user_generic.c $(CC) $(CFLAGS) -lpthread -o $@ $^ @@ -16,6 +16,10 @@ sample-highspeed: sample-highspeed.c ltt-facility-loader-user_generic.c sample-printf: sample-printf.c ltt-facility-loader-user_generic.c $(CC) $(CFLAGS) -o $@ $^ +sample-instrument-fct: sample-instrument-fct.c ltt-facility-loader-user_generic.c ltt-instrument-functions.c + $(CC) $(CFLAGS) -g -finstrument-functions -o $@ $^ + + .PHONY : clean install install: @@ -23,5 +27,5 @@ install: cp -f ltt/*.h $(INCLUDE_DIR)/ltt clean: - rm -fr *.o *~ sample-thread sample sample-highspeed sample-printf + rm -fr *.o *~ sample-thread sample sample-highspeed sample-printf sample-instrument-fct