Browse Source

Add libvncserver.pc and libvncclient.pc files.

Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
pull/1/head
Vic Lee 12 years ago committed by Christian Beier
parent
commit
64daa71ede
  1. 1
      .gitignore
  2. 3
      Makefile.am
  3. 2
      configure.ac
  4. 12
      libvncclient.pc.in
  5. 12
      libvncserver.pc.in

1
.gitignore vendored

@ -15,6 +15,7 @@ x11vnc.spec.in
aclocal.m4
autom4te.cache
libvncserver-config
*.pc
_configs.sed
config.h
LibVNCServer*.tar.gz

3
Makefile.am

@ -8,6 +8,9 @@ EXTRA_DIST = CMakeLists.txt
bin_SCRIPTS = libvncserver-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libvncserver.pc libvncclient.pc
includedir=$(prefix)/include/rfb
#include_HEADERS=rfb.h rfbconfig.h rfbint.h rfbproto.h keysym.h rfbregion.h

2
configure.ac

@ -829,6 +829,8 @@ AM_CONDITIONAL(WITH_X11VNC, test "$build_x11vnc" = "yes")
AC_SUBST(RPMSOURCEDIR)
AC_CONFIG_FILES([Makefile
libvncserver.pc
libvncclient.pc
libvncserver/Makefile
examples/Makefile
vncterm/Makefile

12
libvncclient.pc.in

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: LibVNCClient
Description: A library for easy implementation of a VNC client.
Version: @VERSION@
Requires:
Libs: -L${libdir} -lvncclient @LIBS@ @WSOCKLIB@
Cflags: -I${includedir}

12
libvncserver.pc.in

@ -0,0 +1,12 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: LibVNCServer
Description: A library for easy implementation of a VNC server.
Version: @VERSION@
Requires:
Libs: -L${libdir} -lvncserver @LIBS@ @WSOCKLIB@
Cflags: -I${includedir}
Loading…
Cancel
Save