]> git.saurik.com Git - apt.git/blame_incremental - buildlib/environment.mak.in
ensure proper teardown in dpkg error cases
[apt.git] / buildlib / environment.mak.in
... / ...
CommitLineData
1# This file contains everything that autoconf guessed for your system.
2# if you want you can edit it, just don't re-run configure.
3
4PACKAGE = @PACKAGE@
5PACKAGE_VERSION = @PACKAGE_VERSION@
6PACKAGE_MAIL = @PACKAGE_MAIL@
7
8# C++ compiler options
9CC = @CC@
10CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
11CXX = @CXX@
12CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra
13CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
14CXXFLAGS+= -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=noreturn
15# a bit too pedantic to be run by default
16#CXXFLAGS+= -Wpedantic -Wno-long-long -Wno-vla -Wno-variadic-macros
17NUM_PROCS = @NUM_PROCS@
18
19# Linker stuff
20PICFLAGS+= -fPIC -DPIC
21LFLAGS+= @LDFLAGS@
22LEFLAGS+=
23SOCKETLIBS:= @SOCKETLIBS@
24AR:=@AR@
25RANLIB:=@RANLIB@
26
27# Dep generation - this only works for gnu stuff
28GCC3DEP = @GCC3DEP@
29INLINEDEPFLAG = -MD
30
31# Debian doc stuff
32DEBIANDOC_HTML = @DEBIANDOC_HTML@
33DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
34
35DOXYGEN = @DOXYGEN@
36
37# xsltproc for the man pages
38XSLTPROC := @XSLTPROC@
39
40# po4a for the man pages
41PO4A := @PO4A@
42
43# Gettext settings
44GMSGFMT = @GMSGFMT@
45XGETTEXT = @XGETTEXT@
46MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
47MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
48BASH = @BASH@
49
50# Various library checks
51PTHREADLIB = @PTHREADLIB@
52PYTHONLIB = @PYTHONLIB@
53PYTHONVER = @PYTHONVER@
54PYTHONPREFIX = @PYTHONPREFIX@
55PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
56PYTHONINCLUDE = @PYTHONINCLUDE@
57BDBLIB = @BDBLIB@
58INTLLIBS = @INTLLIBS@
59
60# Shim Headerfile control
61HAVE_STATVFS = @HAVE_STATVFS@
62HAVE_ZLIB = @HAVE_ZLIB@
63HAVE_BZ2 = @HAVE_BZ2@
64HAVE_LZMA = @HAVE_LZMA@
65NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
66
67# Shared library things
68HOST_OS = @host_os@
69ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
70 SONAME_MAGIC=-Wl,-soname -Wl,
71 LFLAGS_SO=
72else
73 # Do not know how to create shared libraries here.
74 ONLYSTATICLIBS = yes
75endif