forked from simsong/tcpflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
85 lines (68 loc) · 1.59 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# Makefile.am for tcpflow
#
SUBDIRS = src doc tests
EXTRA_DIST = tcpflow.spec.in TODO.txt m4/ax_pthread.m4
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Wall
renew:
touch NEWS README AUTHORS ChangeLog stamp-h
aclocal
autoheader -f
autoconf -f
automake --add-missing -c
grenew:
touch NEWS README AUTHORS ChangeLog stamp-h
aclocal
autoheader -f
autoconf -f
automake --add-missing -c
# For testing:
pdft:
(cd src;make tcpflow)
/bin/rm -rf out
src/tcpflow -a -o out -r /corp/nps/packets/2008-nitroba/nitroba.pcap -w out/extra.pcap
open out/report.pdf
#
# AFFLIB RELEASE SYSTEM V1.0 FOLLOWS
#
RELEASE_USER = simsong@
RELEASE_HOST = digitalcorpora.org
RELEASE_DIR = digitalcorpora.org/
RELEASE_LOC = $(RELEASE_DIR)/downloads/
VERSION_FN = $(PACKAGE)_version.txt
RELEASE_PATH = $(RELEASE_LOC)/$(VERSION_FN)
RELEASE_SSH = $(RELEASE_USER)$(RELEASE_HOST):$(RELEASE_LOC)
release:
make dist
make distcheck
make the_release
the_release: $(RELEASEFN)
gpg --detach-sign $(RELEASEFN)
@echo Release $(RELEASE_VER) uploaded to server
tcpflow32.exe:
mingw32-configure
make clean
make
mv -f src/tcpflow.exe tcpflow32.exe
tcpflow64.exe:
mingw64-configure
make clean
make
mv -f src/tcpflow.exe tcpflow64.exe
FN=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).zip
$(FN): tcpflow32.exe tcpflow64.exe
/bin/rm -f tcpflow*.exe $(FN)
make tcpflow32.exe
make tcpflow64.exe
zip $(FN) tcpflow32.exe tcpflow64.exe
winrelease: $(FN)
pub: $(FN)
scp $(FN) dcorpora@digitalcorpora.org:downloads/tcpflow/
.PHONY: pull
pull:
git pull
(cd src/dfxml;git pull)
(cd src/be13_api;git pull)
#
# END OF AFFLIB RELEASE SYSTEM
#