X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/65aaa02c8b8a0226b13724934e12f4bd871cdc19..6bed6ea3e51d812189d2ef2d5f9418632079db71:/lib/Makefile.am diff --git a/lib/Makefile.am b/lib/Makefile.am index 939f721..a0b727c 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -35,19 +35,28 @@ libsod_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO) libsod_la_SOURCES = nodist_libsod_la_SOURCES = -nodist_pkginclude_HEADERS= +nodist_pkginclude_HEADERS = ###-------------------------------------------------------------------------- ### The source files. -libsod_la_SOURCES += sod.c +pkginclude_HEADERS += keyword.h +libsod_la_SOURCES += keyword.c keyword-hosted.c +man_MANS += keyword.3 +CLEANFILES += keyword.3 +EXTRA_DIST += keyword.3.in + pkginclude_HEADERS += sod.h +libsod_la_SOURCES += sod.c sod-hosted.c +man_MANS += sod.3 +CLEANFILES += sod.3 +EXTRA_DIST += sod.3.in ###-------------------------------------------------------------------------- ### 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 +64,27 @@ 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 +man_MANS += sod-structs.3 +CLEANFILES += sod-structs.3 +EXTRA_DIST += sod-structs.3.in ###----- That's all, folks --------------------------------------------------