1 AM_CFLAGS=-g -Wall -I $(top_srcdir)
3 if WITH_TIGHTVNC_FILETRANSFER
4 TIGHTVNCFILETRANSFERHDRS=tightvnc-filetransfer/filelistinfo.h \
5 tightvnc-filetransfer/filetransfermsg.h \
6 tightvnc-filetransfer/handlefiletransferrequest.h \
7 tightvnc-filetransfer/rfbtightproto.h
9 TIGHTVNCFILETRANSFERSRCS = tightvnc-filetransfer/rfbtightserver.c \
10 tightvnc-filetransfer/handlefiletransferrequest.c \
11 tightvnc-filetransfer/filetransfermsg.c \
12 tightvnc-filetransfer/filelistinfo.c
15 includedir=$(prefix)/include/rfb
16 #include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h
18 include_HEADERS=../rfb/rfb.h ../rfb/rfbconfig.h ../rfb/rfbint.h \
19 ../rfb/rfbproto.h ../rfb/keysym.h ../rfb/rfbregion.h ../rfb/rfbclient.h
21 noinst_HEADERS=d3des.h ../rfb/default8x16.h zrleoutstream.h \
22 zrlepalettehelper.h zrletypes.h private.h minilzo.h lzoconf.h scale.h \
23 $(TIGHTVNCFILETRANSFERHDRS)
25 EXTRA_DIST=tableinit24.c tableinittctemplate.c tabletranstemplate.c \
26 tableinitcmtemplate.c tabletrans24template.c \
30 ZLIBSRCS = zlib.c zrle.c zrleoutstream.c zrlepalettehelper.c zywrletemplate.c
36 LIB_SRCS = main.c rfbserver.c rfbregion.c auth.c sockets.c \
37 stats.c corre.c hextile.c rre.c translate.c cutpaste.c \
38 httpd.c cursor.c font.c \
39 draw.c selbox.c d3des.c vncauth.c cargs.c minilzo.c ultra.c scale.c \
40 $(ZLIBSRCS) $(JPEGSRCS) $(TIGHTVNCFILETRANSFERSRCS)
42 libvncserver_la_SOURCES=$(LIB_SRCS)
44 lib_LTLIBRARIES=libvncserver.la
47 $(PACKAGE)-$(VERSION).tar.gz: dist
49 # Rule to build RPM distribution package
50 rpm: $(PACKAGE)-$(VERSION).tar.gz libvncserver.spec
51 cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@
52 rpmbuild -ba libvncserver.spec