File:  [ELWIX - Embedded LightWeight unIX -] / libaitio / src / Makefile.in
Revision 1.18: download - view: text, annotated - select for diffs - revision graph
Sun Dec 15 22:57:20 2013 UTC (10 years, 10 months ago) by misho
Branches: MAIN
CVS tags: io6_9, io6_8, IO6_8, IO6_7, HEAD
version 6.7

    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.18 2013/12/15 22:57:20 misho Exp $
    7: #
    8: 
    9: prefix = @prefix@
   10: exec_prefix = @exec_prefix@
   11: 
   12: LIBS = @LIBS@
   13: 
   14: CC = @CC@
   15: MKDEP = @MKDEP@
   16: 
   17: INC = ../inc
   18: LIB = ../lib
   19: 
   20: LDADD = ${LIBS}
   21: 
   22: CFLAGS = -I. -I${INC} -Wall @CFLAGS@
   23: LDFLAGS = -L. -L${LIB} @LDFLAGS@
   24: 
   25: SRCS = aitio.c aio.c crypt.c pty.c bufio.c sess.c bpf.c sock.c exec.c
   26: OBJS = aitio.o aio.o crypt.o pty.o bufio.o sess.o bpf.o sock.o exec.o
   27: LIBSO = libaitio.so
   28: LIBA = libaitio.a
   29: 
   30: all: depend \
   31: 		${LIBA} \
   32: 		${LIBSO}
   33: 
   34: depend:
   35: 	${MKDEP} ${CFLAGS} ${SRCS}
   36: 
   37: clean:
   38: 	@rm -f *.o *~ .depend
   39: 
   40: install:
   41: 
   42: .c.o:
   43: 	${CC} -c ${CFLAGS} $<
   44: 
   45: ${LIBA}: ${OBJS}
   46: 	${AR} -rc ${LIB}/$@ ${OBJS}
   47: 	${RANLIB} ${LIB}/$@
   48: 
   49: ${LIBSO}: ${OBJS}
   50: 	${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}

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