1 PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk"
3 # Automatically generate version.h
8 echo "// Automatically generated file -- do not edit!" > version.h
9 echo "#define GIT_MAJOR" $(MAJOR) >> version.h
10 echo "#define GIT_MINOR" $(MINOR) >> version.h
11 echo "#define GIT_PATCH" $(PATCH) >> version.h
13 pkglib_LTLIBRARIES = git.la
14 BUILT_SOURCES = version.h
15 git_la_SOURCES = version.h git.h config.h compiler.h memory.h opcodes.h \
16 labels.inc compiler.c gestalt.c git.c git_unix.c glkop.c heap.c memory.c \
17 opcodes.c operands.c peephole.c savefile.c saveundo.c search.c terp.c \
19 git_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara
20 git_la_CFLAGS = -DUSE_MMAP -DUSE_INLINE $(AM_CFLAGS)
21 git_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
23 gitdocdir = $(datadir)/doc/$(PACKAGE)/git
24 dist_gitdoc_DATA = README.txt
26 CLEANFILES = test/*.tmp
28 #TESTS = test/test.sh \
29 # test/Alabaster.gblorb test/Alabaster.walk test/Alabaster.golden
34 # Best settings for GCC 2.95. This generates faster code than
35 # GCC 3, so you should use this setup if possible.
37 #OPTIONS = -DUSE_DIRECT_THREADING -DUSE_MMAP -DUSE_INLINE
39 # Best settings for GCC 3. The optimiser in this version of GCC
40 # is somewhat broken, so we can't use USE_DIRECT_THREADING.
42 #OPTIONS = -DUSE_MMAP -DUSE_INLINE
44 # Mac OS X (PowerPC) settings.
45 #CC = gcc2 -Wall -O3 -no-cpp-precomp
46 #OPTIONS = -DUSE_DIRECT_THREADING -DUSE_BIG_ENDIAN_UNALIGNED -DUSE_MMAP -DUSE_INLINE