Annotation of embedtools/src/Makefile.in, revision 1.2.2.4

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.4 ! misho       6: # $Id: Makefile.in,v 1.2.2.3 2011/06/08 13:16:18 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 =
                     34: 
                     35: CFLAGS = -I. -I${INC} -I${includedir} -I${includedir}/axl -Wall -O2 -fPIC -g -DINET6
1.2.2.4 ! misho      36: LDFLAGS = -L. -L${libdir} -Wl,-R${libdir}
1.2       misho      37: 
                     38: SRCS = ${CFEXEC_SRCS} ${UPDIMG_SRCS} ${GET1STETH_SRCS} ${DPATCH_SRCS} ${RCD_SRCS} \
1.2.2.2   misho      39:        ${DIRER_SRCS} ${DIRCMP_SRCS} ${XMLER_SRCS} ${WDOG_SRCS} ${PKGADM_SRCS}
1.2       misho      40: PROG = ${CFEXEC_PROG} ${UPDIMG_PROG} ${GET1STETH_PROG} ${DPATCH_PROG} ${RCD_PROG} \
1.2.2.2   misho      41:        ${DIRER_PROG} ${DIRCMP_PROG} ${XMLER_PROG} ${WDOG_PROG} ${PKGADM_PROG}
1.2       misho      42: 
                     43: CFEXEC_SRCS = cfexec.c
                     44: CFEXEC_OBJS = cfexec.o compile.o
                     45: CFEXEC_PROG = cfexec
                     46: 
                     47: UPDIMG_SRCS = updimg.c upd.c
                     48: UPDIMG_OBJS = updimg.o compile.o upd.o
                     49: UPDIMG_PROG = updimg
                     50: 
                     51: #DUMPCFG_SRCS = dumpcfg.c dumpz.c
                     52: #DUMPCFG_OBJS = dumpcfg.o compile.o dumpz.o
                     53: #DUMPCFG_PROG = dumpcfg
                     54: 
                     55: GET1STETH_SRCS = get1steth.c
                     56: GET1STETH_OBJS = get1steth.o compile.o
                     57: GET1STETH_PROG = get1steth
                     58: 
                     59: DPATCH_SRCS = dpatch.c
                     60: DPATCH_OBJS = dpatch.o compile.o
                     61: DPATCH_PROG = dpatch
                     62: 
                     63: RCD_SRCS = rcd.c
                     64: RCD_OBJS = rcd.o compile.o
                     65: RCD_PROG = rcd
                     66: 
                     67: DIRER_SRCS = direr.c
                     68: DIRER_OBJS = direr.o compile.o
                     69: DIRER_PROG = direr
                     70: 
                     71: DIRCMP_SRCS = dircmp.c
                     72: DIRCMP_OBJS = dircmp.o compile.o
                     73: DIRCMP_PROG = dircmp
                     74: 
                     75: XMLER_SRCS = xmler.c
                     76: XMLER_OBJS = xmler.o compile.o
                     77: XMLER_PROG = xmler
                     78: 
                     79: WDOG_SRCS = wdog.c
                     80: WDOG_OBJS = wdog.o compile.o
                     81: WDOG_PROG = wdog
                     82: 
                     83: ATHCTL_SRCS = athctl.c
                     84: ATHCTL_OBJS = athctl.o compile.o
                     85: ATHCTL_PROG = athctl
                     86: 
                     87: DWDS_SRCS = dwds.c vap.c
                     88: DWDS_OBJS = dwds.o compile.o vap.o
                     89: DWDS_PROG = dwds
                     90: 
                     91: PKGADM_SRCS = pkgadm.c
                     92: PKGADM_OBJS = pkgadm.o
                     93: PKGADM_PROG = pkgadm
                     94: 
                     95: 
                     96: all: depend \
1.2.2.2   misho      97:                ${PROG} \
                     98:                ${OS}
                     99: 
                    100: FreeBSD: ${ATHCTL_PROG} ${DWDS_PROG}
1.2       misho     101: 
1.2.2.3   misho     102: OpenBSD:
                    103: 
                    104: NetBSD:
                    105: 
1.2       misho     106: .c.o: ${SRCS} compile.c
                    107:        ${CC} -c ${CFLAGS} $<
                    108: 
                    109: depend:
                    110:        ./compile.sh
                    111:        ${MKDEP} ${CFLAGS} ${SRCS}
                    112: 
                    113: clean:
                    114:        rm -f *.o .depend compile.c *~
                    115: 
                    116: install:
                    117: 
                    118: ${CFEXEC_PROG}: ${CFEXEC_OBJS}
                    119:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${CFEXEC_OBJS} ${CFEXEC_LDADD}
                    120: 
                    121: ${UPDIMG_PROG}: ${UPDIMG_OBJS}
                    122:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${UPDIMG_OBJS}
                    123: 
                    124: #${DUMPCFG_PROG}: ${DUMPCFG_OBJS}
                    125: #      ${CC} ${LDFLAGS} -o${BIN}/$@ ${DUMPCFG_OBJS} ${DUMPCFG_LDADD}
                    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: ${RCD_PROG}: ${RCD_OBJS}
                    134:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${RCD_OBJS} ${LDADD}
                    135: 
                    136: ${DIRER_PROG}: ${DIRER_OBJS}
                    137:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRER_OBJS} ${LDADD} ${DIRER_LDADD}
                    138: 
                    139: ${DIRCMP_PROG}: ${DIRCMP_OBJS}
                    140:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${DIRCMP_OBJS} ${LDADD} ${DIRCMP_LDADD}
                    141: 
                    142: ${XMLER_PROG}: ${XMLER_OBJS}
                    143:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${XMLER_OBJS} ${XMLER_LDADD}
                    144: 
                    145: ${WDOG_PROG}: ${WDOG_OBJS}
                    146:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${WDOG_OBJS} ${WDOG_LDADD}
                    147: 
                    148: ${ATHCTL_PROG}: ${ATHCTL_OBJS}
                    149:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${ATHCTL_OBJS} ${ATHCTL_LDADD}
                    150: 
                    151: ${DWDS_PROG}: ${DWDS_OBJS}
                    152:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${DWDS_OBJS} ${DWDS_LDADD}
                    153: 
                    154: ${PKGADM_PROG}: ${PKGADM_OBJS}
                    155:        ${CC} ${LDFLAGS} -o${BIN}/$@ ${PKGADM_OBJS} ${PKGADM_LDADD}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>