r7874: reverted metzes patch svn 7837 as it is not portable to make on
authorAndrew Tridgell <tridge@samba.org>
Fri, 24 Jun 2005 05:20:27 +0000 (05:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:46 +0000 (13:18 -0500)
several platforms (such as FreeBSD)
(This used to be commit 8cdebf5ce3b5908bfc0032151f17ba0f0e59e785)

source4/build/smb_build/makefile.pm

index 29eee6c468ec1b7b83657a3ff4d09af8dba55f1d..28157da81e0d943c6745387961fd4ee7f8359968 100644 (file)
@@ -164,8 +164,10 @@ sub _prepare_dummy_MAKEDIR()
 bin/.dummy:
        @: >> $@ || : > $@
 
-dynconfig.o: TARGET_CFLAGS=$(PATH_FLAGS)
-dynconfig.o: Makefile
+dynconfig.o: dynconfig.c Makefile
+       @echo Compiling $*.c
+       @$(CC) $(CFLAGS) @PICFLAG@ $(PATH_FLAGS) -c $< -o $@
+@BROKEN_CC@    -mv `echo $@ | sed 's%^.*/%%g'` $@
 
 __EOD__
 }