--- a/Makefile.am
+++ b/Makefile.am
@@ -94,6 +94,11 @@
 
 noinst_HEADERS = $(INTERNAL_HDR) $(SYS_HDR) $(MAC_HDR)
 
+# Pkg-config script.
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libpano13.pc
+DISTCLEANFILES = $(pkgconfig_DATA)
+
 SUBDIRS=m4 . tools doc build tests man
 
 distdir=lib$(PACKAGE)-$(VERSION)