Annotation of embedtools/src/Makefile.in, revision 1.2.2.6
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.6 ! misho 6: # $Id: Makefile.in,v 1.2.2.5 2011/06/20 12:37:07 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: #DUMPCFG_LDADD = ${LDADD} -laitcfg
25: DPATCH_LDADD = ${LDADD} -laitsync -lcrypto
26: DIRER_LDADD = ${LDADD} -lcrypto -laitio -laitsync
27: DIRCMP_LDADD = ${LDADD} -lcrypto -laitsync
28: #XMLER_LDADD = ${LDADD} -laitio ${libdir}/libaxl.a ${libdir}/libaxl-ns.a
29: XMLER_LDADD = ${LDADD} -laitio -laxl -laxl-ns
30: WDOG_LDADD =
31: ATHCTL_LDADD =
32: DWDS_LDADD = ${LDADD} -laitio -laitcfg
33: PKGADM_LDADD =
1.2.2.5 misho 34: CFI_LDADD =
1.2.2.6 ! misho 35: PCENG_LDADD =
1.2 misho 36:
37: CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl -Wall -O2 -fPIC -g -DINET6
1.2.2.4 misho 38: LDFLAGS = -L. -L${libdir} -Wl,-R${libdir}
1.2 misho 39:
40: SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} ${RCD_SRCS} \
1.2.2.6 ! misho 41: ${DIRER_SRCS} ${DIRCMP_SRCS} ${XMLER_SRCS} ${WDOG_SRCS} ${PKGADM_SRCS} ${PCENG_SRCS}
1.2 misho 42: PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} ${RCD_PROG} \
1.2.2.6 ! misho 43: ${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${WDOG_PROG} ${PKGADM_PROG} ${PCENG_PROG}
1.2 misho 44:
45: CFEXEC_SRCS = cfexec.c
46: CFEXEC_OBJS = cfexec.o compile.o
47: CFEXEC_PROG = cfexec
48:
49: UPDIMG_SRCS = updimg.c upd.c
50: UPDIMG_OBJS = updimg.o compile.o upd.o
51: UPDIMG_PROG = updimg
52:
53: #DUMPCFG_SRCS = dumpcfg.c dumpz.c
54: #DUMPCFG_OBJS = dumpcfg.o compile.o dumpz.o
55: #DUMPCFG_PROG = dumpcfg
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: RCD_SRCS = rcd.c
66: RCD_OBJS = rcd.o compile.o
67: RCD_PROG = rcd
68:
69: DIRER_SRCS = direr.c
70: DIRER_OBJS = direr.o compile.o
71: DIRER_PROG = direr
72:
73: DIRCMP_SRCS = dircmp.c
74: DIRCMP_OBJS = dircmp.o compile.o
75: DIRCMP_PROG = dircmp
76:
77: XMLER_SRCS = xmler.c
78: XMLER_OBJS = xmler.o compile.o
79: XMLER_PROG = xmler
80:
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:
93: PKGADM_SRCS = pkgadm.c
94: PKGADM_OBJS = pkgadm.o
95: PKGADM_PROG = pkgadm
96:
1.2.2.5 misho 97: CFI_SRCS = cfi.c
98: CFI_OBJS = cfi.o compile.o
99: CFI_PROG = cfi
100:
1.2.2.6 ! misho 101: PCENG_SRCS = pceng.c
! 102: PCENG_OBJS = pceng.o compile.o
! 103: PCENG_PROG = pceng
! 104:
1.2 misho 105:
106: all: depend \
1.2.2.2 misho 107: ${PROG} \
108: ${OS}
109:
1.2.2.6 ! misho 110: FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG} ${CFI_PROG} ${PCENG_PROG}
1.2 misho 111:
1.2.2.3 misho 112: OpenBSD:
113:
114: NetBSD:
115:
1.2 misho 116: .c.o: ${SRCS} compile.c
117: ${CC} -c ${CFLAGS} $<
118:
119: depend:
120: ./compile.sh
121: ${MKDEP} ${CFLAGS} ${SRCS}
122:
123: clean:
124: rm -f *.o .depend compile.c *~
125:
126: install:
127:
128: ${CFEXEC_PROG}: ${CFEXEC_OBJS}
129: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD}
130:
131: ${UPDIMG_PROG}: ${UPDIMG_OBJS}
132: ${CC} ${LDFLAGS} -o${BIN}/$@ ${UPDIMG_OBJS}
133:
134: #${DUMPCFG_PROG}: ${DUMPCFG_OBJS}
135: # ${CC} ${LDFLAGS} -o${BIN}/$@ ${DUMPCFG_OBJS} ${DUMPCFG_LDADD}
136:
137: ${GET1STETH_PROG}: ${GET1STETH_OBJS}
138: ${CC} ${LDFLAGS} -o${BIN}/$@ ${GET1STETH_OBJS}
139:
140: ${DPATCH_PROG}: ${DPATCH_OBJS}
141: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DPATCH_OBJS} ${DPATCH_LDADD}
142:
143: ${RCD_PROG}: ${RCD_OBJS}
144: ${CC} ${LDFLAGS} -o${BIN}/$@ ${RCD_OBJS} ${LDADD}
145:
146: ${DIRER_PROG}: ${DIRER_OBJS}
147: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRER_OBJS} ${LDADD} ${DIRER_LDADD}
148:
149: ${DIRCMP_PROG}: ${DIRCMP_OBJS}
150: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRCMP_OBJS} ${LDADD} ${DIRCMP_LDADD}
151:
152: ${XMLER_PROG}: ${XMLER_OBJS}
153: ${CC} ${LDFLAGS} -o${BIN}/$@ ${XMLER_OBJS} ${XMLER_LDADD}
154:
155: ${WDOG_PROG}: ${WDOG_OBJS}
156: ${CC} ${LDFLAGS} -o${BIN}/$@ ${WDOG_OBJS} ${WDOG_LDADD}
157:
158: ${ATHCTL_PROG}: ${ATHCTL_OBJS}
159: ${CC} ${LDFLAGS} -o${BIN}/$@ ${ATHCTL_OBJS} ${ATHCTL_LDADD}
160:
161: ${DWDS_PROG}: ${DWDS_OBJS}
162: ${CC} ${LDFLAGS} -o${BIN}/$@ ${DWDS_OBJS} ${DWDS_LDADD}
163:
164: ${PKGADM_PROG}: ${PKGADM_OBJS}
165: ${CC} ${LDFLAGS} -o${BIN}/$@ ${PKGADM_OBJS} ${PKGADM_LDADD}
1.2.2.5 misho 166:
167: ${CFI_PROG}: ${CFI_OBJS}
168: ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFI_OBJS} ${CFI_LDADD}
1.2.2.6 ! misho 169:
! 170: ${PCENG_PROG}: ${PCENG_OBJS}
! 171: ${CC} ${LDFLAGS} -o${BIN}/$@ ${PCENG_OBJS} ${PCENG_LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>