maintainer-clean
[adns] / settings.make.in
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
19 MAJOR= 1
20 MINOR= 0
21 LIBFILE= libadns.so.$(MAJOR).$(MINOR)
22
23 CC=gcc $(WARNS) $(WERROR) $(OPTIMISE) $(DEBUG) $(XCFLAGS) $(DIRCFLAGS)
24 DEBUG=-g
25 OPTIMISE=-O2
26 WARNS= -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes \
27 -Wcast-qual -Wpointer-arith
28 WERROR=-Werror
29
30 prefix= /usr/local
31 bin_dir= $(prefix)/bin
32 lib_dir= $(prefix)/lib
33 include_dir= $(prefix)/include
34
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
39
40 all: $(TARGETS)
41
42 clean:
43 rm -f *.o
44
45 maintainer-clean distclean: clean
46 rm -f $(TARGETS) *~ ./#*# core *.orig *.rej