######################## -*- Mode: Makefile-Automake -*- ###################### ## ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo ## ## The contents of this file are covered under the licence agreement in the ## file "LICENCE" distributed with Cforall. ## ## Makefile.am -- ## ## Author : Peter A. Buhr ## Created On : Sun May 31 08:51:46 2015 ## Last Modified By : Peter A. Buhr ## Last Modified On : Thu Oct 27 20:41:25 2016 ## Update Count : 75 ############################################################################### # create object files in directory with source files AUTOMAKE_OPTIONS = subdir-objects SRC = main.cc \ MakeLibCfa.cc MAINTAINERCLEANFILES = # Is there a way to use a variable for the directory names? include CodeGen/module.mk include Common/module.mk include ControlStruct/module.mk include GenPoly/module.mk include InitTweak/module.mk include Parser/module.mk include ResolvExpr/module.mk include SymTab/module.mk include SynTree/module.mk include Tuples/module.mk # put into lib for now cfa_cpplibdir = ${libdir} cfa_cpplib_PROGRAMS = driver/cfa-cpp driver_cfa_cpp_SOURCES = ${SRC} driver_cfa_cpp_LDADD = ${LEXLIB} -ldl # yywrap driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}