version 1.2.2.10, 2012/07/04 13:46:27
|
version 1.4.2.18, 2014/02/05 10:09:05
|
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 19 MKDEP = @MKDEP@
|
Line 20 MKDEP = @MKDEP@
|
BIN = ../bin |
BIN = ../bin |
INC = ../inc |
INC = ../inc |
|
|
LDADD = -laitcrc | LDADD = -lelwix |
CFEXEC_LDADD = ${LDADD} -laitcfg |
CFEXEC_LDADD = ${LDADD} -laitcfg |
#DUMPCFG_LDADD = ${LDADD} -laitcfg |
|
DPATCH_LDADD = ${LDADD} -laitsync -lcrypto |
DPATCH_LDADD = ${LDADD} -laitsync -lcrypto |
DIRER_LDADD = ${LDADD} -lcrypto -laitio -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} -laitio -laitwww -laxl -laxl-ns | CFGER_LDADD = ${LDADD} -laitcfg |
WDOG_LDADD = |
WDOG_LDADD = |
ATHCTL_LDADD = |
ATHCTL_LDADD = |
DWDS_LDADD = ${LDADD} -laitio -laitcfg | DWDS_LDADD = ${LDADD} -laitcfg |
PKGADM_LDADD = | |
CFI_LDADD = |
CFI_LDADD = |
PCENG_LDADD = -laitcfg | PCENG_LDADD = ${LDADD} -laitcfg |
VOUCHER_LDADD = | VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg |
| IMGUPD_LDADD = ${LDADD} |
|
|
CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl -Wall -O2 -fPIC -g -DINET6 | CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@ |
LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} | LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@ |
|
|
SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} ${RCD_SRCS} \ | SRCS = ${CFEXEC_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ |
${DIRER_SRCS} ${DIRCMP_SRCS} ${XMLER_SRCS} ${WDOG_SRCS} ${PKGADM_SRCS} ${PCENG_SRCS} | ${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \ |
PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} ${RCD_PROG} \ | ${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} ${IMGUPD_SRCS} |
${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${WDOG_PROG} ${PKGADM_PROG} ${PCENG_PROG} | PROG = ${CFEXEC_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ |
| ${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \ |
| ${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} ${IMGUPD_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 |
|
|
|
#DUMPCFG_SRCS = dumpcfg.c dumpz.c |
|
#DUMPCFG_OBJS = dumpcfg.o compile.o dumpz.o |
|
#DUMPCFG_PROG = dumpcfg |
|
|
|
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 63 DPATCH_SRCS = dpatch.c
|
Line 62 DPATCH_SRCS = dpatch.c
|
DPATCH_OBJS = dpatch.o compile.o |
DPATCH_OBJS = dpatch.o compile.o |
DPATCH_PROG = dpatch |
DPATCH_PROG = dpatch |
|
|
RCD_SRCS = rcd.c |
|
RCD_OBJS = rcd.o compile.o |
|
RCD_PROG = rcd |
|
|
|
DIRER_SRCS = direr.c |
DIRER_SRCS = direr.c |
DIRER_OBJS = direr.o compile.o |
DIRER_OBJS = direr.o compile.o |
DIRER_PROG = direr |
DIRER_PROG = direr |
Line 75 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 91 DWDS_SRCS = dwds.c vap.c
|
Line 90 DWDS_SRCS = dwds.c vap.c
|
DWDS_OBJS = dwds.o compile.o vap.o |
DWDS_OBJS = dwds.o compile.o vap.o |
DWDS_PROG = dwds |
DWDS_PROG = dwds |
|
|
PKGADM_SRCS = pkgadm.c |
|
PKGADM_OBJS = pkgadm.o |
|
PKGADM_PROG = pkgadm |
|
|
|
CFI_SRCS = cfi.c |
CFI_SRCS = cfi.c |
CFI_OBJS = cfi.o compile.o |
CFI_OBJS = cfi.o compile.o |
CFI_PROG = cfi |
CFI_PROG = cfi |
Line 104 PCENG_OBJS = pceng.o compile.o pceng_run.o
|
Line 99 PCENG_OBJS = pceng.o compile.o pceng_run.o
|
PCENG_PROG = pceng |
PCENG_PROG = pceng |
|
|
VOUCHER_SRCS = voucher.c |
VOUCHER_SRCS = voucher.c |
VOUCHER_OBJS = voucher.o | VOUCHER_OBJS = voucher.o compile.o |
VOUCHER_PROG = voucher |
VOUCHER_PROG = voucher |
|
|
|
IMGUPD_SRCS = imgupd.c |
|
IMGUPD_OBJS = imgupd.o compile.o |
|
IMGUPD_PROG = imgupd |
|
|
|
|
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 133 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} |
|
|
|
#${DUMPCFG_PROG}: ${DUMPCFG_OBJS} |
|
# ${CC} ${LDFLAGS} -o${BIN}/$@ ${DUMPCFG_OBJS} ${DUMPCFG_LDADD} |
|
|
|
${GET1STETH_PROG}: ${GET1STETH_OBJS} |
${GET1STETH_PROG}: ${GET1STETH_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS} |
|
|
${DPATCH_PROG}: ${DPATCH_OBJS} |
${DPATCH_PROG}: ${DPATCH_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DPATCH_OBJS} ${DPATCH_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DPATCH_OBJS} ${DPATCH_LDADD} |
|
|
${RCD_PROG}: ${RCD_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${RCD_OBJS} ${LDADD} |
|
|
|
${DIRER_PROG}: ${DIRER_OBJS} |
${DIRER_PROG}: ${DIRER_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRER_OBJS} ${LDADD} ${DIRER_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRER_OBJS} ${LDADD} ${DIRER_LDADD} |
|
|
${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 166 ${ATHCTL_PROG}: ${ATHCTL_OBJS}
|
Line 159 ${ATHCTL_PROG}: ${ATHCTL_OBJS}
|
${DWDS_PROG}: ${DWDS_OBJS} |
${DWDS_PROG}: ${DWDS_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DWDS_OBJS} ${DWDS_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${DWDS_OBJS} ${DWDS_LDADD} |
|
|
${PKGADM_PROG}: ${PKGADM_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${PKGADM_OBJS} ${PKGADM_LDADD} |
|
|
|
${CFI_PROG}: ${CFI_OBJS} |
${CFI_PROG}: ${CFI_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${CFI_OBJS} ${CFI_LDADD} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${CFI_OBJS} ${CFI_LDADD} |
|
|
Line 177 ${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} |
|
|
|
${IMGUPD_PROG}: ${IMGUPD_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${IMGUPD_OBJS} ${IMGUPD_LDADD} |