Overview
Comment: | Only generate depends if the compiler supports it.
For assembly files, AS_DEPENDS needs to be set. As usually AS is set to |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
775d4eae01be7cde207efc1c7befaa72 |
User & Date: | js on 2012-04-25 09:51:03 |
Other Links: | manifest | tags |
Context
2012-11-26
| ||
23:13 | Add missing AS_DEPENDS. check-in: d4793bdb89 user: js tags: trunk | |
2012-04-25
| ||
09:51 | Only generate depends if the compiler supports it. check-in: 775d4eae01 user: js tags: trunk | |
2012-04-19
| ||
15:41 | Allow building directories in parallel. check-in: b7a12103d6 user: js tags: trunk | |
Changes
Modified buildsys.mk.in from [eb2bd4ea40] to [b65e728a78].
︙ | ︙ | |||
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | LIB_SUFFIX = @LIB_SUFFIX@ PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@ PLUGIN_SUFFIX = @PLUGIN_SUFFIX@ INSTALL_LIB = @INSTALL_LIB@ UNINSTALL_LIB = @UNINSTALL_LIB@ CLEAN_LIB = @CLEAN_LIB@ LN_S = @LN_S@ MKDIR_P = mkdir -p INSTALL = @INSTALL@ SHELL = @SHELL@ MSGFMT = @MSGFMT@ JAVAC = @JAVAC@ JAVACFLAGS = @JAVACFLAGS@ | > > > > | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | LIB_SUFFIX = @LIB_SUFFIX@ PLUGIN_CFLAGS = @PLUGIN_CFLAGS@ PLUGIN_LDFLAGS = @PLUGIN_LDFLAGS@ PLUGIN_SUFFIX = @PLUGIN_SUFFIX@ INSTALL_LIB = @INSTALL_LIB@ UNINSTALL_LIB = @UNINSTALL_LIB@ CLEAN_LIB = @CLEAN_LIB@ CC_DEPENDS = @CC_DEPENDS@ CXX_DEPENDS = @CXX_DEPENDS@ OBJC_DEPENDS = @OBJC_DEPENDS@ OBJCXX_DEPENDS = @OBJCXX_DEPENDS@ LN_S = @LN_S@ MKDIR_P = mkdir -p INSTALL = @INSTALL@ SHELL = @SHELL@ MSGFMT = @MSGFMT@ JAVAC = @JAVAC@ JAVACFLAGS = @JAVACFLAGS@ |
︙ | ︙ | |||
122 123 124 125 126 127 128 | depend: pre-depend ${SRCS} regen=0; \ deps=""; \ test -f .deps || regen=1; \ for i in ${SRCS}; do \ case $$i in \ | > > > > > > | > | | > > > > > > > > > > > > > > > > > > > | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | depend: pre-depend ${SRCS} regen=0; \ deps=""; \ test -f .deps || regen=1; \ for i in ${SRCS}; do \ case $$i in \ *.c) \ if test x"${CC_DEPENDS}" = x"yes"; then \ test $$i -nt .deps && regen=1; \ deps="$$deps $$i.dep"; \ fi; \ ;; \ *.cc | *.cxx) \ if test x"${CXX_DEPENDS}" = x"yes"; then \ test $$i -nt .deps && regen=1; \ deps="$$deps $$i.dep"; \ fi; \ ;; \ *.m) \ if test x"${OBJC_DEPENDS}" = x"yes"; then \ test $$i -nt .deps && regen=1; \ deps="$$deps $$i.dep"; \ fi; \ ;; \ *.mm) \ if test x"${OBJCXX_DEPENDS}" = x"yes"; then \ test $$i -nt .deps && regen=1; \ deps="$$deps $$i.dep"; \ fi; \ ;; \ *.S) \ if test x"${AS_DEPENDS}" = x"yes"; then \ test $$i -nt .deps && regen=1; \ deps="$$deps $$i.dep"; \ fi; \ ;; \ esac; \ done; \ if test x"$$regen" = x"1" -a x"$$deps" != x""; then \ ${DEPEND_STATUS}; \ if ${MAKE} ${MFLAGS} $$deps && cat $$deps >.deps; then \ rm -f $$deps; \ |
︙ | ︙ |
Modified m4/buildsys.m4 from [7661b473e8] to [80a1df42db].
︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE dnl POSSIBILITY OF SUCH DAMAGE. dnl AC_DEFUN([BUILDSYS_INIT], [ AC_PATH_PROG(TPUT, tput) AS_IF([test x"$TPUT" != x""], [ if x=$($TPUT el 2>/dev/null); then AC_SUBST(TERM_EL, "$x") else AC_SUBST(TERM_EL, "$($TPUT ce 2>/dev/null)") | > > > > > | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE dnl POSSIBILITY OF SUCH DAMAGE. dnl AC_DEFUN([BUILDSYS_INIT], [ AC_SUBST(CC_DEPENDS, $GCC) AC_SUBST(CXX_DEPENDS, $GXX) AC_SUBST(OBJC_DEPENDS, $GOBJC) AC_SUBST(OBJCXX_DEPENDS, $GOBJCXX) AC_PATH_PROG(TPUT, tput) AS_IF([test x"$TPUT" != x""], [ if x=$($TPUT el 2>/dev/null); then AC_SUBST(TERM_EL, "$x") else AC_SUBST(TERM_EL, "$($TPUT ce 2>/dev/null)") |
︙ | ︙ |