limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / c_cpp / etc / mbuffer / Makefile.in
blobabe3520c717a6e1710bc024d441422050f694c69
1 CC = @CC@
2 DEFS = @DEFS@
3 CFLAGS = @CFLAGS@ $(DEFS) -I@srcdir@ -I.
4 LDFLAGS = @LDFLAGS@
5 LIBS = @LIBS@
6 EXE = @EXEEXT@
7 SHELL = /bin/sh
9 VPATH = @srcdir@
10 prefix = @prefix@
11 exec_prefix = @exec_prefix@
12 datarootdir = @datarootdir@
13 bindir = @bindir@
14 mandir = @mandir@/man1
16 RM = @RM@
17 INSTALL = @INSTALL@
19 TARGET = mbuffer$(EXE)
20 SOURCES = log.c network.c mbuffer.c
21 OBJECTS = $(SOURCES:.c=.o)
23 TESTTREE = /opt/csw/gcc4
25 .PHONY: clean all distclean install check testcleanup
27 all: $(TARGET)
29 $(OBJECTS): config.h Makefile
31 $(TARGET): $(OBJECTS)
32 $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
34 clean:
35 -$(RM) $(OBJECTS)
37 distclean: clean
38 -$(RM) $(TARGET) config.h config.log \
39 config.status Makefile mbuffer.1 core
41 install: $(TARGET)
42 -$(INSTALL) -d $(DESTDIR)$(bindir)
43 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
44 -$(INSTALL) -d $(DESTDIR)$(mandir)
45 $(INSTALL) mbuffer.1 $(DESTDIR)$(mandir)
47 lint:
48 lint $(DEFS) $(SOURCES)
50 check: $(TARGET) test0 test1 test2 test3 testcleanup
52 testcleanup:
53 rm -f test0 test1 test2 test3 test0.md5 test1.md5 test2.md5 test3.md5 \
54 test.tar test.md5
56 test.tar:
57 tar cf test.tar $(TESTTREE)
59 test.md5: test.tar
60 openssl md5 < test.tar > test.md5
62 test0: test.md5
63 ./mbuffer -i test.tar -p10 | ./mbuffer -q -P 90 | openssl md5 > test0.md5
64 sync
65 diff test0.md5 test.md5
66 touch test0
68 test1: test.md5
69 ./mbuffer -i test.tar -f -o $@.tar -o /dev/null -H
70 openssl md5 < $@.tar > $@.md5
71 rm -f $@.tar
72 sync
73 diff $@.md5 test.md5
74 touch $@
76 test2: test.md5
77 ./mbuffer -q -I :8000 -o $@.tar -o - | openssl md5 > $@.md5 & \
78 sleep 1; \
79 rm -f $@.tar; \
80 ./mbuffer -i test.tar -o /dev/null -O localhost:8000 -H; \
81 wait
82 sync
83 diff $@.md5 test.md5
84 rm $@.md5
85 openssl md5 < $@.tar > $@.md5
86 rm -f $@.tar
87 sync
88 diff $@.md5 test.md5
89 touch $@
91 test3: test.md5
92 ./mbuffer -q -6 -I :8000 | openssl md5 > $@.md5 & \
93 sleep 1; \
94 rm -f $@.tar; \
95 ./mbuffer -i test.tar -o /dev/null -6 -O localhost:8000 -o $@.tar -H; \
96 wait
97 sync
98 diff $@.md5 test.md5
99 rm $@.md5
100 openssl md5 < $@.tar > $@.md5
101 rm -f $@.tar
102 sync
103 diff $@.md5 test.md5
104 touch $@