version 1.2, 2010/03/09 09:26:27
|
version 1.14.8.2, 2013/01/17 12:13:25
|
Line 1
|
Line 1
|
# |
# |
# (C) 2010 by Michael Pounov <misho@openbsd-bg.org> | # (C) 2010 by Michael Pounov <misho@elwix.org> |
# AITNET ltd - Sofia/Bulgaria |
# AITNET ltd - Sofia/Bulgaria |
# |
# |
# $Author$ |
# $Author$ |
Line 22 LDADD = ${LIBS}
|
Line 22 LDADD = ${LIBS}
|
CFLAGS = -I. -I${INC} -Wall @CFLAGS@ |
CFLAGS = -I. -I${INC} -Wall @CFLAGS@ |
LDFLAGS = -L. -L${LIB} @LDFLAGS@ |
LDFLAGS = -L. -L${LIB} @LDFLAGS@ |
|
|
SRCS = aitio.c url.c | SRCS = aitio.c aio.c crypt.c pty.c bufio.c |
OBJS = aitio.o url.o | OBJS = aitio.o aio.o crypt.o pty.o bufio.o |
LIBSO = libaitio.so |
LIBSO = libaitio.so |
LIBA = libaitio.a |
LIBA = libaitio.a |
|
|
Line 47 ${LIBA}: ${OBJS}
|
Line 47 ${LIBA}: ${OBJS}
|
${RANLIB} ${LIB}/$@ |
${RANLIB} ${LIB}/$@ |
|
|
${LIBSO}: ${OBJS} |
${LIBSO}: ${OBJS} |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD} | ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |