]> git.saurik.com Git - apt.git/blame - buildlib/environment.mak.in
Merge branch 'debian/experimental' into feature/srv-records
[apt.git] / buildlib / environment.mak.in
CommitLineData
d7bccc73
AL
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
80948457 4PACKAGE = @PACKAGE@
9179f697 5PACKAGE_VERSION = @PACKAGE_VERSION@
1c46aec4 6PACKAGE_MAIL = @PACKAGE_MAIL@
80948457 7
d7bccc73
AL
8# C++ compiler options
9CC = @CC@
9d9d5e81 10CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -D_FORTIFY_SOURCE=2
d7bccc73 11CXX = @CXX@
9d9d5e81
DK
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
f43579d1 17NUM_PROCS = @NUM_PROCS@
d7bccc73
AL
18
19# Linker stuff
20PICFLAGS+= -fPIC -DPIC
880e9be4 21LFLAGS+= @LDFLAGS@
a9975068 22LEFLAGS+=
abb9b874 23SOCKETLIBS:= @SOCKETLIBS@
b819effd
AL
24AR:=@AR@
25RANLIB:=@RANLIB@
d7bccc73
AL
26
27# Dep generation - this only works for gnu stuff
62c96834 28GCC3DEP = @GCC3DEP@
d7bccc73
AL
29INLINEDEPFLAG = -MD
30
3174e150 31DOXYGEN = @DOXYGEN@
a034d852 32W3M = @W3M@
3174e150 33
a034d852 34# xsltproc for the man pages and documentation
b01390ea
DK
35XSLTPROC := @XSLTPROC@
36
a034d852
GJ
37# DocBook XML
38DOCBOOK = $(XSLTPROC) --nonet --novalid --xinclude
39DOCBOOK2TEXT = $(W3M) -o display_charset=UTF-8 -no-graph -T text/html \
40 -cols 78 -dump
41
b01390ea
DK
42# po4a for the man pages
43PO4A := @PO4A@
b3d44315 44
80948457
AL
45# Gettext settings
46GMSGFMT = @GMSGFMT@
47XGETTEXT = @XGETTEXT@
48MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
49MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
80948457
AL
50BASH = @BASH@
51
d7bccc73 52# Various library checks
e1b74f61 53PTHREADLIB = @PTHREADLIB@
b2e465d6
AL
54PYTHONLIB = @PYTHONLIB@
55PYTHONVER = @PYTHONVER@
56PYTHONPREFIX = @PYTHONPREFIX@
57PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
58PYTHONINCLUDE = @PYTHONINCLUDE@
c9569a1e 59BDBLIB = @BDBLIB@
97af521f 60INTLLIBS = @INTLLIBS@
51761e5e 61
101030ab 62# Shim Headerfile control
101030ab 63HAVE_STATVFS = @HAVE_STATVFS@
c4997486
DK
64HAVE_ZLIB = @HAVE_ZLIB@
65HAVE_BZ2 = @HAVE_BZ2@
7f350a37 66HAVE_LZMA = @HAVE_LZMA@
1cecba4d 67NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
70fbac25
AL
68
69# Shared library things
70HOST_OS = @host_os@
0fbb494b 71ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
70fbac25
AL
72 SONAME_MAGIC=-Wl,-soname -Wl,
73 LFLAGS_SO=
b2e465d6
AL
74else
75 # Do not know how to create shared libraries here.
f58a97d3 76 ONLYSTATICLIBS = yes
70fbac25 77endif