blob: 9e9e38f1ed18fb880967de56511c6bcb3ef5a163 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
SYSDIR != cd ${.CURDIR}/../../../..; pwd
CONFDIR != cd ${.CURDIR}/../../conf; pwd
.if ${.CURDIR} == ${.OBJDIR}
.PHONY: config
config:
@echo make obj required first >&2
@false
.else
.PHONY: config clean
config:
config ${.CURDIR:M*.PROF:C/.*/-p/} -b ${.OBJDIR} \
-s ${SYSDIR} ${CONFDIR}/${.CURDIR:T:S/.PROF$//}
.endif
cleandir clean:
.include <bsd.obj.mk>
|