< prev index next >

make/autoconf/libraries.m4

Print this page




 113   BASIC_JDKLIB_LIBS=""
 114   if test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
 115     BASIC_JDKLIB_LIBS="-ljava -ljvm"
 116   fi
 117 
 118   # Math library
 119   BASIC_JVM_LIBS="$LIBM"
 120 
 121   # Dynamic loading library
 122   if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xaix; then
 123     BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBDL"
 124   fi
 125 
 126   # Threading library
 127   if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xaix; then
 128     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lpthread"
 129   elif test "x$OPENJDK_TARGET_OS" = xsolaris; then
 130     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
 131   fi
 132 
 133   # perfstat lib
 134   if test "x$OPENJDK_TARGET_OS" = xaix; then
 135     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lperfstat"
 136   fi
 137 
 138   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
 139     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
 140         -lrt -lkstat"
 141     BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBCXX_JVM"
 142   fi
 143 
 144   if test "x$OPENJDK_TARGET_OS" = xwindows; then
 145     BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
 146         comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib \
 147         wsock32.lib winmm.lib version.lib psapi.lib"
 148   fi
 149 
 150   JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
 151   JDKEXE_LIBS=""
 152   JVM_LIBS="$BASIC_JVM_LIBS"
 153   OPENJDK_BUILD_JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
 154   OPENJDK_BUILD_JVM_LIBS="$BASIC_JVM_LIBS"
 155 
 156   AC_SUBST(JDKLIB_LIBS)
 157   AC_SUBST(JDKEXE_LIBS)




 113   BASIC_JDKLIB_LIBS=""
 114   if test "x$TOOLCHAIN_TYPE" != xmicrosoft; then
 115     BASIC_JDKLIB_LIBS="-ljava -ljvm"
 116   fi
 117 
 118   # Math library
 119   BASIC_JVM_LIBS="$LIBM"
 120 
 121   # Dynamic loading library
 122   if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xaix; then
 123     BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBDL"
 124   fi
 125 
 126   # Threading library
 127   if test "x$OPENJDK_TARGET_OS" = xlinux || test "x$OPENJDK_TARGET_OS" = xaix; then
 128     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lpthread"
 129   elif test "x$OPENJDK_TARGET_OS" = xsolaris; then
 130     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
 131   fi
 132 





 133   if test "x$OPENJDK_TARGET_OS" = xsolaris; then
 134     BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
 135         -lrt -lkstat"
 136     BASIC_JVM_LIBS="$BASIC_JVM_LIBS $LIBCXX_JVM"
 137   fi
 138 
 139   if test "x$OPENJDK_TARGET_OS" = xwindows; then
 140     BASIC_JVM_LIBS="$BASIC_JVM_LIBS kernel32.lib user32.lib gdi32.lib winspool.lib \
 141         comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib \
 142         wsock32.lib winmm.lib version.lib psapi.lib"
 143   fi
 144 
 145   JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
 146   JDKEXE_LIBS=""
 147   JVM_LIBS="$BASIC_JVM_LIBS"
 148   OPENJDK_BUILD_JDKLIB_LIBS="$BASIC_JDKLIB_LIBS"
 149   OPENJDK_BUILD_JVM_LIBS="$BASIC_JVM_LIBS"
 150 
 151   AC_SUBST(JDKLIB_LIBS)
 152   AC_SUBST(JDKEXE_LIBS)


< prev index next >