--- embedtools/bin/Makefile.in 2011/06/08 12:45:40 1.2 +++ embedtools/bin/Makefile.in 2014/02/05 15:44:05 1.4 @@ -3,7 +3,7 @@ # by Michael Pounov # # $Author: misho $ -# $Id: Makefile.in,v 1.2 2011/06/08 12:45:40 misho Exp $ +# $Id: Makefile.in,v 1.4 2014/02/05 15:44:05 misho Exp $ # prefix = @prefix@ @@ -11,19 +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 clog wdog athctl \ - dwds -SERVS = syslogd +PROGS = cfexec get1steth dpatch direr dircmp wdog voucher cfger ube imgupd +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} - ${INSTALL} -o root -g wheel ${SERVS} ${sbindir}