Lines Matching +full:install +full:- +full:module
3 # Rules used when building a GNU host package. Expects MODULE to be set.
6 # available configuration options. To be as low-overhead as possible,
9 # * Configuration is only re-run when an autoconf source file (such as
13 # autoconf-parsed file (such as Makefile.in) is changed.
15 # * If MKUPDATE != "no", "make install" is only run if a build has happened
16 # since the last install in the current directory.
20 # Disable use of pre-compiled headers on Darwin.
21 BUILD_OSTYPE!= uname -s
22 HOST_COMPILER_CLANG!= if ${HOST_CC} --version | grep -q -s clang; then echo yes; else echo no; fi
24 HOST_CFLAGS+=-O2 -no-cpp-precomp
30 .if exists(${.CURDIR}/../../external/gpl${i}/${MODULE}/dist)
31 GNUHOSTDIST?= ${.CURDIR}/../../external/gpl${i}/${MODULE}/dist
35 FIND_ARGS+= \! \( -type d \( \
36 -name 'CVS' -o \
37 -name 'config' -o \
38 -name 'doc' -o \
39 -name 'po' -o \
40 -name 'nbsd.mt' -o \
41 -name 'tests*' \
42 \) -prune \)
45 .if (${USETOOLS} == "yes") && empty(.MAKEFLAGS:M-V*) && \
50 -type f \( -name 'config*' -o -name '*.in' \) -print
63 INSTALL=${HOST_INSTALL_FILE:Q} \
75 CONFIGURE_ARGS+=--prefix=${TOOLDIR}
77 CONFIGURE_ARGS+=--disable-shared
81 CONFIGURE_ARGS+=--silent
91 __noenvexport= -X
93 MAKE_ARGS:= ${__noenvexport} -f ${.PARSEDIR}/Makefile.gnuwrap ${MAKE_ARGS}
101 # sub-gmake's get them, otherwise tools/gcc tries to build libgcc and
102 # fails. it also uses "env -i" to entirely clear out MAKEFLAGS.
103 GMAKE_J_ARGS?= ${MAKEFLAGS:[*]:M*-j*:C/(^|.* )(-j ?[0-9][0-9]*).*/\2/W}
104 BUILD_COMMAND= /usr/bin/env -i ${BUILD_ENV} ${MAKE_ARGS:N-*} ${TOOL_GMAKE} ${GMAKE_J_ARGS} -e ${MAK…
108 MAKE_ARGS+= BISON=true DESTDIR= INSTALL=${HOST_INSTALL_FILE:Q}
111 MAKE_ARGS+= -s V=0
117 INSTALL_TARGET?=install
119 BUILD_PLATFORM!= uname -srm | tr ' ()' '-'
120 CONFIGURE_PLATFORM!= if [ -s .configure_done ]; then cat .configure_done; else echo none; fi
125 @(cd build && find . -name config.cache | xargs rm -f)
136 # a "make install MKUPDATE=yes" will do nothing.
140 @if [ ! -f $@ ] || [ -n "$$(find build -type f -newer .build_done -print)" ]; \
156 -rm -r -f .*_done build