--- embedtools/src/Makefile.in 2014/01/30 01:06:12 1.4.2.14 +++ embedtools/src/Makefile.in 2014/02/08 20:57:16 1.6 @@ -3,7 +3,7 @@ # by Michael Pounov # # $Author: misho $ -# $Id: Makefile.in,v 1.4.2.14 2014/01/30 01:06:12 misho Exp $ +# $Id: Makefile.in,v 1.6 2014/02/08 20:57:16 misho Exp $ # prefix = @prefix@ @@ -33,31 +33,35 @@ DWDS_LDADD = ${LDADD} -laitcfg CFI_LDADD = PCENG_LDADD = ${LDADD} -laitcfg VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg +IMGUPD_LDADD = ${LDADD} +BUTZ_LDADD = ${LDADD} -laitcfg -laitsched -#CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl @CFLAGS@ CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@ LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@ -SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ +SRCS = ${CFEXEC_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ ${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \ - ${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} -PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ + ${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} \ + ${IMGUPD_SRCS} +PROG = ${CFEXEC_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ ${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \ - ${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} + ${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} \ + ${IMGUPD_PROG} .if ${MACHINE} == "i386" && ${OS} == "FreeBSD" SRCS += ${PCENG_SRCS} PROG += ${PCENG_PROG} .endif +.if ${OS} == "FreeBSD" +SRCS += ${BUTZ_SRCS} +PROG += ${BUTZ_PROG} +.endif + CFEXEC_SRCS = cfexec.c CFEXEC_OBJS = cfexec.o compile.o CFEXEC_PROG = cfexec -UPDIMG_SRCS = updimg.c upd.c -UPDIMG_OBJS = updimg.o compile.o upd.o -UPDIMG_PROG = updimg - GET1STETH_SRCS = get1steth.c GET1STETH_OBJS = get1steth.o compile.o GET1STETH_PROG = get1steth @@ -106,7 +110,15 @@ VOUCHER_SRCS = voucher.c VOUCHER_OBJS = voucher.o compile.o VOUCHER_PROG = voucher +IMGUPD_SRCS = imgupd.c +IMGUPD_OBJS = imgupd.o compile.o +IMGUPD_PROG = imgupd +BUTZ_SRCS = butz.c +BUTZ_OBJS = butz.o compile.o +BUTZ_PROG = butz + + all: depend \ ${PROG} \ ${OS} @@ -132,9 +144,6 @@ install: ${CFEXEC_PROG}: ${CFEXEC_OBJS} ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD} -${UPDIMG_PROG}: ${UPDIMG_OBJS} - ${CC} ${LDFLAGS} -o${BIN}/$@ ${UPDIMG_OBJS} - ${GET1STETH_PROG}: ${GET1STETH_OBJS} ${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS} @@ -170,3 +179,9 @@ ${PCENG_PROG}: ${PCENG_OBJS} ${VOUCHER_PROG}: ${VOUCHER_OBJS} ${CC} ${LDFLAGS} -o${BIN}/$@ ${VOUCHER_OBJS} ${VOUCHER_LDADD} + +${IMGUPD_PROG}: ${IMGUPD_OBJS} + ${CC} ${LDFLAGS} -o${BIN}/$@ ${IMGUPD_OBJS} ${IMGUPD_LDADD} + +${BUTZ_PROG}: ${BUTZ_OBJS} + ${CC} ${LDFLAGS} -o${BIN}/$@ ${BUTZ_OBJS} ${BUTZ_LDADD}