1.PATH: ${.CURDIR}/${MACHINE_ARCH}/mach/servers ${.CURDIR}/mach/servers 2 3SRVMIGDEFS += netname.defs 4 5SRVMIGHDRS = ${SRVMIGDEFS:S/.defs$/.h/} 6#SRVMIGHDRS = ${SRVMIGDEFS:S/.defs$/.h/:S/^/${.CURDIR}\/mach\/servers\//} 7SRVMIGSRCS = ${SRVMIGDEFS:S/.defs$/User.c/} 8 9SRVHDRS = netname_defs.h key_defs.h nm_defs.h ls_defs.h 10SRVHDRS := ${SRVHDRS:S/^/${.CURDIR}\/mach\/servers\//} 11SRVHDRS += ${SRVMIGHDRS} 12 13MISRCS+= ${SRVMIGDEFS:S/.defs$/User.defs/} 14 15CLEANFILES += ${SRVMIGHDRS} ${SRVMIGHDRS:S/.h$/User.c/} \ 16 ${SRVMIGHDRS:S/.h$/Server.c/} 17