1 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/common 2 3 if HAVE_GNUTLS 4 TLSSRCS = tls_gnutls.c 5 TLSLIBS = @GNUTLS_LIBS@ 6 else 7 if HAVE_LIBSSL 8 TLSSRCS = tls_openssl.c 9 TLSLIBS = @SSL_LIBS@ @CRYPT_LIBS@ 10 else 11 TLSSRCS = tls_none.c 12 endif 13 endif 14 15 16 libvncclient_la_SOURCES=cursor.c listen.c rfbproto.c sockets.c vncviewer.c ../common/minilzo.c $(TLSSRCS) 17 libvncclient_la_LIBADD=$(TLSLIBS) $(VA_LIBS) 18 19 noinst_HEADERS=../common/lzodefs.h ../common/lzoconf.h ../common/minilzo.h tls.h 20 21 rfbproto.o: rfbproto.c corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c 22 23 EXTRA_DIST=corre.c hextile.c rre.c tight.c zlib.c zrle.c ultra.c tls_gnutls.c tls_openssl.c tls_none.c h264.c 24 25 $(libvncclient_la_OBJECTS): ../rfb/rfbclient.h 26 27 lib_LTLIBRARIES=libvncclient.la 28 29 30