Initialize the addr struct to zero.
[beanstalkd.git] / build.mk
blobac3c1011309fc004b970a9ec9eb64b2e6d2fa2f6
2 SUPPRESS_WARNINGS = 2>&1 | (egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used|AC_PROG_LEX invoked multiple times|AC_DECL_YYTEXT is expanded from...|the top level)'||true)
4 AUTOCONF ?= 'autoconf'
5 ACLOCAL ?= 'aclocal'
6 AUTOHEADER ?= 'autoheader'
7 AUTOMAKE ?= 'automake'
8 AUTOUPDATE ?= 'autoupdate'
10 config_h_in = config.h.in
11 targets = $(config_h_in) configure makefiles
13 all: $(targets)
15 aclocal.m4:
16 $(ACLOCAL)
18 $(config_h_in): configure
19 @echo rebuilding $@
20 @rm -f $@
21 $(AUTOHEADER) $(SUPPRESS_WARNINGS)
23 configure: aclocal.m4 configure.in
24 @echo rebuilding $@
25 $(AUTOUPDATE)
26 $(AUTOCONF) $(SUPPRESS_WARNINGS)
28 makefiles: configure Makefile.am
29 @echo rebuilding Makefile.in files
30 $(AUTOMAKE) --add-missing --copy
32 clean:
33 @rm -rf *.lo *.la *.o *.a .libs Makefile Makefile.in stamp-h1 gmon.out beanstalkd
34 @rm -rf tests/*.lo tests/*.la tests/*.o tests/*.a tests/.libs tests/Makefile tests/Makefile.in tests/gmon.out tests/cutcheck* tests/cutgen
35 rm -rf aclocal.m4 autom4te.cache install.sh libtool 'configure.in~' missing config.h* configure
36 rm -f config.guess config.log config.status config.sub cscope.out install-sh