From ef059f3f675f384c68c15076dbcf220be1e01eee Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 26 Aug 2014 10:07:17 +0000 Subject: Add generic Boot and Spad tokenizer. --- src/boot/Makefile.am | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'src/boot/Makefile.am') diff --git a/src/boot/Makefile.am b/src/boot/Makefile.am index b24e923e..23af6c5d 100644 --- a/src/boot/Makefile.am +++ b/src/boot/Makefile.am @@ -58,7 +58,7 @@ LISP_LINK = \ # We use a noinst_ primary because we take care of installation # procedure ourselves. -noinst_PROGRAMS = bootsys +noinst_PROGRAMS = bootsys bemol bootsys_SOURCES = \ utility.boot \ @@ -70,6 +70,14 @@ bootsys_SOURCES = \ parser.boot \ translator.boot +bemol_SOURCES = \ + bemol.cc + +bemol_LDADD = \ + -L$(oa_target_libdir) -lOpenAxiom \ + -L$(top_builddir)/src/syntax -lsyntax \ + -L$(top_builddir)/src/io -lio + oa_target_bootdir = $(oa_targetdir)/boot if OA_ECL_RT oa_bootsys_linkset = $(oa_target_bootdir)/linkset @@ -89,11 +97,19 @@ bootsys_fn = $(bootsys_SOURCES:.boot=.fn) STAMP = touch +AM_CXXFLAGS = \ + -I$(top_srcdir)/src/include \ + -I$(oa_target_includedir) \ + -I$(top_builddir)/config \ + -DOPENAXIOM_ROOT_DIRECTORY="\"$(open_axiom_installdir)\"" + + # Make rule toplevel entry points. .PHONY: all-boot all-am: all-boot all-boot: $(oa_target_bindir)/bootsys$(EXEEXT) $(oa_bootsys_linkset) +all-boot: bemol$(EXEEXT) # The final `bootsys' image. $(oa_target_bindir)/bootsys$(EXEEXT): stage2/bootsys$(EXEEXT) -- cgit v1.2.3