summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2006-07-10 16:58:27 +0000
committerRoger Leigh <rleigh@debian.org>2006-07-10 16:58:27 +0000
commit2c7c2100392428855b003f8c002a5896665623cb (patch)
tree19ed07689cb04fe8abab9041d984b74cc8239506 /scripts
parent1828e5c4d831d24377315e64e8ee7a016700e8a2 (diff)
downloadschroot-2c7c2100392428855b003f8c002a5896665623cb.tar.gz
* All Makefile.ams: include global.mk.
* scripts/global.mk: New file. Global Makefile options.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/global.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/scripts/global.mk b/scripts/global.mk
new file mode 100644
index 00000000..a050380d
--- /dev/null
+++ b/scripts/global.mk
@@ -0,0 +1,25 @@
+# schroot Makefile template
+#
+#
+# Copyright © 2004-2006 Roger Leigh <rleigh@debian.org>
+#
+# schroot is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# schroot is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+#####################################################################
+
+# Global options for use in all Makefiles.
+AM_CXXFLAGS = -I$(top_srcdir) $(LOCAL_CXXFLAGS) -pedantic -Wall -Wcast-align -Wwrite-strings -Wswitch-default -Wcast-qual -Wunused-variable -Wredundant-decls -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wold-style-cast -Woverloaded-virtual -fstrict-aliasing
+