buildsys  Check-in [1d055c3b0b]

Overview
Comment:Always prefix comparisons with x.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 1d055c3b0b8a78c408f889d5900641c2ccf0d2d18a55a2e7948c2949245f7ee7
User & Date: js on 2007-09-24 18:45:30
Other Links: manifest | tags
Context
2007-09-24
18:58
Don't depend on subdirs, it's done anyway. check-in: 7edbf0b1f9 user: js tags: trunk
18:45
Always prefix comparisons with x. check-in: 1d055c3b0b user: js tags: trunk
18:20
Fix dependencies and other parallel stuff. check-in: 4780df5f05 user: js tags: trunk
Changes

Modified buildsys.mk.in from [234e02d916] to [a2b24a5da0].

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
		${MAKE} ${MFLAGS} || exit 1; \
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
	if [ $$regen = 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 [ $$error = 0 ]; then \
			${DEPEND_OK}; \
		else \
			${DEPEND_FAILED}; \
		fi; \
	fi

pre-depend:







|










|







85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
		${MAKE} ${MFLAGS} || exit 1; \
		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
	if [ 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 [ x"$$error" = x"0" ]; then \
			${DEPEND_OK}; \
		else \
			${DEPEND_FAILED}; \
		fi; \
	fi

pre-depend:
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
		${COMPILE_OK}; \
	else \
		${COMPILE_FAILED}; \
	fi

.d.o:
	${COMPILE_STATUS}
	if test x"$(basename ${DC})" = x"dmd"; then \
		if ${DC} ${DFLAGS} -c -of$@ $<; then \
			${COMPILE_OK}; \
		else \
			${COMPILE_FAILED}; \
		fi \
	else \
		if ${DC} ${DFLAGS} -c -o $@ $<; then \







|







157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
		${COMPILE_OK}; \
	else \
		${COMPILE_FAILED}; \
	fi

.d.o:
	${COMPILE_STATUS}
	if [ x"$(basename ${DC})" = x"dmd" ]; then \
		if ${DC} ${DFLAGS} -c -of$@ $<; then \
			${COMPILE_OK}; \
		else \
			${COMPILE_FAILED}; \
		fi \
	else \
		if ${DC} ${DFLAGS} -c -o $@ $<; then \