xref: /openbsd/sys/dev/microcode/tht/Makefile (revision 43a70795)
1*43a70795Sderaadt# $OpenBSD: Makefile,v 1.5 2021/10/03 00:48:45 deraadt Exp $
25b38ddd2Sdlg
35b38ddd2SdlgNOPROG=
45b38ddd2SdlgNOMAN=
55b38ddd2SdlgCC=${HOSTCC}
65b38ddd2Sdlg
75b38ddd2SdlgFIRM=	tht
85b38ddd2Sdlg
95b38ddd2SdlgPROG=	build
105b38ddd2Sdlg
115b38ddd2SdlgCLEANFILES+= ${FIRM} ${PROG}
125b38ddd2Sdlg
135b38ddd2Sdlgall: ${FIRM}
145b38ddd2Sdlg
155b38ddd2Sdlg${FIRM}: build
165b38ddd2Sdlg	${.OBJDIR}/build
175b38ddd2Sdlg
185b38ddd2Sdlgrealinstall:
195b38ddd2Sdlg
205b38ddd2Sdlgafterinstall:
215b38ddd2Sdlg	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
225b38ddd2Sdlg	    ${FIRM} ${DESTDIR}/etc/firmware
235b38ddd2Sdlg	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
245b38ddd2Sdlg	    ${.CURDIR}/tht-license ${DESTDIR}/etc/firmware
255b38ddd2Sdlg
265b38ddd2Sdlg.include <bsd.prog.mk>
27