--- embedtools/bin/Makefile.in 2011/06/08 12:55:29 1.2.2.1 +++ embedtools/bin/Makefile.in 2014/01/24 15:26:39 1.3.4.5 @@ -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.3.4.5 2014/01/24 15:26:39 misho Exp $ # prefix = @prefix@ @@ -11,17 +11,31 @@ 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 updimg get1steth dpatch direr dircmp wdog voucher cfger +FreeBSD_PROGS = athctl dwds cfi +.if ${MACHINE} == "i386" && ${OS} == "FreeBSD" +FreeBSD_PROGS += pceng +.endif + all: +FreeBSD: + ${INSTALL} -o root -g wheel ${FreeBSD_PROGS} ${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}