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