Annotation of libaitio/src/Makefile.in, revision 1.20.6.1

1.1       misho       1: #
1.7       misho       2: # (C) 2010 by Michael Pounov <misho@elwix.org>
1.1       misho       3: #   AITNET ltd - Sofia/Bulgaria
                      4: #
                      5: # $Author: misho $
1.20.6.1! misho       6: # $Id: Makefile.in,v 1.20 2014/04/27 16:16:25 misho Exp $
1.1       misho       7: #
                      8: 
                      9: prefix = @prefix@
                     10: exec_prefix = @exec_prefix@
1.19      misho      11: includedir = @includedir@
                     12: libdir = @libdir@
1.1       misho      13: 
                     14: LIBS = @LIBS@
                     15: 
                     16: CC = @CC@
1.20.6.1! misho      17: RANLIB = @RANLIB@
1.1       misho      18: MKDEP = @MKDEP@
                     19: 
                     20: INC = ../inc
                     21: LIB = ../lib
                     22: 
                     23: LDADD = ${LIBS}
                     24: 
1.19      misho      25: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
                     26: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1       misho      27: 
1.18      misho      28: SRCS = aitio.c aio.c crypt.c pty.c bufio.c sess.c bpf.c sock.c exec.c
                     29: OBJS = aitio.o aio.o crypt.o pty.o bufio.o sess.o bpf.o sock.o exec.o
1.1       misho      30: LIBSO = libaitio.so
                     31: LIBA = libaitio.a
                     32: 
                     33: all: depend \
                     34:                ${LIBA} \
                     35:                ${LIBSO}
                     36: 
                     37: depend:
                     38:        ${MKDEP} ${CFLAGS} ${SRCS}
                     39: 
                     40: clean:
                     41:        @rm -f *.o *~ .depend
                     42: 
                     43: install:
                     44: 
                     45: .c.o:
                     46:        ${CC} -c ${CFLAGS} $<
                     47: 
                     48: ${LIBA}: ${OBJS}
                     49:        ${AR} -rc ${LIB}/$@ ${OBJS}
                     50:        ${RANLIB} ${LIB}/$@
                     51: 
                     52: ${LIBSO}: ${OBJS}
1.20      misho      53:        ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

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