chiark / gitweb /
finalise
[adns.git] / 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-2005 Ian Jackson <ian@davenant.greenend.org.uk>
9 #    Copyright (C) 1999-2004 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 MAJOR=          1
26 MINOR=          0
27 SHLIBFILE=      @SHLIBFILE@
28 SHLIBSONAME=    @SHLIBSONAME@
29 SHLIBFORLINK=   @SHLIBFORLINK@
30
31 CC=             @CC@
32 CFLAGS=         $(AUTOCFLAGS) $(WARNS) $(WERROR) $(DIRCFLAGS) $(XCFLAGS)
33 LDFLAGS=        $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS)
34 LDLIBS=         @LIBS@ $(XLIBS)
35 AUTOCFLAGS=     @CFLAGS@
36 AUTOLDFLAGS=    @LDFLAGS@
37 WARNS=          @WARNS@
38 #WERROR=        -Werror
39
40 M4=             m4
41 RANLIB=         @RANLIB@
42
43 SHLIBCC=        @SHLIBCC@
44
45 MKSHLIB_1=      @MKSHLIB_1@
46 MKSHLIB_2=      @MKSHLIB_2@
47 MKSHLIB_3=      @MKSHLIB_3@
48
49 prefix=         @prefix@
50 exec_prefix=    @exec_prefix@
51 bin_dir=        $(exec_prefix)/bin
52 lib_dir=        $(exec_prefix)/lib
53 include_dir=    $(prefix)/include
54
55 AC_INSTALL=     @INSTALL@
56 ifeq ($(AC_INSTALL),./install-sh -c)
57 INSTALL=        $(srcdir)/../$(AC_INSTALL)
58 else
59 INSTALL=        $(AC_INSTALL)
60 endif
61
62 INSTALL_PROGRAM=        $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
63 INSTALL_DATA=           $(INSTALL) -m 644
64
65 all:                    $(TARGETS)
66
67 clean mostlyclean:
68                 rm -f *.o *.tmp* *.so *.so.*
69
70 distclean:              clean
71                 rm -f $(TARGETS) *~ ./#*# core *.orig *.rej Makefile
72
73 distprep:               $(AUTOCSRCS) $(AUTOCHDRS)
74
75 maintainer-clean:       distclean
76                 -rm -f $(AUTOCSRCS) $(AUTOCHDRS)