summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-26 06:31:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:18 -0500
commit330f302a9e72741fa884a70327f69101b1f51f77 (patch)
tree5ec6685d8f66e7ff65a84fe281fee1790672aa58
parent8b3f08cefcd41e6f8005de84a2cc865c1011194d (diff)
downloadsamba-330f302a9e72741fa884a70327f69101b1f51f77.tar.gz
samba-330f302a9e72741fa884a70327f69101b1f51f77.tar.bz2
samba-330f302a9e72741fa884a70327f69101b1f51f77.zip
r899: remove the weird shell patterns from the makerules
they slowdown the build metze (This used to be commit 6123a1ee7cd9b21824c6e5b6abf58293ff9f3dcd)
-rw-r--r--source4/build/smb_build/makefile.pl14
1 files changed, 0 insertions, 14 deletions
diff --git a/source4/build/smb_build/makefile.pl b/source4/build/smb_build/makefile.pl
index ec7853e0e0..0b85fac926 100644
--- a/source4/build/smb_build/makefile.pl
+++ b/source4/build/smb_build/makefile.pl
@@ -146,22 +146,10 @@ sub _prepare_dummy_MAKEDIR()
my $output;
$output = "
-MAKEDIR = || exec false; \\
- if test -d \"\$\$dir\"; then :; else \\
- echo mkdir \"\$\$dir\"; \\
- mkdir -p \"\$\$dir\" >/dev/null 2>&1 || \\
- test -d \"\$\$dir\" || \\
- mkdir \"\$\$dir\" || \\
- exec false; fi || exec false
-
bin/.dummy:
- \@if (: >> \$\@ || : > \$\@) >/dev/null 2>&1; then :; else \\
- dir=bin \$(MAKEDIR); fi
\@: >> \$\@ || : > \$\@
dynconfig.o: dynconfig.c Makefile
- \@if (: >> \$\@ || : > \$\@) >/dev/null 2>&1; then rm -f \$\@; else \\
- dir=`echo \$\@ | sed 's,/[^/]*\$\$,,;s,^\$\$,.,'` \$(MAKEDIR); fi
\@echo Compiling \$*.c
\@\$(CC) \$(CC_FLAGS) \$(PATH_FLAGS) -c \$< -o \$\@
\@BROKEN_CC\@ -mv `echo \$\@ | sed 's%^.*/%%g'` \$\@
@@ -200,8 +188,6 @@ sub _prepare_std_CC_rule($$$$$)
###################################
# Start $comment
.$src.$dst:
- \@if (: >> \$\@ || : > \$\@) >/dev/null 2>&1; then rm -f \$\@; else \\
- dir=`echo \$\@ | sed 's,/[^/]*\$\$,,;s,^\$\$,.,'` \$(MAKEDIR); fi
\@echo $message \$*.$src
\@\$(CC) \$(CC_FLAGS) $flags -c \$< -o \$\@
\@BROKEN_CC\@ -mv `echo \$\@ | sed 's%^.*/%%g'` \$\@