From 16502898b6dbc8e34b1eb6aaba4dfbaa5c25d56e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 25 Feb 2008 21:34:13 +0100 Subject: Use make's $(call) feature. (This used to be commit 4046ec8be08bb940ec60390c4f2e1719e14b858d) --- source4/build/smb_build/makefile.pm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source4/build/smb_build/makefile.pm') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 8a3e99c629..e4ce48ee68 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -229,15 +229,7 @@ sub MergedObj($$) return unless defined($ctx->{OUTPUT}); $self->output("$ctx->{NAME}_OUTPUT = $ctx->{OUTPUT}\n"); - $self->output(<< "__EOD__" -# -$ctx->{RESULT_MERGED_OBJ}: \$($ctx->{NAME}_OBJ_LIST) - \@echo Partially linking \$@ - \@mkdir -p \$(\@D) - \$(PARTLINK) -o \$@ \$^ - -__EOD__ -); + $self->output("\$(call partial_link_template, $ctx->{RESULT_MERGED_OBJ}, \$($ctx->{NAME}_OBJ_LIST))\n"); } sub StaticLibraryPrimitives($$) -- cgit