--- embedtools/src/Makefile.in 2012/07/22 22:46:47 1.3 +++ embedtools/src/Makefile.in 2013/05/22 11:57:33 1.4.2.2 @@ -3,7 +3,7 @@ # by Michael Pounov # # $Author: misho $ -# $Id: Makefile.in,v 1.3 2012/07/22 22:46:47 misho Exp $ +# $Id: Makefile.in,v 1.4.2.2 2013/05/22 11:57:33 misho Exp $ # prefix = @prefix@ @@ -12,6 +12,7 @@ includedir = @includedir@ libdir = @libdir@ OS = @OS@ +MACHINE = @MACHINE@ CC = @CC@ MKDEP = @MKDEP@ @@ -19,29 +20,34 @@ MKDEP = @MKDEP@ BIN = ../bin INC = ../inc -LDADD = -laitcrc +LDADD = -lelwix CFEXEC_LDADD = ${LDADD} -laitcfg DPATCH_LDADD = ${LDADD} -laitsync -lcrypto -DIRER_LDADD = ${LDADD} -lcrypto -laitio -laitsync +DIRER_LDADD = ${LDADD} -lcrypto -laitsync DIRCMP_LDADD = ${LDADD} -lcrypto -laitsync #XMLER_LDADD = ${LDADD} -laitio ${libdir}/libaxl.a ${libdir}/libaxl-ns.a -XMLER_LDADD = ${LDADD} -laitio -laitwww -laxl -laxl-ns +XMLER_LDADD = ${LDADD} -laitwww -laxl -laxl-ns WDOG_LDADD = ATHCTL_LDADD = -DWDS_LDADD = ${LDADD} -laitio -laitcfg +DWDS_LDADD = ${LDADD} -laitcfg CFI_LDADD = -PCENG_LDADD = -laitcfg -VOUCHER_LDADD = ${LDADD} -lcrypto -laitio -laitcfg +PCENG_LDADD = ${LDADD} -laitcfg +VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl @CFLAGS@ LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@ SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ ${DIRER_SRCS} ${DIRCMP_SRCS} ${XMLER_SRCS} ${WDOG_SRCS} \ - ${PCENG_SRCS} ${VOUCHER_SRCS} + ${VOUCHER_SRCS} PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ ${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${WDOG_PROG} \ - ${PCENG_PROG} ${VOUCHER_PROG} + ${VOUCHER_PROG} + +.if ${MACHINE} == "i386" +SRCS += ${PCENG_SRCS} +PROG += ${PCENG_PROG} +.endif CFEXEC_SRCS = cfexec.c CFEXEC_OBJS = cfexec.o compile.o