1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/heimdal_build
Andrew Bartlett c6673b96a5 build: Remove binaries and libraries build groups
Build groups are used in Samba to ensure that even if the dependency
chain for a target is not perfect, that it builds reliably.  This
matters most in the early build stages, where we are building the asn1
compiler and autogenerating files.

Once we get to the main stage, dependencies between C files, libraries
and binaries are much clearer, because the C compiler and linker takes
these as inputs anyway.

Groups were added to our waf build for stability during early
development, as dependency information was first imported from the
previous autoconf/perl based build system.

I don't think we need this distinction in the main build of C files
into .o, and when linking these into binaries, because the invocation
of these tools is very well defined, and we will find any missing
inputs very quickly.

As such, I've removed the libraries and binaries targets,
consolidating them with 'main'

By making this change, a build of smbtorture only on a clean tree
drops from 3778 to 2489 targets, and much of the expensive linker
stage is skipped.  The time for a null build of smbtorture only also
drops from 4.673s to as low as 2.499s on my laptop.

Andrew Bartlett

Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
2013-05-27 11:56:46 +10:00
..
krb5
asn1_compile_wrapper.sh
asn1_deps.pl
config.h s4:heimdal_build: provide HEIMDAL_UNUSED_ATTRIBUTE 2011-07-14 20:11:22 +02:00
crypto-headers.h
et_compile_wrapper.sh
et_deps.pl
gssapi-glue.c
hdb-glue.c
ifaddrs.hin
kafs.h
krb5-glue.c
krb5-types.h
lexyacc.sh heimdal_build: omit #line statments 2012-02-10 15:20:33 +11:00
perl_path_wrapper.sh
print_version.h
replace.c heimdal_build: Don't use heimdal's getprogname() and setprogname() 2011-05-31 00:32:07 +02:00
roken.h heimdal_build: Try again to sort out the strerror_r mess 2013-01-19 10:32:17 +01:00
version.c
vis.h
wscript_build build: Remove binaries and libraries build groups 2013-05-27 11:56:46 +10:00
wscript_configure heimdal_build: Try again to sort out the strerror_r mess 2013-01-19 10:32:17 +01:00