[Libbt-devel] dynamic libbt
Brought to you by:
ksmathers
From: Anne J. B. <ann...@ve...> - 2005-05-19 12:23:54
|
I am currently working on a bittorrent powered tv system ( http://intmainvoid.nl/?swarmTv ) For that I made a dynamic linked library from libbt.. Based on libbt 1.04 (error in your Makefile.in says it's 1.03) In case you might be interested, here is a diff of the src/Makefile.in 3,4d2 < VERSION=1.04 < 14c12 < LIBBT:=libbt.so.${VERSION}.0 --- > LIBBT:=libbt.a 32c30 < LIBCFLAGS=-g -shared -Wl,-soname,libbt.so -Wall -I../include -I$(top_srcdir)/include --- > 34a33 > VERSION=1.03 40,41c39 < mkdir ../bin < mv ${PROGRAMS} ${LIBBT} libbt.so ../bin --- > mv ${PROGRAMS} libbt.a ../bin 49c47 < btcheck: btcheck.c --- > btcheck: libbt.a btcheck.c 59c57 < rm -f ${LIBBT} ${PROGRAMS} ${OBJS} btcheck.o btlist.o btget.o libbt.so --- > rm -f ${OBJS} btcheck.o btlist.o btget.o 61a60 > rm -f ${PROGRAMS} ${LIBBT} 64,66c63,66 < ${LIBBT}: ${OBJS} < ${CC} ${LIBCFLAGS} -o $@ ${OBJS} < ln -s ${LIBBT} libbt.so --- > libbt.a: ${OBJS} > ${AR} rc $@ ${OBJS} > ${RANLIB} $@ > 68c68 < ${CC} -fPIC -c ${CFLAGS} ${CPPFLAGS} $< -o $@ --- > ${CC} -c ${CFLAGS} ${CPPFLAGS} $< -o $@ Anne Jan Brouwer |