xref: /openbsd/sys/dev/microcode/kue/Makefile (revision ea0aef4d)
1# $OpenBSD: Makefile,v 1.6 2006/11/07 23:52:45 deraadt Exp $
2
3NOPROG=
4NOMAN=
5
6# USB capable systems only
7.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \
8    (${MACHINE} == "amd64") || (${MACHINE} == "armish") || \
9    (${MACHINE} == "cats") || (${MACHINE} == "hppa") || \
10    (${MACHINE} == "hppa64") || (${MACHINE} == "i386") || \
11    (${MACHINE} == "sgi") || (${MACHINE} == "sparc64") || \
12    (${MACHINE} == "zaurus") || (${MACHINE} == "landisk")
13
14FIRM= 	kue
15
16PROG=	build
17
18CLEANFILES+= ${FIRM} ${PROG}
19
20all: ${FIRM}
21
22${FIRM}: build
23	${.OBJDIR}/build
24
25realinstall:
26
27afterinstall:
28	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
29	    ${FIRM} ${DESTDIR}/etc/firmware
30	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
31	    ${.CURDIR}/kue-license ${DESTDIR}/etc/firmware
32.endif
33
34.include <bsd.prog.mk>
35