summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 731d28c066..e7febd0b26 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -143,7 +143,7 @@ pch: proto include/includes.h.gch
pch_clean:
-rm -f include/includes.h.gch
-basics: idl proto_exists bin/.SUBSYSTEM_HEIMDAL_EXTERNAL
+basics: idl proto_exists HEIMDAL_EXTERNAL
test: @DEFAULT_TEST_TARGET@
@@ -512,7 +512,13 @@ __EOD__
sub _prepare_custom_rule($)
{
my $ctx = shift;
- return "$ctx->{NAME}:\n\t$ctx->{CMD}\n";
+ return "
+$ctx->{NAME}: bin/.TARGET_$ctx->{NAME}
+
+bin/.TARGET_$ctx->{NAME}:
+ $ctx->{CMD}
+ touch bin/.TARGET_$ctx->{NAME}
+";
}
sub _prepare_proto_rules()