Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/xcw/bin/helenos-pkg-config

    rb501de7 rf98434b8  
    3535SRC_ROOT="$XCW/../../.."
    3636UARCH="$("$XCW"/helenos-bld-config --uarch)"
    37 if [ -z "$EXPORT_DIR" ]; then
    38         EXPORT_DIR="$SRC_ROOT/uspace/export"
    39 fi
    40 INCLUDE_DIR="$EXPORT_DIR/include"
    41 LIB_DIR="$EXPORT_DIR/lib"
    4237
    43 libmath_cflags="-I$INCLUDE_DIR/libmath"
    44 libmath_libs="$LIB_DIR/libmath.a"
     38libmath_cflags="-I$SRC_ROOT/uspace/lib/math/include\
     39    -I$SRC_ROOT/uspace/lib/math/arch/$UARCH/include"
     40libmath_libs="$SRC_ROOT/uspace/lib/math/libmath.a"
    4541
    46 libgui_cflags="-I$INCLUDE_DIR/libgui"
    47 libgui_libs="$LIB_DIR/libgui.a"
     42libgui_cflags="-I$SRC_ROOT/uspace/lib/gui"
     43libgui_libs="$SRC_ROOT/uspace/lib/gui/libgui.a"
    4844
    49 libdraw_cflags="-I$INCLUDE_DIR/libdraw"
    50 libdraw_libs="$LIB_DIR/libdraw.a $LIB_DIR/libsoftrend.a"
     45libdraw_cflags="-I$SRC_ROOT/uspace/lib/draw"
     46libdraw_libs="$SRC_ROOT/uspace/lib/draw/libdraw.a \
     47    $SRC_ROOT/uspace/lib/softrend/libsoftrend.a"
    5148
    52 libhound_cflags="-I$INCLUDE_DIR/libhound"
    53 libhound_libs="$LIB_DIR/libhound.a"
     49libhound_cflags="-I$SRC_ROOT/uspace/lib/hound/include"
     50libhound_libs="$SRC_ROOT/uspace/lib/hound/libhound.a"
    5451
    55 libpcm_cflags="-I$INCLUDE_DIR/libpcm"
    56 libpcm_libs="$LIB_DIR/libpcm.a"
     52libpcm_cflags="-I$SRC_ROOT/uspace/lib/pcm/include"
     53libpcm_libs="$SRC_ROOT/uspace/lib/pcm/libpcm.a"
    5754
    5855action=none
Note: See TracChangeset for help on using the changeset viewer.