X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Fgit%2FMakefile.am;h=c8641b050830b50699404f7873d112a5db8f544e;hb=ab69784818406848518cf7d66392e3c527af2085;hp=b9881a60a91e10da9fdf4ad09ebc45714fc08079;hpb=66703215003ffcaeb8b24d72f9b8bc8d8a4d90fd;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/git/Makefile.am b/interpreters/git/Makefile.am index b9881a6..c8641b0 100644 --- a/interpreters/git/Makefile.am +++ b/interpreters/git/Makefile.am @@ -1,10 +1,8 @@ -PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk" - # Automatically generate version.h MAJOR = 1 MINOR = 2 PATCH = 4 -version.h: Makefile +version.h: Makefile.am echo "// Automatically generated file -- do not edit!" > version.h echo "#define GIT_MAJOR" $(MAJOR) >> version.h echo "#define GIT_MINOR" $(MINOR) >> version.h @@ -17,13 +15,13 @@ git_la_SOURCES = version.h git.h config.h compiler.h memory.h opcodes.h \ opcodes.c operands.c peephole.c savefile.c saveundo.c search.c terp.c \ accel.c git_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara -git_la_CFLAGS = -DUSE_INLINE $(AM_CFLAGS) -git_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +git_la_CFLAGS = -DCHIMARA_EXTENSIONS -DUSE_INLINE $(AM_CFLAGS) +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 @@ -45,4 +43,4 @@ 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 \ No newline at end of file +#OPTIONS = -DUSE_DIRECT_THREADING -DUSE_BIG_ENDIAN_UNALIGNED -DUSE_MMAP -DUSE_INLINE