mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
29 lines
436 B
Makefile
29 lines
436 B
Makefile
.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}
|