From 330f302a9e72741fa884a70327f69101b1f51f77 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 26 May 2004 06:31:24 +0000 Subject: r899: remove the weird shell patterns from the makerules they slowdown the build metze (This used to be commit 6123a1ee7cd9b21824c6e5b6abf58293ff9f3dcd) --- source4/build/smb_build/makefile.pl | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source4') 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'` \$\@ -- cgit