summaryrefslogtreecommitdiff
path: root/source4/rules.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-25 15:39:46 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-29 15:02:30 +0100
commit0a5647c0e76100e12b186d0fbc17e66d6b231f54 (patch)
tree1700c615c7142f1e61ae7712ce81b0a04015063b /source4/rules.mk
parent4453348aed08e9d164454a8660081b5c177cd44b (diff)
downloadsamba-0a5647c0e76100e12b186d0fbc17e66d6b231f54.tar.gz
samba-0a5647c0e76100e12b186d0fbc17e66d6b231f54.tar.bz2
samba-0a5647c0e76100e12b186d0fbc17e66d6b231f54.zip
Remove the now unused cflags script.
(This used to be commit f97cce2522e7644181506dc49947297b394743eb)
Diffstat (limited to 'source4/rules.mk')
-rw-r--r--source4/rules.mk16
1 files changed, 5 insertions, 11 deletions
diff --git a/source4/rules.mk b/source4/rules.mk
index b644a6a52a..d0be997d0c 100644
--- a/source4/rules.mk
+++ b/source4/rules.mk
@@ -1,33 +1,27 @@
# Dependencies command
DEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.o) -MT $@ \
- $(CFLAGS) `$(PERL) $(srcdir)/script/cflags.pl $@` \
- $(CPPFLAGS) $< -o $@
+ $(CFLAGS) $(CPPFLAGS) $< -o $@
# Dependencies for host objects
HDEPENDS = $(CC) -M -MG -MP -MT $(<:.c=.ho) -MT $@ \
- $(HOSTCC_FLAGS) `$(PERL) $(srcdir)/script/cflags.pl $@` \
- $(CPPFLAGS) $< -o $@
+ $(HOSTCC_FLAGS) $(CPPFLAGS) $< -o $@
# Dependencies for precompiled headers
PCHDEPENDS = $(CC) -M -MG -MT include/includes.h.gch -MT $@ \
$(CFLAGS) $(CPPFLAGS) $< -o $@
# Run a static analysis checker
-CHECK = $(CC_CHECKER) $(CFLAGS) `$(PERL) $(srcdir)/script/cflags.pl $@` \
- $(PICFLAG) $(CPPLAGS) -c $< -o $@
+CHECK = $(CC_CHECKER) $(CFLAGS) $(PICFLAG) $(CPPLAGS) -c $< -o $@
# Run the configured compiler
COMPILE = $(CC) $(CFLAGS) $(PICFLAG) \
- `$(PERL) $(srcdir)/script/cflags.pl $@` \
$(CPPFLAGS) \
-c $< -o $@
# Run the compiler for the build host
-HCOMPILE = $(HOSTCC) $(HOSTCC_FLAGS) `$(PERL) $(srcdir)/script/cflags.pl $@` \
- $(CPPFLAGS) -c $< -o $@
+HCOMPILE = $(HOSTCC) $(HOSTCC_FLAGS) $(CPPFLAGS) -c $< -o $@
# Precompile headers
PCHCOMPILE = @$(CC) -Ilib/replace \
- $(CFLAGS) `$(PERL) $(srcdir)/script/cflags.pl $@` \
- $(PICFLAG) $(CPPFLAGS) -c $< -o $@
+ $(CFLAGS) $(PICFLAG) $(CPPFLAGS) -c $< -o $@
# Partial linking
PARTLINK = @$(PROG_LD) -r