diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-19 02:23:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:58:45 -0500 |
commit | c84cfc0ecc46ef05dc7997a128ba9486516cb112 (patch) | |
tree | b15c6874419ac593174973ec49fda9d78322be9b /source4/static_deps.mk | |
parent | 781d122fb646aef0d20f033cacb677ea9e89d2ff (diff) | |
download | samba-c84cfc0ecc46ef05dc7997a128ba9486516cb112.tar.gz samba-c84cfc0ecc46ef05dc7997a128ba9486516cb112.tar.xz samba-c84cfc0ecc46ef05dc7997a128ba9486516cb112.zip |
r14554: Write out header dependencies. This means all C files affected will be
rebuilt when a header file is changed. It also means parallel builds work now.
It will take a minute or so to generate all the dependency information,
but there should be no need to rebuild that information later on, unless
a file changes.
This behaviour is only enabled when building in developer mode
(--enable-developer) and requires a GNU make (or compatible). In all other
cases, the file 'static_deps.mk' is included, which contains some basic
hardcoded dependency information.
(This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
Diffstat (limited to 'source4/static_deps.mk')
-rw-r--r-- | source4/static_deps.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/source4/static_deps.mk b/source4/static_deps.mk new file mode 100644 index 00000000000..09db053a343 --- /dev/null +++ b/source4/static_deps.mk @@ -0,0 +1,35 @@ +# These should also be autogenerated at some point +# perhaps by some perl scripts run from config.status ? +# +librpc/gen_ndr/misc.h: idl +librpc/ndr/libndr.h: librpc/ndr/libndr_proto.h librpc/gen_ndr/misc.h +librpc/rpc/dcerpc.h: librpc/rpc/dcerpc_proto.h +auth/credentials/credentials.h: auth/credentials/credentials_proto.h +libcli/nbt/libnbt.h: libcli/nbt/nbt_proto.h +lib/charset/charset.h: lib/charset/charset_proto.h + +include/includes.h: \ + include/config.h \ + lib/util/util_proto.h \ + lib/charset/charset.h \ + param/proto.h \ + libcli/util/proto.h \ + librpc/gen_ndr/misc.h + +heimdal_basics: \ + heimdal/lib/roken/vis.h \ + heimdal/lib/roken/err.h \ + heimdal/lib/hdb/hdb_asn1.h \ + heimdal/lib/gssapi/spnego_asn1.h \ + heimdal/lib/asn1/krb5_asn1.h \ + heimdal/lib/asn1/asn1_err.h \ + heimdal/lib/hdb/hdb_err.h \ + heimdal/lib/krb5/heim_err.h \ + heimdal/lib/krb5/k524_err.h \ + heimdal/lib/krb5/krb5_err.h + +proto: basics +basics: include/includes.h \ + proto \ + idl \ + heimdal_basics |