1 ACLOCAL_AMFLAGS = -I m4 2 3 SUBDIRS=libvncserver examples libvncclient webclients client_examples test 4 DIST_SUBDIRS=libvncserver examples libvncclient webclients client_examples test 5 EXTRA_DIST = CMakeLists.txt rfb/rfbint.h.cmake rfb/rfbconfig.h.cmake 6 7 bin_SCRIPTS = libvncserver-config 8 9 pkgconfigdir = $(libdir)/pkgconfig 10 pkgconfig_DATA = libvncserver.pc libvncclient.pc 11 12 includedir=$(prefix)/include/rfb 13 #include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h 14 15 include_HEADERS=rfb/rfb.h rfb/rfbconfig.h rfb/rfbint.h rfb/rfbproto.h \ 16 rfb/keysym.h rfb/rfbregion.h rfb/rfbclient.h 17 18 $(PACKAGE)-$(VERSION).tar.gz: dist 19 20 if HAVE_RPM 21 # Rule to build RPM distribution package 22 rpm: $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).spec 23 cp $(PACKAGE)-$(VERSION).tar.gz @RPMSOURCEDIR@ 24 rpmbuild -ba $(PACKAGE).spec 25 endif 26 27 t: 28 $(MAKE) -C test test 29 30