File:
[ELWIX - Embedded LightWeight unIX -] /
libaitio /
src /
Makefile.in
Revision
1.12:
download - view:
text,
annotated -
select for diffs -
revision graph
Thu Mar 15 01:52:23 2012 UTC (12 years, 5 months ago) by
misho
Branches:
MAIN
CVS tags:
io3_1,
io2_8,
io2_7,
io2_6,
io2_5,
IO3_0,
IO2_7,
IO2_6,
IO2_5,
IO2_4,
HEAD
release version 2.4
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.12 2012/03/15 01:52:23 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 tools.c aio.c crypt.c array.c sarray.c patricia.c \
26: vars.c pty.c bufio.c
27: OBJS = aitio.o tools.o aio.o crypt.o array.o sarray.o patricia.o \
28: vars.o pty.o bufio.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>