Regression tests run, first one written.
[adns] / settings.make.in
CommitLineData
1c957fda 1# settings.make - main configuration settings for Makefiles
2#
3# This file is part of adns, which is Copyright (C) 1997, 1998 Ian Jackson
4#
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)
8# any later version.
9#
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.
14#
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.
18
19MAJOR= 1
20MINOR= 0
21LIBFILE= libadns.so.$(MAJOR).$(MINOR)
22
23CC=gcc $(WARNS) $(WERROR) $(OPTIMISE) $(DEBUG) $(XCFLAGS) $(DIRCFLAGS)
24DEBUG=-g
25OPTIMISE=-O2
26WARNS= -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes \
27 -Wcast-qual -Wpointer-arith
28WERROR=-Werror
29
30prefix= /usr/local
31bin_dir= $(prefix)/bin
32lib_dir= $(prefix)/lib
33include_dir= $(prefix)/include
34
35INSTALL= install -o 0 -g 0
36INSTALL_LIB= $(INSTALL) -m 755
37INSTALL_BIN= $(INSTALL) -m 755
38INSTALL_HDR= $(INSTALL) -m 644
39
40all: $(TARGETS)
41
42clean:
43 rm -f *.o
44
45distclean: clean
46 rm -f $(TARGETS) *~ ./#*# core *.orig *.rej