buildsys  Check-in [e8a5ad3b7d]

Overview
Comment:Remove .deps on distclean.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e8a5ad3b7dee94da64baaa1368bc08ae3890653e4d8338f15fceac1d6ff12d7d
User & Date: js on 2008-11-01 20:22:12
Other Links: manifest | tags
Context
2008-11-01
20:38
Clear .SUFFIXES first to prevent compiling files silently. check-in: 760cfcb16e user: js tags: trunk
20:22
Remove .deps on distclean. check-in: e8a5ad3b7d user: js tags: trunk
20:03
Don't delete .deps files on make clean. check-in: 65c48c4be2 user: js tags: trunk
Changes

Modified buildsys.mk.in from [748010db8f] to [041700e596].

119
120
121
122
123
124
125
126

127
128
129
130
131

132
133
134
135
136
137
138
119
120
121
122
123
124
125

126
127
128
129
130

131
132
133
134
135
136
137
138







-
+




-
+







				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 \
			rm -f .deps; \
			test -f .deps && rm .deps; \
			cat $$deps >.deps; \
			rm -f $$deps; \
			${DEPEND_OK}; \
		else \
			rm -f .deps $$deps; \
			:> $$deps; \
			${DEPEND_FAILED}; \
		fi; \
	fi

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

411
412
413
414
415
416
417
418

419
420
421
422
423
424
425
411
412
413
414
415
416
417

418
419
420
421
422
423
424
425







-
+







distclean: clean
	for i in ${SUBDIRS}; do \
		${DIR_ENTER}; \
		${MAKE} ${MFLAGS} distclean || exit 1; \
		${DIR_LEAVE}; \
	done
	
	for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} *~; do \
	for i in ${PROG} ${PROG_NOINST} ${LIB} ${LIB_NOINST} ${STATIC_LIB} ${STATIC_LIB_NOINST} ${PLUGIN} ${PLUGIN_NOINST} ${DISTCLEAN} .deps *~; do \
		if test -f $$i -o -d $$i; then \
			if rm -fr $$i; then \
				${DELETE_OK}; \
			else \
				${DELETE_FAILED}; \
			fi \
		fi \