summaryrefslogtreecommitdiffstats
path: root/libvncserver/Makefile.am
diff options
context:
space:
mode:
authordscho <dscho>2004-05-25 09:05:09 +0000
committerdscho <dscho>2004-05-25 09:05:09 +0000
commit876868553da8f69ed1a368688b6d01a8a7bc1a39 (patch)
tree0bf872ebeadb746eec0f4695230c8777680ece9f /libvncserver/Makefile.am
parent0130bdb9d6c61e0446ab514816041f1b9283410a (diff)
downloadlibtdevnc-876868553da8f69ed1a368688b6d01a8a7bc1a39.tar.gz
libtdevnc-876868553da8f69ed1a368688b6d01a8a7bc1a39.zip
move the library into libvncserver/, x11vnc into x11vnc/
Diffstat (limited to 'libvncserver/Makefile.am')
-rw-r--r--libvncserver/Makefile.am42
1 files changed, 42 insertions, 0 deletions
diff --git a/libvncserver/Makefile.am b/libvncserver/Makefile.am
new file mode 100644
index 0000000..0a14983
--- /dev/null
+++ b/libvncserver/Makefile.am
@@ -0,0 +1,42 @@
+CFLAGS=-g -Wall
+
+includedir=$(prefix)/include/rfb
+#include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h
+
+include_HEADERS=../rfb/rfb.h ../rfb/rfbconfig.h ../rfb/rfbint.h \
+ ../rfb/rfbproto.h ../rfb/keysym.h ../rfb/rfbregion.h ../rfb/rfbclient.h
+
+noinst_HEADERS=d3des.h ../rfb/default8x16.h zrleoutstream.h \
+ zrlepalettehelper.h zrletypes.h
+
+EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \
+ tableinitcmtemplate.c tabletrans24template.c \
+ zrleencodetemplate.c
+
+if HAVE_LIBZ
+ZLIBSRCS = zlib.c zrle.c zrleoutstream.c zrlepalettehelper.c
+if HAVE_LIBJPEG
+JPEGSRCS = tight.c
+endif
+endif
+
+LIB_SRCS = main.c rfbserver.c rfbregion.c auth.c sockets.c \
+ stats.c corre.c hextile.c rre.c translate.c cutpaste.c \
+ httpd.c cursor.c font.c \
+ draw.c selbox.c d3des.c vncauth.c cargs.c \
+ $(ZLIBSRCS) $(JPEGSRCS)
+
+libvncserver_a_SOURCES=$(LIB_SRCS)
+
+lib_LIBRARIES=libvncserver.a
+
+if HAVE_RPM
+$(PACKAGE)-$(VERSION).tar.gz: dist
+
+# Rule to build RPM distribution package
+rpm: $(PACKAGE)-$(VERSION).tar.gz libvncserver.spec
+ cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@
+ rpm -ba libvncserver.spec
+endif
+
+