Annotation of embedtools/src/Makefile.in, revision 1.2.2.14
1.2 misho 1: #
2: # (C) 2009 AITnet - Sofia/Bulgaria - <misho@openbsd-bg.org>
3: # by Michael Pounov <misho@openbsd-bg.org>
4: #
5: # $Author: misho $
1.2.2.14! misho 6: # $Id: Makefile.in,v 1.2.2.13 2012/07/04 14:00:26 misho Exp $
1.2 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
11: includedir = @includedir@
12: libdir = @libdir@
13:
1.2.2.2 misho 14: OS = @OS@
15:
1.2 misho 16: CC = @CC@
17: MKDEP = @MKDEP@
18:
19: BIN = ../bin
20: INC = ../inc
21:
22: LDADD = -laitcrc
23: CFEXEC_LDADD = ${LDADD} -laitcfg
24: DPATCH_LDADD = ${LDADD} -laitsync -lcrypto
25: DIRER_LDADD = ${LDADD} -lcrypto -laitio -laitsync
26: DIRCMP_LDADD = ${LDADD} -lcrypto -laitsync
27: #XMLER_LDADD = ${LDADD} -laitio ${libdir}/libaxl.a ${libdir}/libaxl-ns.a
1.2.2.9 misho 28: XMLER_LDADD = ${LDADD} -laitio -laitwww -laxl -laxl-ns
1.2 misho 29: WDOG_LDADD =
30: ATHCTL_LDADD =
31: DWDS_LDADD = ${LDADD} -laitio -laitcfg
1.2.2.5 misho 32: CFI_LDADD =
1.2.2.7 misho 33: PCENG_LDADD = -laitcfg
1.2.2.14! misho 34: VOUCHER_LDADD = -laitio -laitcfg
1.2 misho 35:
1.2.2.13 misho 36: CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl @CFLAGS@
37: LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@
1.2 misho 38:
1.2.2.12 misho 39: SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \
40: ${DIRER_SRCS} ${DIRCMP_SRCS} ${XMLER_SRCS} ${WDOG_SRCS} \
1.2.2.11 misho 41: ${PCENG_SRCS} ${VOUCHER_SRCS}
1.2.2.12 misho 42: PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \
43: ${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${WDOG_PROG} \
1.2.2.11 misho 44: ${PCENG_PROG} ${VOUCHER_PROG}
1.2 misho 45:
46: CFEXEC_SRCS = cfexec.c
47: CFEXEC_OBJS = cfexec.o compile.o
48: CFEXEC_PROG = cfexec
49:
50: UPDIMG_SRCS = updimg.c upd.c
51: UPDIMG_OBJS = updimg.o compile.o upd.o
52: UPDIMG_PROG = updimg
53:
54: GET1STETH_SRCS = get1steth.c
55: GET1STETH_OBJS = get1steth.o compile.o
56: GET1STETH_PROG = get1steth
57:
58: DPATCH_SRCS = dpatch.c
59: DPATCH_OBJS = dpatch.o compile.o
60: DPATCH_PROG = dpatch
61:
62: DIRER_SRCS = direr.c
63: DIRER_OBJS = direr.o compile.o
64: DIRER_PROG = direr
65:
66: DIRCMP_SRCS = dircmp.c
67: DIRCMP_OBJS = dircmp.o compile.o
68: DIRCMP_PROG = dircmp
69:
70: XMLER_SRCS = xmler.c
71: XMLER_OBJS = xmler.o compile.o
72: XMLER_PROG = xmler
73:
74: WDOG_SRCS = wdog.c
75: WDOG_OBJS = wdog.o compile.o
76: WDOG_PROG = wdog
77:
78: ATHCTL_SRCS = athctl.c
79: ATHCTL_OBJS = athctl.o compile.o
80: ATHCTL_PROG = athctl
81:
82: DWDS_SRCS = dwds.c vap.c
83: DWDS_OBJS = dwds.o compile.o vap.o
84: DWDS_PROG = dwds
85:
1.2.2.5 misho 86: CFI_SRCS = cfi.c
87: CFI_OBJS = cfi.o compile.o
88: CFI_PROG = cfi
89:
1.2.2.8 misho 90: PCENG_SRCS = pceng.c pceng_run.c
91: PCENG_OBJS = pceng.o compile.o pceng_run.o
1.2.2.6 misho 92: PCENG_PROG = pceng
93:
1.2.2.10 misho 94: VOUCHER_SRCS = voucher.c
1.2.2.12 misho 95: VOUCHER_OBJS = voucher.o compile.o
1.2.2.10 misho 96: VOUCHER_PROG = voucher
97:
1.2 misho 98:
99: all: depend \
1.2.2.2 misho 100: ${PROG} \
101: ${OS}
102:
1.2.2.6 misho 103: FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG} ${CFI_PROG} ${PCENG_PROG}
1.2 misho 104:
1.2.2.3 misho 105: OpenBSD:
106:
107: NetBSD:
108:
1.2 misho 109: .c.o: ${SRCS} compile.c
110: ${CC} -c ${CFLAGS} $<
111:
112: depend:
113: ./compile.sh
114: ${MKDEP} ${CFLAGS} ${SRCS}
115:
116: clean:
117: rm -f *.o .depend compile.c *~
118:
119: install:
120:
121: ${CFEXEC_PROG}: ${CFEXEC_OBJS}
122: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD}
123:
124: ${UPDIMG_PROG}: ${UPDIMG_OBJS}
125: ${CC} ${LDFLAGS} -o${BIN}/$@ ${UPDIMG_OBJS}
126:
127: ${GET1STETH_PROG}: ${GET1STETH_OBJS}
128: ${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS}
129:
130: ${DPATCH_PROG}: ${DPATCH_OBJS}
131: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DPATCH_OBJS} ${DPATCH_LDADD}
132:
133: ${DIRER_PROG}: ${DIRER_OBJS}
134: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRER_OBJS} ${LDADD} ${DIRER_LDADD}
135:
136: ${DIRCMP_PROG}: ${DIRCMP_OBJS}
137: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRCMP_OBJS} ${LDADD} ${DIRCMP_LDADD}
138:
139: ${XMLER_PROG}: ${XMLER_OBJS}
140: ${CC} ${LDFLAGS} -o${BIN}/$@ ${XMLER_OBJS} ${XMLER_LDADD}
141:
142: ${WDOG_PROG}: ${WDOG_OBJS}
143: ${CC} ${LDFLAGS} -o${BIN}/$@ ${WDOG_OBJS} ${WDOG_LDADD}
144:
145: ${ATHCTL_PROG}: ${ATHCTL_OBJS}
146: ${CC} ${LDFLAGS} -o${BIN}/$@ ${ATHCTL_OBJS} ${ATHCTL_LDADD}
147:
148: ${DWDS_PROG}: ${DWDS_OBJS}
149: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DWDS_OBJS} ${DWDS_LDADD}
150:
1.2.2.5 misho 151: ${CFI_PROG}: ${CFI_OBJS}
152: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFI_OBJS} ${CFI_LDADD}
1.2.2.6 misho 153:
154: ${PCENG_PROG}: ${PCENG_OBJS}
155: ${CC} ${LDFLAGS} -o${BIN}/$@ ${PCENG_OBJS} ${PCENG_LDADD}
1.2.2.10 misho 156:
157: ${VOUCHER_PROG}: ${VOUCHER_OBJS}
158: ${CC} ${LDFLAGS} -o${BIN}/$@ ${VOUCHER_OBJS} ${VOUCHER_LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>