forked from mariusae/trickle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a2aeb9f
Showing
57 changed files
with
66,100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Copyright (c) 2002-2004 Marius Aamodt Eriksen <[email protected]> | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
|
||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. The names of the copyright holders may not be used to endorse or | ||
promote products derived from this software without specific | ||
prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL | ||
THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; | ||
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
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 libtmp$@.la \ | ||
-rpath $(libdir)/trickle $(TRICKLEOVERLOADFILES) $(LIBS) \ | ||
$(LDFLAGS) -module -avoid-version -nostdlib @LIBDL@ | ||
@rm -f libtmp$@.la tmp$@.so* $@ | ||
@cp .libs/libtmp$@.so $@ | ||
@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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
AUTOMAKE_OPTIONS = foreign no-dependencies | ||
|
||
DISTCLEANFILES = *~ |
Oops, something went wrong.