]> git.saurik.com Git - apt.git/blob - buildlib/environment.mak.in
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
[apt.git] / buildlib / environment.mak.in
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
4 PACKAGE = @PACKAGE@
5 PACKAGE_VERSION = @PACKAGE_VERSION@
6 PACKAGE_MAIL = @PACKAGE_MAIL@
7
8 # C++ compiler options
9 CC = @CC@
10 CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
11 CXX = @CXX@
12 CXXFLAGS+= @CXXFLAGS@ -Wall -Wextra
13 CXXFLAGS+= -Wcast-align -Wlogical-op -Wredundant-decls -Wmissing-declarations -Wunsafe-loop-optimizations
14 CXXFLAGS+= -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
17 NUM_PROCS = @NUM_PROCS@
18
19 # Linker stuff
20 PICFLAGS+= -fPIC -DPIC
21 LFLAGS+= @LDFLAGS@
22 LEFLAGS+=
23 SOCKETLIBS:= @SOCKETLIBS@
24 AR:=@AR@
25 RANLIB:=@RANLIB@
26
27 # Dep generation - this only works for gnu stuff
28 GCC3DEP = @GCC3DEP@
29 INLINEDEPFLAG = -MD
30
31 # Debian doc stuff
32 DEBIANDOC_HTML = @DEBIANDOC_HTML@
33 DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
34
35 DOXYGEN = @DOXYGEN@
36
37 # xsltproc for the man pages
38 XSLTPROC := @XSLTPROC@
39
40 # po4a for the man pages
41 PO4A := @PO4A@
42
43 # Gettext settings
44 GMSGFMT = @GMSGFMT@
45 XGETTEXT = @XGETTEXT@
46 MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
47 MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
48 BASH = @BASH@
49
50 # Various library checks
51 PTHREADLIB = @PTHREADLIB@
52 PYTHONLIB = @PYTHONLIB@
53 PYTHONVER = @PYTHONVER@
54 PYTHONPREFIX = @PYTHONPREFIX@
55 PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
56 PYTHONINCLUDE = @PYTHONINCLUDE@
57 BDBLIB = @BDBLIB@
58 INTLLIBS = @INTLLIBS@
59
60 # Shim Headerfile control
61 HAVE_STATVFS = @HAVE_STATVFS@
62 HAVE_ZLIB = @HAVE_ZLIB@
63 HAVE_BZ2 = @HAVE_BZ2@
64 HAVE_LZMA = @HAVE_LZMA@
65 NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
66
67 # Shared library things
68 HOST_OS = @host_os@
69 ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
70 SONAME_MAGIC=-Wl,-soname -Wl,
71 LFLAGS_SO=
72 else
73 # Do not know how to create shared libraries here.
74 ONLYSTATICLIBS = yes
75 endif