X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=ad12f31b5879cf4bb51fc2be8c0a0cf91dfa7f0b;hb=53126578ee08c0bd3b3987959fb7d768deb5aedc;hp=300b8f85f45441ac6b8d9dd5cd397370f407498b;hpb=48e95746a32612995f6eddd7661340679e6ad4d5;p=wrappi.git diff --git a/Makefile.am b/Makefile.am index 300b8f8..ad12f31 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,3 +16,23 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ACLOCAL_AMFLAGS = -I m4 + +# The API files are actually linked into the generator, but an extra +# camlp4-based preprocessor must be compiled first before we can +# compile the rest of the generator. Hence the rather convoluted set +# of subdirectories here. +SUBDIRS = generator-lib generator-macros APIs generator + +# The C library. +SUBDIRS += lib + +# Build the C example programs. +SUBDIRS += examples + +CLEANFILES = *~ + +dist-hook: + rm -f lib/LIB_MINOR + echo $$(( ( $$(date +%s) - $$(date -d 2011-12-27 +%s) ) / 86400 )) \ + > lib/LIB_MINOR-t + mv lib/LIB_MINOR-t lib/LIB_MINOR