version 1.5, 2014/02/05 15:44:05
|
version 1.6, 2014/02/08 20:57:16
|
Line 34 CFI_LDADD =
|
Line 34 CFI_LDADD =
|
PCENG_LDADD = ${LDADD} -laitcfg |
PCENG_LDADD = ${LDADD} -laitcfg |
VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg |
VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg |
IMGUPD_LDADD = ${LDADD} |
IMGUPD_LDADD = ${LDADD} |
|
BUTZ_LDADD = ${LDADD} -laitcfg -laitsched |
|
|
CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@ |
CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@ |
LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@ |
LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@ |
|
|
SRCS = ${CFEXEC_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ |
SRCS = ${CFEXEC_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ |
${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \ |
${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \ |
${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} ${IMGUPD_SRCS} | ${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} \ |
| ${IMGUPD_SRCS} |
PROG = ${CFEXEC_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ |
PROG = ${CFEXEC_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ |
${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \ |
${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \ |
${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} ${IMGUPD_PROG} | ${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} \ |
| ${IMGUPD_PROG} |
|
|
.if ${MACHINE} == "i386" && ${OS} == "FreeBSD" |
.if ${MACHINE} == "i386" && ${OS} == "FreeBSD" |
SRCS += ${PCENG_SRCS} |
SRCS += ${PCENG_SRCS} |
PROG += ${PCENG_PROG} |
PROG += ${PCENG_PROG} |
.endif |
.endif |
|
|
|
.if ${OS} == "FreeBSD" |
|
SRCS += ${BUTZ_SRCS} |
|
PROG += ${BUTZ_PROG} |
|
.endif |
|
|
CFEXEC_SRCS = cfexec.c |
CFEXEC_SRCS = cfexec.c |
CFEXEC_OBJS = cfexec.o compile.o |
CFEXEC_OBJS = cfexec.o compile.o |
CFEXEC_PROG = cfexec |
CFEXEC_PROG = cfexec |
Line 106 IMGUPD_SRCS = imgupd.c
|
Line 114 IMGUPD_SRCS = imgupd.c
|
IMGUPD_OBJS = imgupd.o compile.o |
IMGUPD_OBJS = imgupd.o compile.o |
IMGUPD_PROG = imgupd |
IMGUPD_PROG = imgupd |
|
|
|
BUTZ_SRCS = butz.c |
|
BUTZ_OBJS = butz.o compile.o |
|
BUTZ_PROG = butz |
|
|
|
|
all: depend \ |
all: depend \ |
${PROG} \ |
${PROG} \ |
${OS} |
${OS} |
Line 170 ${VOUCHER_PROG}: ${VOUCHER_OBJS}
|
Line 182 ${VOUCHER_PROG}: ${VOUCHER_OBJS}
|
|
|
${IMGUPD_PROG}: ${IMGUPD_OBJS} |
${IMGUPD_PROG}: ${IMGUPD_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${IMGUPD_OBJS} ${IMGUPD_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${IMGUPD_OBJS} ${IMGUPD_LDADD} |
|
|
|
${BUTZ_PROG}: ${BUTZ_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${BUTZ_OBJS} ${BUTZ_LDADD} |