chiark / gitweb /
changelog: Document changes in 1.6.0 and finalise version number
[adns.git] / common.make.in
1 #  common.make[.in] - common configuration settings for Makefiles,
2 #  used by autoconf/configure to generate settings.make
3 #  
4 #  This file is part of adns, which is
5 #    Copyright (C) 1997-2000,2003,2006,2014-2016,2020  Ian Jackson
6 #    Copyright (C) 2014  Mark Wooding
7 #    Copyright (C) 1999-2000,2003,2006  Tony Finch
8 #    Copyright (C) 1991 Massachusetts Institute of Technology
9 #  (See the file INSTALL for full details.)
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 3, 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
24 MAJOR=          1
25 MINOR=          6
26 SHLIBFILE=      @SHLIBFILE@
27 SHLIBSONAME=    @SHLIBSONAME@
28 SHLIBFORLINK=   @SHLIBFORLINK@
29
30 CC=             @CC@
31 CFLAGS=         $(AUTOCFLAGS) $(WARNS) $(WERROR) $(DIRCFLAGS) $(XCFLAGS)
32 LDFLAGS=        $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS)
33 LDLIBS=         @LIBS@ $(XLIBS)
34 AUTOCFLAGS=     @CFLAGS@
35 AUTOLDFLAGS=    @LDFLAGS@
36 WARNS=          @WARNS@ -Wno-unused-value
37 #WERROR=        -Werror
38
39 M4=             m4
40 RANLIB=         @RANLIB@
41
42 SHLIBCC=        @SHLIBCC@
43
44 MKSHLIB_1=      @MKSHLIB_1@
45 MKSHLIB_2=      @MKSHLIB_2@
46 MKSHLIB_3=      @MKSHLIB_3@
47
48 prefix          := @prefix@
49 exec_prefix     := @exec_prefix@
50 bindir          := @bindir@
51 libdir          := @libdir@
52 includedir      := @includedir@
53
54 ifneq ($(DESTDIR),)
55 # autoconf likes to define some of these in terms of each other
56 # so if we want to add a prefix to each one we have to do it this way:
57 destdir_prefix=$(DESTDIR)/
58 prefix          := ${destdir_prefix}${prefix}
59 exec_prefix     := ${destdir_prefix}${exec_prefix}
60 bindir          := ${destdir_prefix}${bindir}
61 libdir          := ${destdir_prefix}${libdir}
62 includedir      := ${destdir_prefix}${includedir}
63 endif
64
65 AC_INSTALL=     @INSTALL@
66 ifeq ($(AC_INSTALL),./install-sh -c)
67 INSTALL=        $(srcdir)/../$(AC_INSTALL)
68 else
69 INSTALL=        $(AC_INSTALL)
70 endif
71
72 INSTALL_PROGRAM=        $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
73 INSTALL_DATA=           $(INSTALL) -m 644
74