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