summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/compile/Makefile.inc
blob: d79a8803ef2748fd9a4e634785883fd2c751ce4b (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
.elif !exists(${OBJDIR}/Makefile)
.PHONY: config clean
config:
	config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}

clean:

.endif

.include <bsd.obj.mk>