X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Ffrotz%2FMakefile.am;h=f72505c53c4e01ccc9d436f942dd8a659f1f9cc9;hb=40cf50b43f824311d7f14893ed1193bb5642741a;hp=cd5489700d9ceff2a982198e5832fbad1c2e5763;hpb=b1f1dc50b22b30c4d7176e1ff7c0805e80fe0724;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/frotz/Makefile.am b/interpreters/frotz/Makefile.am index cd54897..f72505c 100644 --- a/interpreters/frotz/Makefile.am +++ b/interpreters/frotz/Makefile.am @@ -1,14 +1,18 @@ -PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk_main$$" - pkglib_LTLIBRARIES = frotz.la frotz_la_SOURCES = buffer.c err.c fastmem.c files.c input.c main.c math.c \ object.c process.c quetzal.c random.c redirect.c sound.c stream.c table.c \ text.c variable.c glkscreen.c glkmisc.c frotz.h glkfrotz.h glkio.h setup.h -frotz_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +frotz_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara + +if TARGET_ILIAD +no_pointer_sign = +else +no_pointer_sign = -Wno-pointer-sign +endif -# TODO: Remove this later, see issue #6 -frotz_la_CFLAGS = -I../../src +frotz_la_CFLAGS = $(no_pointer_sign) $(AM_CFLAGS) + +frotz_la_LDFLAGS = -module $(PLUGIN_LIBTOOL_FLAGS) frotzdocdir = $(datadir)/doc/$(PACKAGE)/frotz dist_frotzdoc_DATA = AUTHORS COPYING README TODO -