4 # This file is part of chiark-utils, a collection of useful utilities
7 # Copyright (C) 1997-1998,2000-2001 Ian Jackson <ian@chiark.greenend.org.uk>
9 # This is free software; you can redistribute it and/or modify it under the
10 # terms of the GNU General Public License as published by the Free Software
11 # Foundation; either version 2, or (at your option) any later version.
13 # This is distributed in the hope that it will be useful, but WITHOUT ANY
14 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
18 # You should have received a copy of the GNU General Public License along
19 # with this program; if not, write to the Free Software Foundation, Inc.,
20 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 CFLAGS= $(WARNINGS) $(OPTIMISE) $(DEBUG)
24 CPPFLAGS= -DRWBUFFER_SIZE_MB=$(RWBUFFER_SIZE_MB)
26 WARNINGS= -Wall -Wwrite-strings -Wmissing-prototypes \
27 -Wstrict-prototypes -Wpointer-arith
37 confdir=$(etcdir)/$(us)
39 sbindir=$(prefix)/sbin
40 sharedir=$(prefix)/share/$(us)
41 txtdocdir=$(prefix)/share/doc/$(us)
42 exampledir=$(txtdocdir)/examples
43 vardir=$(varlib)/$(us)
45 man1dir=${mandir}/man1
46 man8dir=${mandir}/man8
49 INSTALL_SHARE= $(INSTALL) -m 644 -o root -g $(SYSTEM_GROUP)
50 INSTALL_SCRIPT= $(INSTALL) -m 755 -o root -g $(SYSTEM_GROUP)
51 INSTALL_PROGRAM= $(INSTALL_SCRIPT) -s
52 INSTALL_DIRECTORY= $(INSTALL) -m 2755 -o root -g $(SYSTEM_GROUP) -d