buildsys  Check-in [16cf0533ac]

Overview
Comment:Only generate .deps file if there are files for it.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 16cf0533ac3fcc8e8b3512aa59379cd31a1d2f2a3fcb5cf0a916f3a6d6c6a132
User & Date: js on 2007-09-26 14:20:12
Other Links: manifest | tags
Context
2007-09-27
12:25
Remove implib stuff again. check-in: 936c059a99 user: js tags: trunk
2007-09-26
14:20
Only generate .deps file if there are files for it. check-in: 16cf0533ac user: js tags: trunk
04:41
That rm -f is unnecessary. check-in: 90f748637b user: js tags: trunk
Changes

Modified buildsys.mk.in from [dc3e64c761] to [340383568e].

96
97
98
99
100
101
102

103
104
105
106

107
108
109
110
111
112
113
		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:

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







>
|
|
|
|
>







96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
		for i in ${SRCS}; do \
			case $${i##*.} in \
			c|cc|cxx|m) \
				list="$$list $$i"; \
				;; \
			esac; \
		done; \
		if test x"$$list" != "x"; then \
			if ${CPP} ${CPPFLAGS} -M $$list >.deps; then \
				${DEPEND_OK}; \
			else \
				${DEPEND_FAILED}; \
			fi; \
		fi; \
	fi

pre-depend:

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