Changeset 1546


Ignore:
Timestamp:
Dec 5, 2010 9:54:40 AM (8 years ago)
Author:
stefan
Message:

update examples Makefile for cygwin/cl/no-pkgconfig

Location:
trunk/Cbc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r1545 r1546  
    2087020870    if test "$CYGPATH_W" != "echo" ; then
    2087120871      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    20872           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    20873         fi
     20872      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     20873    fi
    2087420874    COINDEPEND_CFLAGS="$cflags"
    2087520875    COINDEPEND_LIBS=`$PKG_CONFIG --libs "cgl osi coinutils" 2>/dev/null`
     
    2099320993        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2099420994        eval `sh -c "$pcifilemod"`
     20995        if test "${CYGPATH_W}" != "echo"; then
     20996          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     20997        fi
    2099520998        COINDEPEND_DATA_INSTALLED="$projdatadir"
    2099620999      fi
     
    2103621039
    2103721040    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    21038     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21041    if test "${CYGPATH_W}" != "echo"; then
     21042      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21043    fi
    2103921044    COINDEPEND_CFLAGS="$projcflags $COINDEPEND_CFLAGS"
    2104021045
     
    2107721082
    2107821083    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    21079     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21084    if test "${CYGPATH_W}" != "echo"; then
     21085      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21086    fi
    2108021087    COINDEPEND_CFLAGS_INSTALLED="$projcflags $COINDEPEND_CFLAGS_INSTALLED"
    2108121088
     
    2109921106_ACEOF
    2110021107
     21108
     21109  # adjust linker flags for (i)cl compiler
     21110  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     21111  then
     21112    COINDEPEND_LIBS_INSTALLED=`echo " $COINDEPEND_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     21113  fi
    2110121114
    2110221115
     
    2131821331    if test "$CYGPATH_W" != "echo" ; then
    2131921332      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    21320           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    21321         fi
     21333      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21334    fi
    2132221335    CLP_CFLAGS="$cflags"
    2132321336    CLP_LIBS=`$PKG_CONFIG --libs "osi-clp" 2>/dev/null`
     
    2144121454        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2144221455        eval `sh -c "$pcifilemod"`
     21456        if test "${CYGPATH_W}" != "echo"; then
     21457          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     21458        fi
    2144321459        CLP_DATA_INSTALLED="$projdatadir"
    2144421460      fi
     
    2148421500
    2148521501    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    21486     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21502    if test "${CYGPATH_W}" != "echo"; then
     21503      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21504    fi
    2148721505    CLP_CFLAGS="$projcflags $CLP_CFLAGS"
    2148821506
     
    2152521543
    2152621544    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    21527     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21545    if test "${CYGPATH_W}" != "echo"; then
     21546      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21547    fi
    2152821548    CLP_CFLAGS_INSTALLED="$projcflags $CLP_CFLAGS_INSTALLED"
    2152921549
     
    2154721567_ACEOF
    2154821568
     21569
     21570  # adjust linker flags for (i)cl compiler
     21571  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     21572  then
     21573    CLP_LIBS_INSTALLED=`echo " $CLP_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     21574  fi
    2154921575
    2155021576
     
    2174221768    if test "$CYGPATH_W" != "echo" ; then
    2174321769      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    21744           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    21745         fi
     21770      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21771    fi
    2174621772    OSITESTS_CFLAGS="$cflags"
    2174721773    OSITESTS_LIBS=`$PKG_CONFIG --libs "osi-unittests" 2>/dev/null`
     
    2185721883        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2185821884        eval `sh -c "$pcifilemod"`
     21885        if test "${CYGPATH_W}" != "echo"; then
     21886          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     21887        fi
    2185921888        OSITESTS_DATA_INSTALLED="$projdatadir"
    2186021889      fi
     
    2190021929
    2190121930    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    21902     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21931    if test "${CYGPATH_W}" != "echo"; then
     21932      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21933    fi
    2190321934    OSITESTS_CFLAGS="$projcflags $OSITESTS_CFLAGS"
    2190421935
     
    2194121972
    2194221973    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    21943     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21974    if test "${CYGPATH_W}" != "echo"; then
     21975      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21976    fi
    2194421977    OSITESTS_CFLAGS_INSTALLED="$projcflags $OSITESTS_CFLAGS_INSTALLED"
    2194521978
     
    2196321996_ACEOF
    2196421997
     21998
     21999  # adjust linker flags for (i)cl compiler
     22000  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     22001  then
     22002    OSITESTS_LIBS_INSTALLED=`echo " $OSITESTS_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     22003  fi
    2196522004
    2196622005
     
    2212022159    if test "$CYGPATH_W" != "echo" ; then
    2212122160      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    22122           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    22123         fi
     22161      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22162    fi
    2212422163    SAMPLE_CFLAGS="$cflags"
    2212522164    SAMPLE_LIBS=`$PKG_CONFIG --libs "coindatasample" 2>/dev/null`
     
    2223522274        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2223622275        eval `sh -c "$pcifilemod"`
     22276        if test "${CYGPATH_W}" != "echo"; then
     22277          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     22278        fi
    2223722279        SAMPLE_DATA_INSTALLED="$projdatadir"
    2223822280      fi
     
    2227822320
    2227922321    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    22280     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22322    if test "${CYGPATH_W}" != "echo"; then
     22323      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22324    fi
    2228122325    SAMPLE_CFLAGS="$projcflags $SAMPLE_CFLAGS"
    2228222326
     
    2231922363
    2232022364    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    22321     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22365    if test "${CYGPATH_W}" != "echo"; then
     22366      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22367    fi
    2232222368    SAMPLE_CFLAGS_INSTALLED="$projcflags $SAMPLE_CFLAGS_INSTALLED"
    2232322369
     
    2234122387_ACEOF
    2234222388
     22389
     22390  # adjust linker flags for (i)cl compiler
     22391  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     22392  then
     22393    SAMPLE_LIBS_INSTALLED=`echo " $SAMPLE_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     22394  fi
    2234322395
    2234422396
     
    2249822550    if test "$CYGPATH_W" != "echo" ; then
    2249922551      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    22500           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    22501         fi
     22552      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22553    fi
    2250222554    NETLIB_CFLAGS="$cflags"
    2250322555    NETLIB_LIBS=`$PKG_CONFIG --libs "coindatanetlib" 2>/dev/null`
     
    2261322665        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2261422666        eval `sh -c "$pcifilemod"`
     22667        if test "${CYGPATH_W}" != "echo"; then
     22668          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     22669        fi
    2261522670        NETLIB_DATA_INSTALLED="$projdatadir"
    2261622671      fi
     
    2265622711
    2265722712    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    22658     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22713    if test "${CYGPATH_W}" != "echo"; then
     22714      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22715    fi
    2265922716    NETLIB_CFLAGS="$projcflags $NETLIB_CFLAGS"
    2266022717
     
    2269722754
    2269822755    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    22699     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22756    if test "${CYGPATH_W}" != "echo"; then
     22757      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22758    fi
    2270022759    NETLIB_CFLAGS_INSTALLED="$projcflags $NETLIB_CFLAGS_INSTALLED"
    2270122760
     
    2271922778_ACEOF
    2272022779
     22780
     22781  # adjust linker flags for (i)cl compiler
     22782  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     22783  then
     22784    NETLIB_LIBS_INSTALLED=`echo " $NETLIB_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     22785  fi
    2272122786
    2272222787
     
    2287622941    if test "$CYGPATH_W" != "echo" ; then
    2287722942      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    22878           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    22879         fi
     22943      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22944    fi
    2288022945    MIPLIB3_CFLAGS="$cflags"
    2288122946    MIPLIB3_LIBS=`$PKG_CONFIG --libs "coindatamiplib3" 2>/dev/null`
     
    2299123056        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2299223057        eval `sh -c "$pcifilemod"`
     23058        if test "${CYGPATH_W}" != "echo"; then
     23059          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     23060        fi
    2299323061        MIPLIB3_DATA_INSTALLED="$projdatadir"
    2299423062      fi
     
    2303423102
    2303523103    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    23036     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23104    if test "${CYGPATH_W}" != "echo"; then
     23105      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23106    fi
    2303723107    MIPLIB3_CFLAGS="$projcflags $MIPLIB3_CFLAGS"
    2303823108
     
    2307523145
    2307623146    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    23077     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23147    if test "${CYGPATH_W}" != "echo"; then
     23148      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23149    fi
    2307823150    MIPLIB3_CFLAGS_INSTALLED="$projcflags $MIPLIB3_CFLAGS_INSTALLED"
    2307923151
     
    2309723169_ACEOF
    2309823170
     23171
     23172  # adjust linker flags for (i)cl compiler
     23173  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     23174  then
     23175    MIPLIB3_LIBS_INSTALLED=`echo " $MIPLIB3_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     23176  fi
    2309923177
    2310023178
     
    2327223350    if test "$CYGPATH_W" != "echo" ; then
    2327323351      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    23274           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    23275         fi
     23352      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23353    fi
    2327623354    DYLP_CFLAGS="$cflags"
    2327723355    DYLP_LIBS=`$PKG_CONFIG --libs "osi-dylp" 2>/dev/null`
     
    2339123469        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2339223470        eval `sh -c "$pcifilemod"`
     23471        if test "${CYGPATH_W}" != "echo"; then
     23472          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     23473        fi
    2339323474        DYLP_DATA_INSTALLED="$projdatadir"
    2339423475      fi
     
    2343423515
    2343523516    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    23436     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23517    if test "${CYGPATH_W}" != "echo"; then
     23518      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23519    fi
    2343723520    DYLP_CFLAGS="$projcflags $DYLP_CFLAGS"
    2343823521
     
    2347523558
    2347623559    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    23477     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23560    if test "${CYGPATH_W}" != "echo"; then
     23561      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23562    fi
    2347823563    DYLP_CFLAGS_INSTALLED="$projcflags $DYLP_CFLAGS_INSTALLED"
    2347923564
     
    2349723582_ACEOF
    2349823583
     23584
     23585  # adjust linker flags for (i)cl compiler
     23586  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     23587  then
     23588    DYLP_LIBS_INSTALLED=`echo " $DYLP_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     23589  fi
    2349923590
    2350023591
     
    2366923760    if test "$CYGPATH_W" != "echo" ; then
    2367023761      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    23671           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    23672         fi
     23762      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23763    fi
    2367323764    VOL_CFLAGS="$cflags"
    2367423765    VOL_LIBS=`$PKG_CONFIG --libs "osi-vol" 2>/dev/null`
     
    2378423875        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2378523876        eval `sh -c "$pcifilemod"`
     23877        if test "${CYGPATH_W}" != "echo"; then
     23878          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     23879        fi
    2378623880        VOL_DATA_INSTALLED="$projdatadir"
    2378723881      fi
     
    2382723921
    2382823922    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    23829     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23923    if test "${CYGPATH_W}" != "echo"; then
     23924      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23925    fi
    2383023926    VOL_CFLAGS="$projcflags $VOL_CFLAGS"
    2383123927
     
    2386823964
    2386923965    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    23870     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23966    if test "${CYGPATH_W}" != "echo"; then
     23967      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23968    fi
    2387123969    VOL_CFLAGS_INSTALLED="$projcflags $VOL_CFLAGS_INSTALLED"
    2387223970
     
    2389023988_ACEOF
    2389123989
     23990
     23991  # adjust linker flags for (i)cl compiler
     23992  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     23993  then
     23994    VOL_LIBS_INSTALLED=`echo " $VOL_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     23995  fi
    2389223996
    2389323997
     
    2407124175    if test "$CYGPATH_W" != "echo" ; then
    2407224176      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    24073           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    24074         fi
     24177      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24178    fi
    2407524179    CPX_CFLAGS="$cflags"
    2407624180    CPX_LIBS=`$PKG_CONFIG --libs "osi-cplex" 2>/dev/null`
     
    2419424298        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2419524299        eval `sh -c "$pcifilemod"`
     24300        if test "${CYGPATH_W}" != "echo"; then
     24301          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     24302        fi
    2419624303        CPX_DATA_INSTALLED="$projdatadir"
    2419724304      fi
     
    2423724344
    2423824345    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    24239     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24346    if test "${CYGPATH_W}" != "echo"; then
     24347      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24348    fi
    2424024349    CPX_CFLAGS="$projcflags $CPX_CFLAGS"
    2424124350
     
    2427824387
    2427924388    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    24280     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24389    if test "${CYGPATH_W}" != "echo"; then
     24390      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24391    fi
    2428124392    CPX_CFLAGS_INSTALLED="$projcflags $CPX_CFLAGS_INSTALLED"
    2428224393
     
    2430024411_ACEOF
    2430124412
     24413
     24414  # adjust linker flags for (i)cl compiler
     24415  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     24416  then
     24417    CPX_LIBS_INSTALLED=`echo " $CPX_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     24418  fi
    2430224419
    2430324420
     
    2449924616    if test "$CYGPATH_W" != "echo" ; then
    2450024617      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    24501           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    24502         fi
     24618      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24619    fi
    2450324620    GLPK_CFLAGS="$cflags"
    2450424621    GLPK_LIBS=`$PKG_CONFIG --libs "osi-glpk" 2>/dev/null`
     
    2461824735        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2461924736        eval `sh -c "$pcifilemod"`
     24737        if test "${CYGPATH_W}" != "echo"; then
     24738          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     24739        fi
    2462024740        GLPK_DATA_INSTALLED="$projdatadir"
    2462124741      fi
     
    2466124781
    2466224782    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    24663     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24783    if test "${CYGPATH_W}" != "echo"; then
     24784      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24785    fi
    2466424786    GLPK_CFLAGS="$projcflags $GLPK_CFLAGS"
    2466524787
     
    2470224824
    2470324825    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    24704     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24826    if test "${CYGPATH_W}" != "echo"; then
     24827      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24828    fi
    2470524829    GLPK_CFLAGS_INSTALLED="$projcflags $GLPK_CFLAGS_INSTALLED"
    2470624830
     
    2472424848_ACEOF
    2472524849
     24850
     24851  # adjust linker flags for (i)cl compiler
     24852  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     24853  then
     24854    GLPK_LIBS_INSTALLED=`echo " $GLPK_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     24855  fi
    2472624856
    2472724857
     
    2489625026    if test "$CYGPATH_W" != "echo" ; then
    2489725027      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    24898           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    24899         fi
     25028      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25029    fi
    2490025030    GRB_CFLAGS="$cflags"
    2490125031    GRB_LIBS=`$PKG_CONFIG --libs "osi-gurobi" 2>/dev/null`
     
    2501125141        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2501225142        eval `sh -c "$pcifilemod"`
     25143        if test "${CYGPATH_W}" != "echo"; then
     25144          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     25145        fi
    2501325146        GRB_DATA_INSTALLED="$projdatadir"
    2501425147      fi
     
    2505425187
    2505525188    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    25056     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25189    if test "${CYGPATH_W}" != "echo"; then
     25190      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25191    fi
    2505725192    GRB_CFLAGS="$projcflags $GRB_CFLAGS"
    2505825193
     
    2509525230
    2509625231    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    25097     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25232    if test "${CYGPATH_W}" != "echo"; then
     25233      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25234    fi
    2509825235    GRB_CFLAGS_INSTALLED="$projcflags $GRB_CFLAGS_INSTALLED"
    2509925236
     
    2511725254_ACEOF
    2511825255
     25256
     25257  # adjust linker flags for (i)cl compiler
     25258  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     25259  then
     25260    GRB_LIBS_INSTALLED=`echo " $GRB_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     25261  fi
    2511925262
    2512025263
     
    2528625429    if test "$CYGPATH_W" != "echo" ; then
    2528725430      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    25288           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    25289         fi
     25431      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25432    fi
    2529025433    MSK_CFLAGS="$cflags"
    2529125434    MSK_LIBS=`$PKG_CONFIG --libs "osi-mosek" 2>/dev/null`
     
    2540525548        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2540625549        eval `sh -c "$pcifilemod"`
     25550        if test "${CYGPATH_W}" != "echo"; then
     25551          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     25552        fi
    2540725553        MSK_DATA_INSTALLED="$projdatadir"
    2540825554      fi
     
    2544825594
    2544925595    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    25450     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25596    if test "${CYGPATH_W}" != "echo"; then
     25597      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25598    fi
    2545125599    MSK_CFLAGS="$projcflags $MSK_CFLAGS"
    2545225600
     
    2548925637
    2549025638    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    25491     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25639    if test "${CYGPATH_W}" != "echo"; then
     25640      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25641    fi
    2549225642    MSK_CFLAGS_INSTALLED="$projcflags $MSK_CFLAGS_INSTALLED"
    2549325643
     
    2551125661_ACEOF
    2551225662
     25663
     25664  # adjust linker flags for (i)cl compiler
     25665  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     25666  then
     25667    MSK_LIBS_INSTALLED=`echo " $MSK_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     25668  fi
    2551325669
    2551425670
     
    2569525851    if test "$CYGPATH_W" != "echo" ; then
    2569625852      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    25697           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    25698         fi
     25853      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25854    fi
    2569925855    SPX_CFLAGS="$cflags"
    2570025856    SPX_LIBS=`$PKG_CONFIG --libs "osi-soplex" 2>/dev/null`
     
    2581425970        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2581525971        eval `sh -c "$pcifilemod"`
     25972        if test "${CYGPATH_W}" != "echo"; then
     25973          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     25974        fi
    2581625975        SPX_DATA_INSTALLED="$projdatadir"
    2581725976      fi
     
    2585726016
    2585826017    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    25859     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26018    if test "${CYGPATH_W}" != "echo"; then
     26019      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26020    fi
    2586026021    SPX_CFLAGS="$projcflags $SPX_CFLAGS"
    2586126022
     
    2589826059
    2589926060    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    25900     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26061    if test "${CYGPATH_W}" != "echo"; then
     26062      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26063    fi
    2590126064    SPX_CFLAGS_INSTALLED="$projcflags $SPX_CFLAGS_INSTALLED"
    2590226065
     
    2592026083_ACEOF
    2592126084
     26085
     26086  # adjust linker flags for (i)cl compiler
     26087  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     26088  then
     26089    SPX_LIBS_INSTALLED=`echo " $SPX_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     26090  fi
    2592226091
    2592326092
     
    2609226261    if test "$CYGPATH_W" != "echo" ; then
    2609326262      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    26094           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    26095         fi
     26263      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26264    fi
    2609626265    XPR_CFLAGS="$cflags"
    2609726266    XPR_LIBS=`$PKG_CONFIG --libs "osi-xpress" 2>/dev/null`
     
    2620726376        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2620826377        eval `sh -c "$pcifilemod"`
     26378        if test "${CYGPATH_W}" != "echo"; then
     26379          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     26380        fi
    2620926381        XPR_DATA_INSTALLED="$projdatadir"
    2621026382      fi
     
    2625026422
    2625126423    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    26252     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26424    if test "${CYGPATH_W}" != "echo"; then
     26425      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26426    fi
    2625326427    XPR_CFLAGS="$projcflags $XPR_CFLAGS"
    2625426428
     
    2629126465
    2629226466    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    26293     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26467    if test "${CYGPATH_W}" != "echo"; then
     26468      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26469    fi
    2629426470    XPR_CFLAGS_INSTALLED="$projcflags $XPR_CFLAGS_INSTALLED"
    2629526471
     
    2631326489_ACEOF
    2631426490
     26491
     26492  # adjust linker flags for (i)cl compiler
     26493  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     26494  then
     26495    XPR_LIBS_INSTALLED=`echo " $XPR_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     26496  fi
    2631526497
    2631626498
     
    2647626658    if test "$CYGPATH_W" != "echo" ; then
    2647726659      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    26478           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    26479         fi
     26660      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26661    fi
    2648026662    ASL_CFLAGS="$cflags"
    2648126663    ASL_LIBS=`$PKG_CONFIG --libs "coinasl" 2>/dev/null`
     
    2659126773        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
    2659226774        eval `sh -c "$pcifilemod"`
     26775        if test "${CYGPATH_W}" != "echo"; then
     26776          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     26777        fi
    2659326778        ASL_DATA_INSTALLED="$projdatadir"
    2659426779      fi
     
    2663426819
    2663526820    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    26636     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26821    if test "${CYGPATH_W}" != "echo"; then
     26822      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26823    fi
    2663726824    ASL_CFLAGS="$projcflags $ASL_CFLAGS"
    2663826825
     
    2667526862
    2667626863    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    26677     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26864    if test "${CYGPATH_W}" != "echo"; then
     26865      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26866    fi
    2667826867    ASL_CFLAGS_INSTALLED="$projcflags $ASL_CFLAGS_INSTALLED"
    2667926868
     
    2669726886_ACEOF
    2669826887
     26888
     26889  # adjust linker flags for (i)cl compiler
     26890  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     26891  then
     26892    ASL_LIBS_INSTALLED=`echo " $ASL_LIBS_INSTALLED" | sed -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     26893  fi
    2669926894
    2670026895
  • trunk/Cbc/examples/Makefile.in

    r1541 r1546  
    4545##########################################################################
    4646
     47COIN_HAS_PKGCONFIG = @COIN_HAS_PKGCONFIG_TRUE@TRUE
     48COIN_CXX_IS_CL = @COIN_CXX_IS_CL_TRUE@TRUE
     49COIN_HAS_SAMPLE = @COIN_HAS_SAMPLE_TRUE@TRUE
     50COIN_HAS_MIPLIB3 = @COIN_HAS_MIPLIB3_TRUE@TRUE
     51
    4752# C++ Compiler command
    4853CXX = @CXX@
     
    5055# C++ Compiler options
    5156CXXFLAGS = @CXXFLAGS@
    52 @COIN_HAS_SAMPLE_TRUE@@COIN_HAS_PKGCONFIG_TRUE@CXXFLAGS += -DSAMPLEDIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatasample`\"
    53 @COIN_HAS_SAMPLE_TRUE@@COIN_HAS_PKGCONFIG_FALSE@CXXFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA_INSTALLED@\"
    54 @COIN_HAS_MIPLIB3_TRUE@@COIN_HAS_PKGCONFIG_TRUE@CXXFLAGS += -DMIPLIB3DIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatamiplib3`\"
    55 @COIN_HAS_MIPLIB3_TRUE@@COIN_HAS_PKGCONFIG_FALSE@CXXFLAGS += -DMIPLIB3DIR=\"@MIPLIB3_DATA_INSTALLED@\"
    5657
    5758# C Compiler options
    5859CFLAGS = @CFLAGS@
    59 @COIN_HAS_SAMPLE_TRUE@CFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA@\"
    6060
    6161# additional C++ Compiler options for linking
    6262CXXLINKFLAGS = @RPATH_FLAGS@
    6363
    64 # Compiler flags (we use the CYGPATH_W variables to allow compilation with Windows compilers)
    65 @COIN_HAS_PKGCONFIG_TRUE@INCL = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --cflags cbc` $(ADDINCFLAGS)
    66 @COIN_HAS_PKGCONFIG_FALSE@INCL = @CBCLIB_CFLAGS_INSTALLED@ $(ADDINCFLAGS)
     64# Sample data directory
     65ifeq ($(COIN_HAS_SAMPLE), TRUE)
     66  ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
     67    CXXFLAGS += -DSAMPLEDIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatasample`\"
     68      CFLAGS += -DSAMPLEDIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatasample`\"
     69  else
     70    CXXFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA_INSTALLED@\"
     71      CFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA_INSTALLED@\"
     72  endif
     73endif
     74
     75# Miplib3 data directory
     76ifeq ($(COIN_HAS_MIPLIB3), TRUE)
     77  ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
     78    CXXFLAGS += -DMIPLIB3DIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatamiplib3`\"
     79  else
     80    CXXFLAGS += -DMIPLIB3DIR=\"@MIPLIB3_DATA_INSTALLED@\"
     81  endif
     82endif
     83
     84# Include directories (we use the CYGPATH_W variables to allow compilation with Windows compilers)
     85ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
     86  INCL = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --cflags cbc`
     87else
     88  INCL = @CBCLIB_CFLAGS_INSTALLED@
     89endif
     90INCL += $(ADDINCFLAGS)
    6791
    6892# Linker flags
    69 @COIN_HAS_PKGCONFIG_TRUE@@COIN_CXX_IS_CL_FALSE@LIBS = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --libs cbc`
    70 @COIN_HAS_PKGCONFIG_TRUE@@COIN_CXX_IS_CL_TRUE@LIBS = /link: `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --msvc-syntax --libs cbc`
    71 @COIN_HAS_PKGCONFIG_FALSE@LIBS = -L@abs_lib_dir@ -lCbcSolver -lCbc -lOsiCbc @CBCLIB_LIBS_INSTALLED@
     93ifeq ($(COIN_HAS_PKGCONFIG), TRUE)
     94  LIBS = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --libs cbc`
     95else
     96  ifeq ($(COIN_CXX_IS_CL), TRUE)
     97    LIBS = /link /libpath:`$(CYGPATH_W) @abs_lib_dir@` libCbcSolver.lib libCbc.lib libOsiCbc.lib @CBCLIB_LIBS_INSTALLED@
     98  else
     99    LIBS = -L@abs_lib_dir@ -lCbcSolver -lCbc -lOsiCbc @CBCLIB_LIBS_INSTALLED@
     100  endif
     101endif
    72102
    73103# The following is necessary under cygwin, if native compilers are used
Note: See TracChangeset for help on using the changeset viewer.