Build shared libraries per default

Thanks to Guillaume Rousse, we now use libtool to build shared libraries.
pull/1/head
dscho 17 years ago
parent 3f0f799d20
commit ca805667e6

@ -29,7 +29,7 @@ Oliver Mihatsch, Greg Sternberg, Werner Hofer, Giampiero Giancipoli,
Glenn Mabutt, Paul Kreiner, Erik Kunze, Mike Frysinger, Martin Waitz, Glenn Mabutt, Paul Kreiner, Erik Kunze, Mike Frysinger, Martin Waitz,
Mark McLoughlin, Paul Fox, Juan Jose Costello, Andre Leiadella, Mark McLoughlin, Paul Fox, Juan Jose Costello, Andre Leiadella,
Alberto Lusiani, Malvina Mazin, Dave Stuart, Rohit Kumar, Donald Dugger, Alberto Lusiani, Malvina Mazin, Dave Stuart, Rohit Kumar, Donald Dugger,
Steven Carr, Uwe Völker, and Charles Coffing. Steven Carr, Uwe Völker, Charles Coffing, and Guillaume Rousse.
Probably I forgot quite a few people sending a patch here and there, which Probably I forgot quite a few people sending a patch here and there, which
really made a difference. Without those, some obscure bugs still would really made a difference. Without those, some obscure bugs still would

@ -1,3 +1,6 @@
2007-03-31 Guillaume Rousse <Guillaume.Rousse@inria.fr>
* configure.ac, **/Makefile.am: build shared libraries
2007-03-20 Karl Runge <runge@karlrunge.com> 2007-03-20 Karl Runge <runge@karlrunge.com>
* libvncserver/httpd.c: Add "Connection: close" to HTTP replies. * libvncserver/httpd.c: Add "Connection: close" to HTTP replies.

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
AM_CFLAGS=-I $(top_srcdir) -g -Wall AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncclient/libvncclient.a @WSOCKLIB@ LDADD = ../libvncclient/libvncclient.la @WSOCKLIB@
if WITH_FFMPEG if WITH_FFMPEG
FFMPEG_HOME=@with_ffmpeg@ FFMPEG_HOME=@with_ffmpeg@

@ -12,7 +12,7 @@ else
CCLD="$CC" CCLD="$CC"
fi fi
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_RANLIB AC_PROG_LIBTOOL
AC_PATH_PROG([AR], [ar], [/usr/bin/ar], AC_PATH_PROG([AR], [ar], [/usr/bin/ar],
[$PATH:/usr/ccs/bin]) [$PATH:/usr/ccs/bin])

@ -1,5 +1,5 @@
AM_CFLAGS = -I $(top_srcdir) AM_CFLAGS = -I $(top_srcdir)
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.la @WSOCKLIB@
noinst_PROGRAMS=zippy noinst_PROGRAMS=zippy

@ -1,5 +1,5 @@
AM_CFLAGS=-I $(top_srcdir) -g -Wall AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.la @WSOCKLIB@
if OSX if OSX
MAC=mac MAC=mac

@ -1,6 +1,6 @@
AM_CFLAGS=-g -I $(top_srcdir) -I. -Wall AM_CFLAGS=-g -I $(top_srcdir) -I. -Wall
libvncclient_a_SOURCES=cursor.c listen.c rfbproto.c sockets.c vncviewer.c minilzo.c libvncclient_la_SOURCES=cursor.c listen.c rfbproto.c sockets.c vncviewer.c minilzo.c
noinst_HEADERS=lzoconf.h minilzo.h noinst_HEADERS=lzoconf.h minilzo.h
@ -8,8 +8,8 @@ rfbproto.o: rfbproto.c corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c
EXTRA_DIST=corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c EXTRA_DIST=corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c
$(libvncclient_a_OBJECTS): ../rfb/rfbclient.h $(libvncclient_la_OBJECTS): ../rfb/rfbclient.h
lib_LIBRARIES=libvncclient.a lib_LTLIBRARIES=libvncclient.la

@ -39,9 +39,9 @@ LIB_SRCS = main.c rfbserver.c rfbregion.c auth.c sockets.c \
draw.c selbox.c d3des.c vncauth.c cargs.c minilzo.c ultra.c scale.c \ draw.c selbox.c d3des.c vncauth.c cargs.c minilzo.c ultra.c scale.c \
$(ZLIBSRCS) $(JPEGSRCS) $(TIGHTVNCFILETRANSFERSRCS) $(ZLIBSRCS) $(JPEGSRCS) $(TIGHTVNCFILETRANSFERSRCS)
libvncserver_a_SOURCES=$(LIB_SRCS) libvncserver_la_SOURCES=$(LIB_SRCS)
lib_LIBRARIES=libvncserver.a lib_LTLIBRARIES=libvncserver.la
if HAVE_RPM if HAVE_RPM
$(PACKAGE)-$(VERSION).tar.gz: dist $(PACKAGE)-$(VERSION).tar.gz: dist

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
AM_CFLAGS=-I $(top_srcdir) -g -Wall AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncserver/libvncserver.a ../libvncclient/libvncclient.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@
if HAVE_LIBPTHREAD if HAVE_LIBPTHREAD
BACKGROUND_TEST=blooptest BACKGROUND_TEST=blooptest

@ -4,7 +4,7 @@ CONSOLE_SRCS=VNConsole.c
noinst_HEADERS=VNConsole.h vga.h noinst_HEADERS=VNConsole.h vga.h
LDADD=../libvncserver/libvncserver.a @WSOCKLIB@ LDADD=../libvncserver/libvncserver.la @WSOCKLIB@
INCLUDES=-I. INCLUDES=-I.
if LINUX if LINUX

@ -1,5 +1,5 @@
AM_CFLAGS = -I $(top_srcdir) AM_CFLAGS = -I $(top_srcdir)
LDADD = ../libvncserver/libvncserver.a ../libvncclient/libvncclient.a @WSOCKLIB@ LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@
if OSX if OSX
x11vnc_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit -framework Cocoa x11vnc_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit -framework Cocoa

Loading…
Cancel
Save