Signed-off-by: Alon Levy <alevy@redhat.com>
SUBDIRS=lib test-server
EXTRA_DIST=scripts/kernel-doc
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libwebsockets.pc
+
lib/Makefile
test-server/Makefile])
-AC_OUTPUT
+AC_OUTPUT([
+libwebsockets.pc
+])
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libwebsockets
+Description: Websockets server and client library
+Version: @VERSION@
+
+Libs: -L${libdir} -lwebsockets
+Cflags: -I${includedir}