1 # Makefile.am for tcpflow 2 # 3 SUBDIRS = src doc tests 4 EXTRA_DIST = tcpflow.spec.in TODO.txt m4/ax_pthread.m4 5 ACLOCAL_AMFLAGS = -I m4 6 AM_CFLAGS = -Wall 7 8 renew: 9 touch NEWS README AUTHORS ChangeLog stamp-h 10 aclocal 11 autoheader -f 12 autoconf -f 13 automake --add-missing -c 14 15 grenew: 16 touch NEWS README AUTHORS ChangeLog stamp-h 17 aclocal 18 autoheader -f 19 autoconf -f 20 automake --add-missing -c 21 22 23 # For testing: 24 pdft: 25 (cd src;make tcpflow) 26 /bin/rm -rf out 27 src/tcpflow -a -o out -r /corp/nps/packets/2008-nitroba/nitroba.pcap -w out/extra.pcap 28 open out/report.pdf 29 30 # 31 # AFFLIB RELEASE SYSTEM V1.0 FOLLOWS 32 # 33 34 RELEASE_USER = simsong@ 35 RELEASE_HOST = digitalcorpora.org 36 RELEASE_DIR = digitalcorpora.org/ 37 38 RELEASE_LOC = $(RELEASE_DIR)/downloads/ 39 VERSION_FN = $(PACKAGE)_version.txt 40 RELEASE_PATH = $(RELEASE_LOC)/$(VERSION_FN) 41 RELEASE_SSH = $(RELEASE_USER)$(RELEASE_HOST):$(RELEASE_LOC) 42 43 44 release: 45 make dist 46 make distcheck 47 make the_release 48 49 the_release: $(RELEASEFN) 50 gpg --detach-sign $(RELEASEFN) 51 @echo Release $(RELEASE_VER) uploaded to server 52 53 tcpflow32.exe: 54 mingw32-configure 55 make clean 56 make 57 mv -f src/tcpflow.exe tcpflow32.exe 58 59 tcpflow64.exe: 60 mingw64-configure 61 make clean 62 make 63 mv -f src/tcpflow.exe tcpflow64.exe 64 65 FN=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).zip 66 $(FN): tcpflow32.exe tcpflow64.exe 67 /bin/rm -f tcpflow*.exe $(FN) 68 make tcpflow32.exe 69 make tcpflow64.exe 70 zip $(FN) tcpflow32.exe tcpflow64.exe 71 72 winrelease: $(FN) 73 74 pub: $(FN) 75 scp $(FN) dcorpora@digitalcorpora.org:downloads/tcpflow/ 76 77 78 .PHONY: pull 79 pull: 80 git pull 81 (cd src/dfxml;git pull) 82 (cd src/be13_api;git pull) 83 # 84 # END OF AFFLIB RELEASE SYSTEM 85 #