diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2004-07-11 16:13:57 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2004-07-11 16:13:57 +0000 |
| commit | a52b6f787cd8037036b43509ed21478f92269fb3 (patch) | |
| tree | 8c3cf39ee00082a580a54f4ee457cfdb4e2ea0bb /sys/doc/Makefile | |
| parent | 52865ee591327ffafb2e08d3899ccaf651ecc82d (diff) | |
Notes
Diffstat (limited to 'sys/doc/Makefile')
| -rw-r--r-- | sys/doc/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/doc/Makefile b/sys/doc/Makefile new file mode 100644 index 0000000000000..ec665a7b02569 --- /dev/null +++ b/sys/doc/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../kern + +SRCS+= kern +SRCS+= sys +MFILES+= device_if.m +MFILES+= bus_if.m + +all: ${MFILES:T:S/.m/.h/} ${SRCS} + doxygen + +LN?= ln +AWK?= awk +S?= ${.CURDIR}/.. + +CLEANFILES+= ${SRCS} +.for dir in ${SRCS} +${dir}: + ${LN} -sf ${.CURDIR}/../${dir} . +.endfor + +.for mfile in ${MFILES} +CLEANFILES+= ${mfile:T:S/.m$/.h/} +${mfile:T:S/.m$/.h/}: ${mfile} + ${AWK} -f $S/tools/makeobjops.awk $> -h +.endfor + +clean:: + rm -f ${CLEANFILES} |
