From c84cfc0ecc46ef05dc7997a128ba9486516cb112 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 19 Mar 2006 02:23:52 +0000 Subject: 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) --- source4/static_deps.mk | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 source4/static_deps.mk (limited to 'source4/static_deps.mk') diff --git a/source4/static_deps.mk b/source4/static_deps.mk new file mode 100644 index 0000000000..09db053a34 --- /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 -- cgit