From b3d2a56df29b163d93c4d20efc22c523441a92e5 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 26 Feb 2008 17:56:07 +0100 Subject: Fix module aliases. (This used to be commit 584a69acc5ccc0e9be0cb2687578c62bfa1e797d) --- source4/build/make/rules.mk | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source4/build/make/rules.mk') diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk index bd72946593a..794eed0f66b 100644 --- a/source4/build/make/rules.mk +++ b/source4/build/make/rules.mk @@ -118,6 +118,17 @@ $(1): $(2) ; @$$(PERL) $$(srcdir)/script/mkproto.pl --srcdir=$$(srcdir) --builddir=$$(builddir) --all=$$@ $$^ endef +# Shared module +# Arguments: Target, dependencies, objects +define shared_module_template + +$(1): $(2) ; + @echo Linking $$@ + @mkdir -p $$(@D) + @$$(MDLD) $$(LDFLAGS) $$(MDLD_FLAGS) $$(INTERN_LDFLAGS) -o $$@ $$(INSTALL_LINK_FLAGS) $(3) + +endef + ############################################################################### # File types ############################################################################### -- cgit v1.2.1