buildsys  Check-in [c46e3c0160]

Overview
Comment:Better error handing in dependency generation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c46e3c016034dfbf10d5618cd273e61eaa1bbb613751c879cd5c3f2465bd7c70
User & Date: js on 2008-12-13 16:54:39
Other Links: manifest | tags
Context
2008-12-13
19:54
Fix creation of dirs on win32. check-in: 6294fc87a8 user: js tags: trunk
16:54
Better error handing in dependency generation. check-in: c46e3c0160 user: js tags: trunk
2008-11-30
13:31
Fix a bug in dependency generation. check-in: 9a87faddb3 user: js tags: trunk
Changes

Modified buildsys.mk.in from [13f43b9bd7] to [f318b59109].

119
120
121
122
123
124
125
126

127
128
129
130
131
132

133
134
135
136
137
138

139
140
141
142
143
144
145
119
120
121
122
123
124
125

126


127
128
129
130
131
132
133
134
135
136

137
138
139
140
141
142
143
144







-
+
-
-




+





-
+







				test $$i -nt .deps && regen=1; \
				deps="$$deps $${i%.m}.dep"; \
				;; \
		esac; \
	done; \
	if test x"$$regen" = x"1" -a x"$$deps" != "x"; then \
		${DEPEND_STATUS}; \
		if ${MAKE} ${MFLAGS} $$deps; then \
		if ${MAKE} ${MFLAGS} $$deps && cat $$deps >.deps; then \
			test -f .deps && rm .deps; \
			cat $$deps >.deps; \
			rm -f $$deps; \
			${DEPEND_OK}; \
		else \
			:> .deps; \
			touch -t 0001010000 .deps; \
			${DEPEND_FAILED}; \
		fi; \
	fi

.c.dep .cc.dep .cxx.dep .m.dep:
	${CPP} ${CPPFLAGS} -M $< >$@ || rm -f $@
	${CPP} ${CPPFLAGS} -M $< >$@ || (rm -f $@; exit 1)

.d.dep:
.xpm.dep:

pre-depend:

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