X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Ffrotz%2FMakefile.am;h=16c91a62c72675c548a96f37870c940fed41fad1;hb=4ab49e6ed54603ca26040c43cf4628cd0186632f;hp=02d88efc188bee624f3428f5cb71704cdd4565b4;hpb=020cdefc16ef5d6d33ef13f3aa701c921cb37253;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/frotz/Makefile.am b/interpreters/frotz/Makefile.am index 02d88ef..16c91a6 100644 --- a/interpreters/frotz/Makefile.am +++ b/interpreters/frotz/Makefile.am @@ -1,12 +1,20 @@ -PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk" - 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 + text.c variable.c glkscreen.c glkmisc.c frotz.h glkfrotz.h glkio.h frotz_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara -frotz_la_CFLAGS = -Wno-pointer-sign $(AM_CFLAGS) -frotz_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) + +if TARGET_ILIAD +no_pointer_sign = +else +no_pointer_sign = -Wno-pointer-sign +endif + +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 + +-include $(top_srcdir)/git.mk