1 # simple makefile wrapper to run waf
4 WAF_BINARY
=$(PYTHON
) .
/buildtools
/bin
/waf
5 WAF
=WAF_MAKE
=1 $(WAF_BINARY
)
17 $(WAF
) test $(TEST_OPTIONS
)
20 @echo NOTE
: to run extended waf options use
$(WAF_BINARY
) or modify your PATH
24 $(WAF
) test --filtered-subunit
$(TEST_OPTIONS
)
27 $(WAF
) test --testenv
$(TEST_OPTIONS
)
30 $(WAF
) test --testenv
--gdbtest
$(TEST_OPTIONS
)
33 $(WAF
) test --quick
$(TEST_OPTIONS
)
37 WAFLOCK
=.tmplock
$(WAF
) dist
41 WAFLOCK
=.tmplock
$(WAF
) distcheck
49 reconfigure
: configure
55 # some compatibility make targets
64 # this should do an install as well, once install is finished
79 # Adding force on the depencies will force the target to be always rebuild form the Make
80 # point of view forcing make to invoke waf
83 $(WAF
) --targets
=smbd
/smbd
86 $(WAF
) --targets
=winbindd
/winbindd
89 $(WAF
) --targets
=nmbd
/nmbd
92 $(WAF
) --targets
=client
/smbclient
94 # this allows for things like "make bin/smbtorture"
95 # mainly for the binary that don't have a broken mode like smbd that must
96 # be build with smbd/smbd
98 $(WAF
) --targets
=$(subst bin
/,,$@
)
100 # Catch all rule to be able to call make service_repl in order to find the name
101 # of the submodule you want to build, look at the wscript
105 # This rule has to be the last one
107 # Having .NOTPARALLEL will force make to do target once at a time but still -j
108 # will be present in the MAKEFLAGS that are in turn interpreted by WAF
109 # so only 1 waf at a time will be called but it will still be able to do parralel builds if
110 # instructed to do so
112 .PHONY
: FORCE everything testsuite
check torture