Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / libs / adns / settings.make.in
1 # settings.make.in - main configuration settings for Makefiles,
2 #  used by autoconf/configure to generate settings.make
3 #  
4 #  This file is
5 #    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
6 #
7 #  It is part of adns, which is
8 #    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
9 #    Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
10 #  
11 #  This program is free software; you can redistribute it and/or modify
12 #  it under the terms of the GNU General Public License as published by
13 #  the Free Software Foundation; either version 2, or (at your option)
14 #  any later version.
15 #  
16 #  This program is distributed in the hope that it will be useful,
17 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 #  GNU General Public License for more details.
20 #  
21 #  You should have received a copy of the GNU General Public License
22 #  along with this program; if not, write to the Free Software Foundation,
23 #  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
24
25 CC=             @CC@
26 CFLAGS=         $(AUTOCFLAGS) $(WARNS) $(WERROR) $(DIRCFLAGS) $(XCFLAGS)
27 LDFLAGS=        $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS)
28 LDLIBS=         @LIBS@ $(XLIBS)
29 AUTOCFLAGS=     @CFLAGS@
30 AUTOLDFLAGS=    @LDFLAGS@
31 WARNS=          @WARNS@
32 #WERROR=        -Werror
33
34 M4=             m4
35 RANLIB=         @RANLIB@
36
37 prefix=         @prefix@
38 exec_prefix=    @exec_prefix@
39 bin_dir=        $(exec_prefix)/bin
40 lib_dir=        $(exec_prefix)/lib
41 include_dir=    $(prefix)/include
42
43 AC_INSTALL=     @INSTALL@
44 ifeq ($(AC_INSTALL),./install-sh -c)
45 INSTALL=        $(srcdir)/../$(AC_INSTALL)
46 else
47 INSTALL=        $(AC_INSTALL)
48 endif
49
50 INSTALL_PROGRAM=        $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
51 INSTALL_DATA=           $(INSTALL) -m 644
52
53 all:                    $(TARGETS)
54
55 clean mostlyclean:
56                 rm -f *.o *.tmp* *.so *.so.*
57
58 distclean:              clean
59                 rm -f $(TARGETS) *~ ./#*# core *.orig *.rej Makefile
60
61 distprep:               $(AUTOCSRCS) $(AUTOCHDRS)
62
63 maintainer-clean:       distclean
64                 -rm -f $(AUTOCSRCS) $(AUTOCHDRS)