summaryrefslogtreecommitdiffstats
path: root/NETSURF_FUNCTIONS
blob: a9580e46335dd088ea8a622132d2fd59799a4874 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# special functions for projects which use the NetSurf buildsystem

default_build () {
  case " $OPTS" in
    (*\ COMPONENT_TYPE=*) ;;
    (*) OPTS+=' COMPONENT_TYPE=lib-shared' ;;
  esac &&
  make -j "$MAKE_NJOBS" \
       PREFIX="${INSTALL_ROOT}/usr" \
       $OPTS
}

default_install () {
  make -j "$MAKE_NJOBS" \
       PREFIX="${INSTALL_ROOT}/usr" \
       $OPTS \
       install
}