Use a nasty hack to include the GCC include files so that makedepend
authorTheodore Tso <tytso@mit.edu>
Wed, 1 Dec 1993 22:40:27 +0000 (22:40 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 1 Dec 1993 22:40:27 +0000 (22:40 +0000)
will find all of the necessary files.

Use GCC with -pendantic -Wall to find problems

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3068 dc483132-0cff-0310-8789-dd5450dbe970

src/config/linux.cf

index c6bd3c5b94afa42305ccd7a28a2404b30dc89d54..453152ae2047e12018cf607be0016d9cd84bc0cd 100644 (file)
 /* makedepend won't understand -YPOSIX also implies -DPOSIX... */
 /* #define MakeDependFlags -DPOSIX */
 
-/* #define DefaultCDebugFlags OptimizedCDebugFlags */
+#define DependFlags -I/usr/lib/gcc-lib/i486-linux/`gcc -v 2>&1 | sed -ne "s/gcc version //p"`/include
+
+#undef HasGcc
+#define HasGcc YES
+
+#undef CcCmd
+#define CcCmd gcc -pedantic -pipe -Wall -fpcc-struct-return
+#define        OptimizedCDebugFlags -O3
+#define DefaultCDebugFlags OptimizedCDebugFlags
 
 /* #undef HasNdbm */
 #define HasNdbm YES