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