]> git.saurik.com Git - apt-legacy.git/blobdiff - buildlib/environment.mak.in
Upgraded to APT 0.7.
[apt-legacy.git] / buildlib / environment.mak.in
index 193631ad18cb40aeca08cf7eb3b931346e9454ef..2a9cc6945514226fd1b41c293771c762ce3c835b 100644 (file)
@@ -28,6 +28,8 @@ INLINEDEPFLAG = -MD
 DEBIANDOC_HTML = @DEBIANDOC_HTML@
 DEBIANDOC_TEXT = @DEBIANDOC_TEXT@
 
+DOXYGEN = @DOXYGEN@
+
 # SGML for the man pages
 DOCBOOK2MAN := @DOCBOOK2MAN@
 
@@ -53,6 +55,7 @@ PYTHONEXECPREFIX = @PYTHONEXECPREFIX@
 PYTHONINCLUDE = @PYTHONINCLUDE@
 BDBLIB = @BDBLIB@
 INTLLIBS = @INTLLIBS@
+LIBICONV = @LIBICONV@
 
 # Shim Headerfile control
 HAVE_C9X = @HAVE_C9X@
@@ -62,11 +65,17 @@ NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
 
 # Shared library things
 HOST_OS = @host_os@
-#ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
-   SONAME_MAGIC=
+ifneq ($(words $(filter gnu% linux-gnu% kfreebsd-gnu% %-gnu,$(HOST_OS))),0)
+   SONAME_MAGIC=-Wl,-soname -Wl,
+   LFLAGS_SO=
+   SOEXT=so
+else
+ifneq ($(words $(filter darwin%,$(HOST_OS))),0)
+   SONAME_MAGIC=-Wl,-dylib_install_name,
    LFLAGS_SO=
-#else
+   SOEXT=dylib
+else
    # Do not know how to create shared libraries here.
-#   ONLYSTATICLIBS = yes
-#endif
-       
+   ONLYSTATICLIBS = yes
+endif
+endif