-
Notifications
You must be signed in to change notification settings - Fork 64
/
Makefile.am
47 lines (34 loc) · 1.51 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
include $(top_srcdir)/Makefile.am.inc
TRICKLEOVERLOADFILES = @LTLIBOBJS@ trickle-overload.lo bwstat.lo trickledu.lo \
atomicio.lo xdr.lo
trickle-overload.so: $(TRICKLEOVERLOADFILES)
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o [email protected] \
-rpath $(libdir)/trickle $(TRICKLEOVERLOADFILES) $(LIBS) \
$(LDFLAGS) -module -avoid-version -nostdlib @LIBDL@
@rm -f [email protected] [email protected]* $@
@cp .libs/[email protected] $@
@rm -f .libs/libtmp$@.*
trickleoverloaddir = $(libdir)/trickle
trickleoverload_DATA = trickle-overload.so
man_MANS = trickle.1 trickled.8 trickled.conf.5
bin_PROGRAMS = trickle trickled tricklectl
trickle_DEPENDENCIES = @ERRO@ $(LIBOBJS)
trickle_SOURCES = trickle.c util.c getopt.c
trickle_LDADD = @ERRO@ $(LIBOBJS)
trickled_SOURCES = trickled.c atomicio.c print.c bwstat.c client.c conf.c \
util.c cleanup.c getopt.c xdr.c
trickled_LDADD = @EVENTLIB@ $(LIBOBJS)
tricklectl_SOURCES = tricklectl.c trickledu.c atomicio.c xdr.c
tricklectl_LDADD = @ERRO@ $(LIBOBJS)
AM_CFLAGS = -Wall -Icompat @EVENTINC@
overloaddir = $(libdir)
overload_DATA = libtrickle.so
libtrickle.so: trickle-overload.c atomicio.c
$(overload_DATA):
CLEANFILES = *.so
EXTRA_DIST = LICENSE README strlcat.c strlcpy.c err.c Makefile.am.inc \
compat/sys/queue.h compat/sys/tree.h trickle.1 trickled.8 \
trickled.conf.5 trickle-overload.c trickledu.c cleanup.h \
conf.h message.h trickle.h util.h bwstat.h client.h \
print.h trickledu.h xdr.h
ACLOCAL_AMFLAGS = -I m4