Commit ca805667 authored by dscho's avatar dscho

Build shared libraries per default

Thanks to Guillaume Rousse, we now use libtool to build shared libraries.
parent 3f0f799d
......@@ -29,7 +29,7 @@ Oliver Mihatsch, Greg Sternberg, Werner Hofer, Giampiero Giancipoli,
Glenn Mabutt, Paul Kreiner, Erik Kunze, Mike Frysinger, Martin Waitz,
Mark McLoughlin, Paul Fox, Juan Jose Costello, Andre Leiadella,
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
really made a difference. Without those, some obscure bugs still would
......
2007-03-31 Guillaume Rousse <Guillaume.Rousse@inria.fr>
* configure.ac, **/Makefile.am: build shared libraries
2007-03-20 Karl Runge <runge@karlrunge.com>
* libvncserver/httpd.c: Add "Connection: close" to HTTP replies.
......
This diff is collapsed.
AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncclient/libvncclient.a @WSOCKLIB@
LDADD = ../libvncclient/libvncclient.la @WSOCKLIB@
if WITH_FFMPEG
FFMPEG_HOME=@with_ffmpeg@
......
......@@ -12,7 +12,7 @@ else
CCLD="$CC"
fi
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_LIBTOOL
AC_PATH_PROG([AR], [ar], [/usr/bin/ar],
[$PATH:/usr/ccs/bin])
......
AM_CFLAGS = -I $(top_srcdir)
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@
LDADD = ../libvncserver/libvncserver.la @WSOCKLIB@
noinst_PROGRAMS=zippy
......
AM_CFLAGS=-I $(top_srcdir) -g -Wall
LDADD = ../libvncserver/libvncserver.a @WSOCKLIB@
LDADD = ../libvncserver/libvncserver.la @WSOCKLIB@
if OSX
MAC=mac
......
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
......@@ -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
$(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 \
$(ZLIBSRCS) $(JPEGSRCS) $(TIGHTVNCFILETRANSFERSRCS)
libvncserver_a_SOURCES=$(LIB_SRCS)
libvncserver_la_SOURCES=$(LIB_SRCS)
lib_LIBRARIES=libvncserver.a
lib_LTLIBRARIES=libvncserver.la
if HAVE_RPM
$(PACKAGE)-$(VERSION).tar.gz: dist
......
This diff is collapsed.
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
BACKGROUND_TEST=blooptest
......
......@@ -4,7 +4,7 @@ CONSOLE_SRCS=VNConsole.c
noinst_HEADERS=VNConsole.h vga.h
LDADD=../libvncserver/libvncserver.a @WSOCKLIB@
LDADD=../libvncserver/libvncserver.la @WSOCKLIB@
INCLUDES=-I.
if LINUX
......
AM_CFLAGS = -I $(top_srcdir)
LDADD = ../libvncserver/libvncserver.a ../libvncclient/libvncclient.a @WSOCKLIB@
LDADD = ../libvncserver/libvncserver.la ../libvncclient/libvncclient.la @WSOCKLIB@
if OSX
x11vnc_LDFLAGS = -framework ApplicationServices -framework Carbon -framework IOKit -framework Cocoa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment