list.
Thu Oct 1 00:51:51 1998 Tom Tromey <tromey@cygnus.com>
+ * depend2.am: Don't bother trying to delete source file from
+ list.
+
* depend2.am (%.o): Handle deleted header file problem.
(%.lo): Likewise.
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
@-tr '\\ ' '\n\n' < .deps/$(*F).p \
-## The very first nondeleted line is always the primary source file.
-## No need for that, so we remove it too via `1d'.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 1d -e 's/$$/:/' > .deps/$(*F).P; \
+ | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/:/' \
+ > .deps/$(*F).P; \
rm .deps/$(*F).p
%.lo: %@EXT@
< .deps/$(*F).p > .deps/$(*F).P; \
## See above to understand deleted header file trick.
tr '\\ ' '\n\n' < .deps/$(*F).p \
-## The very first nondeleted line is always the primary source file.
-## No need for that, so we remove it too via `1d'.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 1d -e 's/$$/:/' \
+ | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/:/' \
## Note subtle difference: here we append to the .P file.
>> .deps/$(*F).P; \
rm -f .deps/$(*F).p
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
@-tr '\\ ' '\n\n' < .deps/$(*F).p \
-## The very first nondeleted line is always the primary source file.
-## No need for that, so we remove it too via `1d'.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 1d -e 's/$$/:/' > .deps/$(*F).P; \
+ | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/:/' \
+ > .deps/$(*F).P; \
rm .deps/$(*F).p
%.lo: %@EXT@
< .deps/$(*F).p > .deps/$(*F).P; \
## See above to understand deleted header file trick.
tr '\\ ' '\n\n' < .deps/$(*F).p \
-## The very first nondeleted line is always the primary source file.
-## No need for that, so we remove it too via `1d'.
- | sed -e '/^$$/ d' -e '/:$$/ d' -e 1d -e 's/$$/:/' \
+ | sed -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/:/' \
## Note subtle difference: here we append to the .P file.
>> .deps/$(*F).P; \
rm -f .deps/$(*F).p