samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r22048 - in branches/SAMBA_4_0/source: .

Subject: svn commit: samba r22048 - in branches/SAMBA_4_0/source: .
From:
Date: Mon, 2 Apr 2007 21:26:33 +0000 GMT
Author: jpeach
Date: 2007-04-02 21:26:32 +0000 (Mon, 02 Apr 2007)
New Revision: 22048

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22048

Log:
Sigh. Commit the other half of r22047.

Modified:
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk   2007-04-02 21:21:56 UTC (rev 22047)
+++ branches/SAMBA_4_0/source/main.mk   2007-04-02 21:26:32 UTC (rev 22048)
@@ -349,16 +349,6 @@
 
 .SUFFIXES: .x .c .et .y .l .d .o .h .h.gch .a .$(SHLIBEXT) .1 .1.xml .3 .3.xml 
.5 .5.xml .7 .7.xml .8 .8.xml .ho .idl .hd
 
-# Dependencies command
-DEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.o) -MT $@ \
-    `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
-# Dependencies for host objects
-HDEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ \
-    `$(PERL) $(srcdir)/script/cflags.pl $@` $(HOSTCC_CFLAGS) $< -o $@
-# Dependencies for precompiled headers
-PCHDEPENDS = $(CC) -M -MG -MT include/includes.h.gch -MT $@ \
-    $(CFLAGS) $< -o $@
-
 .c.d:
        @echo "Generating dependencies for $<"
        @$(DEPENDS)
@@ -371,30 +361,6 @@
        @echo "Generating dependencies for $<"
        @$(PCHDEPENDS)
 
-#
-# $< is broken in older BSD versions:
-# when $@ is foo/bar.o, $< could be torture/foo/bar.c
-# if it also exists. So better use $* which is foo/bar
-# and append .c manually to get foo/bar.c
-#
-
-# Run a static analysis checker
-CHECK = $(CC_CHECKER) `$(PERL) $(srcdir)/script/cflags.pl $@` \
-    $(CFLAGS) $(PICFLAG) -c $*.c -o $@
-
-# Run the configured compiler
-COMPILE = $(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` \
-    $(CFLAGS) $(PICFLAG) -c $*.c -o $@
-
-# Run the compiler for the build host
-HCOMPILE = $(HOSTCC) `$(PERL) $(srcdir)/script/cflags.pl $@` \
-    $(HOSTCC_CFLAGS) -c $*.c -o $@
-
-# Precompile headers
-PCHCOMPILE = @$(CC) -Ilib/replace \
-    `$(PERL) $(srcdir)/script/cflags.pl $@` \
-    $(CFLAGS) $(PICFLAG) -c $*.c -o $@
-
 .c.o:
        @if test -n "$(CC_CHECKER)"; then \
                echo "Checking  $< with '$(CC_CHECKER)'"; \

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r22048 - in branches/SAMBA_4_0/source: ., jpeach <=