buildsys  Check-in [c246b6488a]

Overview
Comment:Fix dependency generation for real.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c246b6488afb6cc42d09ec13a78e1511f9453dd11d624fe58f647da18f63d715
User & Date: js on 2008-09-14 16:15:30
Other Links: manifest | tags
Context
2008-10-02
21:34
Use ranlib. check-in: bceeee6eed user: js tags: trunk
2008-09-14
16:15
Fix dependency generation for real. check-in: c246b6488a user: js tags: trunk
16:09
Dependency generation was broken. Fixed. check-in: 6920533466 user: js tags: trunk
Changes

Modified buildsys.mk.in from [e261d6f5de] to [be3d55644e].

95
96
97
98
99
100
101
102

103



104


105
106









107
108
109
110
111
112
113
95
96
97
98
99
100
101

102
103
104
105
106

107
108
109

110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125







-
+

+
+
+
-
+
+

-
+
+
+
+
+
+
+
+
+







		${DIR_LEAVE}; \
	done

depend: pre-depend ${SRCS}
	regen=0; \
	deps=""; \
	test -f .deps || regen=1; \
	for i in ${OBJS}; do \
	for i in ${SRCS}; do \
		case $$i in \
			*.c) \
				test $$i -nt .deps && regen=1; \
				deps="$$deps $${i%.c}.dep"; \
			*.o) \
				;; \
			*.cc) \
				test $$i -nt .deps && regen=1; \
				deps="$$deps $${i%.o}.dep"; \
				deps="$$deps $${i%.cc}.dep"; \
				;; \
			*.cxx) \
				test $$i -nt .deps && regen=1; \
				deps="$$deps $${i%.cxx}.dep"; \
				;; \
			*.m) \
				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}; \
		rm -f .deps; \
		if ${MAKE} ${MFLAGS} $$deps; then \