www-cgi/: Move `xrealloc' to `ucgicommon'.
[userv-utils] / settings.make
CommitLineData
6362f12c 1# common makefile settings for userv-utils
2
711a0748 3# Copyright (C) 1999-2000,2003 Ian Jackson
6362f12c 4#
5# This is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with userv-utils; if not, write to the Free Software
17# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18#
19# $Id$
20
21etcdir= /etc
22prefix= /usr/local
23bindir= $(prefix)/bin
5e5500ed 24sbindir= $(prefix)/sbin
6362f12c 25vardir= /var
26
27libdir= $(prefix)/lib
28sharedir= $(prefix)/share
29
30docdir= $(sharedir)/doc
31
32libuserv= $(libdir)/userv
33shareuserv= $(sharedir)/userv
70b9d2e0 34varlog= $(vardir)/log
6362f12c 35varlib= $(vardir)/lib
36varlibuserv= $(varlib)/userv
37
38etcuserv= $(etcdir)/userv
39services= $(etcuserv)/services.d
40
41CFLAGS= -Wall -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes \
33e8a62b 42 -Wpointer-arith -D_GNU_SOURCE -Wno-pointer-sign \
6362f12c 43 $(OPTIMISE) $(DEBUG) $(SUBDIR_CFLAGS)
477d9486 44LDFLAGS= $(SUBDIR_LDFLAGS) $(DEBUG)
6362f12c 45
46OPTIMISE= -O2
47DEBUG= -g
48