summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-06-14 03:38:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:20 -0500
commit6e631e5fb561cc60d4672e7ce450f8977541d3db (patch)
tree31b7647818b372028fb355847786c8ceb97479dc /source3/Makefile.in
parentb4a39dc10e751fcb84d1f9709217eaf1b5da325a (diff)
downloadsamba-6e631e5fb561cc60d4672e7ce450f8977541d3db.tar.gz
samba-6e631e5fb561cc60d4672e7ce450f8977541d3db.tar.bz2
samba-6e631e5fb561cc60d4672e7ce450f8977541d3db.zip
r23478: Change the handling of the developer CFLAGS so that they are always
emited to the Makefile in the DEVELOPER_CFLAGS variable. This makes it easy to turn developer mode on and off without waiting for configure to run. The developer flags are only added to CFLAGS for the --enable-developer and --enable-krb5developer cases. (This used to be commit 4b392a76eb392375f369c8c64fccd138833dcb52)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index d427ed0945..7d1337cff5 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -20,8 +20,14 @@ smbtorture4_path=@smbtorture4_path@
LIBS=@LIBS@
CC=@CC@
SHLD=@SHLD@
+
+# Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
+# (GCC) warnings. This is done automtically for --enable-developer
+# and --enable-krb5developer.
+DEVELOPER_CFLAGS=@DEVELOPER_CFLAGS@
CFLAGS=@CFLAGS@
CPPFLAGS=-DHAVE_CONFIG_H @CPPFLAGS@
+
EXEEXT=@EXEEXT@
LDFLAGS=@PIE_LDFLAGS@ @LDFLAGS@
AR=@AR@