summaryrefslogblamecommitdiffstats
path: root/NETSURF_FUNCTIONS
blob: a9580e46335dd088ea8a622132d2fd59799a4874 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                  



                                             

                                     





                                     
              

              

# 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
}