ee20784335ac00c486fb5d83519e6e5fb0e93d3e
1 # Copyright (C) 2013 Jérémie Galarneau <jeremie.galarneau@efficios.com>
2 # Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 # THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
5 # OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
7 # Permission is hereby granted to use or copy this program for any
8 # purpose, provided the above notices are retained on all copies.
9 # Permission to modify the code and to distribute modified code is
10 # granted, provided the above notices are retained, and a notice that
11 # the code was modified is included with the above copyright notice.
13 # This Makefile is not using automake so that users may see how to build
14 # a program with tracepoint provider probes as stand-alone shared objects.
16 # This makefile is purposefully kept simple to support GNU and BSD make.
18 LIBS
= -ldl
-llttng-ust
# On Linux
25 demo-tracef.o
: demo-tracef.c
26 @if
$(AM_V_P
); then set
-x
; else echo
" CC $@"; fi
; \
27 $(CC
) $(CPPFLAGS
) $(LOCAL_CPPFLAGS
) $(AM_CFLAGS
) $(AM_CPPFLAGS
) \
30 demo-tracef
: demo-tracef.o
31 @if
$(AM_V_P
); then set
-x
; else echo
" CCLD $@"; fi
; \
32 $(CC
) $(LDFLAGS
) $(AM_CFLAGS
) $(AM_LDFLAGS
) $(CFLAGS
) \
37 rm -f
*.o
*.a demo-tracef
This page took 0.032305 seconds and 4 git commands to generate.