debian/changelog: Prepare for next version.
[sod] / lib / Makefile.am
index 9d36d6c..af62357 100644 (file)
@@ -60,6 +60,23 @@ sod-base.c: $(SOD); $(V_SOD_c)$(SOD) -tc --builtin
 sod-base.h: $(SOD); $(V_SOD_h)$(SOD) -th --builtin
 
 ###--------------------------------------------------------------------------
+### Package-configuration file.
+
+pkgconfigdir            = $(libdir)/pkgconfig
+pkgconfig_DATA          = sod.pc
+CLEANFILES             += sod.pc
+EXTRA_DIST             += sod.pc.in
+
+sod.pc: sod.pc.in Makefile
+       $(SUBST) $(srcdir)/sod.pc.in >$@.new $(SUBSTITUTIONS) && mv $@.new $@
+
+###--------------------------------------------------------------------------
+### Autoconf machinery.
+
+aclocaldir              = $(datadir)/aclocal
+dist_aclocal_DATA       = sod.m4
+
+###--------------------------------------------------------------------------
 ### Other manual pages.
 
 dist_man_MANS          += sod-structs.3