buildsys  Check-in [3008f6d7d1]

Overview
Comment:Optimize dependency generation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3008f6d7d1bbf37d69034ba6df3fba376006394958509d76515b678241697b32
User & Date: js on 2007-09-26 04:38:12
Other Links: manifest | tags
Context
2007-09-26
04:41
That rm -f is unnecessary. check-in: 90f748637b user: js tags: trunk
04:38
Optimize dependency generation. check-in: 3008f6d7d1 user: js tags: trunk
01:08
Typo. check-in: 91d2e5bc8c user: js tags: trunk
Changes

Modified buildsys.mk.in from [2b3cd1c85e] to [1665f2017f].

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \
	if test x"$$regen" = x"1"; then \
		error=0; \
		${DEPEND_STATUS}; \
		rm -f .deps; \
		for i in ${SRCS}; do \
			case $${i##*.} in \
			c|cc|cxx|m) \
				${CPP} ${CPPFLAGS} -M $$i >>.deps || error=1; \
				;; \
			esac; \
		done; \
		if test x"$$error" = x"0"; then \
			${DEPEND_OK}; \
		else \
			${DEPEND_FAILED}; \
		fi; \
	fi

pre-depend:







|





|



|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \
	if test x"$$regen" = x"1"; then \
		list=""; \
		${DEPEND_STATUS}; \
		rm -f .deps; \
		for i in ${SRCS}; do \
			case $${i##*.} in \
			c|cc|cxx|m) \
				list="$$list $$i"; \
				;; \
			esac; \
		done; \
		if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
			${DEPEND_OK}; \
		else \
			${DEPEND_FAILED}; \
		fi; \
	fi

pre-depend: