]> git.saurik.com Git - apt.git/blame - buildlib/environment.mak.in
More portability thingies
[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
4# C++ compiler options
5CC = @CC@
6f27a7fc 6CPPFLAGS+= @CPPFLAGS@ @DEFS@ -D_REENTRANT
d7bccc73
AL
7CXX = @CXX@
8CXXFLAGS+= @CXXFLAGS@ @X_CFLAGS@
f43579d1 9NUM_PROCS = @NUM_PROCS@
d7bccc73
AL
10
11# Linker stuff
12PICFLAGS+= -fPIC -DPIC
880e9be4 13LFLAGS+= @LDFLAGS@
a9975068 14LEFLAGS+=
abb9b874
AL
15XLIBS:= @X_LIBS@ @X_PRE_LIBS@ @X11LIB@ @X_EXTRA_LIBS@
16SOCKETLIBS:= @SOCKETLIBS@
b819effd
AL
17AR:=@AR@
18RANLIB:=@RANLIB@
d7bccc73
AL
19
20# Dep generation - this only works for gnu stuff
21INLINEDEPFLAG = -MD
22
23# Debian doc stuff
24DEBIANDOC_HTML = @DEBIANDOC_HTML@
25DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
26
8a9ec519
AL
27# YODL for the man pages
28YODL_MAN = @YODL_MAN@
29
d7bccc73
AL
30# Various library checks
31X11LIB = @X11LIB@
32GPMLIB = @GPMLIB@
33SLANGLIB = @SLANGLIB@
880e9be4 34XPMLIB = @XPMLIB@
e1b74f61 35PTHREADLIB = @PTHREADLIB@
51761e5e 36
101030ab 37# Shim Headerfile control
51761e5e 38HAVE_C9X = @HAVE_C9X@
101030ab 39HAVE_STATVFS = @HAVE_STATVFS@
1cecba4d 40NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
70fbac25
AL
41
42# Shared library things
43HOST_OS = @host_os@
44ifeq ($(HOST_OS),linux-gnu)
70fbac25
AL
45 SONAME_MAGIC=-Wl,-soname -Wl,
46 LFLAGS_SO=
f58a97d3
AL
47else
48 # Do not know how to creat shared libraries here.
49 ONLYSTATICLIBS = yes
70fbac25 50endif
f58a97d3 51