version 1.2, 2011/06/08 12:45:41
|
version 1.4.2.7, 2014/01/21 16:27:56
|
Line 11 exec_prefix = @exec_prefix@
|
Line 11 exec_prefix = @exec_prefix@
|
includedir = @includedir@ |
includedir = @includedir@ |
libdir = @libdir@ |
libdir = @libdir@ |
|
|
|
OS = @OS@ |
|
MACHINE = @host_cpu@ |
|
|
CC = @CC@ |
CC = @CC@ |
MKDEP = @MKDEP@ |
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 |
#XMLER_LDADD = ${LDADD} -laitio ${libdir}/libaxl.a ${libdir}/libaxl-ns.a |
XMLER_LDADD = ${LDADD} -laitio -laxl -laxl-ns | #XMLER_LDADD = ${LDADD} -laitwww -laxl -laxl-ns |
WDOG_LDADD = |
WDOG_LDADD = |
CLOG_LDADD = |
|
ATHCTL_LDADD = |
ATHCTL_LDADD = |
DWDS_LDADD = ${LDADD} -laitio -laitcfg | DWDS_LDADD = ${LDADD} -laitcfg |
SYSLOGD_LDADD = -lutil | CFI_LDADD = |
PKGADM_LDADD = | PCENG_LDADD = ${LDADD} -laitcfg |
| VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg |
|
|
CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl -Wall -O2 -fPIC -g -DINET6 | #CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl @CFLAGS@ |
LDFLAGS = -L. -L${libdir} | CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@ |
| LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@ |
|
|
SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} ${RCD_SRCS} \ | SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \ |
${DIRER_SRCS} ${DIRCMP_SRCS} ${XMLER_SRCS} ${CLOG_SRCS} ${SYSLOGD_SRCS} \ | ${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \ |
${WDOG_SRCS} ${ATHCTL_SRCS} ${DWDS_SRCS} ${PKGADM_SRCS} | ${VOUCHER_SRCS} |
PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} ${RCD_PROG} \ | PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \ |
${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${CLOG_PROG} ${SYSLOGD_PROG} \ | ${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \ |
${WDOG_PROG} ${ATHCTL_PROG} ${DWDS_PROG} ${PKGADM_PROG} | ${VOUCHER_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 |
Line 50 UPDIMG_SRCS = updimg.c upd.c
|
Line 58 UPDIMG_SRCS = updimg.c upd.c
|
UPDIMG_OBJS = updimg.o compile.o upd.o |
UPDIMG_OBJS = updimg.o compile.o upd.o |
UPDIMG_PROG = updimg |
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 62 DPATCH_SRCS = dpatch.c
|
Line 66 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 78 XMLER_SRCS = xmler.c
|
Line 78 XMLER_SRCS = xmler.c
|
XMLER_OBJS = xmler.o compile.o |
XMLER_OBJS = xmler.o compile.o |
XMLER_PROG = xmler |
XMLER_PROG = xmler |
|
|
CLOG_SRCS = clog.c |
|
CLOG_OBJS = clog.o compile.o |
|
CLOG_PROG = clog |
|
|
|
SYSLOGD_SRCS = syslogd.c |
|
SYSLOGD_OBJS = syslogd.o compile.o |
|
SYSLOGD_PROG = syslogd |
|
|
|
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 98 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 | CFI_SRCS = cfi.c |
PKGADM_OBJS = pkgadm.o | CFI_OBJS = cfi.o compile.o |
PKGADM_PROG = pkgadm | CFI_PROG = cfi |
|
|
|
PCENG_SRCS = pceng.c pceng_run.c |
|
PCENG_OBJS = pceng.o compile.o pceng_run.o |
|
PCENG_PROG = pceng |
|
|
|
VOUCHER_SRCS = voucher.c |
|
VOUCHER_OBJS = voucher.o compile.o |
|
VOUCHER_PROG = voucher |
|
|
|
|
all: depend \ |
all: depend \ |
${PROG} | ${PROG} \ |
| ${OS} |
|
|
|
FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG} ${CFI_PROG} |
|
|
|
OpenBSD: |
|
|
|
NetBSD: |
|
|
.c.o: ${SRCS} compile.c |
.c.o: ${SRCS} compile.c |
${CC} -c ${CFLAGS} $< |
${CC} -c ${CFLAGS} $< |
|
|
Line 124 ${CFEXEC_PROG}: ${CFEXEC_OBJS}
|
Line 131 ${CFEXEC_PROG}: ${CFEXEC_OBJS}
|
${UPDIMG_PROG}: ${UPDIMG_OBJS} |
${UPDIMG_PROG}: ${UPDIMG_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${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} | #${XMLER_PROG}: ${XMLER_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${XMLER_OBJS} ${XMLER_LDADD} | # ${CC} ${LDFLAGS} -o${BIN}/$@ ${XMLER_OBJS} ${XMLER_LDADD} |
|
|
${CLOG_PROG}: ${CLOG_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${CLOG_OBJS} ${CLOG_LDADD} |
|
|
|
${SYSLOGD_PROG}: ${SYSLOGD_OBJS} |
|
${CC} ${LDFLAGS} -o${BIN}/$@ ${SYSLOGD_OBJS} ${SYSLOGD_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 160 ${ATHCTL_PROG}: ${ATHCTL_OBJS}
|
Line 155 ${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} | ${CFI_PROG}: ${CFI_OBJS} |
${CC} ${LDFLAGS} -o${BIN}/$@ ${PKGADM_OBJS} ${PKGADM_LDADD} | ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFI_OBJS} ${CFI_LDADD} |
| |
| ${PCENG_PROG}: ${PCENG_OBJS} |
| ${CC} ${LDFLAGS} -o${BIN}/$@ ${PCENG_OBJS} ${PCENG_LDADD} |
| |
| ${VOUCHER_PROG}: ${VOUCHER_OBJS} |
| ${CC} ${LDFLAGS} -o${BIN}/$@ ${VOUCHER_OBJS} ${VOUCHER_LDADD} |