chiark / gitweb /
Fix typo in changelog entry for 1.6.1
[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 Copyright Ian Jackson
5 #  and contributors (see the file INSTALL for full details).
6 #  
7 #  This program is free software; you can redistribute it and/or modify
8 #  it under the terms of the GNU General Public License as published by
9 #  the Free Software Foundation; either version 3, or (at your option)
10 #  any later version.
11 #  
12 #  This program is distributed in the hope that it will be useful,
13 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #  GNU General Public License for more details.
16 #  
17 #  You should have received a copy of the GNU General Public License
18 #  along with this program; if not, write to the Free Software Foundation.
19
20 MAJOR=          1
21 MINOR=          6
22 SHLIBFILE=      @SHLIBFILE@
23 SHLIBSONAME=    @SHLIBSONAME@
24 SHLIBFORLINK=   @SHLIBFORLINK@
25
26 CC=             @CC@
27 CFLAGS=         $(AUTOCFLAGS) $(WARNS) $(WERROR) $(DIRCFLAGS) $(XCFLAGS)
28 LDFLAGS=        $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS)
29 LDLIBS=         @LIBS@ $(XLIBS)
30 AUTOCFLAGS=     @CFLAGS@
31 AUTOLDFLAGS=    @LDFLAGS@
32 WARNS=          @WARNS@ -Wno-unused-value
33 #WERROR=        -Werror
34
35 M4=             m4
36 RANLIB=         @RANLIB@
37
38 SHLIBCC=        @SHLIBCC@
39
40 MKSHLIB_1=      @MKSHLIB_1@
41 MKSHLIB_2=      @MKSHLIB_2@
42 MKSHLIB_3=      @MKSHLIB_3@
43
44 prefix          := @prefix@
45 exec_prefix     := @exec_prefix@
46 bindir          := @bindir@
47 libdir          := @libdir@
48 includedir      := @includedir@
49
50 ifneq ($(DESTDIR),)
51 # autoconf likes to define some of these in terms of each other
52 # so if we want to add a prefix to each one we have to do it this way:
53 destdir_prefix=$(DESTDIR)/
54 prefix          := ${destdir_prefix}${prefix}
55 exec_prefix     := ${destdir_prefix}${exec_prefix}
56 bindir          := ${destdir_prefix}${bindir}
57 libdir          := ${destdir_prefix}${libdir}
58 includedir      := ${destdir_prefix}${includedir}
59 endif
60
61 AC_INSTALL=     @INSTALL@
62 ifeq ($(AC_INSTALL),./install-sh -c)
63 INSTALL=        $(srcdir)/../$(AC_INSTALL)
64 else
65 INSTALL=        $(AC_INSTALL)
66 endif
67
68 INSTALL_PROGRAM=        $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
69 INSTALL_DATA=           $(INSTALL) -m 644
70 INSTALL_DIR=            $(INSTALL) -d 755