X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/c1aef030273d4b34b99858dfc4a7af42ea694ae7..12949379840101e2d65883f29c5e8f0f6de49e9c:/lib/Makefile.am diff --git a/lib/Makefile.am b/lib/Makefile.am index a1348ae..af62357 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -35,19 +35,24 @@ libsod_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) libsod_la_SOURCES = nodist_libsod_la_SOURCES = -nodist_pkginclude_HEADERS= +nodist_pkginclude_HEADERS = ###-------------------------------------------------------------------------- ### The source files. +pkginclude_HEADERS += keyword.h +libsod_la_SOURCES += keyword.c keyword-hosted.c +dist_man_MANS += keyword.3 + pkginclude_HEADERS += sod.h -libsod_la_SOURCES += sod.c +libsod_la_SOURCES += sod.c sod-hosted.c +dist_man_MANS += sod.3 ###-------------------------------------------------------------------------- ### Generated builtin module. -nodist_libsod_la_SOURCES+= sod-base.c -nodist_pkginclude_HEADERS+= sod-base.h +nodist_libsod_la_SOURCES += sod-base.c +nodist_pkginclude_HEADERS += sod-base.h BUILT_SOURCES += $(nodist_libsod_la_SOURCES) \ $(nodist_pkginclude_HEADERS) @@ -55,8 +60,25 @@ sod-base.c: $(SOD); $(V_SOD_c)$(SOD) -tc --builtin sod-base.h: $(SOD); $(V_SOD_h)$(SOD) -th --builtin ###-------------------------------------------------------------------------- -### Manual pages. +### 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.3 sod-structs.3 +dist_man_MANS += sod-structs.3 ###----- That's all, folks --------------------------------------------------