# $Id$ # make sure that frontend/newparser is before ".", so that the generated # parser files will be present already. SUBDIRS=\ frontend/newparser\ .\ interpreter\ lib\ tests \ doc \ misc EXTRA_DIST = autogen.sh noinst_LIBRARIES = libcompiler.a libcompiler_a_SOURCES=\ frontend/ast/NodeFactory.cpp\ frontend/ast/Location.cpp\ frontend/ast/AstNode.cpp\ frontend/ast/AttributableDeclaration.cpp\ frontend/ast/AttributeDeclaration.cpp\ frontend/ast/AttributeSpecification.cpp\ frontend/ast/Name.cpp\ frontend/ast/PhysicalType.cpp\ frontend/ast/SubtypeIndication.cpp\ frontend/ast/RecordType.cpp\ frontend/ast/Types.cpp\ frontend/ast/ConstInteger.cpp\ frontend/ast/DiscreteRange.cpp\ frontend/ast/Expression.cpp\ frontend/ast/SimpleName.cpp\ frontend/ast/SymbolDeclaration.cpp\ frontend/ast/ValDeclaration.cpp\ frontend/misc/Driver.cpp\ frontend/misc/DeclarativeRegion.cpp\ frontend/misc/Symbol.cpp\ frontend/misc/SymbolTable.cpp\ frontend/misc/BuiltinSymbolTable.cpp\ frontend/misc/NameLookup.cpp\ frontend/misc/RegisterBuiltins.cpp\ frontend/misc/RangeSet.cpp\ frontend/reporting/AmbiguousTypes.cpp\ frontend/reporting/CompileError.cpp \ frontend/reporting/DuplicateName.cpp \ frontend/reporting/ErrorRegistry.cpp \ frontend/reporting/TypeError.cpp\ frontend/reporting/TypeMismatch.cpp\ frontend/reporting/UndefinedSymbol.cpp\ frontend/visitor/TopDownVisitor.cpp\ frontend/visitor/DotVisitor.cpp\ frontend/visitor/ResolveAggregates.cpp\ frontend/visitor/ResolveTypes.cpp\ frontend/visitor/ResolveSymbols.cpp\ frontend/visitor/NullVisitor.cpp\ frontend/visitor/GenCode.cpp\ frontend/visitor/GCArrays.cpp\ frontend/visitor/GCTypes.cpp\ frontend/visitor/GCBuiltins.cpp\ frontend/visitor/GCRegisterSet.cpp\ frontend/visitor/SetPathName.cpp\ frontend/visitor/GatherImplicits.cpp\ frontend/visitor/ConstantPropagation.cpp\ frontend/visitor/GCLoops.cpp\ frontend/visitor/CheckLoops.cpp\ frontend/visitor/CheckAccessMode.cpp\ frontend/visitor/NormalizeAssocLists.cpp\ frontend/visitor/SimplifyExpressions.cpp\ frontend/visitor/UnconstraintBounds.cpp\ frontend/visitor/WaitConditions.cpp\ frontend/visitor/WarnUnused.cpp\ frontend/visitor/TransformSigAssign.cpp\ intermediate/container/LabelFactory.cpp\ intermediate/container/TypeFactory.cpp\ intermediate/operands/ImmediateOperand.cpp\ intermediate/operands/RegisterFactory.cpp\ intermediate/visitor/GenCCode.cpp\ intermediate/visitor/LookupSymbols.cpp\ intermediate/visitor/PrintCode.cpp\ intermediate/visitor/StandardTraversal.cpp\ util/mangle_names.c\ \ frontend/ast/Aggregate.hpp\ frontend/ast/Architecture.hpp\ frontend/ast/AssertStat.hpp\ frontend/ast/AssociationElement.hpp\ frontend/ast/AstNode.hpp\ frontend/ast/AttributableDeclaration.hpp\ frontend/ast/AttributeDeclaration.hpp\ frontend/ast/AttributeName.hpp\ frontend/ast/AttributeSpecification.hpp\ frontend/ast/Callable.hpp\ frontend/ast/CaseAlternative.hpp\ frontend/ast/CaseStat.hpp\ frontend/ast/CompInstStat.hpp\ frontend/ast/ConcurrentStat.hpp\ frontend/ast/CondalSigAssign.hpp\ frontend/ast/ConditionedStat.hpp\ frontend/ast/ConstantDeclaration.hpp\ frontend/ast/ConstArray.hpp\ frontend/ast/ConstInteger.hpp\ frontend/ast/ConstReal.hpp\ frontend/ast/DiscreteRange.hpp\ frontend/ast/ElementAssociation.hpp\ frontend/ast/Entity.hpp\ frontend/ast/EnumerationElement.hpp\ frontend/ast/EnumerationType.hpp\ frontend/ast/ExitStat.hpp\ frontend/ast/Expression.hpp\ frontend/ast/ForLoopStat.hpp\ frontend/ast/FunctionCall.hpp\ frontend/ast/FunctionDeclaration.hpp\ frontend/ast/IfStat.hpp\ frontend/ast/Library.hpp\ frontend/ast/LibraryList.hpp\ frontend/ast/LibUnit.hpp\ frontend/ast/Location.hpp\ frontend/ast/LoopStat.hpp\ frontend/ast/Name.hpp\ frontend/ast/NextStat.hpp\ frontend/ast/NodeFactory.hpp\ frontend/ast/NullStat.hpp\ frontend/ast/Others.hpp\ frontend/ast/PackageBody.hpp\ frontend/ast/Package.hpp\ frontend/ast/PhysicalType.hpp\ frontend/ast/PhysicalTypeUnit.hpp\ frontend/ast/PrefixedName.hpp\ frontend/ast/ProcCallStat.hpp\ frontend/ast/ProcedureDeclaration.hpp\ frontend/ast/Process.hpp\ frontend/ast/RangeConstraintType.hpp\ frontend/ast/RecordTypeElement.hpp\ frontend/ast/RecordType.hpp\ frontend/ast/ReturnStat.hpp\ frontend/ast/SelectedName.hpp\ frontend/ast/SeqStat.hpp\ frontend/ast/SigAssignStat.hpp\ frontend/ast/SignalDeclaration.hpp\ frontend/ast/SimpleName.hpp\ frontend/ast/Slice.hpp\ frontend/ast/SubprogBody.hpp\ frontend/ast/Subscript.hpp\ frontend/ast/SubtypeIndication.hpp\ frontend/ast/SymbolDeclaration.hpp\ frontend/ast/TemporaryName.hpp\ frontend/ast/TypeConversion.hpp\ frontend/ast/TypeDeclaration.hpp\ frontend/ast/Types.hpp\ frontend/ast/UnconstrainedArrayType.hpp\ frontend/ast/ValDeclaration.hpp\ frontend/ast/VarAssignStat.hpp\ frontend/ast/VarDeclaration.hpp\ frontend/ast/WaitStat.hpp\ frontend/ast/WaveFormElem.hpp\ frontend/ast/WhileLoopStat.hpp\ frontend/misc/BuiltinFunction.hpp\ frontend/misc/BuiltinSymbolTable.hpp\ frontend/misc/DeclarativeRegion.hpp\ frontend/misc/Driver.hpp\ frontend/misc/NameLookup.hpp\ frontend/misc/RangeSet.hpp\ frontend/misc/RegisterBuiltins.hpp\ frontend/misc/StackTrace.hpp\ frontend/misc/Symbol.hpp\ frontend/misc/SymbolTable.hpp\ frontend/newparser/ParserDriver.hpp\ frontend/reporting/AmbiguousTypes.hpp\ frontend/reporting/CompileError.hpp\ frontend/reporting/DuplicateName.hpp\ frontend/reporting/ErrorRegistry.hpp\ frontend/reporting/SyntaxError.hpp\ frontend/reporting/TypeError.hpp\ frontend/reporting/TypeMismatch.hpp\ frontend/reporting/UndefinedSymbol.hpp\ frontend/visitor/CheckAccessMode.hpp\ frontend/visitor/CheckLoops.hpp\ frontend/visitor/ConstantPropagation.hpp\ frontend/visitor/DotVisitor.hpp\ frontend/visitor/GatherImplicits.hpp\ frontend/visitor/GCArrays.hpp\ frontend/visitor/GCBuiltins.hpp\ frontend/visitor/GCLoops.hpp\ frontend/visitor/GCRegisterSet.hpp\ frontend/visitor/GCTypes.hpp\ frontend/visitor/GenCode.hpp\ frontend/visitor/LookupTypes.hpp\ frontend/visitor/NormalizeAssocLists.hpp\ frontend/visitor/NullVisitor.hpp\ frontend/visitor/ResolveAggregates.hpp\ frontend/visitor/ResolveSymbols.hpp\ frontend/visitor/ResolveTypes.hpp\ frontend/visitor/SetPathName.hpp\ frontend/visitor/TopDownVisitor.hpp\ frontend/visitor/Visitor.hpp\ frontend/visitor/WaitConditions.hpp\ frontend/visitor/WarnUnused.hpp\ intermediate/container/CodeContainer.hpp\ intermediate/container/Data.hpp\ intermediate/container/LabelFactory.hpp\ intermediate/container/Label.hpp\ intermediate/container/TypeElement.hpp\ intermediate/container/TypeFactory.hpp\ intermediate/container/Type.hpp\ intermediate/Node.hpp\ intermediate/opcodes/Abort.hpp\ intermediate/opcodes/Add.hpp\ intermediate/opcodes/AOffset.hpp\ intermediate/opcodes/BeginTransfer.hpp\ intermediate/opcodes/Call.hpp\ intermediate/opcodes/Connect.hpp\ intermediate/opcodes/Div.hpp\ intermediate/opcodes/EndTransfer.hpp\ intermediate/opcodes/GetParam.hpp\ intermediate/opcodes/GetSig.hpp\ intermediate/opcodes/IMul.hpp\ intermediate/opcodes/Jbe.hpp\ intermediate/opcodes/Jb.hpp\ intermediate/opcodes/Je.hpp\ intermediate/opcodes/Jmp.hpp\ intermediate/opcodes/Jne.hpp\ intermediate/opcodes/Log.hpp\ intermediate/opcodes/Mov.hpp\ intermediate/opcodes/OpCode.hpp\ intermediate/opcodes/Proc.hpp\ intermediate/opcodes/Return.hpp\ intermediate/opcodes/ROffset.hpp\ intermediate/opcodes/SetParam.hpp\ intermediate/opcodes/Sub.hpp\ intermediate/opcodes/Suspend.hpp\ intermediate/opcodes/Update.hpp\ intermediate/opcodes/WakeAt.hpp\ intermediate/opcodes/WakeOn.hpp\ intermediate/operands/ImmediateOperand.hpp\ intermediate/operands/IndirectOperand.hpp\ intermediate/operands/Operand.hpp\ intermediate/operands/Reference.hpp\ intermediate/operands/RegisterFactory.hpp\ intermediate/operands/Register.hpp\ intermediate/visitor/PrintCode.hpp\ intermediate/visitor/Visitor.hpp\ \ util/GarbageCollect.hpp\ util/MiscUtil.hpp\ util/basetypes.h\ util/mangle_names.h\ \ frontend/ast/NodeFactory.tpp\ frontend/newparser/ParserDriver.tpp\ frontend/visitor/DotVisitor.tpp\ frontend/visitor/Visitor.tpp\ util/MiscUtil.tpp bin_PROGRAMS = fauhdlc fauhdlc_SOURCES=\ compiler/FAUhdlc.cpp\ \ compiler/FAUhdlc.hpp fauhdlc_LDADD=\ frontend/newparser/libnewparser.a \ libcompiler.a \ @GCCPPLDFLAGS@ fauhdlc_CXXFLAGS=-Wno-parentheses fauhdlc_CPPFLAGS=-DVHDL_DATA_DIR=\"$(pkgdatadir)\" # clean up everything mrproper: clean distclean find . -name Makefile.in | xargs rm $(RM) -r autom4te.cache/ $(RM) scripts/depcomp $(RM) scripts/install-sh $(RM) scripts/missing $(RM) scripts/ylwrap $(RM) scripts/compile $(RM) scripts/test-driver $(RM) aclocal.m4 $(RM) configure $(RM) -r doc/interpreter_doxygen/ $(RM) -r doc/compiler_doxygen/ $(RM) INSTALL doc: doc/compiler_doxygen.cf doc/interpreter_doxygen.cf doxygen doc/compiler_doxygen.cf doxygen doc/interpreter_doxygen.cf tests: all $(MAKE) -C tests/ $(AM_MAKEFLAGS) $@ devel: $(CURDIR)/$(top_srcdir)/misc/install_ln.sh $(MAKE) install INSTALL=$< # run cppcheck cppcheck: $(CPPCHECK) -j 4 -q -I $(top_srcdir) \ -I $(top_srcdir)/util \ -I $(top_srcdir)/interpreter \ -I $(top_srcdir)/interpreter/util \ -I $(top_srcdir)/interpreter/glue \ --inline-suppr \ --enable=style $(top_srcdir) .PHONY: mrproper doc devel tests cppcheck