a54d42a2df2bd788d1ad30df833871a7d5a3dd4f
[projects/chimara/chimara.git] / interpreters / nitfol / Makefile.am
1 GRAPHICS = no_graph.c no_graph.h
2 # GRAPHICS = graphics.c graphics.h
3 BLORB = blorb.c 
4 # BLORB = no_blorb.c
5 SOUND = no_snd.c no_snd.h
6 # SOUND = sound.c sound.h
7
8 dist_noinst_SCRIPTS = copying.awk opt2glkc.pl y2help.pl
9
10 pkglib_LTLIBRARIES = nitfol.la
11 nitfol_la_SOURCES = automap.c automap.h binary.h copying.h debug.c debug.h \
12         decode.c decode.h errmesg.c errmesg.h globals.c globals.h hash.c hash.h \
13         iff.c iff.h infix.c infix.h inform.y inform.h init.c init.h io.c nio.h \
14         linkevil.h main.c main.h nitfol.h no_blorb.h objects.c objects.h op_call.c \
15         op_call.h op_jmp.c op_jmp.h oplist.c oplist.h op_math.c op_math.h \
16         op_save.c op_save.h op_table.c op_table.h op_v6.c op_v6.h portfunc.c \
17         portfunc.h quetzal.c quetzal.h solve.c solve.h stack.c stack.h struct.c \
18         struct.h tokenise.c tokenise.h undo.c undo.h z_io.c z_io.h zscii.c zscii.h \
19         $(GRAPHICS) \
20         $(BLORB) \
21         $(SOUND)
22 nodist_nitfol_la_SOURCES = copying.c dbg_help.h startunix.c
23 nitfol_la_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/libchimara \
24         -DSMART_TOKENISER -DUSE_INLINE
25 nitfol_la_LDFLAGS = -module $(PLUGIN_LIBTOOL_FLAGS)
26
27 info_TEXINFOS = nitfol.texi
28 nitfol_TEXINFOS = dbg_help.texi options.texi
29 # man_MANS = nitfol.6
30
31 BUILT_SOURCES = copying.c dbg_help.h startunix.c dbg_help.texi options.texi
32 CLEANFILES = $(BUILT_SOURCES) nitfol.6
33 DISTCLEANFILES = inform.c nitfol.info
34 MAINTAINERCLEANFILES = texinfo.tex
35
36 dbg_help.h: inform.y y2help.pl
37         $(AM_V_GEN)$(PERL) $(srcdir)/y2help.pl $(srcdir)/inform.y
38
39 dbg_help.texi: inform.y y2help.pl
40         $(AM_V_GEN)$(PERL) $(srcdir)/y2help.pl $(srcdir)/inform.y
41
42 copying.c: COPYING copying.awk
43         $(AM_V_GEN)$(AWK) -f $(srcdir)/copying.awk <$(srcdir)/COPYING >copying.c
44
45 # nitfol.6: nitfol.opt opt2glkc.pl
46 #       $(AM_V_GEN)$(PERL) $(srcdir)/opt2glkc.pl -man $(srcdir)/nitfol.opt
47
48 options.texi: nitfol.opt opt2glkc.pl
49         $(AM_V_GEN)$(PERL) $(srcdir)/opt2glkc.pl -info $(srcdir)/nitfol.opt
50
51 startunix.c: nitfol.opt opt2glkc.pl
52         $(AM_V_GEN)$(PERL) $(srcdir)/opt2glkc.pl -unix $(srcdir)/nitfol.opt
53
54 EXTRA_DIST = nitfol.opt crashme.inf test.inf 
55
56 nitfoldocdir = $(datadir)/doc/$(PACKAGE)/nitfol
57 dist_nitfoldoc_DATA = ChangeLog COPYING INSTALL README
58
59 -include $(top_srcdir)/git.mk