]> git.saurik.com Git - apt-legacy.git/blame - buildlib/environment.mak.in
Commit that APT bug fix from their bug tracker.
[apt-legacy.git] / buildlib / environment.mak.in
CommitLineData
da6ee469
JF
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@
5
6# C++ compiler options
7CC = @CC@
8CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT -Wall
9CXX = @CXX@
10CXXFLAGS+= @CXXFLAGS@
11NUM_PROCS = @NUM_PROCS@
da6ee469
JF
12
13# Linker stuff
14PICFLAGS+= -fPIC -DPIC
15LFLAGS+= @LDFLAGS@
16LEFLAGS+=
17SOCKETLIBS:= @SOCKETLIBS@
18AR:=@AR@
19RANLIB:=@RANLIB@
20
21# Dep generation - this only works for gnu stuff
22GCC3DEP = @GCC3DEP@
23INLINEDEPFLAG = -MD
24
25# Debian doc stuff
26DEBIANDOC_HTML = @DEBIANDOC_HTML@
27DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
28
00ec24d0
JF
29DOXYGEN = @DOXYGEN@
30
0e5943eb
JF
31# xsltproc for the man pages
32XSLTPROC := @XSLTPROC@
da6ee469 33
0e5943eb
JF
34# po4a for the man pages
35PO4A := @PO4A@
da6ee469
JF
36
37# Gettext settings
38GMSGFMT = @GMSGFMT@
39XGETTEXT = @XGETTEXT@
40MSGCOMM:=$(dir $(XGETTEXT))/msgcomm
41MSGMERGE:=$(dir $(XGETTEXT))/msgmerge
42BASH = @BASH@
43
44# Various library checks
45PTHREADLIB = @PTHREADLIB@
46PYTHONLIB = @PYTHONLIB@
47PYTHONVER = @PYTHONVER@
48PYTHONPREFIX = @PYTHONPREFIX@
49PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
50PYTHONINCLUDE = @PYTHONINCLUDE@
51BDBLIB = @BDBLIB@
52INTLLIBS = @INTLLIBS@
00ec24d0 53LIBICONV = @LIBICONV@
da6ee469
JF
54
55# Shim Headerfile control
56HAVE_C9X = @HAVE_C9X@
57HAVE_STATVFS = @HAVE_STATVFS@
58HAVE_TIMEGM = @HAVE_TIMEGM@
59NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
60
61# Shared library things
62HOST_OS = @host_os@
00ec24d0
JF
63ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
64 SONAME_MAGIC=-Wl,-soname -Wl,
65 LFLAGS_SO=
66 SOEXT=so
67else
68ifneq ($(words $(filter darwin%,$(HOST_OS))),0)
69 SONAME_MAGIC=-Wl,-dylib_install_name,
da6ee469 70 LFLAGS_SO=
00ec24d0
JF
71 SOEXT=dylib
72else
da6ee469 73 # Do not know how to create shared libraries here.
00ec24d0
JF
74 ONLYSTATICLIBS = yes
75endif
76endif