1 # common.make[.in] - common configuration settings for Makefiles,
2 # used by autoconf/configure to generate settings.make
4 # This file is part of adns, which is Copyright Ian Jackson
5 # and contributors (see the file INSTALL for full details).
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)
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.
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.
22 SHLIBFILE= @SHLIBFILE@
23 SHLIBSONAME= @SHLIBSONAME@
24 SHLIBFORLINK= @SHLIBFORLINK@
27 CFLAGS= $(AUTOCFLAGS) $(WARNS) $(WERROR) $(DIRCFLAGS) $(XCFLAGS)
28 LDFLAGS= $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS)
29 LDLIBS= @LIBS@ $(XLIBS)
31 AUTOLDFLAGS= @LDFLAGS@
32 WARNS= @WARNS@ -Wno-unused-value
40 MKSHLIB_1= @MKSHLIB_1@
41 MKSHLIB_2= @MKSHLIB_2@
42 MKSHLIB_3= @MKSHLIB_3@
45 exec_prefix := @exec_prefix@
48 includedir := @includedir@
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}
62 ifeq ($(AC_INSTALL),./install-sh -c)
63 INSTALL= $(srcdir)/../$(AC_INSTALL)
65 INSTALL= $(AC_INSTALL)
68 INSTALL_PROGRAM= $(INSTALL) -m 755 $(INSTALL_PROGRAM_FLAGS)
69 INSTALL_DATA= $(INSTALL) -m 644
70 INSTALL_DIR= $(INSTALL) -d 755