summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-04-02 21:26:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:46 -0500
commit36d8bdc1a5c3af181469e946df3f2611f72d938d (patch)
treed01675acd7f9574891c495383dde00cfbfeda4b9 /source4
parentf3455f0f446830e5c1fcf8748bd25ee02cd8fcba (diff)
downloadsamba-36d8bdc1a5c3af181469e946df3f2611f72d938d.tar.gz
samba-36d8bdc1a5c3af181469e946df3f2611f72d938d.tar.bz2
samba-36d8bdc1a5c3af181469e946df3f2611f72d938d.zip
r22048: Sigh. Commit the other half of r22047.
(This used to be commit cbc15e963af67d6b7b4ad7b1f249667e2d7f7fd9)
Diffstat (limited to 'source4')
-rw-r--r--source4/main.mk34
1 files changed, 0 insertions, 34 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 1d6e4ea858..f7c2495832 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -349,16 +349,6 @@ unused_macros:
.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 @@ include/includes.d: include/includes.h
@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)'"; \