# $OpenBSD: Makefile,v 1.7 2004/12/19 16:19:42 deraadt Exp $ NOPROG= NOMAN= # USB capable systems only .if (${MACHINE} == "i386") || (${MACHINE} == "amd64") || \ (${MACHINE} == "alpha") || (${MACHINE} == "sparc64") || \ (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "cats") || \ (${MACHINE} == "hppa") || (${MACHINE} == "hppa64") || \ (${MACHINE} == "sgi") FIRM= atu-intersil-int atu-intersil-ext \ atu-rfmd-int atu-rfmd-ext \ atu-rfmd2958-int atu-rfmd2958-ext \ atu-rfmd2958smc-int atu-rfmd2958smc-ext CLEANFILES+= ${FIRM} build all: build ${.OBJDIR}/build afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ ${FIRM} ${DESTDIR}/etc/firmware ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/atu-license ${DESTDIR}/etc/firmware .endif .include