While doing a test build of Samba 4.2.0rc4.on a Solaris 10 system, make fails as follows: Checking project rules ... Project rules pass Waf: Entering directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bi n' Selected embedded Heimdal build Waf: Leaving directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bin ' target '.INIT' does not exist *** Error code 1 make: Fatal error: Command failed for target `.INIT' WAF_MAKE=1 ./buildtools/bin/waf --targets=.DONE Selected embedded Heimdal build Waf: Entering directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bi n' Selected embedded Heimdal build Waf: Leaving directory `/home/projects/tools/samba/samba-4.2.0rc4.i386gcc.pt/bin ' target '.DONE' does not exist *** Error code 1 This is caused by the following in Makefile: # Catch all rule to be able to call make service_repl in order to find the name # of the submodule you want to build, look at the wscript %: $(WAF) --targets=$@ If I use gnumake instead of make then that does not cause any trouble.
We might want to a Makefile with just basic features and the current Makefile as GNUmakefile?