summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-26 17:17:52 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-26 17:17:52 +0100
commitc5d77a1c2414d930ccbedbe05e124df69242a144 (patch)
treec3bf3584c74074a02975d6b380633dcb055f575f /source4/build/smb_build/makefile.pm
parente8c62dc6dab064d58cc41d6a9e6184ceafa9bf06 (diff)
downloadsamba-c5d77a1c2414d930ccbedbe05e124df69242a144.tar.gz
samba-c5d77a1c2414d930ccbedbe05e124df69242a144.tar.bz2
samba-c5d77a1c2414d930ccbedbe05e124df69242a144.zip
Move public header accumulation out of the perl code.
(This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 9a66cccbfe..3d7c73560d 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -259,15 +259,6 @@ sub StaticLibrary($$)
$self->output("$ctx->{RESULT_STATIC_LIBRARY}: \$($ctx->{NAME}_FULL_OBJ_LIST)\n");
}
-sub Header($$)
-{
- my ($self,$ctx) = @_;
-
- return if ($#{$ctx->{PUBLIC_HEADERS}} == -1);
-
- $self->output("PUBLIC_HEADERS += \$(addprefix $ctx->{BASEDIR}/, " . join(" ", @{$ctx->{PUBLIC_HEADERS}}) . ")\n");
-}
-
sub Binary($$)
{
my ($self,$ctx) = @_;
@@ -306,7 +297,6 @@ sub ProtoHeader($$)
my $target = "\$(addprefix $ctx->{BASEDIR}/, $ctx->{PRIVATE_PROTO_HEADER})";
$self->output("PROTO_HEADERS += $target\n");
-
$self->output("\$(call proto_header_template, $target, \$($ctx->{NAME}_OBJ_LIST:.o=.c))\n");
}