# -*- makefile -*- SUBSYSTEMS = STEFAN STEFANS_STUFF = unmangle annotator except paranoid_visitor ptree_util \ type_rep decl_read symbol_table scope annotation \ expr_annotator function namespace typedef variable enum class \ symbol_name expr_result implicit_conversion overload_resolver \ block function_body init_handler template # # COMP subsystem # COMP = compiler INTERFACES_COMP = main sstring symbol_table mangle source \ downcast ptree_visitor ptree_program_visitor translator \ $(STEFANS_STUFF) PRIVATE_INCDIR += $(srcdir) # this is now in root/Makeconf # OPENCXXDIR = $(srcdir)/../tool/openc++ PRIVATE_INCDIR += $(OPENCXXDIR)/include COMP_LINK += -L$(OPENCXXDIR) -locc -lgc ifeq ($(shell uname),Linux) COMP_LINK += -ldl endif # # Stefan's subsystem # STEFAN = stefan INTERFACES_STEFAN = stefan \ downcast ptree_visitor ptree_program_visitor \ source sstring \ $(STEFANS_STUFF) STEFAN_LINK = $(COMP_LINK)