X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Fgit%2FMakefile.am;fp=interpreters%2Fgit%2FMakefile.am;h=2257391e77a7d15701b3cbf142b46669a64409a9;hb=147a8cbf17f2b3379277bf7d37cda9866510f16c;hp=0000000000000000000000000000000000000000;hpb=7de488aa6a1709a4d5c59b5ff59862105c1748c5;p=rodin%2Fchimara.git diff --git a/interpreters/git/Makefile.am b/interpreters/git/Makefile.am new file mode 100644 index 0000000..2257391 --- /dev/null +++ b/interpreters/git/Makefile.am @@ -0,0 +1,46 @@ +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 + +pkglib_LTLIBRARIES = git.la +BUILT_SOURCES = version.h +git_la_SOURCES = version.h git.h config.h compiler.h memory.h opcodes.h \ + labels.inc compiler.c gestalt.c git.c git_unix.c glkop.c heap.c memory.c \ + 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_MMAP -DUSE_INLINE $(AM_CFLAGS) +git_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + +gitdocdir = $(datadir)/doc/$(PACKAGE)/git +dist_gitdoc_DATA = README.txt + +CLEANFILES = test/*.tmp + +#TESTS = test/test.sh \ +# test/Alabaster.gblorb test/Alabaster.walk test/Alabaster.golden +# +#test: git +# sh test/test.sh + +# Best settings for GCC 2.95. This generates faster code than +# GCC 3, so you should use this setup if possible. +#CC = gcc -Wall -O3 +#OPTIONS = -DUSE_DIRECT_THREADING -DUSE_MMAP -DUSE_INLINE +# +# Best settings for GCC 3. The optimiser in this version of GCC +# is somewhat broken, so we can't use USE_DIRECT_THREADING. +#CC = gcc -Wall -O3 +#OPTIONS = -DUSE_MMAP -DUSE_INLINE +# +# 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