version 1.14.8.2, 2013/01/17 12:13:25
|
version 1.19, 2014/02/08 22:06:16
|
Line 8
|
Line 8
|
|
|
prefix = @prefix@ |
prefix = @prefix@ |
exec_prefix = @exec_prefix@ |
exec_prefix = @exec_prefix@ |
|
includedir = @includedir@ |
|
libdir = @libdir@ |
|
|
LIBS = @LIBS@ |
LIBS = @LIBS@ |
|
|
Line 19 LIB = ../lib
|
Line 21 LIB = ../lib
|
|
|
LDADD = ${LIBS} |
LDADD = ${LIBS} |
|
|
CFLAGS = -I. -I${INC} -Wall @CFLAGS@ | CFLAGS = -I. -I${INC} -I${includedir} -Wall @CFLAGS@ |
LDFLAGS = -L. -L${LIB} @LDFLAGS@ | LDFLAGS = -L. -L${LIB} -L${libdir} @LDFLAGS@ |
|
|
SRCS = aitio.c aio.c crypt.c pty.c bufio.c | SRCS = aitio.c aio.c crypt.c pty.c bufio.c sess.c bpf.c sock.c exec.c |
OBJS = aitio.o aio.o crypt.o pty.o bufio.o | OBJS = aitio.o aio.o crypt.o pty.o bufio.o sess.o bpf.o sock.o exec.o |
LIBSO = libaitio.so |
LIBSO = libaitio.so |
LIBA = libaitio.a |
LIBA = libaitio.a |
|
|
Line 47 ${LIBA}: ${OBJS}
|
Line 49 ${LIBA}: ${OBJS}
|
${RANLIB} ${LIB}/$@ |
${RANLIB} ${LIB}/$@ |
|
|
${LIBSO}: ${OBJS} |
${LIBSO}: ${OBJS} |
${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -Wl,-x,-soname,$@ ${OBJS} ${LDADD} | ${CC} ${LDFLAGS} -shared -o ${LIB}/$@ -nostartfiles -Wl,-x,-soname,$@ ${OBJS} ${LDADD} |