--- embedtools/bin/Makefile.in 2011/06/08 12:55:29 1.2.2.1 +++ embedtools/bin/Makefile.in 2018/01/02 02:07:13 1.5.8.2 @@ -3,7 +3,7 @@ # by Michael Pounov # # $Author: misho $ -# $Id: Makefile.in,v 1.2.2.1 2011/06/08 12:55:29 misho Exp $ +# $Id: Makefile.in,v 1.5.8.2 2018/01/02 02:07:13 misho Exp $ # prefix = @prefix@ @@ -11,17 +11,39 @@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ +OS = @OS@ +MACHINE = @host_cpu@ + INSTALL = @INSTALL@ -PROGS = cfexec updimg get1steth dpatch rcd direr dircmp xmler wdog athctl \ - dwds +PROGS = cfexec get1steth dpatch direr dircmp wdog voucher cfger ube imgupd +FreeBSD_PROGS = athctl dwds cfi +FreeBSD_SCRS = epkg +.if ${MACHINE} == "i386" && ${OS} == "FreeBSD" +FreeBSD_PROGS += pceng +.endif + +.if ${OS} == "FreeBSD" +FreeBSD_PROGS += butz +.endif + + all: +FreeBSD: + ${INSTALL} -o root -g wheel ${FreeBSD_PROGS} ${bindir} + @chmod +x ${FreeBSD_SCRS} + ${INSTALL} -o root -g wheel ${FreeBSD_SCRS} ${bindir} + +OpenBSD: + +NetBSD: + depend: clean: - rm -f ${PROGS} ${SERVS} + rm -f ${PROGS} ${SERVS} ${FreeBSD_PROGS} *~ -install: +install: ${OS} ${INSTALL} -o root -g wheel ${PROGS} ${bindir}