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
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
-# 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)