buildsys  Check-in [1e6ad9ea9d]

Overview
Comment:Fix a few bugs in threaded dependency generation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1e6ad9ea9d6df9528fd9f6355e14e5011da5bc261dc6c2d0e2ef266a17fc7664
User & Date: js on 2008-02-10 09:40:26
Other Links: manifest | tags
Context
2008-02-10
20:20
Add URL to comments. check-in: 42fce8e1b8 user: js tags: trunk
09:40
Fix a few bugs in threaded dependency generation. check-in: 1e6ad9ea9d user: js tags: trunk
09:20
Make dependency generation threaded. check-in: 5b7cb4481a user: js tags: trunk
Changes

Modified buildsys.mk.in from [6a2bdce5a4] to [e09ca97a4b].

90
91
92
93
94
95
96
97
98
99
100


101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	test -f .deps || regen=1; \
	for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \
	if test x"$$regen" = x"1"; then \
		${DEPEND_STATUS}; \
		rm -f .deps; \
		if ${MAKE} ${MFLAGS} ${DEPS}; then \


			${DEPEND_OK}; \
		else \
			rm -f .deps; \
			${DEPEND_FAILED}; \
		fi; \
	fi

.c.dep .cc.dep .cxx.dep .m.dep:
	${CPP} ${CPPFLAGS} -M $< >>.deps

.d.dep:

pre-depend:

${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
	${LINK_STATUS}







|



>
>


|





|







90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	test -f .deps || regen=1; \
	for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \
	if test x"$$regen" = x"1" -a x"${DEPS}" != "x"; then \
		${DEPEND_STATUS}; \
		rm -f .deps; \
		if ${MAKE} ${MFLAGS} ${DEPS}; then \
			cat ${DEPS} >.deps; \
			rm -f ${DEPS}; \
			${DEPEND_OK}; \
		else \
			rm -f .deps ${DEPS}; \
			${DEPEND_FAILED}; \
		fi; \
	fi

.c.dep .cc.dep .cxx.dep .m.dep:
	${CPP} ${CPPFLAGS} -M $< >$@

.d.dep:

pre-depend:

${PROG} ${PROG_NOINST}: ${EXT_DEPS} ${OBJS}
	${LINK_STATUS}
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
clean:
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} clean || exit 1; \
		${DIR_LEAVE}; \
	done
	
	for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} .deps; do \
		if test -f $$i -o -d $$i; then \
			if rm -fr $$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \







|







350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
clean:
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} clean || exit 1; \
		${DIR_LEAVE}; \
	done
	
	for i in ${OBJS} ${CLEAN} ${CLEAN_LIB} .deps ${DEPS}; do \
		if test -f $$i -o -d $$i; then \
			if rm -fr $$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \