File:  [ELWIX - Embedded LightWeight unIX -] / libaitio / src / Makefile.in
Revision 1.19: download - view: text, annotated - select for diffs - revision graph
Sat Feb 8 22:06:16 2014 UTC (10 years, 4 months ago) by misho
Branches: MAIN
CVS tags: io7_0, IO6_9, HEAD
version 6.9

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

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