1 # settings.make - main configuration settings for Makefiles
3 # This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software Foundation,
17 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 LIBFILE= libadns.so.$(MAJOR).$(MINOR)
23 CC=gcc $(WARNS) $(WERROR) $(OPTIMISE) $(DEBUG) $(XCFLAGS) $(DIRCFLAGS)
26 WARNS= -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes \
27 -Wcast-qual -Wpointer-arith
31 bin_dir= $(prefix)/bin
32 lib_dir= $(prefix)/lib
33 include_dir= $(prefix)/include
35 INSTALL= install -o 0 -g 0
36 INSTALL_LIB= $(INSTALL) -m 755
37 INSTALL_BIN= $(INSTALL) -m 755
38 INSTALL_HDR= $(INSTALL) -m 644
45 maintainer-clean distclean: clean
46 rm -f $(TARGETS) *~ ./#*# core *.orig *.rej