summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-03-26 16:46:52 +0200
committerHarald Welte <laforge@gnumonks.org>2018-03-26 16:46:52 +0200
commit4bbf70b9f367afab929cb6c2f214475ee09b2403 (patch)
tree7286581fdd29535f7ab7526d6d231f0f5fd8a520 /Makefile
initial checkin of unix domain socket tracer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4ff2901
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+LIB_SRCS = utils.c sock_events.c libc_overrides.c
+
+
+default: libudtrace.so
+
+libudtrace.so: $(LIB_SRCS)
+ $(CC) $(CFLAGS) -fPIC -shared -Wl,-soname,libudtrace.so -o $@ $^ -ldl
+
+clean:
+ rm -f *.o libudtrace.so
personal git repositories of Harald Welte. Your mileage may vary