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