dissector: proto_80211_mac_hdr: Fix compiler warnings
[netsniff-ng.git] / Misc
blobff6e0f0033c2276f011efe39ccaadef90bf57d00
1 nacl:
2         $(Q)echo "$(bold)$(WHAT) $@:$(normal)"
3         $(Q)cd curvetun/ && ./nacl_build.sh ~/nacl
4         $(Q)source ~/.bashrc
6 tarball.gz:  ; $(call GIT_ARCHIVE,gzip,gz)
7 tarball.bz2: ; $(call GIT_ARCHIVE,bzip2,bz2)
8 tarball.xz:  ; $(call GIT_ARCHIVE,xz,xz)
9 tarball: tarball.gz tarball.bz2 tarball.xz
11 tag:
12         $(GIT_TAG)
14 people:
15         $(GIT_PEOPLE)
17 log:
18         $(GIT_LOG)
20 announcement:
21         $(Q)echo -e "   *** BLURB HERE (general bits, optional) ***\n\n---\n" > .MAIL_MSG
22         $(Q)echo -e "netsniff-ng $(VERSION_SHORT) has been released to the public (http://netsniff-ng.org/).\n" >> .MAIL_MSG
23         $(Q)echo -e "It can be fetched via Git:\n" >> .MAIL_MSG
24         $(Q)echo -e "   git clone git://github.com/borkmann/netsniff-ng.git" >> .MAIL_MSG
25         $(Q)echo -e "   git checkout $(VERSION_SHORT)\n" >> .MAIL_MSG
26         $(Q)echo -e "Or via HTTP:\n" >> .MAIL_MSG
27         $(Q)echo -e "   wget http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-$(VERSION_SHORT).tar.gz\n" >> .MAIL_MSG
28         $(Q)echo -e "The release can be verified via Git (see README):\n" >> .MAIL_MSG
29         $(Q)echo -e "   git tag -v $(VERSION_SHORT)\n" >> .MAIL_MSG
30         $(Q)echo -e "Major high-level changes since the last release are:\n" >> .MAIL_MSG
31         $(Q)echo -e "   *** BLURB HERE (specific bits) ***\n" >> .MAIL_MSG
32         $(Q)echo -e "Contributions since last release:\n" >> .MAIL_MSG
33         $(GIT_PEOPLE) >> .MAIL_MSG
34         $(Q)echo -e "\nGit changelog since last release:\n" >> .MAIL_MSG
35         $(GIT_LOG) >> .MAIL_MSG
37 release: tag announcement tarball
38         $(Q)echo "Released $(bold)$(VERSION_SHORT)$(normal)"
40 FIND_SOURCE_FILES = ( git ls-files '*.[hcS]' 2>/dev/null || \
41                         find . \( -name .git -type d -prune \) \
42                                 -o \( -name '*.[hcS]' -type f -print \) )
44 tags ctags:
45         $(Q)$(call RM,tags)
46         $(FIND_SOURCE_FILES) | xargs ctags -a
48 cscope:
49         $(Q)$(call RM,cscope*)
50         $(FIND_SOURCE_FILES) | xargs cscope -b
52 help:
53         $(Q)echo "$(bold)Available tools from the toolkit:$(normal)"
54         $(Q)echo " <tool>:={$(TOOLS)}"
55         $(Q)echo "$(bold)Targets for building the toolkit:$(normal)"
56         $(Q)echo " all|toolkit                  - Build the whole toolkit"
57         $(Q)echo " allbutcurvetun               - Build all except curvetun"
58         $(Q)echo " allbutmausezahn              - Build all except mausezahn"
59         $(Q)echo " <tool>                       - Build only one of the tools"
60         $(Q)echo "$(bold)Targets for cleaning the toolkit's build files:$(normal)"
61         $(Q)echo " clean                        - Remove all build files"
62         $(Q)echo " <tool>_clean                 - Remove only one of the tool's files"
63         $(Q)echo " distclean                    - Remove all build and build config files"
64         $(Q)echo " mrproper                     - Remove all files not in source distribution"
65         $(Q)echo "$(bold)Targets for installing the toolkit:$(normal)"
66         $(Q)echo " install                      - Install the whole toolkit"
67         $(Q)echo " <tool>_install               - Install only one of the tools"
68         $(Q)echo "$(bold)Targets for removing the toolkit:$(normal)"
69         $(Q)echo " uninstall                    - Remove the whole toolkit from the system"
70         $(Q)echo " <toolname>_uninstall         - Remove only one of the tools"
71         $(Q)echo "$(bold)Hacking/development targets:$(normal)"
72         $(Q)echo " tag                          - Generate Git tag of current version"
73         $(Q)echo " tarball                      - Generate tarball of latest version"
74         $(Q)echo " release                      - Generate a new release"
75         $(Q)echo " tags                         - Generate sparse ctags"
76         $(Q)echo " cscope                       - Generate cscope files"
77         $(Q)echo "$(bold)Misc targets:$(normal)"
78         $(Q)echo " nacl                         - Execute the build_nacl script"
79         $(Q)echo " help                         - Show this help"
80         $(Q)echo "$(bold)Available parameters:$(normal)"
81         $(Q)echo " DEBUG=1 / DISTRO=1           - Enable debugging / Build for distros"
82         $(Q)echo " HARDENING=1                  - Enable GCC hardening of executables"
83         $(Q)echo " PREFIX=/path                 - Install path prefix"
84         $(Q)echo " CROSS_COMPILE=/path-prefix   - Kernel-like cross-compiling prefix"
85         $(Q)echo " CROSS_LD_LIBRARY_PATH=/path  - Library search path for cross-compiling"
86         $(Q)echo " CC=cgcc                      - Use sparse compiler wrapper"
87         $(Q)echo " CFLAGS=\"-O2 -Wall ...\"       - Overwrite CFLAGS for compilation"
88         $(Q)echo " CPPFLAGS=\"-I <path> ...\"     - Additional CFLAGS for compilation"
89         $(Q)echo " LDFLAGS=\"-L <path> ...\"      - Additional LDFLAGS for compilation"
90         $(Q)echo " CCACHE=                      - Do not use ccache for compilation"
91         $(Q)echo " Q=                           - Show verbose garbage"