1*5b38ddd2Sdlg# $OpenBSD: Makefile,v 1.1 2007/04/19 04:04:58 dlg Exp $ 2*5b38ddd2Sdlg 3*5b38ddd2SdlgNOPROG= 4*5b38ddd2SdlgNOMAN= 5*5b38ddd2SdlgCC=${HOSTCC} 6*5b38ddd2Sdlg 7*5b38ddd2Sdlg# PCI capable systems only 8*5b38ddd2Sdlg.if (${MACHINE_ARCH} == "powerpc") || (${MACHINE} == "alpha") || \ 9*5b38ddd2Sdlg (${MACHINE} == "amd64") || (${MACHINE} == "armish") || \ 10*5b38ddd2Sdlg (${MACHINE} == "cats") || (${MACHINE} == "hppa") || \ 11*5b38ddd2Sdlg (${MACHINE} == "hppa64") || (${MACHINE} == "i386") || \ 12*5b38ddd2Sdlg (${MACHINE} == "sgi") || (${MACHINE} == "sparc64") 13*5b38ddd2Sdlg 14*5b38ddd2SdlgFIRM= tht 15*5b38ddd2Sdlg 16*5b38ddd2SdlgPROG= build 17*5b38ddd2Sdlg 18*5b38ddd2SdlgCLEANFILES+= ${FIRM} ${PROG} 19*5b38ddd2Sdlg 20*5b38ddd2Sdlgall: ${FIRM} 21*5b38ddd2Sdlg 22*5b38ddd2Sdlg${FIRM}: build 23*5b38ddd2Sdlg ${.OBJDIR}/build 24*5b38ddd2Sdlg 25*5b38ddd2Sdlgrealinstall: 26*5b38ddd2Sdlg 27*5b38ddd2Sdlgafterinstall: 28*5b38ddd2Sdlg ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 29*5b38ddd2Sdlg ${FIRM} ${DESTDIR}/etc/firmware 30*5b38ddd2Sdlg ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ 31*5b38ddd2Sdlg ${.CURDIR}/tht-license ${DESTDIR}/etc/firmware 32*5b38ddd2Sdlg 33*5b38ddd2Sdlg.endif 34*5b38ddd2Sdlg 35*5b38ddd2Sdlg.include <bsd.prog.mk> 36