diff options
author | Roy Marples <roy@marples.name> | 2008-10-20 12:09:14 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-10-20 12:09:14 +0000 |
commit | 9c76b077d681914d462c1fe1fb53ef23eb4eb449 (patch) | |
tree | c85b11d3b91c85c80004dfb63b30ef587b7e268f /mk/lib.mk | |
parent | 0a39145a5e80274599c4d42ab2901c3b6ec0c979 (diff) |
Enable use of .depend on gmake. Also, generate extra dependencies for our shared libraries.
Diffstat (limited to 'mk/lib.mk')
-rw-r--r-- | mk/lib.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -56,6 +56,11 @@ check test:: clean: rm -f ${OBJS} ${SOBJS} ${_LIBS} ${SHLIB_LINK} ${CLEANFILES} +extra_depend: + @TMP=depend.$$$$; \ + ${SED} -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.So:/' .depend > $${TMP}; \ + mv $${TMP} .depend + include ${MK}/sys.mk include ${MK}/os.mk include ${MK}/depend.mk |