version 1.4.2.1, 2013/01/18 13:18:14
|
version 1.4.2.17, 2014/02/05 10:02:50
|
Line 12 includedir = @includedir@
|
Line 12 includedir = @includedir@
|
libdir = @libdir@ |
libdir = @libdir@ |
|
|
OS = @OS@ |
OS = @OS@ |
|
MACHINE = @host_cpu@ |
|
|
CC = @CC@ |
CC = @CC@ |
MKDEP = @MKDEP@ |
MKDEP = @MKDEP@ |
Line 24 CFEXEC_LDADD = ${LDADD} -laitcfg
|
Line 25 CFEXEC_LDADD = ${LDADD} -laitcfg
|
DPATCH_LDADD = ${LDADD} -laitsync -lcrypto |
DPATCH_LDADD = ${LDADD} -laitsync -lcrypto |
DIRER_LDADD = ${LDADD} -lcrypto -laitsync |
DIRER_LDADD = ${LDADD} -lcrypto -laitsync |
DIRCMP_LDADD = ${LDADD} -lcrypto -laitsync |
DIRCMP_LDADD = ${LDADD} -lcrypto -laitsync |
#XMLER_LDADD = ${LDADD} -laitio ${libdir}/libaxl.a ${libdir}/libaxl-ns.a | UBE_LDADD = ${LDADD} -laitcfg |
XMLER_LDADD = ${LDADD} -laitwww -laxl -laxl-ns | CFGER_LDADD = ${LDADD} -laitcfg |
WDOG_LDADD = |
WDOG_LDADD = |
ATHCTL_LDADD = |
ATHCTL_LDADD = |
DWDS_LDADD = ${LDADD} -laitcfg |
DWDS_LDADD = ${LDADD} -laitcfg |
CFI_LDADD = |
CFI_LDADD = |
PCENG_LDADD = ${LDADD} -laitcfg |
PCENG_LDADD = ${LDADD} -laitcfg |
VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg |
VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg |
|
IMGUPG = ${LDADD} |
|
|
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@ |
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} ${XMLER_SRCS} ${WDOG_SRCS} \ | ${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \ |
${PCENG_SRCS} ${VOUCHER_SRCS} | ${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} ${IMGUPG_SRCS} |
PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ | PROG = ${CFEXEC_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ |
${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${WDOG_PROG} \ | ${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \ |
${PCENG_PROG} ${VOUCHER_PROG} | ${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} ${IMGUPG_PROG} |
|
|
|
.if ${MACHINE} == "i386" && ${OS} == "FreeBSD" |
|
SRCS += ${PCENG_SRCS} |
|
PROG += ${PCENG_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 |
|
|
UPDIMG_SRCS = updimg.c upd.c |
|
UPDIMG_OBJS = updimg.o compile.o upd.o |
|
UPDIMG_PROG = updimg |
|
|
|
GET1STETH_SRCS = get1steth.c |
GET1STETH_SRCS = get1steth.c |
GET1STETH_OBJS = get1steth.o compile.o |
GET1STETH_OBJS = get1steth.o compile.o |
GET1STETH_PROG = get1steth |
GET1STETH_PROG = get1steth |
Line 67 DIRCMP_SRCS = dircmp.c
|
Line 70 DIRCMP_SRCS = dircmp.c
|
DIRCMP_OBJS = dircmp.o compile.o |
DIRCMP_OBJS = dircmp.o compile.o |
DIRCMP_PROG = dircmp |
DIRCMP_PROG = dircmp |
|
|
XMLER_SRCS = xmler.c | CFGER_SRCS = cfger.c |
XMLER_OBJS = xmler.o compile.o | CFGER_OBJS = cfger.o compile.o |
XMLER_PROG = xmler | CFGER_PROG = cfger |
|
|
|
UBE_SRCS = ube.c ub_env.c |
|
UBE_OBJS = ube.o compile.o ub_env.o |
|
UBE_PROG = ube |
|
|
WDOG_SRCS = wdog.c |
WDOG_SRCS = wdog.c |
WDOG_OBJS = wdog.o compile.o |
WDOG_OBJS = wdog.o compile.o |
WDOG_PROG = wdog |
WDOG_PROG = wdog |
Line 95 VOUCHER_SRCS = voucher.c
|
Line 102 VOUCHER_SRCS = voucher.c
|
VOUCHER_OBJS = voucher.o compile.o |
VOUCHER_OBJS = voucher.o compile.o |
VOUCHER_PROG = voucher |
VOUCHER_PROG = voucher |
|
|
|
IMGUPG_SRCS = imgupg.c |
|
IMGUPG_OBJS = imgupg.o compile.o |
|
IMGUPG_PROG = imgupg |
|
|
|
|
all: depend \ |
all: depend \ |
${PROG} \ |
${PROG} \ |
${OS} |
${OS} |
|
|
FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG} ${CFI_PROG} ${PCENG_PROG} | FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG} ${CFI_PROG} |
|
|
OpenBSD: |
OpenBSD: |
|
|
Line 121 install:
|
Line 132 install:
|
${CFEXEC_PROG}: ${CFEXEC_OBJS} |
${CFEXEC_PROG}: ${CFEXEC_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD} |
|
|
${UPDIMG_PROG}: ${UPDIMG_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${UPDIMG_OBJS} |
|
|
|
${GET1STETH_PROG}: ${GET1STETH_OBJS} |
${GET1STETH_PROG}: ${GET1STETH_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS} |
|
|
Line 136 ${DIRER_PROG}: ${DIRER_OBJS}
|
Line 144 ${DIRER_PROG}: ${DIRER_OBJS}
|
${DIRCMP_PROG}: ${DIRCMP_OBJS} |
${DIRCMP_PROG}: ${DIRCMP_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRCMP_OBJS} ${LDADD} ${DIRCMP_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRCMP_OBJS} ${LDADD} ${DIRCMP_LDADD} |
|
|
${XMLER_PROG}: ${XMLER_OBJS} | ${CFGER_PROG}: ${CFGER_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${XMLER_OBJS} ${XMLER_LDADD} | ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFGER_OBJS} ${CFGER_LDADD} |
|
|
|
${UBE_PROG}: ${UBE_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${UBE_OBJS} ${UBE_LDADD} |
|
|
${WDOG_PROG}: ${WDOG_OBJS} |
${WDOG_PROG}: ${WDOG_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${WDOG_OBJS} ${WDOG_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${WDOG_OBJS} ${WDOG_LDADD} |
|
|
Line 156 ${PCENG_PROG}: ${PCENG_OBJS}
|
Line 167 ${PCENG_PROG}: ${PCENG_OBJS}
|
|
|
${VOUCHER_PROG}: ${VOUCHER_OBJS} |
${VOUCHER_PROG}: ${VOUCHER_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${VOUCHER_OBJS} ${VOUCHER_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${VOUCHER_OBJS} ${VOUCHER_LDADD} |
|
|
|
${IMGUPG_PROG}: ${IMGUPG_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${IMGUPG_OBJS} ${IMGUPG_LDADD} |