X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Fnitfol%2FMakefile.am;h=1e721b1f90bb48ec11887b364b287c46569151e9;hb=7bfa90b3f23de3669df2a8427449e8c37b5657fc;hp=10ec1329fab39ca19f5aef6d30619ff3c128c08d;hpb=69bcc9a14851bb6e68b2f79e3b92d00cab3a55d8;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/nitfol/Makefile.am b/interpreters/nitfol/Makefile.am index 10ec132..1e721b1 100644 --- a/interpreters/nitfol/Makefile.am +++ b/interpreters/nitfol/Makefile.am @@ -1,31 +1,59 @@ -# TODO: There are a lot more documentation files in the Nitfol distribution - -PLUGIN_LIBTOOL_FLAGS=-module -avoid-version -export-symbols-regex "^glk" - -GRAPHICS = no_graph.c no_graph.h -# GRAPHICS = graphics.c graphics.h +#GRAPHICS = no_graph.c no_graph.h +GRAPHICS = graphics.c graphics.h BLORB = blorb.c # BLORB = no_blorb.c -SOUND = no_snd.c no_snd.h -# SOUND = sound.c sound.h +# SOUND = no_snd.c no_snd.h +SOUND = sound.c sound.h + +dist_noinst_SCRIPTS = copying.awk opt2glkc.pl y2help.pl pkglib_LTLIBRARIES = nitfol.la nitfol_la_SOURCES = automap.c automap.h binary.h copying.h debug.c debug.h \ decode.c decode.h errmesg.c errmesg.h globals.c globals.h hash.c hash.h \ - iff.c iff.h infix.c infix.h inform.c inform.h init.c init.h io.c \ - linkevil.h main.c main.h nio.h nitfol.h no_blorb.h objects.c objects.h \ - op_call.c op_call.h op_jmp.c op_jmp.h oplist.c oplist.h op_math.c \ - op_math.h op_save.c op_save.h op_table.c op_table.h op_v6.c op_v6.h \ - portfunc.c portfunc.h quetzal.c quetzal.h solve.c solve.h stack.c stack.h \ - startunix.c struct.c struct.h tokenise.c tokenise.h undo.c undo.h z_io.c \ - z_io.h zscii.c zscii.h \ + iff.c iff.h infix.c infix.h inform.y inform.h init.c init.h io.c nio.h \ + linkevil.h main.c main.h nitfol.h no_blorb.h objects.c objects.h op_call.c \ + op_call.h op_jmp.c op_jmp.h oplist.c oplist.h op_math.c op_math.h \ + op_save.c op_save.h op_table.c op_table.h op_v6.c op_v6.h portfunc.c \ + portfunc.h quetzal.c quetzal.h solve.c solve.h stack.c stack.h struct.c \ + struct.h tokenise.c tokenise.h undo.c undo.h z_io.c z_io.h zscii.c zscii.h \ $(GRAPHICS) \ $(BLORB) \ $(SOUND) -nitfol_la_CPPFLAGS = -I$(top_srcdir) -nitfol_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) +nodist_nitfol_la_SOURCES = copying.c dbg_help.h startunix.c +nitfol_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara \ + -DSMART_TOKENISER -DUSE_INLINE +nitfol_la_LDFLAGS = -module $(PLUGIN_LIBTOOL_FLAGS) + +info_TEXINFOS = nitfol.texi +nitfol_TEXINFOS = dbg_help.texi options.texi +# man_MANS = nitfol.6 + +BUILT_SOURCES = copying.c dbg_help.h startunix.c dbg_help.texi options.texi +CLEANFILES = $(BUILT_SOURCES) nitfol.6 +DISTCLEANFILES = inform.c nitfol.info +MAINTAINERCLEANFILES = texinfo.tex + +dbg_help.h: inform.y y2help.pl + $(AM_V_GEN)$(PERL) $(srcdir)/y2help.pl $(srcdir)/inform.y -EXTRA_DIST = crashme.inf test.inf +dbg_help.texi: inform.y y2help.pl + $(AM_V_GEN)$(PERL) $(srcdir)/y2help.pl $(srcdir)/inform.y + +copying.c: COPYING copying.awk + $(AM_V_GEN)$(AWK) -f $(srcdir)/copying.awk <$(srcdir)/COPYING >copying.c + +# nitfol.6: nitfol.opt opt2glkc.pl +# $(AM_V_GEN)$(PERL) $(srcdir)/opt2glkc.pl -man $(srcdir)/nitfol.opt + +options.texi: nitfol.opt opt2glkc.pl + $(AM_V_GEN)$(PERL) $(srcdir)/opt2glkc.pl -info $(srcdir)/nitfol.opt + +startunix.c: nitfol.opt opt2glkc.pl + $(AM_V_GEN)$(PERL) $(srcdir)/opt2glkc.pl -unix $(srcdir)/nitfol.opt + +EXTRA_DIST = nitfol.opt crashme.inf test.inf nitfoldocdir = $(datadir)/doc/$(PACKAGE)/nitfol dist_nitfoldoc_DATA = ChangeLog COPYING INSTALL README + +-include $(top_srcdir)/git.mk