X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2FMakefile.am;h=f932d3ba66f0e4d8d712a208c59b3ede603c85d8;hb=HEAD;hp=9676f852b34e701fa512059e01c15fcb184ff68a;hpb=7eacd0b32678c070af3c6b22892099f054ecb424;p=rodin%2Fchimara.git diff --git a/libchimara/Makefile.am b/libchimara/Makefile.am index 9676f85..f932d3b 100644 --- a/libchimara/Makefile.am +++ b/libchimara/Makefile.am @@ -4,6 +4,12 @@ AM_CFLAGS = -Wall lib_LTLIBRARIES = libchimara.la +if TARGET_ILIAD +pluginpath = "../interpreters" +else +pluginpath = $(pkglibdir) +endif + libchimara_la_SOURCES = \ abort.c abort.h \ case.c \ @@ -16,28 +22,30 @@ libchimara_la_SOURCES = \ fileref.c fileref.h \ garglk.c garglk.h \ gestalt.c \ + graphics.c graphics.h \ gi_blorb.c gi_blorb.h \ gi_dispa.c gi_dispa.h \ glk.c glk.h \ glkstart.h \ glkunix.c glkunix.h \ hyperlink.c hyperlink.h \ - image.c \ init.c init.h \ input.c input.h \ magic.c magic.h \ - mouse.c \ + mouse.c mouse.h \ + pager.c pager.h \ resource.c resource.h \ - schannel.c \ + schannel.c schannel.h \ stream.c stream.h \ strio.c strio.h \ style.c style.h \ timer.c timer.h \ - window.c window.h + window.c window.h libchimara_la_CPPFLAGS = \ -DG_LOG_DOMAIN=\"Chimara\" \ -DLOCALEDIR=\""$(datadir)/locale"\" \ - -DPLUGINDIR=\""$(pkglibdir)"\" \ + -DPLUGINDIR=\""$(pluginpath)"\" \ + -DPLUGINSOURCEDIR=\""$(abs_builddir)/../interpreters"\" \ -I$(top_srcdir) libchimara_la_CFLAGS = @CHIMARA_CFLAGS@ $(AM_CFLAGS) libchimara_la_LIBADD = @CHIMARA_LIBS@ @@ -51,13 +59,14 @@ libchimara_include_HEADERS = \ glk.h \ glkstart.h \ gi_blorb.h \ + gi_dispa.h \ garglk.h BUILT_SOURCES = chimara-marshallers.c chimara-marshallers.h chimara-marshallers.c: chimara-marshallers.txt - glib-genmarshal --body --prefix=chimara_marshal $< > $@ + glib-genmarshal --body --prefix=_chimara_marshal $< > $@ chimara-marshallers.h: chimara-marshallers.txt - glib-genmarshal --header --prefix=chimara_marshal $< > $@ + glib-genmarshal --header --prefix=_chimara_marshal $< > $@ EXTRA_DIST = doc.c glkstart.c chimara-marshallers.txt