[PATCH 46/65] config.mk: improve, remove solaris, noone uses it

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 29 Oct 2014 22:02:24 +0000

---
 config.mk | 38 ++++++++++++++++++--------------------
 1 file changed, 18 insertions(+), 20 deletions(-)
diff --git a/config.mk b/config.mk
index 0ee932d..b8b3297 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -1,32 +1,30 @@
 # Customize to fit your system
-VERSION     = 1.7
+VERSION = 1.7
 
 # paths
-PREFIX      = /usr/local
-BINDIR      = ${PREFIX}/bin
-MANDIR      = ${PREFIX}/share/man
-MAN1DIR     = ${MANDIR}/man1
-DOCDIR      = ${PREFIX}/share/doc/ii
+PREFIX = /usr/local
+BINDIR = ${PREFIX}/bin
+MANDIR = ${PREFIX}/share/man
+MAN1DIR = ${MANDIR}/man1
+DOCDIR = ${PREFIX}/share/doc/ii
 
 # Set the following to install to a different root
-DESTDIR     =
+DESTDIR =
 
-INCDIR      = ${PREFIX}/include
-LIBDIR      = ${PREFIX}/lib
+INCDIR = ${PREFIX}/include
+LIBDIR = ${PREFIX}/lib
 
 # includes and libs
-INCLUDES    = -I. -I${INCDIR} -I/usr/include
-LIBS        = -L${LIBDIR} -L/usr/lib -lc
-# uncomment and comment other variables for compiling on Solaris
-#LIBS = -L${LIBDIR} -L/usr/lib -lc -lsocket -lnsl
-#CFLAGS      = -g ${INCLUDES} -DVERSION=\"${VERSION}\"
+INCLUDES = -I. -I${INCDIR} -I/usr/include
+LIBS = -L${LIBDIR} -L/usr/lib -lc
 
 # compiler
-CC          = cc
+CC = cc
 
-CFLAGS      = -g -O0 -pedantic -Wall ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_POSIX_C_SOURCE=200809L
-LDFLAGS     = ${LIBS}
+# debug
+CFLAGS = -g -O0 -pedantic -Wall -Wextra ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_POSIX_C_SOURCE=200809L
+LDFLAGS = ${LIBS}
 
-# optimized
-#CFLAGS      = -O2 ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_POSIX_C_SOURCE=200809L
-#LDFLAGS     = -s
+# release
+#CFLAGS = -Os ${INCLUDES} -DVERSION=\"${VERSION}\" -std=c99 -D_POSIX_C_SOURCE=200809L
+#LDFLAGS = -s
-- 
2.4.10
--Multipart=_Mon__9_May_2016_17_21_10_+0200_I.6cpFVydhq75aaE
Content-Type: text/x-diff;
 name="0047-CHANGES-document-timestamp-change.patch"
Content-Disposition: attachment;
 filename="0047-CHANGES-document-timestamp-change.patch"
Content-Transfer-Encoding: 7bit
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon May 09 2016 - 17:24:22 CEST