X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Fgit%2FMakefile.am;h=bbed8c42cbe4ee7c7b2f58d5b11d2c25ad72603d;hb=cdb84c7c776f214f41ba1a509efb2494e7ed1baf;hp=051eeb35c2fd79cb3bdfcbf3130e5710dc8f01ef;hpb=42547067728cfe19d1302a6926fa9e4d5a1ca50f;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/git/Makefile.am b/interpreters/git/Makefile.am index 051eeb3..bbed8c4 100644 --- a/interpreters/git/Makefile.am +++ b/interpreters/git/Makefile.am @@ -1,14 +1,12 @@ -PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk" - # Automatically generate version.h MAJOR = 1 MINOR = 2 -PATCH = 4 -version.h: Makefile - echo "// Automatically generated file -- do not edit!" > version.h - echo "#define GIT_MAJOR" $(MAJOR) >> version.h - echo "#define GIT_MINOR" $(MINOR) >> version.h - echo "#define GIT_PATCH" $(PATCH) >> version.h +PATCH = 8 +version.h: Makefile.am + $(AM_V_GEN)echo "// Automatically generated file -- do not edit!" > version.h + $(AM_V_at)echo "#define GIT_MAJOR" $(MAJOR) >> version.h + $(AM_V_at)echo "#define GIT_MINOR" $(MINOR) >> version.h + $(AM_V_at)echo "#define GIT_PATCH" $(PATCH) >> version.h pkglib_LTLIBRARIES = git.la BUILT_SOURCES = version.h @@ -18,12 +16,12 @@ git_la_SOURCES = version.h git.h config.h compiler.h memory.h opcodes.h \ accel.c git_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara git_la_CFLAGS = -DCHIMARA_EXTENSIONS -DUSE_INLINE $(AM_CFLAGS) -git_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +git_la_LDFLAGS = -module $(PLUGIN_LIBTOOL_FLAGS) gitdocdir = $(datadir)/doc/$(PACKAGE)/git dist_gitdoc_DATA = README.txt -CLEANFILES = test/*.tmp +CLEANFILES = version.h test/*.tmp #TESTS = test/test.sh \ # test/Alabaster.gblorb test/Alabaster.walk test/Alabaster.golden @@ -46,3 +44,5 @@ CLEANFILES = test/*.tmp # Mac OS X (PowerPC) settings. #CC = gcc2 -Wall -O3 -no-cpp-precomp #OPTIONS = -DUSE_DIRECT_THREADING -DUSE_BIG_ENDIAN_UNALIGNED -DUSE_MMAP -DUSE_INLINE + +-include $(top_srcdir)/git.mk