From 08d7ec8d0ac13134170a6803b493629e13d6121a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 19 Mar 2006 16:18:07 +0000 Subject: r14563: Include both private and proto names in makefile rule (This used to be commit 2236ad9096b0ebf19baffb9410bc6347b31c98e9) --- source4/build/smb_build/makefile.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 443a66dfb3..73f315cf4f 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -453,11 +453,15 @@ sub ProtoHeader($$) $dir =~ s/^\.\///g; + my $target = ""; + my $comment = "Creating "; if (defined($ctx->{PRIVATE_PROTO_HEADER})) { + $target.= "$dir/$ctx->{PRIVATE_PROTO_HEADER}"; $comment.= "$dir/$ctx->{PRIVATE_PROTO_HEADER}"; if (defined($ctx->{PUBLIC_PROTO_HEADER})) { $comment .= " and "; + $target.= " "; } push (@{$self->{proto_headers}}, "$dir/$ctx->{PRIVATE_PROTO_HEADER}"); } else { @@ -466,6 +470,7 @@ sub ProtoHeader($$) if (defined($ctx->{PUBLIC_PROTO_HEADER})) { $comment.= "$dir/$ctx->{PUBLIC_PROTO_HEADER}"; + $target .= "$dir/$ctx->{PUBLIC_PROTO_HEADER}"; push (@{$self->{proto_headers}}, "$dir/$ctx->{PUBLIC_PROTO_HEADER}"); } else { $ctx->{PUBLIC_PROTO_HEADER} = $ctx->{PRIVATE_PROTO_HEADER}; -- cgit