Annotation of libaitio/src/Makefile.in, revision 1.19
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.19 ! misho 6: # $Id: Makefile.in,v 1.18.4.1 2014/01/21 15:59:45 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@
17: MKDEP = @MKDEP@
18:
19: INC = ../inc
20: LIB = ../lib
21:
22: LDADD = ${LIBS}
23:
1.19 ! misho 24: CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@
! 25: LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@
1.1 misho 26:
1.18 misho 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
1.1 misho 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}
1.15 misho 52: ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>