Annotation of embedtools/src/Makefile.in, revision 1.4.2.18
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.4.2.18! misho 6: # $Id: Makefile.in,v 1.4.2.17 2014/02/05 10:02:50 misho Exp $
1.2 misho 7: #
8:
9: prefix = @prefix@
10: exec_prefix = @exec_prefix@
11: includedir = @includedir@
12: libdir = @libdir@
13:
1.3 misho 14: OS = @OS@
1.4.2.7 misho 15: MACHINE = @host_cpu@
1.3 misho 16:
1.2 misho 17: CC = @CC@
18: MKDEP = @MKDEP@
19:
20: BIN = ../bin
21: INC = ../inc
22:
1.4.2.1 misho 23: LDADD = -lelwix
1.2 misho 24: CFEXEC_LDADD = ${LDADD} -laitcfg
25: DPATCH_LDADD = ${LDADD} -laitsync -lcrypto
1.4.2.1 misho 26: DIRER_LDADD = ${LDADD} -lcrypto -laitsync
1.2 misho 27: DIRCMP_LDADD = ${LDADD} -lcrypto -laitsync
1.4.2.13 misho 28: UBE_LDADD = ${LDADD} -laitcfg
1.4.2.8 misho 29: CFGER_LDADD = ${LDADD} -laitcfg
1.2 misho 30: WDOG_LDADD =
31: ATHCTL_LDADD =
1.4.2.1 misho 32: DWDS_LDADD = ${LDADD} -laitcfg
1.3 misho 33: CFI_LDADD =
1.4 misho 34: PCENG_LDADD = ${LDADD} -laitcfg
1.4.2.1 misho 35: VOUCHER_LDADD = ${LDADD} -lcrypto -laitcfg
1.4.2.18! misho 36: IMGUPD_LDADD = ${LDADD}
1.3 misho 37:
1.4.2.5 misho 38: CFLAGS = -I. -I${INC} -I${includedir} @CFLAGS@
1.3 misho 39: LDFLAGS = -L. -L${libdir} -Wl,-R${libdir} @LDFLAGS@
40:
1.4.2.15 misho 41: SRCS = ${CFEXEC_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} \
1.4.2.4 misho 42: ${DIRER_SRCS} ${DIRCMP_SRCS} ${WDOG_SRCS} \
1.4.2.18! misho 43: ${VOUCHER_SRCS} ${CFGER_SRCS} ${UBE_SRCS} ${IMGUPD_SRCS}
1.4.2.15 misho 44: PROG = ${CFEXEC_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} \
1.4.2.4 misho 45: ${DIRER_PROG} ${DIRCMP_PROG} ${WDOG_PROG} \
1.4.2.18! misho 46: ${VOUCHER_PROG} ${CFGER_PROG} ${UBE_PROG} ${IMGUPD_PROG}
1.4.2.2 misho 47:
1.4.2.3 misho 48: .if ${MACHINE} == "i386" && ${OS} == "FreeBSD"
1.4.2.2 misho 49: SRCS += ${PCENG_SRCS}
50: PROG += ${PCENG_PROG}
51: .endif
1.2 misho 52:
53: CFEXEC_SRCS = cfexec.c
54: CFEXEC_OBJS = cfexec.o compile.o
55: CFEXEC_PROG = cfexec
56:
57: GET1STETH_SRCS = get1steth.c
58: GET1STETH_OBJS = get1steth.o compile.o
59: GET1STETH_PROG = get1steth
60:
61: DPATCH_SRCS = dpatch.c
62: DPATCH_OBJS = dpatch.o compile.o
63: DPATCH_PROG = dpatch
64:
65: DIRER_SRCS = direr.c
66: DIRER_OBJS = direr.o compile.o
67: DIRER_PROG = direr
68:
69: DIRCMP_SRCS = dircmp.c
70: DIRCMP_OBJS = dircmp.o compile.o
71: DIRCMP_PROG = dircmp
72:
1.4.2.8 misho 73: CFGER_SRCS = cfger.c
74: CFGER_OBJS = cfger.o compile.o
75: CFGER_PROG = cfger
76:
1.4.2.12 misho 77: UBE_SRCS = ube.c ub_env.c
78: UBE_OBJS = ube.o compile.o ub_env.o
1.4.2.9 misho 79: UBE_PROG = ube
80:
1.2 misho 81: WDOG_SRCS = wdog.c
82: WDOG_OBJS = wdog.o compile.o
83: WDOG_PROG = wdog
84:
85: ATHCTL_SRCS = athctl.c
86: ATHCTL_OBJS = athctl.o compile.o
87: ATHCTL_PROG = athctl
88:
89: DWDS_SRCS = dwds.c vap.c
90: DWDS_OBJS = dwds.o compile.o vap.o
91: DWDS_PROG = dwds
92:
1.3 misho 93: CFI_SRCS = cfi.c
94: CFI_OBJS = cfi.o compile.o
95: CFI_PROG = cfi
96:
97: PCENG_SRCS = pceng.c pceng_run.c
98: PCENG_OBJS = pceng.o compile.o pceng_run.o
99: PCENG_PROG = pceng
100:
101: VOUCHER_SRCS = voucher.c
102: VOUCHER_OBJS = voucher.o compile.o
103: VOUCHER_PROG = voucher
1.2 misho 104:
1.4.2.18! misho 105: IMGUPD_SRCS = imgupd.c
! 106: IMGUPD_OBJS = imgupd.o compile.o
! 107: IMGUPD_PROG = imgupd
1.4.2.17 misho 108:
1.2 misho 109:
110: all: depend \
1.3 misho 111: ${PROG} \
112: ${OS}
113:
1.4.2.3 misho 114: FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG} ${CFI_PROG}
1.3 misho 115:
116: OpenBSD:
117:
118: NetBSD:
1.2 misho 119:
120: .c.o: ${SRCS} compile.c
121: ${CC} -c ${CFLAGS} $<
122:
123: depend:
124: ./compile.sh
125: ${MKDEP} ${CFLAGS} ${SRCS}
126:
127: clean:
128: rm -f *.o .depend compile.c *~
129:
130: install:
131:
132: ${CFEXEC_PROG}: ${CFEXEC_OBJS}
133: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD}
134:
135: ${GET1STETH_PROG}: ${GET1STETH_OBJS}
136: ${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS}
137:
138: ${DPATCH_PROG}: ${DPATCH_OBJS}
139: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DPATCH_OBJS} ${DPATCH_LDADD}
140:
141: ${DIRER_PROG}: ${DIRER_OBJS}
142: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRER_OBJS} ${LDADD} ${DIRER_LDADD}
143:
144: ${DIRCMP_PROG}: ${DIRCMP_OBJS}
145: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRCMP_OBJS} ${LDADD} ${DIRCMP_LDADD}
146:
1.4.2.8 misho 147: ${CFGER_PROG}: ${CFGER_OBJS}
148: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFGER_OBJS} ${CFGER_LDADD}
149:
1.4.2.9 misho 150: ${UBE_PROG}: ${UBE_OBJS}
151: ${CC} ${LDFLAGS} -o${BIN}/$@ ${UBE_OBJS} ${UBE_LDADD}
152:
1.2 misho 153: ${WDOG_PROG}: ${WDOG_OBJS}
154: ${CC} ${LDFLAGS} -o${BIN}/$@ ${WDOG_OBJS} ${WDOG_LDADD}
155:
156: ${ATHCTL_PROG}: ${ATHCTL_OBJS}
157: ${CC} ${LDFLAGS} -o${BIN}/$@ ${ATHCTL_OBJS} ${ATHCTL_LDADD}
158:
159: ${DWDS_PROG}: ${DWDS_OBJS}
160: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DWDS_OBJS} ${DWDS_LDADD}
161:
1.3 misho 162: ${CFI_PROG}: ${CFI_OBJS}
163: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFI_OBJS} ${CFI_LDADD}
164:
165: ${PCENG_PROG}: ${PCENG_OBJS}
166: ${CC} ${LDFLAGS} -o${BIN}/$@ ${PCENG_OBJS} ${PCENG_LDADD}
167:
168: ${VOUCHER_PROG}: ${VOUCHER_OBJS}
169: ${CC} ${LDFLAGS} -o${BIN}/$@ ${VOUCHER_OBJS} ${VOUCHER_LDADD}
1.4.2.17 misho 170:
1.4.2.18! misho 171: ${IMGUPD_PROG}: ${IMGUPD_OBJS}
! 172: ${CC} ${LDFLAGS} -o${BIN}/$@ ${IMGUPD_OBJS} ${IMGUPD_LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>