chiark / gitweb /
www-cgi/: Allow customization of the environment filters.
[userv-utils.git] / settings.make
index 95c0f197eaddf58f48db0b891ffe51967f419037..22c0073c6fd3a32052a69b47f75ee795c606e559 100644 (file)
@@ -1,6 +1,6 @@
 # common makefile settings for userv-utils
 
-# Copyright (C) 1999-2000 Ian Jackson
+# Copyright (C) 1999-2000,2003 Ian Jackson
 #
 # This is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
 etcdir=                /etc
 prefix=                /usr/local
 bindir=                $(prefix)/bin
+sbindir=       $(prefix)/sbin
 vardir=                /var
 
 libdir=                $(prefix)/lib
@@ -30,6 +31,7 @@ docdir=               $(sharedir)/doc
 
 libuserv=      $(libdir)/userv
 shareuserv=    $(sharedir)/userv
+varlog=                $(vardir)/log
 varlib=                $(vardir)/lib
 varlibuserv=   $(varlib)/userv
 
@@ -37,9 +39,9 @@ etcuserv=     $(etcdir)/userv
 services=      $(etcuserv)/services.d
 
 CFLAGS=        -Wall -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes \
-       -Wpointer-arith -D_GNU_SOURCE \
+       -Wpointer-arith -D_GNU_SOURCE -Wno-pointer-sign \
        $(OPTIMISE) $(DEBUG) $(SUBDIR_CFLAGS)
-LDFLAGS= $(SUBDIR_LDFLAGS)
+LDFLAGS= $(SUBDIR_LDFLAGS) $(DEBUG)
 
 OPTIMISE=      -O2
 DEBUG=         -g