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