mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
a8416c340c
LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit for tracing Linux (And now FreeBSD, only userspace now) programs. PR: 216142 Submitted by: mmokhi Reported by: mmokhi Reviewed by: feld, mat Approved by: feld, mat (mentors) Differential Revision: https://reviews.freebsd.org/D9200
27 lines
623 B
Plaintext
27 lines
623 B
Plaintext
--- doc/examples/demo-tracef/Makefile.orig 2016-08-08 21:25:36 UTC
|
|
+++ doc/examples/demo-tracef/Makefile
|
|
@@ -15,12 +15,8 @@
|
|
#
|
|
# This makefile is purposefully kept simple to support GNU and BSD make.
|
|
|
|
-ifdef AM_CC
|
|
- CC = $(AM_CC)
|
|
-endif
|
|
-
|
|
-LIBS = -ldl -llttng-ust # On Linux
|
|
-#LIBS = -lc # On BSD
|
|
+#LIBS = -ldl -llttng-ust # On Linux
|
|
+LIBS = -llttng-ust # On FreeBSD
|
|
LOCAL_CPPFLAGS += -I.
|
|
|
|
all: demo-tracef
|
|
@@ -31,7 +27,7 @@ demo-tracef.o: demo-tracef.c
|
|
|
|
demo-tracef: demo-tracef.o
|
|
$(CC) $(LDFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(AM_CFLAGS) \
|
|
- -o $@ $< $(LIBS)
|
|
+ -o $@ demo-tracef.o $(LIBS)
|
|
|
|
.PHONY: clean
|
|
clean:
|