Add patch infrastructure for contrib/ and similiar directories.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 5 Mar 2004 01:06:50 +0000 (01:06 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 5 Mar 2004 01:06:50 +0000 (01:06 +0000)
commitacbbf55b4cc3105d332a0ba609ba77d78ce7328a
tree5c9103c71460e21cb726905a5cfea1bd4d9b5047
parent04652ffcb4f74d4731b73b9bd30978f189344540
Add patch infrastructure for contrib/ and similiar directories.

This allows the inclusion of patches in SRCS in the following form:
this,is,the,source.c.patch
This will create ${.OBJDIR}/this/is/the/source.c by applying above patch
to ${CONTRIBDIR}/this/is/the/source.c. The patched files are deleted on
"make clean" and created by "make depend".
share/mk/bsd.dep.mk
share/mk/bsd.lib.mk
share/mk/bsd.prog.mk