Advertisement
Guest User

Rose EDG

a guest
Jun 13th, 2019
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 75.75 KB | None | 0 0
  1. # Makefile.in generated by automake 1.14.1 from Makefile.am.
  2. # src/frontend/CxxFrontend/Makefile.  Generated from Makefile.in by configure.
  3.  
  4. # Copyright (C) 1994-2013 Free Software Foundation, Inc.
  5.  
  6. # This Makefile.in is free software; the Free Software Foundation
  7. # gives unlimited permission to copy and/or distribute it,
  8. # with or without modifications, as long as this notice is preserved.
  9.  
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  12. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  13. # PARTICULAR PURPOSE.
  14.  
  15.  
  16.  
  17. ################################################################################
  18. # How to install ROSE without EDG source code on a machine with no network:
  19. #  See http://rosecompiler.org/ROSE_HTML_Reference/group__installing__edg.html
  20. ################################################################################
  21.  
  22. # These definitions are for the benefit of independent software contained           -*- makefile -*-
  23. # in ROSE.  (Currently, this means SAGE and ROSETTA.)
  24. # It defines ROSE_INCLUDES and ROSE_LIBS so they can use the ROSE codes.
  25.  
  26. # ROSE_INCLUDES contains the include flags for compiling with ROSE code.
  27. # (ROSE software should set the include paths in their respective Makefile.am
  28. # files, since they are expected to know the ROSE source tree structure.)
  29. # To use ROSE_INCLUDES, the independent software packages contained in ROSE
  30. # should define the variable ROSE_HOME to be the relative path to the root
  31. # of the ROSE directory tree.
  32.  
  33. # This fixes some problem caused by automake or autoconf
  34. # (detailed documentation is in the ChangeLog)
  35. # MAKE=gmake
  36.  
  37. # DQ (8/10/2007): Valentin suggested this be commented out.
  38. # DQ (4/23/2006): This is the default when build using automake version 1.6.3 but it
  39. # causes errors so we would like to specify --run automake instead
  40. # AUTOMAKE = ${SHELL} $(top_srcdir)/config/missing --run automake-1.6
  41. # AUTOMAKE = ${SHELL} $(top_srcdir)/config/missing --run automake
  42.  
  43. # force ranlib to just call touch so that *.so (dynamic libraries) will not
  44. # be run with ranlib (which is a error).  This allows us to use dynamic
  45. # libraries as the default within ROSE.
  46. # JJW 7/25/2008: Do we really need this?
  47. VPATH = ../../../../rose/src/frontend/CxxFrontend
  48. am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  49. am__make_running_with_option = \
  50.   case $${target_option-} in \
  51.       ?) ;; \
  52.       *) echo "am__make_running_with_option: internal error: invalid" \
  53.               "target option '$${target_option-}' specified" >&2; \
  54.          exit 1;; \
  55.   esac; \
  56.   has_opt=no; \
  57.   sane_makeflags=$$MAKEFLAGS; \
  58.   if $(am__is_gnu_make); then \
  59.     sane_makeflags=$$MFLAGS; \
  60.   else \
  61.     case $$MAKEFLAGS in \
  62.       *\\[\ \   ]*) \
  63.         bs=\\; \
  64.         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  65.           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
  66.     esac; \
  67.   fi; \
  68.   skip_next=no; \
  69.   strip_trailopt () \
  70.   { \
  71.     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  72.   }; \
  73.   for flg in $$sane_makeflags; do \
  74.     test $$skip_next = yes && { skip_next=no; continue; }; \
  75.     case $$flg in \
  76.       *=*|--*) continue;; \
  77.         -*I) strip_trailopt 'I'; skip_next=yes;; \
  78.       -*I?*) strip_trailopt 'I';; \
  79.         -*O) strip_trailopt 'O'; skip_next=yes;; \
  80.       -*O?*) strip_trailopt 'O';; \
  81.         -*l) strip_trailopt 'l'; skip_next=yes;; \
  82.       -*l?*) strip_trailopt 'l';; \
  83.       -[dEDm]) skip_next=yes;; \
  84.       -[JT]) skip_next=yes;; \
  85.     esac; \
  86.     case $$flg in \
  87.       *$$target_option*) has_opt=yes; break;; \
  88.     esac; \
  89.   done; \
  90.   test $$has_opt = yes
  91. am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  92. am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  93. pkgdatadir = $(datadir)/rose
  94. pkgincludedir = $(includedir)/rose
  95. pkglibdir = $(libdir)/rose
  96. pkglibexecdir = $(libexecdir)/rose
  97. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  98. install_sh_DATA = $(install_sh) -c -m 644
  99. install_sh_PROGRAM = $(install_sh) -c
  100. install_sh_SCRIPT = $(install_sh) -c
  101. INSTALL_HEADER = $(INSTALL_DATA)
  102. transform = $(program_transform_name)
  103. NORMAL_INSTALL = :
  104. PRE_INSTALL = :
  105. POST_INSTALL = :
  106. NORMAL_UNINSTALL = :
  107. PRE_UNINSTALL = :
  108. POST_UNINSTALL = :
  109. build_triplet = x86_64-unknown-linux-gnu
  110. host_triplet = x86_64-unknown-linux-gnu
  111. DIST_COMMON =  \
  112.     $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs \
  113.     $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  114.     $(top_srcdir)/config/mkinstalldirs
  115.  
  116. # All the .PHONY's need to be outside any automake "if" statements otherwise automake complains.
  117. am__append_1 = edg-prerequisites binary_edg_tarball upload_edg_binary check-network download-edg show-edg-name show-edg-url show-edg-hash
  118.  
  119. # Run the edg-generate-sig script to find an appropriate version number.  We don't use make's $(shell...) function
  120. # because it sometimes discards standard error and doesn't cause make to fail if edg-generate-sig fails.  If
  121. # edg-generate-sig fails then remove the edg-generate-sig.output file so that re-running make will fail the same way
  122. # next time.  Also, we don't want to change the modification time of this file if not necessary, since doing so would
  123. # cause targets that depend on it to become out of date.
  124. am__append_2 = $(EDGBIN_SIGNATURE_FILE)
  125.  
  126. ###############################################################################################################################
  127. # We have the EDG source code (ROSE_HAS_EDG_SOURCE)
  128. ###############################################################################################################################
  129. #am__append_3 = EDG
  130.  
  131. # Create EDG binary tarball without using $(EDGBIN_NAME) which hasn't been computed when make parses this rule (but is
  132. # computed by time this rule's commands run). The "upload-" prefix is necessary because we can't have the same target
  133. # in the "if" and "else" part of an automake file, and we'd prefer to use "EDG.tar.gz" at the download end (the "else").
  134. #
  135. # Also, whenever we create the uploadable tarball (regardless of whether we actually upload it) we should also make it
  136. # look like we just downloaded it, because Jenkins tests that the EDG upload/download functionality is working by faking
  137. # an upload/download. It runs "make binary_edg_tarball", then deletes the EDG source code, reconfigures ROSE, and runs
  138. # "make" again to see if we can build ROSE with the EDG binary.
  139. #am__append_4 = upload-EDG.tar.gz
  140. am__append_5 = edg_binaries.txt EDG.tar.gz
  141.  
  142. ###############################################################################################################################
  143. # Stuff that's common to both uploading and downloading EDG tarballs
  144. ###############################################################################################################################
  145.  
  146. # Cleanup
  147. am__append_6 = EDG/libroseEDG.la
  148. subdir = src/frontend/CxxFrontend
  149. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  150. am__aclocal_m4_deps = $(top_srcdir)/acmacros/canonicalize-symlink.m4 \
  151.     $(top_srcdir)/acmacros/compiler-ar.m4 \
  152.     $(top_srcdir)/acmacros/compiler-id.m4 \
  153.     $(top_srcdir)/acmacros/configure-log.m4 \
  154.     $(top_srcdir)/acmacros/pkg.m4 $(top_srcdir)/acmacros/upc.m4 \
  155.     $(top_srcdir)/config/EDG.m4 $(top_srcdir)/config/ROSE.m4 \
  156.     $(top_srcdir)/config/ac_pkg_swig.m4 \
  157.     $(top_srcdir)/config/acinclude.m4 $(top_srcdir)/config/argz.m4 \
  158.     $(top_srcdir)/config/ax_boost_base.m4 \
  159.     $(top_srcdir)/config/ax_boost_chrono.m4 \
  160.     $(top_srcdir)/config/ax_boost_date_time.m4 \
  161.     $(top_srcdir)/config/ax_boost_filesystem.m4 \
  162.     $(top_srcdir)/config/ax_boost_iostreams.m4 \
  163.     $(top_srcdir)/config/ax_boost_program_options.m4 \
  164.     $(top_srcdir)/config/ax_boost_random.m4 \
  165.     $(top_srcdir)/config/ax_boost_regex.m4 \
  166.     $(top_srcdir)/config/ax_boost_serialization.m4 \
  167.     $(top_srcdir)/config/ax_boost_system.m4 \
  168.     $(top_srcdir)/config/ax_boost_thread.m4 \
  169.     $(top_srcdir)/config/ax_boost_wave.m4 \
  170.     $(top_srcdir)/config/ax_compare_version.m4 \
  171.     $(top_srcdir)/config/ax_compiler_vendor.m4 \
  172.     $(top_srcdir)/config/ax_cxx_compile_stdcxx.m4 \
  173.     $(top_srcdir)/config/ax_cxx_compile_stdcxx_11.m4 \
  174.     $(top_srcdir)/config/ax_cxx_compile_stdcxx_14.m4 \
  175.     $(top_srcdir)/config/ax_lib_mysql.m4 \
  176.     $(top_srcdir)/config/ax_lib_sqlite3.m4 \
  177.     $(top_srcdir)/config/ax_lib_xerces.m4 \
  178.     $(top_srcdir)/config/ax_prog_bison_version.m4 \
  179.     $(top_srcdir)/config/ax_python_devel.m4 \
  180.     $(top_srcdir)/config/ax_with_prog.m4 \
  181.     $(top_srcdir)/config/choose-backend-compiler.m4 \
  182.     $(top_srcdir)/config/compiler-defs.m4 \
  183.     $(top_srcdir)/config/determine-os.m4 \
  184.     $(top_srcdir)/config/enable-rosehpct.m4 \
  185.     $(top_srcdir)/config/generate-backend-compiler-specific-headers.m4 \
  186.     $(top_srcdir)/config/libtool.m4 $(top_srcdir)/config/libxml.m4 \
  187.     $(top_srcdir)/config/ltdl.m4 $(top_srcdir)/config/ltoptions.m4 \
  188.     $(top_srcdir)/config/ltsugar.m4 \
  189.     $(top_srcdir)/config/ltversion.m4 \
  190.     $(top_srcdir)/config/lt~obsolete.m4 \
  191.     $(top_srcdir)/config/mdl_have_opengl_2014.m4 \
  192.     $(top_srcdir)/config/qrose_indigo_1.m4 \
  193.     $(top_srcdir)/config/qrose_indigo_1_windows.m4 \
  194.     $(top_srcdir)/config/support-GraphViz.m4 \
  195.     $(top_srcdir)/config/support-IntelPin.m4 \
  196.     $(top_srcdir)/config/support-accelerator.m4 \
  197.     $(top_srcdir)/config/support-aterm.m4 \
  198.     $(top_srcdir)/config/support-backend-x10.m4 \
  199.     $(top_srcdir)/config/support-bddbddb.m4 \
  200.     $(top_srcdir)/config/support-binary.m4 \
  201.     $(top_srcdir)/config/support-bison.m4 \
  202.     $(top_srcdir)/config/support-blacklist.m4 \
  203.     $(top_srcdir)/config/support-boost.m4 \
  204.     $(top_srcdir)/config/support-clang.m4 \
  205.     $(top_srcdir)/config/support-cobol.m4 \
  206.     $(top_srcdir)/config/support-compass2.m4 \
  207.     $(top_srcdir)/config/support-cuda.m4 \
  208.     $(top_srcdir)/config/support-doxygen.m4 \
  209.     $(top_srcdir)/config/support-dwarf.m4 \
  210.     $(top_srcdir)/config/support-edg-debugging.m4 \
  211.     $(top_srcdir)/config/support-edg.m4 \
  212.     $(top_srcdir)/config/support-elf.m4 \
  213.     $(top_srcdir)/config/support-fatal-rose-warnings.m4 \
  214.     $(top_srcdir)/config/support-frontend-x10.m4 \
  215.     $(top_srcdir)/config/support-gcc-omp.m4 \
  216.     $(top_srcdir)/config/support-gcrypt.m4 \
  217.     $(top_srcdir)/config/support-git-versioning.m4 \
  218.     $(top_srcdir)/config/support-gmp.m4 \
  219.     $(top_srcdir)/config/support-gnat.m4 \
  220.     $(top_srcdir)/config/support-gomp-omp.m4 \
  221.     $(top_srcdir)/config/support-haskell.m4 \
  222.     $(top_srcdir)/config/support-i386.m4 \
  223.     $(top_srcdir)/config/support-ida.m4 \
  224.     $(top_srcdir)/config/support-insure.m4 \
  225.     $(top_srcdir)/config/support-isl.m4 \
  226.     $(top_srcdir)/config/support-java.m4 \
  227.     $(top_srcdir)/config/support-languages.m4 \
  228.     $(top_srcdir)/config/support-lcov.m4 \
  229.     $(top_srcdir)/config/support-libffi.m4 \
  230.     $(top_srcdir)/config/support-libpqxx.m4 \
  231.     $(top_srcdir)/config/support-llvm.m4 \
  232.     $(top_srcdir)/config/support-magic.m4 \
  233.     $(top_srcdir)/config/support-maple.m4 \
  234.     $(top_srcdir)/config/support-mint.m4 \
  235.     $(top_srcdir)/config/support-mpi.m4 \
  236.     $(top_srcdir)/config/support-octave.m4 \
  237.     $(top_srcdir)/config/support-ofp.m4 \
  238.     $(top_srcdir)/config/support-omp.m4 \
  239.     $(top_srcdir)/config/support-php.m4 \
  240.     $(top_srcdir)/config/support-pocc.m4 \
  241.     $(top_srcdir)/config/support-projects.m4 \
  242.     $(top_srcdir)/config/support-purify.m4 \
  243.     $(top_srcdir)/config/support-python-api.m4 \
  244.     $(top_srcdir)/config/support-python.m4 \
  245.     $(top_srcdir)/config/support-readline.m4 \
  246.     $(top_srcdir)/config/support-rose.m4 \
  247.     $(top_srcdir)/config/support-rted.m4 \
  248.     $(top_srcdir)/config/support-rtedupc.m4 \
  249.     $(top_srcdir)/config/support-sanitizer.m4 \
  250.     $(top_srcdir)/config/support-sat.m4 \
  251.     $(top_srcdir)/config/support-spot.m4 \
  252.     $(top_srcdir)/config/support-ssl.m4 \
  253.     $(top_srcdir)/config/support-stratego.m4 \
  254.     $(top_srcdir)/config/support-summary.m4 \
  255.     $(top_srcdir)/config/support-swipl.m4 \
  256.     $(top_srcdir)/config/support-valgrind.m4 \
  257.     $(top_srcdir)/config/support-vectorization.m4 \
  258.     $(top_srcdir)/config/support-visualization.m4 \
  259.     $(top_srcdir)/config/support-windows.m4 \
  260.     $(top_srcdir)/config/support-x10.m4 \
  261.     $(top_srcdir)/config/support-yaml.m4 \
  262.     $(top_srcdir)/config/support-yices.m4 \
  263.     $(top_srcdir)/config/support-z3.m4 \
  264.     $(top_srcdir)/config/support_POET.m4 \
  265.     $(top_srcdir)/config/swig_enable_cxx.m4 \
  266.     $(top_srcdir)/configure.ac
  267. am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  268.     $(ACLOCAL_M4)
  269. mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
  270. CONFIG_HEADER = $(top_builddir)/rose_config.h
  271. CONFIG_CLEAN_FILES =
  272. CONFIG_CLEAN_VPATH_FILES =
  273. AM_V_P = $(am__v_P_$(V))
  274. am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
  275. am__v_P_0 = false
  276. am__v_P_1 = :
  277. AM_V_GEN = $(am__v_GEN_$(V))
  278. am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
  279. am__v_GEN_0 = @echo "  GEN     " $@;
  280. am__v_GEN_1 =
  281. AM_V_at = $(am__v_at_$(V))
  282. am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
  283. am__v_at_0 = @
  284. am__v_at_1 =
  285. depcomp =
  286. am__depfiles_maybe =
  287. SOURCES =
  288. DIST_SOURCES =
  289. RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
  290.     ctags-recursive dvi-recursive html-recursive info-recursive \
  291.     install-data-recursive install-dvi-recursive \
  292.     install-exec-recursive install-html-recursive \
  293.     install-info-recursive install-pdf-recursive \
  294.     install-ps-recursive install-recursive installcheck-recursive \
  295.     installdirs-recursive pdf-recursive ps-recursive \
  296.     tags-recursive uninstall-recursive
  297. am__can_run_installinfo = \
  298.   case $$AM_UPDATE_INFO_DIR in \
  299.     n|no|NO) false;; \
  300.     *) (install-info --version) >/dev/null 2>&1;; \
  301.   esac
  302. RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
  303.   distclean-recursive maintainer-clean-recursive
  304. am__recursive_targets = \
  305.   $(RECURSIVE_TARGETS) \
  306.   $(RECURSIVE_CLEAN_TARGETS) \
  307.   $(am__extra_recursive_targets)
  308. AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
  309.     distdir
  310. am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  311. # Read a list of newline-separated strings from the standard input,
  312. # and print each of them once, without duplicates.  Input order is
  313. # *not* preserved.
  314. am__uniquify_input = $(AWK) '\
  315.  BEGIN { nonempty = 0; } \
  316.  { items[$$0] = 1; nonempty = 1; } \
  317.  END { if (nonempty) { for (i in items) print i; }; } \
  318. '
  319. # Make sure the list of sources is unique.  This is necessary because,
  320. # e.g., the same source file might be shared among _SOURCES variables
  321. # for different programs/libraries.
  322. am__define_uniq_tagged_files = \
  323.   list='$(am__tagged_files)'; \
  324.   unique=`for i in $$list; do \
  325.     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  326.   done | $(am__uniquify_input)`
  327. ETAGS = etags
  328. CTAGS = ctags
  329. DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  330. am__relativize = \
  331.   dir0=`pwd`; \
  332.   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  333.   sed_rest='s,^[^/]*/*,,'; \
  334.   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  335.   sed_butlast='s,/*[^/]*$$,,'; \
  336.   while test -n "$$dir1"; do \
  337.     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
  338.     if test "$$first" != "."; then \
  339.       if test "$$first" = ".."; then \
  340.         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
  341.         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
  342.       else \
  343.         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
  344.         if test "$$first2" = "$$first"; then \
  345.           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
  346.         else \
  347.           dir2="../$$dir2"; \
  348.         fi; \
  349.         dir0="$$dir0"/"$$first"; \
  350.       fi; \
  351.     fi; \
  352.     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  353.   done; \
  354.   reldir="$$dir2"
  355. ABS_COMPASS2_XML_SRCDIR = /home/ubuntu/workspace/rose/projects/compass2/share/xml
  356. ACLOCAL = ${SHELL} /home/ubuntu/workspace/rose/config/missing aclocal-1.14
  357. AMTAR =
  358. AM_DEFAULT_VERBOSITY = 0
  359. AR = ar
  360. ARGZ_H =
  361. ARMA_PREFIX =
  362. ATERM_BIN_PATH =
  363. ATERM_INSTALL_PATH =
  364. ATERM_LIBRARY_PATH =
  365. AUTOCONF = ${SHELL} /home/ubuntu/workspace/rose/config/missing autoconf
  366. AUTOHEADER = ${SHELL} /home/ubuntu/workspace/rose/config/missing autoheader
  367. AUTOMAKE = ${SHELL} /home/ubuntu/workspace/rose/config/missing automake-1.14
  368. AUX_LINKER =
  369. AWK = gawk
  370. Axx_INCLUDES =
  371. Axx_LIBS =
  372. BACKEND_ADA_COMPILER = gnat
  373. BACKEND_COBOL_COMPILER = cobc
  374. BACKEND_COMPILER_VERSION_MAJOR_NUMBER = 4
  375. BACKEND_COMPILER_VERSION_MINOR_NUMBER = 8
  376. BACKEND_COMPILER_VERSION_NAME = gnu
  377. BACKEND_COMPILER_VERSION_PATCHLEVEL_NUMBER = 0
  378. BACKEND_CSHARP_COMPILER = mcs
  379. BACKEND_CXX_COMPILER = g++
  380. BACKEND_CXX_VENDOR_AND_VERSION2 = gnu-4.8
  381. BACKEND_CXX_VENDOR_AND_VERSION3 = gnu-4.8.0
  382. BACKEND_C_COMPILER = gcc
  383. BACKEND_FORTRAN_COMPILER = gfortran
  384. BACKEND_JAVA_COMPILER = javac
  385. BACKEND_JOVIAL_COMPILER = default_jovial_compiler
  386. BACKEND_MATLAB_COMPILER = octave
  387. BACKEND_X10_COMPILER = x10c
  388. BISON = /usr/bin/bison
  389. BISON_VERSION = 3.0.2
  390. BOOST_CHRONO_LIB = -lboost_chrono
  391. BOOST_CPPFLAGS = -pthread -I/usr/include
  392. BOOST_DATE_TIME_LIB = -lboost_date_time
  393. BOOST_FILESYSTEM_LIB = -lboost_filesystem
  394. BOOST_IOSTREAMS_LIB = -lboost_iostreams
  395. BOOST_LDFLAGS = -pthread -L/usr/lib
  396. BOOST_PROGRAM_OPTIONS_LIB = -lboost_program_options
  397. BOOST_RANDOM_LIB = -lboost_random
  398. BOOST_REGEX_LIB = -lboost_regex
  399. BOOST_SERIALIZATION_LIB = -lboost_serialization
  400. BOOST_SYSTEM_LIB = -lboost_system
  401. BOOST_THREAD_LIB = -lboost_thread
  402. BOOST_WAVE_LIB = -lboost_wave
  403. CANDL_PATH =
  404. CC = gcc
  405. CCDEPMODE = depmode=none
  406. CCLD = gcc
  407. CFLAGS = -g -O2 -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wall -Wstrict-prototypes -Wmissing-prototypes
  408. CFLAGS32 = no
  409. CLANG_CXXFLAGS =
  410. CLANG_LDFLAGS =
  411. CLANG_LIBDIR =
  412. CLASSPATH = /home/ubuntu/workspace/buildrose/../rose/src/3rdPartyLibraries/antlr-jars/antlr-3.5.2-complete.jar:/home/ubuntu/workspace/buildrose/../rose/src/3rdPartyLibraries/fortran-parser/OpenFortranParser-20190206.jar
  413. CLOOG_PATH =
  414. COBPT_INSTALL_PATH =
  415. COBPT_LIBRARY_PATH =
  416. CPP = gcc -E
  417.  
  418. # DQ (9/27/2015): Added to support new use of AM_CPPFLAGS instead of INCLUDES
  419. # (depreicated in automake and for which many warnings are generated).
  420. CPPFLAGS = $(AM_CPPFLAGS)
  421. CUDA_BIN_DIR =
  422. CUDA_INC_DIR = /home/ubuntu/workspace/buildrose/include-staging/cuda_HEADERS/cuda-7.5/targets/x86_64-linux/include/
  423. CUDA_LIB_DIR =
  424. CXX = g++
  425. CXXCPP = g++ -E
  426. CXXDEPMODE = depmode=none
  427. CXXFLAGS =  -g -O2 -Wall -Wall
  428. CXXLD = g++
  429. CXX_DEBUG = -g
  430. CXX_OPTIMIZE = -O2
  431. CXX_SHARED_LIB_UPDATE = ${CXX} -shared -o
  432. CXX_STATIC_LIB_UPDATE = ${AR} ruv
  433. CXX_TEMPLATE_OBJECTS =
  434. CXX_TEMPLATE_REPOSITORY_PATH = $(top_builddir)/src
  435. CXX_WARNINGS = -Wall
  436. CYGPATH_W = echo
  437. C_DEBUG = -g
  438. C_OPTIMIZE = -O2
  439. C_WARNINGS = -Wall -Wstrict-prototypes -Wmissing-prototypes
  440. DEFS = -DHAVE_CONFIG_H
  441. DEPDIR = .deps
  442. DLIB_PREFIX =
  443. DLLTOOL = false
  444. DOXYGEN = doxygen
  445. DOXYGEN_ADDED_DIRECTORY_1 = @top_pwd@/src/frontend/SageIII
  446. DOXYGEN_ADDED_DIRECTORY_2 = /home/ubuntu/workspace/buildrose/../rose/src/frontend/SageIII
  447. DOXYGEN_ENABLED_SECTIONS = documentUserVersionUsingDoxygen
  448. DOXYGEN_EXTRACT_ALL = NO
  449. DOXYGEN_EXTRACT_PRIVATE = NO
  450. DOXYGEN_EXTRACT_STATIC = NO
  451. DOXYGEN_HIDE_FRIEND_COMPOUNDS = YES
  452. DOXYGEN_HIDE_UNDOC_CLASSES = NO
  453. DOXYGEN_HIDE_UNDOC_MEMBERS = NO
  454. DOXYGEN_INTERNAL_DOCS = NO
  455. DOXYGEN_USE_TAG_FILE =
  456. DOXYINDEXER =
  457. DSYMUTIL =
  458. DUMPBIN =
  459. ECHO_C =
  460. ECHO_N = -n
  461. ECHO_T =
  462. EGREP = /bin/grep -E
  463. ETHER_PREFIX =
  464. EXE =
  465. EXEEXT =
  466. F77 = gfortran
  467. FC = gfortran
  468. FCFLAGS = -g -O2
  469. FFLAGS =
  470. FGREP = /bin/grep -F
  471. FLTK_include_path =
  472. FLTK_libs_path =
  473. FRONTEND_CXX_VENDOR_AND_VERSION2 = gnu-4.8
  474. FRONTEND_CXX_VENDOR_AND_VERSION3 = gnu-4.8.0
  475. GCC_MINOR_VERSION = 8
  476. GCC_VERSION = 4
  477. GENERATED_COMPILER_NAME_AND_VERSION_SUFFIX = gnu-4.8
  478. GEN_BE = sage_gen_be.o
  479. GFORTRAN_PATH = /usr/bin/gfortran
  480. GHCBIN =
  481. GLUT_CFLAGS =
  482. GLUT_LIBS = ${glut_path}
  483. GLUT_include_path =
  484. GLUT_libs_path =
  485. GL_CFLAGS =
  486. GL_LIBS =
  487. GMP_INCLUDE_PATH =
  488. GMP_INSTALL_PATH =
  489. GMP_LIBRARY_PATH =
  490. GNAT_INCLUDES =
  491. GREP = /bin/grep
  492. GraphViz_include_path =
  493. GraphViz_libs_path =
  494. HAVE_CXX11 = 1
  495. HAVE_CXX14 = 0
  496. HS_CONFIG_OPTS = --prefix=/home/demo/opt/rose-inst --user
  497. INCLTDL =
  498. INCLUDE_COMPASS_MAKEFILE_INC = include compass_makefile.inc
  499. INDENT = indent
  500. INSTALL = /usr/bin/install -c
  501. INSTALL_DATA = ${INSTALL} -m 644
  502. INSTALL_PROGRAM = ${INSTALL}
  503. INSTALL_SCRIPT = ${INSTALL}
  504. INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
  505. INSURE_OPTIONS =
  506. ISL_INCLUDE_PATH =
  507. ISL_INSTALL_PATH =
  508. ISL_LIBRARY_PATH =
  509. IntelPin_path =
  510. JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/../bin/jar
  511. JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/../bin/java
  512. JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/../bin/javac
  513. JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/../bin/javah
  514. JAVA_JVM_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/bin/../include -I/usr/lib/jvm/java-8-openjdk-amd64/bin/../include/linux
  515. JAVA_JVM_LINK = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
  516. JAVA_JVM_PATH = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server
  517. JAVA_PATH = /usr/lib/jvm/java-8-openjdk-amd64/bin/..
  518. LD = /usr/bin/ld -m elf_x86_64
  519. LDFLAGS =
  520. LEX = flex
  521. LEXLIB =
  522. LEX_OUTPUT_ROOT = lex.yy
  523. LIBADD_DL = -ldl
  524. LIBADD_DLD_LINK =
  525. LIBADD_DLOPEN = -ldl
  526. LIBADD_SHL_LOAD =
  527. LIBDWARF_CPPFLAGS =
  528. LIBDWARF_LDFLAGS =
  529. LIBDWARF_PREFIX =
  530. LIBELF_CPPFLAGS =
  531. LIBELF_LDFLAGS =
  532. LIBELF_PREFIX =
  533. LIBFFI_CFLAGS =  
  534. LIBFFI_LIBS = -lffi  
  535. LIBGCRYPT_CPPFLAGS =
  536. LIBGCRYPT_LDFLAGS =
  537. LIBGCRYPT_PREFIX =
  538. LIBLTDL = -lltdl
  539. LIBOBJS =
  540. LIBREADLINE_INCLUDE_PATH =
  541. LIBREADLINE_INSTALL_PATH =
  542. LIBREADLINE_LIBRARY_PATH =
  543. LIBREADLINE_LIBS =
  544. LIBS =
  545. LIBTOOL = $(SHELL) $(top_builddir)/libtool
  546. LIPO =
  547. LLVM_CONFIG = /bin/llvm-config
  548. LLVM_CPPFLAGS =  -DLLVMVERSION=
  549. LLVM_LDFLAGS =  -R
  550. LLVM_LIBS =  
  551. LN_S = ln -s
  552. LTDLDEPS =
  553. LTDLINCL =
  554. LTDLOPEN = libltdl
  555. LTLIBOBJS =
  556. LT_CONFIG_H = rose_config.h
  557. LT_DLLOADERS =  dlopen.la
  558. LT_DLPREOPEN = -dlpreopen dlopen.la
  559. MAKEINFO = ${SHELL} /home/ubuntu/workspace/rose/config/missing makeinfo
  560. MANIFEST_TOOL = :
  561. MAPLE_INCLUDES =
  562. MAPLE_LIBDIR =
  563. MAPLE_LIBS =
  564. MD5 = md5sum
  565. MINT = $(top_builddir)/projects/mint/src/mint
  566. MKDIR_P = /bin/mkdir -p
  567. MOC = NONE/moc
  568. MPICC = not-found
  569. MPICXX = not-found
  570. MPIF77 = not-found
  571. MPIFC = not-found
  572. MYSQL_CFLAGS =
  573. MYSQL_CONFIG =
  574. MYSQL_INCLUDE =
  575. MYSQL_LDFLAGS =
  576. MYSQL_VERSION =
  577. NM = /usr/bin/nm -B
  578. NMEDIT =
  579. NVCCBIN =
  580. OBJ = .o
  581. OBJDUMP = objdump
  582. OBJEXT = o
  583. OCTAVE_PARSER_INSTALL_TARFILE =
  584. OPENCL_INC_DIR =
  585. OPENCL_LIB_DIR =
  586. OPEN_FORTRAN_PARSER_PATH = /src/3rdPartyLibraries/fortran-parser
  587. OPTIONAL_PROJECTS =  BinaryAnalysisTools CodeProperties CodeThorn MatlabTranslation MatrixTesting OpenK RTC2 Rose-To-LLVM SnippetTools TALCDataLayout ZFPTool scalarization simulator2 traceAnalysis typeforge
  588. OS_major_release_number = 14
  589. OS_minor_release_number = 04
  590. OS_release = 14.04
  591. OS_vendor = Ubuntu
  592. OTOOL =
  593. OTOOL64 =
  594. PACKAGE = rose
  595. PACKAGE_BUGREPORT =
  596. PACKAGE_NAME = ROSE
  597. PACKAGE_STRING = ROSE 0.9.11.0
  598. PACKAGE_TARNAME = rose
  599. PACKAGE_URL =
  600. PACKAGE_VERSION = 0.9.11.0
  601. PACKAGE_VERSION_NUMERIC = 0.9.11.0
  602. PATH_SEPARATOR = :
  603. PERL = perl
  604. PKG_CONFIG = /usr/bin/pkg-config
  605. POET_INCL =
  606. POET_LIB =
  607. PPL_PATH =
  608. PURIFY_OPTIONS = -windows=no -recursion-depth-limit=40000 -chain-length=24 -first-only=yes -leaks-at-exit=no -inuse-at-exit=no -always-use-cache-dir=yes -cache-dir=/home/ubuntu/tmp -best-effort
  609. PYTHON = /usr/bin/python
  610. PYTHON_CPPFLAGS =
  611. PYTHON_EXTRA_LDFLAGS =
  612. PYTHON_EXTRA_LIBS =
  613. PYTHON_LDFLAGS =
  614. PYTHON_ROOT = /usr
  615. PYTHON_SITE_PKG = /usr/lib/python2.7/dist-packages
  616. PYTHON_VERSION_MM = 2.7
  617. Pxx_INCLUDES =
  618. Pxx_LIBS =
  619. QROSE_PREFIX =
  620. QT_INCLUDES = -DQT3_SUPPORT -INONE/QtCore -INONE/QtGui -INONE/Qt3Support -INONE/QtXml -INONE
  621. QT_LDFLAGS = -LNONE -lQtCore -lQtGui -lQt3Support -lQtXml -lQtUiTools
  622. QT_VERSION =
  623. QT_VERSION_MAJOR =
  624. QT_VERSION_MINOR =
  625. RANLIB = ranlib
  626. RCC = NONE/rcc
  627. ROSEHPCT_DEP_INCLUDES = -I/usr/include/libxml2
  628. ROSEHPCT_DEP_LIBS = -lxml2
  629. ROSE_BOOST_NORMAL_INCLUDE_PATH = -I/usr/include
  630.  
  631. # DQ (12/22/2008): Specification of Boost path for use with "-isystem" option (may be GNU
  632. # specific).  We use this option only if the configuration of ROSE has detected a
  633. # previously installed version of Boost (which we do not want to use).
  634. # Note that only one of these will be non-empty makefile variables.
  635. ROSE_BOOST_PREINCLUDE_PATH =
  636. ROSE_EDG_MAJOR_VERSION_NUMBER = 5
  637. ROSE_EDG_MINOR_VERSION_NUMBER = 0
  638. ROSE_HOME = .
  639. ROSE_LIBMAGIC_PREFIX =
  640. ROSE_LIBPQXX_PREFIX =
  641. ROSE_LSB_RELEASE = lsb_release
  642. ROSE_OBJDUMP_PATH = objdump
  643. ROSE_OFP_JAR_FILE = OpenFortranParser-20190206.jar
  644. ROSE_OFP_MAJOR_VERSION_NUMBER = 0
  645. ROSE_OFP_MINOR_VERSION_NUMBER = 8
  646. ROSE_OFP_PATCH_VERSION_NUMBER = 5
  647. ROSE_OFP_VERSION_NUMBER = 20190206
  648. ROSE_PS2PDF_PATH = ps2pdf
  649. ROSE_SUPPORT_GNU_EXTENSIONS = FALSE
  650. ROSE_SUPPORT_MICROSOFT_EXTENSIONS = FALSE
  651. ROSE_USE_CANDL =
  652. ROSE_USE_CLOOG =
  653. ROSE_USE_EDG_QUAD_FLOAT =
  654. ROSE_USE_FATAL_ROSE_WARNINGS_SUPPORT =
  655. ROSE_USE_PPL =
  656. ROSE_USE_SCOPLIB =
  657. ROSE_USE_UNIFORM_ADVANCED_WARNINGS_SUPPORT =
  658. ROSE_WGET_PATH = wget
  659. ROSE_WITH_MPI_CFLAGS =
  660. ROSE_WITH_MPI_CLDFLAGS =
  661. ROSE_WITH_MPI_CXXFLAGS =
  662. ROSE_WITH_MPI_CXXLDFLAGS =
  663. ROSE_WITH_MPI_F77FLAGS =
  664. ROSE_WITH_MPI_F77LDFLAGS =
  665. ROSE_WITH_MPI_FFLAGS =
  666. ROSE_WITH_MPI_FLDFLAGS =
  667. ROSE_YAML_PREFIX =
  668. ROSE_YICES =
  669. ROSE_YICES_PREFIX =
  670. ROSE_Z3_PREFIX =
  671. RT_LIBS = -ldl -ldl
  672. SCOPLIB_PATH =
  673. SED = sed
  674. SET_MAKE =
  675. SHELL = /bin/bash
  676. SPOT_INCLUDE_PATH =
  677. SPOT_INSTALL_PATH =
  678. SPOT_LIBRARY_PATH =
  679. SQLITE3_CFLAGS =
  680. SQLITE3_LDFLAGS =
  681. SQLITE3_VERSION =
  682. STRATEGO_BIN_PATH =
  683. STRATEGO_INSTALL_PATH =
  684. STRATEGO_LIBRARY_PATH =
  685. STRIP = strip
  686. SWIG = echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false -c++
  687. SWIG_LIB =
  688. SWIPLBIN =
  689. TCLSH = tclsh
  690. TEST_SMT_SOLVER =
  691. UIC = NONE/uic
  692. UPC =
  693. UPCDEPMODE =
  694. UPCFLAGS =
  695. USING_WINDOWS = 0
  696. VALGRIND_BINARY = /valgrind
  697. VALGRIND_BIN_PATH =
  698. VALGRIND_INCLUDE_PATH =
  699. VALGRIND_INSTALL_PATH =
  700. VALGRIND_LIBRARY_PATH =
  701. VECTORIZATION = $(top_builddir)/projects/vectorization/src/vectorization
  702. VERSION = 0.9.11.0
  703. WT_PREFIX = no
  704. X10_BIN_PATH =
  705. X10_INSTALL_PATH =
  706. X10_LIBRARY_PATH =
  707. X10_VERSION =
  708. XERCES_CPPFLAGS =
  709. XERCES_LDFLAGS =
  710. XERCES_LIBS =
  711. XERCES_VERSION =
  712. XMKMF =
  713. XML2_CONFIG = /usr/bin/xml2-config
  714. XML_CPPFLAGS = -I/usr/include/libxml2
  715. XML_LIBS = -lxml2
  716. YACC = bison -y
  717. YFLAGS =
  718. Z3BIN =
  719. Z3_INCLUDE_PATH =
  720. Z3_LIBRARY_PATH =
  721. Z3_PREFIX =
  722. abs_builddir = /home/ubuntu/workspace/buildrose/src/frontend/CxxFrontend
  723. abs_srcdir = /home/ubuntu/workspace/buildrose/../rose/src/frontend/CxxFrontend
  724. abs_top_builddir = /home/ubuntu/workspace/buildrose
  725. abs_top_srcdir = /home/ubuntu/workspace/buildrose/../rose
  726. absolute_path_srcdir = /home/ubuntu/workspace/rose
  727. ac_boost_path = /usr
  728. ac_ct_AR = ar
  729. ac_ct_CC = gcc
  730. ac_ct_CXX = g++
  731. ac_ct_DUMPBIN =
  732. ac_ct_F77 = gfortran
  733. ac_ct_FC = gfortran
  734. ac_ct_MPICXX =
  735. ac_ct_UPC =
  736. am__include = include
  737. am__leading_dot = .
  738. am__quote =
  739. am__tar = tar --format=posix -chf - "$$tardir"
  740. am__untar = tar -xf -
  741. bddbddb_path =
  742. bindir = ${exec_prefix}/bin
  743. build = x86_64-unknown-linux-gnu
  744. build_alias =
  745. build_cpu = x86_64
  746. build_os = linux-gnu
  747. build_triplet_without_redhat = x86_64-pc-linux-gnu
  748. build_vendor = unknown
  749. builddir = .
  750. configure_date = Thursday June 13 18:02:37 2019
  751. datadir = ${datarootdir}
  752. datarootdir = ${prefix}/share
  753. docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
  754. dvidir = ${docdir}
  755. edg_union_struct_debugging_value = union
  756. exec_prefix = ${prefix}
  757. glut_path =
  758. gnat_home =
  759. gnat_path =
  760. gomp_omp_runtime_library_path =
  761. host = x86_64-unknown-linux-gnu
  762. host_alias =
  763. host_cpu = x86_64
  764. host_os = linux-gnu
  765. host_vendor = unknown
  766. htmldir = ${docdir}
  767. ida_path =
  768. includedir = ${prefix}/include
  769. infodir = ${datarootdir}/info
  770. install_sh = ${SHELL} /home/ubuntu/workspace/rose/config/install-sh
  771. insure_BIN =
  772. insure_LIBS =
  773. insure_PREFIX =
  774. libdir = ${exec_prefix}/lib
  775. libexecdir = ${exec_prefix}/libexec
  776. llvm_path =
  777. localedir = ${datarootdir}/locale
  778. localstatedir = ${prefix}/var
  779. ltdl_LIBOBJS =  lt__strl.o
  780. ltdl_LTLIBOBJS =  lt__strl.lo
  781. mandir = ${datarootdir}/man
  782. maple_path =
  783. mkdir_p = $(MKDIR_P)
  784. mono_home =
  785. oldincludedir = /usr/include
  786. omni_omp_runtime_support_path =
  787. optional_Visualization_subdirs =
  788. parallel_ast_traversal_omp_path =
  789. pdfdir = ${docdir}
  790. php_path =
  791. poet_dir =
  792. prefix = /home/demo/opt/rose-inst
  793. program_transform_name = s,x,x,
  794. psdir = ${docdir}
  795. purify_BIN =
  796. purify_INCLUDES =
  797. purify_LIBS =
  798. purify_PREFIX =
  799. res_top_src = /home/ubuntu/workspace/rose
  800. rosyln_home =
  801. rted_path =
  802. sbindir = ${exec_prefix}/sbin
  803. sharedstatedir = ${prefix}/com
  804. srcdir = ../../../../rose/src/frontend/CxxFrontend
  805. subdirs =  libltdl src/3rdPartyLibraries/libharu-2.1.0
  806. sys_symbol_underscore = no
  807. sysconfdir = ${prefix}/etc
  808. target_alias =
  809. top_build_prefix = ../../../
  810. top_builddir = ../../..
  811. top_pwd = /home/ubuntu/workspace/buildrose
  812. top_srcdir = ../../../../rose
  813. wine_path =
  814.  
  815. # SQLite is a simpler database to use than MySQL
  816. #ROSE_SQLITE_DATABASE_INCLUDE = $(SQLITE3_CFLAGS)
  817. #SQLITE_DATABASE_INCLUDE = $(SQLITE3_CFLAGS) -I$(top_srcdir)/src/roseExtensions/sqlite3x
  818. #SQLITE_DATABASE_LIBS = $(SQLITE3_LDFLAGS)
  819. #   ROSE_SQLITE_DATABASE_OBJS     = $(top_builddir)/src/roseExtensions/sqlite3x/*o
  820. #ROSE_SQLITE_DATABASE_LIB_NAME = RoseSQLite3xDatabase
  821. #ROSE_SQLITE_DATABASE_LIB_FILE = lib$(ROSE_SQLITE_DATABASE_LIB_NAME).la
  822. #ROSE_SQLITE_DATABASE_LIBS = -l$(ROSE_SQLITE_DATABASE_LIB_NAME)
  823. #ROSE_SIDEEFFECT_INCLUDE = -I$(top_srcdir)/src/midend/programAnalysis/sideEffectAnalysis
  824. #Z3_LIB_NAME = z3
  825. #Z3_LIB_FILE = lib$(Z3_LIB_NAME).so
  826. #Z3_LIBS = -l$(Z3_LIB_NAME)
  827. #Z3_INCLUDES = -I$(Z3_PREFIX)/include
  828. #Z3_LIB_INCLUDES = -L$(Z3_PREFIX)/lib
  829. #ROSE_Z3_INCLUDES = -I/include
  830. #ROSE_Z3_LIBS = -lz3
  831. #ROSE_Z3_LIBS_WITH_PATH = -L/lib -lz3
  832.  
  833. # This is properly handled by automake even when specified in an include file
  834. EDG_LIBS = @EDG_LIBS@
  835.  
  836. # Conditional support for Gabriel's QRose GUI Library
  837. #  ROSE_GUI_INCLUDE =   -I${QROSE_PREFIX}/include
  838. #ROSE_GUI_INCLUDE = -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Framework -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Widgets -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Components/Common -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Components/QueryBox -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Components/TreeBox -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Components/QueryBox -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Components/SourceBox
  839.  
  840. # ROSE_GUI_LIBS = -lqrose
  841. #  ROSE_GUI_LIBS_WITH_PATH = -L${QROSE_PREFIX}/lib -lqrose
  842. #  ROSE_GUI_LIBS_WITH_PATH =  -L${top_builddir}/src/3rdPartyLibraries/qrose/QRoseLib/  -lqrose
  843. #ROSE_GUI_LIBS_WITH_PATH = ${top_builddir}/src/3rdPartyLibraries/qrose/QRoseLib/libqrose.la
  844.  
  845. # ROSE_GUI_LIB_FILE = libqrose.a
  846. #ROSE_QT_INCLUDE = $(QT_INCLUDES)
  847. # ROSE_QT_LIBS = -lqt
  848. #ROSE_QT_LIBS_WITH_PATH = ${QT_LDFLAGS}
  849. # ROSE_QT_LIB_FILE = libqt.a
  850.  
  851. # ROSE-HPCToolkit module
  852. ROSE_ROSEHPCT_INCLUDES = -I$(top_srcdir)/src/roseExtensions/roseHPCToolkit/include
  853. ROSE_ROSEHPCT_LIBS = -lrosehpct
  854. ROSE_ROSEHPCT_LIBS_WITH_PATH = $(top_builddir)/src/roseExtensions/roseHPCToolkit/src/librosehpct.la
  855. # ROSE_ROSEHPCT_LIB_FILE = librosehpct.so
  856.  
  857. # ROSE-YICES Package (destributed by SRI as a static library)
  858. #ROSE_YICES_INCLUDES = -I/include
  859. #ROSE_YICES_LIBS = -lyices
  860. #ROSE_YICES_LIBS_WITH_PATH = /lib/libyices.a
  861.  
  862. # YAML-CPP package for parsing YAML/JSON files
  863. #ROSE_YAML_INCLUDES = -I/include
  864. #ROSE_YAML_LIBS = -lyaml-cpp
  865. #ROSE_YAML_LIBS_WITH_PATH = -L/lib -lyaml-cpp
  866.  
  867. # GNU readline
  868. #ROSE_READLINE_INCLUDES = -I
  869. #ROSE_READLINE_LIBS =
  870. #ROSE_READLINE_LIBS_WITH_PATH = -L $(ROSE_READLINE_LIBS)
  871.  
  872. # libmagic for identifying file types based on magic numbers
  873. #ROSE_LIBMAGIC_INCLUDES = -I/include
  874. #ROSE_LIBMAGIC_LIBS = -lmagic
  875. #ROSE_LIBMAGIC_LIBS_WITH_PATH = -L/lib -lmagic
  876.  
  877. # PostgreSQL C++ API
  878. #ROSE_LIBPQXX_INCLUDES = -I/include
  879. #ROSE_LIBPQXX_LIBS = -lpqxx -lpq
  880. #ROSE_LIBPQXX_LIBS_WITH_PATH = -L/lib -lpqxx -lpq
  881.  
  882. # Math algorithms from http://dlib.net. This is a headers-only library neede by some binary analyses.
  883. #ROSE_DLIB_INCLUDES = -I
  884. #ROSE_DLIB_LIBS =
  885. #ROSE_DLIB_LIBS_WITH_PATH =
  886.  
  887. # DQ (11/4/2016): Adding support for use of Address Sanitizer (for where the ROSE Test Handler (RTH) is used.
  888. # Note the quotes and escapes that are required:
  889. ADDRESS_SANITIZER_OPTIONS = "ASAN_OPTIONS=symbolize=1:detect_leaks=0 ASAN_SYMBOLIZER_PATH=\`which llvm-symbolizer\`"
  890.  
  891. # DQ(11/4/2016): Need a version when not using the ROSE Test Handler (RTH):
  892. NON_RTH_ADDRESS_SANITIZER_OPTIONS = ASAN_OPTIONS=symbolize=1:detect_leaks=0 ASAN_SYMBOLIZER_PATH=`which llvm-symbolizer`
  893. #ROSE_ELF_INCLUDES =
  894. #ROSE_ELF_LIBS_WITH_PATH =
  895.  
  896. # ROSE gcrypt support (for things like md5, sha1, etc)
  897. #ROSE_GCRYPT_INCLUDES =
  898. #ROSE_GCRYPT_LIBS_WITH_PATH =
  899.  
  900. # ROSE-DWARF libdwarf support
  901. #ROSE_DWARF_INCLUDES =
  902. #ROSE_DWARF_LIBS_WITH_PATH =
  903.  
  904. # DQ (3/13/2009):
  905. # If Dwarf is used with Intel Pin then reference the same copy of libdwarf.a (in the same
  906. # directory).  However, it does NOT work to link both references to libdwarf into more
  907. # than one dynamic (shared) library, so we need to link libdwarf dynamically.
  908. # To avoid additional LD_LIBRARY_PATH requirements, we do so using rpath.
  909. # To support this the libdwarf.so should be placed into $(INTEL_PIN_PATH)/intel64/lib-ext
  910. # and the static libdwarf.a moved out (renamed) so that it will not be used.
  911. # Note that this will also cause librose.so to use the shared library for
  912. # dwarf when used with Intel Pin.
  913. ##ROSE_DWARF_LIBS_WITH_PATH = -L$(INTEL_PIN_PATH)/intel64/lib-ext -ldwarf -lelf
  914. # DQ (3/14/2009): This factors the lib paths.
  915. ##INTEL_PIN_WITH_DWARF_LIBS_PATH = $(INTEL_PIN_LIB_PATHS) -lpin -lxed -ldl $(ROSE_DWARF_LIBS_WITH_PATH)
  916.  
  917. # ROSE-WINE Package (Wine is a package to permit execution of Windows binaries under Linux)
  918. #ROSE_WINE_INCLUDES = -I$(wine_path)/include
  919. #ROSE_PHP_INCLUDES = -I$(php_path)/include/phc -I$(php_path)/include/php
  920. #ROSE_PHP_LIBS = -lphp5 -lphc -lltdl
  921. #ROSE_PHP_LIBS_WITH_PATH = $(php_path)/lib/libphc.so $(php_path)/lib/libphp5.so $(LIBLTDL)
  922.  
  923. # ASR (06/09/2010): adding llvm support variables
  924. #ROSE_LLVM_INCLUDES = -I$(llvm_path)/include
  925. #ROSE_LLVM_LIBS = -L$(llvm_path)/lib \
  926. #   -lLLVMXCoreCodeGen -lLLVMXCoreAsmPrinter \
  927. #   -lLLVMXCoreInfo -lLLVMSystemZCodeGen \
  928. #   -lLLVMSystemZAsmPrinter -lLLVMSystemZInfo \
  929. #   -lLLVMSparcCodeGen -lLLVMSparcAsmPrinter \
  930. #   -lLLVMSparcInfo -lLLVMPowerPCCodeGen \
  931. #   -lLLVMPowerPCAsmPrinter -lLLVMPowerPCInfo \
  932. #   -lLLVMpic16passes -lLLVMPIC16AsmPrinter \
  933. #   -lLLVMPIC16CodeGen -lLLVMPIC16Info \
  934. #   -lLLVMMSP430CodeGen -lLLVMMSP430AsmPrinter \
  935. #   -lLLVMMSP430Info -lLLVMMSIL -lLLVMMSILInfo \
  936. #   -lLLVMMipsAsmPrinter -lLLVMMipsCodeGen \
  937. #   -lLLVMMipsInfo -lLLVMMBlazeAsmPrinter \
  938. #   -lLLVMMBlazeCodeGen -lLLVMMBlazeInfo \
  939. #   -lLLVMLinker -lLLVMipo -lLLVMInterpreter \
  940. #   -lLLVMInstrumentation -lLLVMJIT \
  941. #   -lLLVMExecutionEngine -lLLVMCppBackend \
  942. #   -lLLVMCppBackendInfo -lLLVMCellSPUCodeGen \
  943. #   -lLLVMCellSPUAsmPrinter -lLLVMCellSPUInfo \
  944. #   -lLLVMCBackend -lLLVMCBackendInfo \
  945. #   -lLLVMBlackfinCodeGen \
  946. #   -lLLVMBlackfinAsmPrinter \
  947. #   -lLLVMBlackfinInfo -lLLVMBitWriter \
  948. #   -lLLVMX86Disassembler -lLLVMX86AsmParser \
  949. #   -lLLVMX86AsmPrinter -lLLVMX86CodeGen \
  950. #   -lLLVMX86Info -lLLVMAsmParser \
  951. #   -lLLVMARMAsmParser -lLLVMMCParser \
  952. #   -lLLVMARMAsmPrinter -lLLVMARMCodeGen \
  953. #   -lLLVMARMInfo -lLLVMArchive \
  954. #   -lLLVMBitReader -lLLVMAlphaCodeGen \
  955. #   -lLLVMSelectionDAG -lLLVMAlphaAsmPrinter \
  956. #   -lLLVMAsmPrinter -lLLVMCodeGen \
  957. #   -lLLVMScalarOpts -lLLVMInstCombine \
  958. #   -lLLVMTransformUtils -lLLVMipa \
  959. #   -lLLVMAnalysis -lLLVMTarget -lLLVMMC \
  960. #   -lLLVMCore -lLLVMAlphaInfo -lLLVMSupport \
  961. #   -lLLVMSystem
  962.  
  963. # adding all libraries for now
  964.  
  965. # Python API support
  966. #ROSE_PYTHON_INCLUDES =
  967. #ROSE_PYTHON_LIBS_WITH_PATH =
  968.  
  969. # SSL support permits use of MD5 checksums internally for binary library identification.
  970. #ROSE_SSL_LIBS = -lssl -lcrypto
  971.  
  972. # support for precompiled headers
  973. #ROSE_PCH_INCLUDE = -Winvalid-pch -fPIC -DPIC
  974. #INTEL_PIN_PATH =
  975. #INTEL_PIN_INCLUDE_PATHS = -I$(INTEL_PIN_PATH)/source/include -I$(INTEL_PIN_PATH)/source/include/gen -I$(INTEL_PIN_PATH)/extras/xed2-intel64/include -I$(INTEL_PIN_PATH)/source/tools/InstLib
  976.  
  977. # DQ (3/8/2009): These cause rose/src/testSharedRoseLib to fail, I don't know why (fails in system call to map()).
  978. # INTEL_PIN_LIB_PATHS     = -L$(INTEL_PIN_PATH)/intel64/lib -L$(INTEL_PIN_PATH)/extras/xed2-intel64/lib -L$(INTEL_PIN_PATH)/intel64/lib-ext
  979. #INTEL_PIN_LIB_PATHS = -L$(INTEL_PIN_PATH)/intel64/lib -L$(INTEL_PIN_PATH)/extras/xed2-intel64/lib
  980.  
  981. # Do we want to handle this differently when Dwarf is used optionally with ROSE.
  982. #INTEL_PIN_LIBS = -lpin -lxed -ldwarf -lelf -ldl
  983. #if ROSE_HAVE_LIBDWARF
  984. #  INTEL_PIN_LIBS          = -lpin -lxed -lelf -ldl
  985. #else
  986. #  INTEL_PIN_LIBS          = -lpin -lxed -ldwarf -lelf -ldl
  987. #endif
  988. #ROSE_ETHER_INCLUDE = -I$(ETHER_PREFIX)/include
  989. #ROSE_ETHER_LIBS = -L$(ETHER_PREFIX)/lib -lxenctrl
  990. #ROSE_ATERM_INCLUDE = -I$(ATERM_LIBRARY_PATH)/../include
  991. #ROSE_ATERM_LIBS = -L$(ATERM_LIBRARY_PATH) -lATerm
  992.  
  993. # DQ (5/9/2017): Adding Ada library support.
  994. # ROSE_ADA_INCLUDES = -I$(ada_path)/include_xxx
  995. #ROSE_ADA_INCLUDES = -I$(ada_path)/include_xxx
  996. #ROSE_ADA_LIBS = -ldot_asis
  997. #ROSE_ADA_LIBS_WITH_PATH = /home/quinlan1/ROSE/ADA/dot_asis/dot_asis_library/lib/libdot_asis.so
  998.  
  999. # RASMUSSEN (10/24/2017): Adding the GnuCOBOL parse-tree library support.
  1000. #ROSE_COBOL_PT_LIBS_WITH_PATH = -L$(COBPT_LIBRARY_PATH) -lcob -lcobpt
  1001. ROSE_QUAD_FLOAT_MATH = -lquadmath
  1002.  
  1003. # DQ (1/9/2010): Added use of libimf with libm (the two go together when using Intel icc and icpc)
  1004. #  ROSE_INTEL_COMPILER_MATH_LIBS = -limf -lm
  1005. # DQ (11/16/2017): We need to link in these Intel specific required libraries to avoid: error hidden symbol `__intel_cpu_features_init_x'
  1006. # ROSE_INTEL_COMPILER_MATH_LIBS =
  1007. #    ROSE_INTEL_COMPILER_MATH_LIBS += -limf
  1008. #ROSE_INTEL_COMPILER_MATH_LIBS = -limf \
  1009. #   -lirng -lintlc -lsvml -lm
  1010. # ROSE_INCLUDES =
  1011. #     $(ROSE_BOOST_PREINCLUDE_PATH)
  1012. ROSE_INCLUDES_WITHOUT_BOOST_ISYSTEM_PATH = \
  1013.      -I$(top_builddir)/src/roseSupport \
  1014.      -I$(top_builddir)/src/frontend/SageIII \
  1015.      -I$(top_srcdir)/src \
  1016.      -I$(top_srcdir)/src/frontend \
  1017.      -I$(top_srcdir)/src/frontend/SageIII \
  1018.      -I$(top_srcdir)/src/frontend/SageIII/astFixup \
  1019.      -I$(top_srcdir)/src/frontend/SageIII/astPostProcessing \
  1020.      -I$(top_srcdir)/src/frontend/SageIII/astMerge \
  1021.      -I$(top_srcdir)/src/frontend/SageIII/astVisualization \
  1022.      -I$(top_srcdir)/src/frontend/SageIII/astFileIO \
  1023.      -I$(top_srcdir)/src/frontend/SageIII/sageInterface \
  1024.      -I$(top_srcdir)/src/frontend/SageIII/virtualCFG \
  1025.      -I$(top_srcdir)/src/frontend/SageIII/astTokenStream \
  1026.      -I$(top_srcdir)/src/frontend/SageIII/astHiddenTypeAndDeclarationLists \
  1027.      -I$(top_builddir)/src/frontend/SageIII/astFileIO \
  1028.      -I$(top_srcdir)/src/frontend/SageIII/astFromString \
  1029.      -I$(top_srcdir)/src/frontend/SageIII/includeDirectivesProcessing \
  1030.      -I$(top_srcdir)/src/frontend/SageIII/sage_support \
  1031.      -I$(top_srcdir)/src/frontend/OpenFortranParser_SAGE_Connection \
  1032.      -I$(top_srcdir)/src/frontend/ECJ_ROSE_Connection \
  1033.      -I"$(JAVA_HOME)/include" \
  1034.      -I$(top_srcdir)/src/frontend/PHPFrontend \
  1035.       $(ROSE_CLANG_FRONTEND_INCLUDE) \
  1036.      -I$(top_srcdir)/src/frontend/PythonFrontend \
  1037.      -I$(top_srcdir)/src/frontend/BinaryFormats \
  1038.      -I$(top_srcdir)/src/frontend/BinaryLoader \
  1039.      -I$(top_srcdir)/src/frontend/Disassemblers \
  1040.       $(ROSE_CLANG_INCLUDE) \
  1041.      -I$(top_srcdir)/src/backend/unparser \
  1042.      -I$(top_srcdir)/src/backend/unparser/formatSupport \
  1043.      -I$(top_srcdir)/src/backend/unparser/languageIndependenceSupport \
  1044.      -I$(top_srcdir)/src/backend/unparser/CxxCodeGeneration \
  1045.      -I$(top_srcdir)/src/backend/unparser/JavaCodeGeneration \
  1046.      -I$(top_srcdir)/src/backend/unparser/FortranCodeGeneration \
  1047.      -I$(top_srcdir)/src/backend/unparser/PHPCodeGeneration \
  1048.      -I$(top_srcdir)/src/backend/unparser/PythonCodeGeneration \
  1049.      -I$(top_srcdir)/src/backend/unparser/X10CodeGeneration \
  1050.      -I$(top_srcdir)/src/backend/unparser/AdaCodeGeneration \
  1051.      -I$(top_srcdir)/src/backend/unparser/JovialCodeGeneration \
  1052.      -I$(top_srcdir)/src/backend/asmUnparser \
  1053.      -I$(top_srcdir)/src/util \
  1054.      -I$(top_srcdir)/src/util/support \
  1055.      -I$(top_srcdir)/src/util/graphs  \
  1056.      -I$(top_srcdir)/src/util/stringSupport \
  1057.      -I$(top_srcdir)/src/util/commandlineProcessing \
  1058.      -I$(top_srcdir)/src/midend/abstractHandle \
  1059.      -I$(top_srcdir)/src/midend/abstractMemoryObject \
  1060.      -I$(top_srcdir)/src/midend/abstractLayer \
  1061.      -I$(top_srcdir)/src/midend/astDiagnostics \
  1062.      -I$(top_srcdir)/src/midend/programTransformation/astInlining \
  1063.      -I$(top_srcdir)/src/midend/programTransformation/astOutlining  \
  1064.      -I$(top_srcdir)/src/midend/programTransformation/transformationTracking \
  1065.      -I$(top_srcdir)/src/midend/astProcessing \
  1066.      -I$(top_srcdir)/src/midend/astMatching \
  1067.      -I$(top_srcdir)/src/midend/astQuery \
  1068.      -I$(top_srcdir)/src/midend/astRewriteMechanism \
  1069.      -I$(top_srcdir)/src/midend/astUtil/annotation \
  1070.      -I$(top_srcdir)/src/midend/astUtil/astInterface \
  1071.      -I$(top_srcdir)/src/midend/astUtil/astSupport \
  1072.      -I$(top_srcdir)/src/midend/astUtil/symbolicVal \
  1073.      -I$(top_srcdir)/src/midend/BinaryAnalysis \
  1074.      -I$(top_srcdir)/src/midend/BinaryAnalysis/dataflowanalyses \
  1075.      -I$(top_srcdir)/src/midend/BinaryAnalysis/instructionSemantics \
  1076.      -I$(top_srcdir)/src/midend/programTransformation/loopProcessing/computation \
  1077.      -I$(top_srcdir)/src/midend/programTransformation/loopProcessing/depGraph \
  1078.      -I$(top_srcdir)/src/midend/programTransformation/loopProcessing/depInfo \
  1079.      -I$(top_srcdir)/src/midend/programTransformation/loopProcessing/driver \
  1080.      -I$(top_srcdir)/src/midend/programTransformation/loopProcessing/outsideInterface \
  1081.      -I$(top_srcdir)/src/midend/programTransformation/loopProcessing/prepostTransformation \
  1082.      -I$(top_srcdir)/src/midend/programTransformation/ompLowering \
  1083.      -I$(top_srcdir)/src/midend/programTransformation/extractFunctionArgumentsNormalization \
  1084.      -I$(top_srcdir)/src/midend/programTransformation/singleStatementToBlockNormalization \
  1085.      -I$(top_srcdir)/src/midend/programAnalysis \
  1086.      -I$(top_srcdir)/src/midend/programAnalysis/arithmeticIntensity \
  1087.      -I$(top_srcdir)/src/midend/programAnalysis/annotationLanguageParser \
  1088.      -I$(top_srcdir)/src/midend/programAnalysis/CFG \
  1089.      -I$(top_srcdir)/src/midend/programAnalysis/staticSingleAssignment \
  1090.      -I$(top_srcdir)/src/midend/programAnalysis/ssaUnfilteredCfg \
  1091.      -I$(top_srcdir)/src/midend/programAnalysis/systemDependenceGraph \
  1092.      -I$(top_srcdir)/src/midend/programAnalysis/systemDependenceGraph \
  1093.      -I$(top_srcdir)/src/midend/programAnalysis/CallGraphAnalysis \
  1094.      -I$(top_srcdir)/src/midend/programAnalysis/OAWrap \
  1095.      -I$(top_srcdir)/src/midend/programAnalysis/bitvectorDataflow \
  1096.      -I$(top_srcdir)/src/midend/programAnalysis/VirtualFunctionAnalysis \
  1097.      -I$(top_srcdir)/src/midend/programAnalysis/defUseAnalysis \
  1098.      -I$(top_srcdir)/src/midend/programAnalysis/distributedMemoryAnalysis \
  1099.      -I$(top_srcdir)/src/midend/programAnalysis/dominanceAnalysis \
  1100.      -I$(top_srcdir)/src/midend/programAnalysis/pointerAnal \
  1101.      -I$(top_srcdir)/src/midend/programAnalysis/staticInterproceduralSlicing \
  1102.      -I$(top_srcdir)/src/midend/programAnalysis/valuePropagation \
  1103.      -I$(top_srcdir)/src/midend/programAnalysis/variableRenaming \
  1104.       $(ROSE_SIDEEFFECTS_INCLUDE) \
  1105.       $(ROSE_DATABASE_INCLUDE) \
  1106.       $(ROSE_GUI_INCLUDE) \
  1107.       $(ROSE_QT_INCLUDE) \
  1108.       $(ROSE_SQLITE_DATABASE_INCLUDE) \
  1109.             $(ROSE_SIDEEFFECT_INCLUDE) \
  1110.       $(SQLITE_DATABASE_INCLUDE) \
  1111.      -I$(top_srcdir)/src/midend/programTransformation/partialRedundancyElimination \
  1112.      -I$(top_srcdir)/src/midend/programTransformation/finiteDifferencing \
  1113.      -I$(top_srcdir)/src/midend/programTransformation/functionCallNormalization \
  1114.      -I$(top_srcdir)/src/midend/programTransformation/constantFolding \
  1115.      -I$(top_srcdir)/src/midend/programTransformation/implicitCodeGeneration \
  1116.      -I$(top_srcdir)/src/roseSupport \
  1117.      -I$(top_srcdir)/src/3rdPartyLibraries/MSTL \
  1118.      -I$(top_srcdir)/src/3rdPartyLibraries/libharu-2.1.0/include \
  1119.      -I$(top_builddir)/src/3rdPartyLibraries/libharu-2.1.0/include \
  1120.      -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Framework \
  1121.      -I$(top_srcdir)/src/3rdPartyLibraries/qrose/Widgets  \
  1122.      -I$(top_srcdir)/src/util/graphs \
  1123.      -I$(top_srcdir)/src/midend/astUtil/astInterface \
  1124.      -I$(top_srcdir)/libltdl \
  1125.      -I$(top_srcdir)/src/roseExtensions/failSafe \
  1126.      $(ROSE_PHP_INCLUDES) \
  1127.      $(ROSE_PYTHON_INCLUDES) \
  1128.      $(ROSE_YICES_INCLUDES) \
  1129.      $(ROSE_Z3_INCLUDES) \
  1130.      $(ROSE_YAML_INCLUDES) \
  1131.      $(ROSE_LIBPQXX_INCLUDES) \
  1132.      $(ROSE_READLINE_INCLUDES) \
  1133.      $(ROSE_LIBMAGIC_INCLUDES) \
  1134.      $(ROSE_DLIB_INCLUDES) \
  1135.      $(ROSE_GCRYPT_INCLUDES) \
  1136.      $(ROSE_ELF_INCLUDES) \
  1137.      $(ROSE_DWARF_INCLUDES) \
  1138.      $(ROSE_WINE_INCLUDES) \
  1139.      $(VALGRIND_CFLAGS) \
  1140.      $(SQLITE3_CFLAGS) \
  1141.      $(ROSE_BOOST_NORMAL_INCLUDE_PATH) \
  1142.      $(ROSE_PCH_INCLUDE) \
  1143.      $(INTEL_PIN_INCLUDE_PATHS) \
  1144.      $(ROSE_ETHER_INCLUDE) \
  1145.      $(ROSE_ATERM_INCLUDE) \
  1146.      $(ROSE_CSHARP_INCLUDES) \
  1147.      $(ROSE_ADA_INCLUDES) \
  1148.      $(ROSE_JOVIAL_INCLUDES) \
  1149.      $(ROSE_COBOL_INCLUDES) \
  1150.      $(BOOST_CPPFLAGS)
  1151.  
  1152.  
  1153. # DQ (4/13/2016): Is there were we put the support to include -lstdc++.so on the link line directly?
  1154.  
  1155. # DQ (3/6/2013): We need to build a SWIG path that can't include the isystem option.
  1156. # Note use of "-isystem" option in ROSE_BOOST_PREINCLUDE_PATH to have the
  1157. # boost specified on the configure
  1158. # command-line be used instead of the OS version of boost that is sometimes
  1159. # installed with Linux (it is always a version too old to be used with ROSE).
  1160. # This is used only when the ROSE configuration detects a previously installed
  1161. # version of Boost (e.g /usr/include/boost) that we don't want to use.
  1162. # ROSE_INCLUDES =
  1163. #    $(ROSE_BOOST_PREINCLUDE_PATH)
  1164. #ROSE_INCLUDES_WITHOUT_BOOST_ISYSTEM_PATH = \
  1165. #     -I$(top_builddir)/src/roseSupport \
  1166. #     -I$(top_builddir)/src/frontend/SageIII \
  1167. #     -I$(top_srcdir)/src \
  1168. #     -I$(top_srcdir)/src/frontend \
  1169. #     -I$(top_srcdir)/src/frontend/SageIII \
  1170. #     -I$(top_srcdir)/src/frontend/SageIII/astFixup \
  1171. #     -I$(top_srcdir)/src/frontend/SageIII/astPostProcessing \
  1172. #     -I$(top_srcdir)/src/frontend/SageIII/astVisualization \
  1173. #     -I$(top_srcdir)/src/frontend/SageIII/sageInterface \
  1174. #     -I$(top_srcdir)/src/frontend/SageIII/includeDirectivesProcessing \
  1175. #     -I$(top_srcdir)/src/frontend/SageIII/sage_support \
  1176. #     -I$(top_srcdir)/src/frontend/OpenFortranParser_SAGE_Connection \
  1177. #     -I$(top_srcdir)/src/frontend/ECJ_ROSE_Connection \
  1178. #     -I"$(JAVA_HOME)/include" \
  1179. #     -I$(top_srcdir)/src/frontend/BinaryFormats \
  1180. #     -I$(top_srcdir)/src/frontend/BinaryLoader \
  1181. #     -I$(top_srcdir)/src/frontend/Disassemblers \
  1182. #     -I$(top_srcdir)/src/backend/unparser \
  1183. #     -I$(top_srcdir)/src/backend/unparser/formatSupport \
  1184. #     -I$(top_srcdir)/src/backend/unparser/languageIndependenceSupport \
  1185. #     -I$(top_srcdir)/src/backend/unparser/CxxCodeGeneration \
  1186. #     -I$(top_srcdir)/src/backend/unparser/JavaCodeGeneration \
  1187. #     -I$(top_srcdir)/src/backend/unparser/FortranCodeGeneration \
  1188. #     -I$(top_srcdir)/src/backend/unparser/PHPCodeGeneration \
  1189. #     -I$(top_srcdir)/src/backend/unparser/PythonCodeGeneration \
  1190. #     -I$(top_srcdir)/src/backend/unparser/X10CodeGeneration \
  1191. #     -I$(top_srcdir)/src/backend/unparser/AdaCodeGeneration \
  1192. #     -I$(top_srcdir)/src/backend/unparser/JovialCodeGeneration \
  1193. #     -I$(top_srcdir)/src/backend/asmUnparser \
  1194. #     -I$(top_srcdir)/src/util \
  1195. #     -I$(top_srcdir)/src/util/support \
  1196. #     -I$(top_srcdir)/src/util/graphs  \
  1197. #     -I$(top_srcdir)/src/util/stringSupport \
  1198. #     -I$(top_srcdir)/src/util/commandlineProcessing \
  1199. #     -I$(top_srcdir)/src/midend/astDiagnostics \
  1200. #     -I$(top_srcdir)/src/midend/astProcessing \
  1201. #     -I$(top_srcdir)/src/midend/astMatching \
  1202. #     -I$(top_srcdir)/src/midend/astQuery \
  1203. #     -I$(top_srcdir)/src/midend/BinaryAnalysis \
  1204. #     -I$(top_srcdir)/src/midend/programAnalysis \
  1205. #     -I$(top_srcdir)/src/roseSupport \
  1206. #     -I$(top_srcdir)/src/3rdPartyLibraries/MSTL \
  1207. #     -I$(top_srcdir)/src/util/graphs \
  1208. #     -I$(top_srcdir)/src/roseExtensions/failSafe \
  1209. #     $(ROSE_ATERM_INCLUDE) \
  1210. #     $(ROSE_BOOST_NORMAL_INCLUDE_PATH)
  1211.  
  1212.  
  1213. # DQ (10/23/2015): These paths have been replaces with the following variables.
  1214. # These variable are empty for now (reflecting the default usage, and need to
  1215. # be set properly where ever Clang support is processed as a configure option.
  1216. #    -I$(top_srcdir)/src/frontend/CxxFrontend/ClangFrontend
  1217. #    -I$(top_srcdir)/src/frontend/CxxFrontend/Clang
  1218. #    $(ROSE_CLANG_FRONTEND_INCLUDE)
  1219. #    $(ROSE_CLANG_INCLUDE)
  1220. SWIG_ROSE_INCLUDES = $(ROSE_INCLUDES_WITHOUT_BOOST_ISYSTEM_PATH)
  1221. ROSE_INCLUDES = $(ROSE_BOOST_PREINCLUDE_PATH) $(ROSE_INCLUDES_WITHOUT_BOOST_ISYSTEM_PATH)
  1222.  
  1223. # DQ (8/15/2010): I have removed these directories from the include paths since it no longer exists.
  1224. # I expect that the directories were removed and the include list not properly cleaned up.
  1225. # -I$(top_srcdir)/src/midend/binaryAnalyses/graph
  1226. # -I$(top_srcdir)/src/midend/programTransformation/runtimeTransformation
  1227. # -I$(top_srcdir)/projects/dataBase
  1228.  
  1229. # DQ (12/22/2008): Move Boost directory to front and used "-isystem" option so
  1230. # that a system with a previous (older) installation of boost does not interfer
  1231. # with the use of ROSE (and the version of boost specified using "--with-boost").
  1232. # $(BOOST_CPPFLAGS)
  1233.  
  1234. # DQ (10/28/2008): I think these should be included, I don't know why they
  1235. # were removed (used with Microsoft Windows tests, and Yices tests).
  1236. # DQ: Not used currently
  1237. #     $(ROSE_WINE_INCLUDES)
  1238.  
  1239. # DQ (5/3/2007): Removed from ROSE
  1240. #     -I$(top_srcdir)/src/midend/programAnalysis/dominatorTreesAndDominanceFrontiers
  1241. #     -I$(top_srcdir)/src/midend/programAnalysis/staticProgramSlicing
  1242.  
  1243. # DQ (10/22/2004): Removed when I could not get annotation work to compile properly with make distcheck rule
  1244. #     -I$(top_srcdir)/src/midend/programAnalysis/annotationLanguageParser
  1245.  
  1246. # New way using two libraries
  1247. # ROSE_LIBS_WITH_PATH = $(top_builddir)/src/librose.a $(top_builddir)/src/libedg.a
  1248. # ROSE_LIBS_WITH_PATH = $(top_builddir)/src/librose.so $(top_builddir)/src/libedg.so
  1249. # ROSE_LIBS_WITH_PATH = $(libdir)/librose.so $(libdir)/libedg.so
  1250. # ROSE_LIBS_WITH_PATH = $(top_builddir)/src/librose.la
  1251. # ROSE_LIBS_WITH_PATH = $(top_builddir)/src/librose.la $(JAVA_JVM_LIB)
  1252. # JJW 7/25/2008: This should probably just be the same as ROSE_LIBS
  1253. ROSE_LIBS_WITH_PATH = $(ROSE_LIBS)
  1254.  
  1255. # ROSE_LIBS = $(top_builddir)/src/librose.la -lm $(LEXLIB) $(SQLITE_DATABASE_LIBS) $(LIB_QT) $(WAVE_LDFLAGS) $(WAVE_LIBRARIES) $(WAVE_LIBS) $(JAVA_JVM_LIB) $(RT_LIBS)
  1256.  
  1257. # MS 10/19/2015: added ROSE_BOOST_LIBS variable to share exact same
  1258. # boost libs list in ROSE an in the ROSTTA Makefiles.
  1259. ROSE_BOOST_LIBS = $(BOOST_LDFLAGS) $(BOOST_DATE_TIME_LIB) $(BOOST_CHRONO_LIB) \
  1260.   $(BOOST_THREAD_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) \
  1261.   $(BOOST_RANDOM_LIB) $(BOOST_REGEX_LIB)  $(BOOST_SYSTEM_LIB) $(BOOST_SERIALIZATION_LIB)  \
  1262.   $(BOOST_WAVE_LIB) $(BOOST_IOSTREAMS_LIB) $(BOOST_PYTHON_LIB)
  1263.  
  1264. ROSE_LIBS = $(abspath $(top_builddir)/src/librose.la) -lm $(JAVA_JVM_LINK) \
  1265.   $(SQLITE_DATABASE_LIBS) $(QT_LIBS) $(ROSE_BOOST_LIBS) \
  1266.   $(SQLITE3_LDFLAGS)  $(RT_LIBS) $(ROSE_YICES_LIBS_WITH_PATH) $(ROSE_Z3_LIBS_WITH_PATH) $(ROSE_PHP_LIBS_WITH_PATH) \
  1267.   $(ROSE_DWARF_LIBS_WITH_PATH) $(ROSE_ELF_LIBS_WITH_PATH) \
  1268.   $(ROSE_GUI_LIBS_WITH_PATH) $(ROSE_QT_LIBS_WITH_PATH) $(ROSE_SSL_LIBS) $(ROSE_ETHER_LIBS) \
  1269.   $(ROSE_INTEL_COMPILER_MATH_LIBS) $(ROSE_ATERM_LIBS)  \
  1270.   $(ROSE_YAML_LIBS_WITH_PATH) $(ROSE_LIBMAGIC_LIBS_WITH_PATH) $(ROSE_READLINE_LIBS_WITH_PATH) \
  1271.   $(ROSE_DLIB_LIBS_WITH_PATH) $(ROSE_GCRYPT_LIBS_WITH_PATH) $(ROSE_LIBPQXX_LIBS_WITH_PATH) \
  1272.   $(ROSE_ADA_LIBS_WITH_PATH) $(ROSE_COBOL_PT_LIBS_WITH_PATH) $(ROSE_PYTHON_LIBS_WITH_PATH) \
  1273.   $(ROSE_QUAD_FLOAT_MATH)
  1274.  
  1275.  
  1276. #========================================================================================================================
  1277. # These are the "-R directory" switches that need to be passed to libtool running in link mode to make sure that ROSE
  1278. # executables have rpath properties that point to the directories containing the libraries we're using. Do not add
  1279. # system directories (or at least not at the front of this list) because that will cause the system-installed version of
  1280. # a library to be used rather than some user-specific version.
  1281. #
  1282. # Here's the motivation for using rpath instead of LD_LIBRARY_PATH: Consider what happens if some ROSE tool, call it
  1283. # myTranslator, is compiled and linked against a custom, user-installed version of libz.so (perhaps because myTranslator
  1284. # is using a custom version of some graphics library, like libgraphicsmagick.so, that needs a newer libz.so than what's
  1285. # installed on the system).  If I then set LD_LIBRARY_PATH to point to the directory with my libz.so I'll be able to run
  1286. # myTranslator, however I probably won't be able any system installed tool that uses libz.so. This includes not being
  1287. # able to run /usr/bin/as, which might be called indirectly when myTranslator invokes the backend compiler (because
  1288. # LD_LIBRARY_PATH overrides the rpath built into /usr/bin/as).  Run-time linking with the wrong dynamic library at best
  1289. # produces an error message from the linker, but more often just results in a fault of some sort.
  1290. #
  1291. # How does rpath fix this problem? It encodes into each executable the list of directories that should be searched when
  1292. # the executable is run, similar to LD_LIBRARY_PATH but on a per-executable basis.
  1293. #
  1294. # The filter-out is removing specific libraries (-lwhatever), the GCC's POSIX thread switch (-pthread), static libraries
  1295. # (whatever.a), and various system directories that might have the wrong library versions and which are searched
  1296. # automatically anyway. The outer patsubst is changing "-Ldirectory" to just "directory", and the addprefix is changing
  1297. # each directory to "-R directory" which is libtool's switch for adding an rpath to an executable.
  1298. #
  1299. # The inner-most patsubst needs more explanation: Although most low-level libraries like libz, libpng, etc. are normally
  1300. # installed in well-known system-wide locations (like /usr/lib), when testing ROSE in matrix testing using RMC, these
  1301. # libraries are often compiled and installed locally in such ways that they're not binary compatible with the
  1302. # system-installed versions. However, ROSE doesn't have configuration or cmake options for all these libraries because
  1303. # there could eventually be far too many. Therefore, we use the fact that RMC has already chosen the correct library
  1304. # directories and added their names to various environment variables. The lines of the form
  1305. #     $(subst :, ,# $(whatever_LIBDIRS))
  1306. # split the named environment variable into individual directory names.  If there's a ROSE configure option to specify
  1307. # the library location, then DO NOT list an environment variable here--use the directory from configure instead (which
  1308. # goes into ROSE_LIBS above).
  1309. ROSE_RPATHS = \
  1310.           $(patsubst -L%,-R %,                                                          \
  1311.             $(filter-out -L/lib% -L/usr/lib% -L/usr/local/lib% -L/var/lib%,             \
  1312.               $(filter -L%,                                                             \
  1313.                 $(ROSE_LIBS)                                                            \
  1314.                 $(subst :, , $(GNU_COMPILERS_LIBDIRS))                                  \
  1315.                 $(subst :, , $(LIBBZ2_LIBDIRS))                                         \
  1316.                 $(subst :, , $(LIBGRAPHICSMAGICK_LIBDIRS))                              \
  1317.                 $(subst :, , $(LIBJPEG_LIBDIRS))                                        \
  1318.                 $(subst :, , $(LIBLCMS_LIBDIRS))                                        \
  1319.                 $(subst :, , $(LIBLZMA_LIBDIRS))                                        \
  1320.                 $(subst :, , $(LIBPNG_LIBDIRS))                                         \
  1321.                 $(subst :, , $(LIBTIFF_LIBDIRS))                                        \
  1322.                 $(subst :, , $(PYTHON_LIBDIRS))                                         \
  1323.                 $(subst :, , $(SPOT_LIBDIRS))                                           \
  1324.                 $(subst :, , $(ZLIB_LIBDIRS))                                           \
  1325.                 $(subst :, , $(INTEL_COMPILER_RPATHS))                                  \
  1326.               )                                                                         \
  1327.             )                                                                           \
  1328.           )
  1329.  
  1330. ROSE_LINK_RPATHS = $(addprefix -Wl$(comma)-rpath , $(filter-out -R , $(ROSE_RPATHS)))
  1331.  
  1332. # Rasmussen (3/23/2018): Added ROSE_LINK_RPATHS to enable linking on Mac OSX with ROSE installation
  1333. #ROSE_LINK_RPATHS = $(addprefix -Xlinker -rpath , $(filter-out -R , $(ROSE_RPATHS)))
  1334. comma = ,
  1335. INTEL_COMPILER_RPATHS = $(shell $(top_srcdir)/scripts/intel-compiler-rpaths.sh)
  1336.  
  1337. # DQ (3/8/2009): This fails when I try to include it (fails in rose/src/testSharedRoseLib).
  1338. #  $(INTEL_PIN_LIB_PATHS) $(INTEL_PIN_LIBS)
  1339.  
  1340. # DQ (3/14/2009): It is cleaner to just required that Intel Pin support require setting
  1341. # the LD_LIBRARYPATH to include: $(INTEL_PIN_PATH)/intel64/lib-ext
  1342.  
  1343. # This ROSE_SEPARATE_LIBS is used for the linking of preprocessor.C used within
  1344. # development. The use of the seperate libraries make the linking faster where the
  1345. # main librose library is not built.  Libtool may have changed this so that we could
  1346. # just link to librose now just as easily, but one has to rebuild librose each time
  1347. # instead of just the individual shared library.
  1348. # JJW 7/25/2008: This should probably just be the same as ROSE_LIBS
  1349. ROSE_SEPARATE_LIBS = $(ROSE_LIBS)
  1350.  
  1351. # QY (11/2/04): removed -lastoutlining from ROSE_SEPARATE_LIBS
  1352.  
  1353. # DQ (10/22/2004): Removed when I could not get annotation work to compile properly
  1354. # with make distcheck rule
  1355. # -lannotationLanguageParser(appears after -lvaluePropagation)
  1356.  
  1357. # Test harness variables. See "rth_run.pl --help" for more info.  The RTH_RUN_FLAGS is meant to be set on the
  1358. # "make" command-line, but the default depends on the value of the verbosity $(V) flag.
  1359. RTH_RUN_FLAGS_V_ =
  1360. RTH_RUN_FLAGS_V_0 =
  1361. RTH_RUN_FLAGS_V_1 = --immediate-output
  1362. RTH_RUN_FLAGS = $(RTH_RUN_FLAGS_V_$(V))
  1363.  
  1364. # Default timeout that you can override on the "make" commandline. Valid values
  1365. # are integers followed by "s" (seconds), "m" (minutes), "h" (hours), or the
  1366. # word "never".  See scripts/rth_run.pl for detailed documentation.
  1367. RTH_TIMEOUT = 15m
  1368. RTH_RUN = $(top_srcdir)/scripts/rth_run.pl $(RTH_RUN_FLAGS) \
  1369.     srcdir=$(abspath $(srcdir)) top_srcdir=$(abspath $(top_srcdir)) \
  1370.     blddir=$$(pwd) top_blddir=$(abspath $(top_builddir)) \
  1371.     VALGRIND=$(VALGRIND) TIMEOUT=$(RTH_TIMEOUT)
  1372.  
  1373. RTH_STATS = $(top_srcdir)/scripts/rth_stats.pl
  1374. MOSTLYCLEANFILES = $(am__append_2) $(am__append_4) $(am__append_5) \
  1375.     $(am__append_6)
  1376. PHONIES = $(am__append_1)
  1377. SUBDIRS = Clang $(am__append_3)
  1378. DIST_SUBDIRS = Clang
  1379.  
  1380. #If we have Clang, then we don't need EDG at all.
  1381.  
  1382. # Who to contact if something goes wrong with these scripts
  1383. CONTACT_INFO = "Please contact rose-public@nersc.gov to troubleshoot this error."
  1384.  
  1385. # The script for computing the EDG hash
  1386. EDG_GENERATE_SIG = $(top_srcdir)/scripts/edg-generate-sig
  1387.  
  1388. # This is where EDG binaries are stored
  1389. ROSE_WEB_SERVER = http://rosecompiler.org
  1390. EDGBIN_LOCAL_TARBALLS = /nfs/casc/overture/ROSE/git/ROSE_EDG_Binaries
  1391. EDGBIN_REMOTE_TARBALLS = http://edg-binaries.rosecompiler.org
  1392. EDGBIN_STAGING_TARBALLS = /nfs/casc/overture/ROSE/git/ROSE_EDG_Binaries-staging
  1393.  
  1394. # The EDG hash is stored in a file, which gets around problems of using $(shell...), but means that we shouldn't use
  1395. # EDGBIN_SIGNATURE as a target or dependency.
  1396. EDGBIN_SIGNATURE_FILE = edg-generate-sig.output
  1397. EDGBIN_SIGNATURE = $(shell cat $(EDGBIN_SIGNATURE_FILE) 2>/dev/null)
  1398.  
  1399. # The name of the EDG binary is a bit complex.  Most of these variables come from the configure script. Be careful
  1400. # not to use EDGBIN_NAME as a target or dependency in this makefile since make needs to parse those before the
  1401. # $(EDGBIN_SIGNATURE_FILE) can be created.
  1402. EDGBIN_NAME_PREFIX = roseBinaryEDG-5-0
  1403. EDGBIN_NAME_SUFFIX = $(build_triplet_without_redhat)-$(FRONTEND_CXX_VENDOR_AND_VERSION2)
  1404. #EDGBIN_NAME_SUFFIX = $(build_triplet_without_redhat)-$(FRONTEND_CXX_VENDOR_AND_VERSION2)-microsoft
  1405. EDGBIN_NAME = $(EDGBIN_NAME_PREFIX)-$(EDGBIN_NAME_SUFFIX)-$(EDGBIN_SIGNATURE)
  1406. installdir = ${datadir}
  1407. all: all-recursive
  1408.  
  1409. .SUFFIXES:
  1410. $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs $(am__configure_deps)
  1411.     @for dep in $?; do \
  1412.       case '$(am__configure_deps)' in \
  1413.         *$$dep*) \
  1414.           ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
  1415.             && { if test -f $@; then exit 0; else break; fi; }; \
  1416.           exit 1;; \
  1417.       esac; \
  1418.     done; \
  1419.     echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/frontend/CxxFrontend/Makefile'; \
  1420.     $(am__cd) $(top_srcdir) && \
  1421.       $(AUTOMAKE) --foreign --ignore-deps src/frontend/CxxFrontend/Makefile
  1422. .PRECIOUS: Makefile
  1423. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  1424.     @case '$?' in \
  1425.       *config.status*) \
  1426.         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
  1427.       *) \
  1428.         echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
  1429.         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
  1430.     esac;
  1431. $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs:
  1432.  
  1433. $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  1434.     cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  1435.  
  1436. $(top_srcdir)/configure:  $(am__configure_deps)
  1437.     cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  1438. $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
  1439.     cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
  1440. $(am__aclocal_m4_deps):
  1441.  
  1442. mostlyclean-libtool:
  1443.     -rm -f *.lo
  1444.  
  1445. clean-libtool:
  1446.     -rm -rf .libs _libs
  1447.  
  1448. # This directory's subdirectories are mostly independent; you can cd
  1449. # into them and run 'make' without going through this Makefile.
  1450. # To change the values of 'make' variables: instead of editing Makefiles,
  1451. # (1) if the variable is set in 'config.status', edit 'config.status'
  1452. #     (which will cause the Makefiles to be regenerated when you run 'make');
  1453. # (2) otherwise, pass the desired values on the 'make' command line.
  1454. $(am__recursive_targets):
  1455.     @fail=; \
  1456.     if $(am__make_keepgoing); then \
  1457.       failcom='fail=yes'; \
  1458.     else \
  1459.       failcom='exit 1'; \
  1460.     fi; \
  1461.     dot_seen=no; \
  1462.     target=`echo $@ | sed s/-recursive//`; \
  1463.     case "$@" in \
  1464.       distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
  1465.       *) list='$(SUBDIRS)' ;; \
  1466.     esac; \
  1467.     for subdir in $$list; do \
  1468.       echo "Making $$target in $$subdir"; \
  1469.       if test "$$subdir" = "."; then \
  1470.         dot_seen=yes; \
  1471.         local_target="$$target-am"; \
  1472.       else \
  1473.         local_target="$$target"; \
  1474.       fi; \
  1475.       ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
  1476.       || eval $$failcom; \
  1477.     done; \
  1478.     if test "$$dot_seen" = "no"; then \
  1479.       $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
  1480.     fi; test -z "$$fail"
  1481.  
  1482. ID: $(am__tagged_files)
  1483.     $(am__define_uniq_tagged_files); mkid -fID $$unique
  1484. tags: tags-recursive
  1485. TAGS: tags
  1486.  
  1487. tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  1488.     set x; \
  1489.     here=`pwd`; \
  1490.     if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
  1491.       include_option=--etags-include; \
  1492.       empty_fix=.; \
  1493.     else \
  1494.       include_option=--include; \
  1495.       empty_fix=; \
  1496.     fi; \
  1497.     list='$(SUBDIRS)'; for subdir in $$list; do \
  1498.       if test "$$subdir" = .; then :; else \
  1499.         test ! -f $$subdir/TAGS || \
  1500.           set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
  1501.       fi; \
  1502.     done; \
  1503.     $(am__define_uniq_tagged_files); \
  1504.     shift; \
  1505.     if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
  1506.       test -n "$$unique" || unique=$$empty_fix; \
  1507.       if test $$# -gt 0; then \
  1508.         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  1509.           "$$@" $$unique; \
  1510.       else \
  1511.         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
  1512.           $$unique; \
  1513.       fi; \
  1514.     fi
  1515. ctags: ctags-recursive
  1516.  
  1517. CTAGS: ctags
  1518. ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
  1519.     $(am__define_uniq_tagged_files); \
  1520.     test -z "$(CTAGS_ARGS)$$unique" \
  1521.       || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
  1522.          $$unique
  1523.  
  1524. GTAGS:
  1525.     here=`$(am__cd) $(top_builddir) && pwd` \
  1526.       && $(am__cd) $(top_srcdir) \
  1527.       && gtags -i $(GTAGS_ARGS) "$$here"
  1528. cscopelist: cscopelist-recursive
  1529.  
  1530. cscopelist-am: $(am__tagged_files)
  1531.     list='$(am__tagged_files)'; \
  1532.     case "$(srcdir)" in \
  1533.       [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
  1534.       *) sdir=$(subdir)/$(srcdir) ;; \
  1535.     esac; \
  1536.     for i in $$list; do \
  1537.       if test -f "$$i"; then \
  1538.         echo "$(subdir)/$$i"; \
  1539.       else \
  1540.         echo "$$sdir/$$i"; \
  1541.       fi; \
  1542.     done >> $(top_builddir)/cscope.files
  1543.  
  1544. distclean-tags:
  1545.     -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
  1546.  
  1547. distdir: $(DISTFILES)
  1548.     @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1549.     topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1550.     list='$(DISTFILES)'; \
  1551.       dist_files=`for file in $$list; do echo $$file; done | \
  1552.       sed -e "s|^$$srcdirstrip/||;t" \
  1553.           -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  1554.     case $$dist_files in \
  1555.       */*) $(MKDIR_P) `echo "$$dist_files" | \
  1556.                sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  1557.                sort -u` ;; \
  1558.     esac; \
  1559.     for file in $$dist_files; do \
  1560.       if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  1561.       if test -d $$d/$$file; then \
  1562.         dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  1563.         if test -d "$(distdir)/$$file"; then \
  1564.           find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1565.         fi; \
  1566.         if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  1567.           cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  1568.           find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1569.         fi; \
  1570.         cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  1571.       else \
  1572.         test -f "$(distdir)/$$file" \
  1573.         || cp -p $$d/$$file "$(distdir)/$$file" \
  1574.         || exit 1; \
  1575.       fi; \
  1576.     done
  1577.     @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
  1578.       if test "$$subdir" = .; then :; else \
  1579.         $(am__make_dryrun) \
  1580.           || test -d "$(distdir)/$$subdir" \
  1581.           || $(MKDIR_P) "$(distdir)/$$subdir" \
  1582.           || exit 1; \
  1583.         dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
  1584.         $(am__relativize); \
  1585.         new_distdir=$$reldir; \
  1586.         dir1=$$subdir; dir2="$(top_distdir)"; \
  1587.         $(am__relativize); \
  1588.         new_top_distdir=$$reldir; \
  1589.         echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
  1590.         echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
  1591.         ($(am__cd) $$subdir && \
  1592.           $(MAKE) $(AM_MAKEFLAGS) \
  1593.             top_distdir="$$new_top_distdir" \
  1594.             distdir="$$new_distdir" \
  1595.         am__remove_distdir=: \
  1596.         am__skip_length_check=: \
  1597.         am__skip_mode_fix=: \
  1598.             distdir) \
  1599.           || exit 1; \
  1600.       fi; \
  1601.     done
  1602. check-am: all-am
  1603. check: check-recursive
  1604. all-am: Makefile
  1605. installdirs: installdirs-recursive
  1606. installdirs-am:
  1607. install: install-recursive
  1608. install-exec: install-exec-recursive
  1609. install-data: install-data-recursive
  1610. uninstall: uninstall-recursive
  1611.  
  1612. install-am: all-am
  1613.     @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  1614.  
  1615. installcheck: installcheck-recursive
  1616. install-strip:
  1617.     if test -z '$(STRIP)'; then \
  1618.       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1619.         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1620.           install; \
  1621.     else \
  1622.       $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1623.         install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1624.         "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  1625.     fi
  1626. mostlyclean-generic:
  1627.     -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  1628.  
  1629. clean-generic:
  1630.  
  1631. distclean-generic:
  1632.     -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  1633.     -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  1634.  
  1635. maintainer-clean-generic:
  1636.     @echo "This command is intended for maintainers to use"
  1637.     @echo "it deletes files that may require special tools to rebuild."
  1638. clean: clean-recursive
  1639.  
  1640. clean-am: clean-generic clean-libtool clean-local mostlyclean-am
  1641.  
  1642. distclean: distclean-recursive
  1643.     -rm -f Makefile
  1644. distclean-am: clean-am distclean-generic distclean-tags
  1645.  
  1646. dvi: dvi-recursive
  1647.  
  1648. dvi-am:
  1649.  
  1650. html: html-recursive
  1651.  
  1652. html-am:
  1653.  
  1654. info: info-recursive
  1655.  
  1656. info-am:
  1657.  
  1658. install-data-am:
  1659.  
  1660. install-dvi: install-dvi-recursive
  1661.  
  1662. install-dvi-am:
  1663.  
  1664. install-exec-am:
  1665.  
  1666. install-html: install-html-recursive
  1667.  
  1668. install-html-am:
  1669.  
  1670. install-info: install-info-recursive
  1671.  
  1672. install-info-am:
  1673.  
  1674. install-man:
  1675.  
  1676. install-pdf: install-pdf-recursive
  1677.  
  1678. install-pdf-am:
  1679.  
  1680. install-ps: install-ps-recursive
  1681.  
  1682. install-ps-am:
  1683.  
  1684. installcheck-am:
  1685.  
  1686. maintainer-clean: maintainer-clean-recursive
  1687.     -rm -f Makefile
  1688. maintainer-clean-am: distclean-am maintainer-clean-generic
  1689.  
  1690. mostlyclean: mostlyclean-recursive
  1691.  
  1692. mostlyclean-am: mostlyclean-generic mostlyclean-libtool
  1693.  
  1694. pdf: pdf-recursive
  1695.  
  1696. pdf-am:
  1697.  
  1698. ps: ps-recursive
  1699.  
  1700. ps-am:
  1701.  
  1702. uninstall-am:
  1703.  
  1704. .MAKE: $(am__recursive_targets) install-am install-strip
  1705.  
  1706. .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
  1707.     check-am clean clean-generic clean-libtool clean-local \
  1708.     cscopelist-am ctags ctags-am distclean distclean-generic \
  1709.     distclean-libtool distclean-tags distdir dvi dvi-am html \
  1710.     html-am info info-am install install-am install-data \
  1711.     install-data-am install-dvi install-dvi-am install-exec \
  1712.     install-exec-am install-html install-html-am install-info \
  1713.     install-info-am install-man install-pdf install-pdf-am \
  1714.     install-ps install-ps-am install-strip installcheck \
  1715.     installcheck-am installdirs installdirs-am maintainer-clean \
  1716.     maintainer-clean-generic mostlyclean mostlyclean-generic \
  1717.     mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
  1718.     uninstall-am
  1719.  
  1720.  
  1721. # JJW (2/25/2008): set a flag (only used when running ROSE applications) to
  1722. # have them run using the build tree rather than the install tree -- this is
  1723. # important for "make check" in an uninstalled copy of ROSE.
  1724. #export ROSE_IN_BUILD_TREE=$(top_builddir)
  1725.  
  1726. #  # The previous "Z3_*" variables should have been named "ROSE_Z3_*" following the pattern in the rest of this
  1727. #  # makefile. I don't want to break code that uses the wrong names, so I'll just add the correct ones. [Matzke 2017-10-17]
  1728.  
  1729. show-rpaths:
  1730.     @echo "ROSE_LIBS = $(ROSE_LIBS)"
  1731.     @echo "ROSE_RPATHS = $(ROSE_RPATHS)"
  1732.     @echo "ROSE_LINK_RPATHS = $(ROSE_LINK_RPATHS)"
  1733.  
  1734. clean-test-targets:
  1735.     rm -f $(TEST_TARGETS)
  1736.     rm -f $(TEST_TARGETS:.passed=.failed)
  1737.     rm -f $(TEST_TARGETS:.passed=.out)
  1738.     rm -f $(TEST_TARGETS:.passed=.err)
  1739.  
  1740. clean-local: clean-test-targets
  1741.  
  1742. .PHONY: clean-test-targets
  1743.  
  1744. # Phony target to build EDG dependencies. We have to build EDG's prerequisites in order to compute the EDG hash.
  1745. #(see above): .PHONY: edg-prerequisites
  1746. edg-prerequisites:
  1747.     $(MAKE) -C ../../util
  1748.     $(MAKE) -C ../../ROSETTA/src
  1749. $(EDGBIN_SIGNATURE_FILE): edg-prerequisites
  1750.     $(EDG_GENERATE_SIG) $(top_srcdir) $(top_builddir) >$@.tmp
  1751.     diff -q $@ $@.tmp || mv $@.tmp $@
  1752.  
  1753. # Phony targets to show useful information. See .PHONY above.
  1754. show-edg-hash: $(EDGBIN_SIGNATURE_FILE)
  1755.     @cat $(EDGBIN_SIGNATURE_FILE)
  1756. show-edg-name: $(EDGBIN_SIGNATURE_FILE)
  1757.     @echo $(EDGBIN_NAME).tar.gz
  1758. show-edg-url: $(EDGBIN_SIGNATURE_FILE)
  1759.     @echo $(EDGBIN_REMOTE_TARBALLS)/$(EDGBIN_NAME).tar.gz
  1760.  
  1761. # When building the library we have to make sure that it's dependencies were built first.  These are the same things that
  1762. # go into calculating the EDG binary version number (see scripts/edg-generate-sig)
  1763. #EDG/libroseEDG.la: edg-prerequisites
  1764. #   $(MAKE) -C ./EDG libroseEDG.la
  1765. #upload-EDG.tar.gz: EDG/libroseEDG.la $(EDGBIN_SIGNATURE_FILE)
  1766. #   rm -rf $(EDGBIN_NAME)
  1767. #   mkdir $(EDGBIN_NAME)
  1768. #   sed "s@^dependency_libs.*@dependency_libs=''@" EDG/libroseEDG.la >$(EDGBIN_NAME)/libroseEDG.la
  1769. #   cp -r EDG/.libs $(EDGBIN_NAME)
  1770. #   tar czf $(EDGBIN_NAME).tar.gz $(EDGBIN_NAME)
  1771. #   rm -rf $(EDGBIN_NAME)
  1772. #   ln -sf $(EDGBIN_NAME).tar.gz $@             # for upload
  1773. #   ln -sf $(EDGBIN_NAME).tar.gz EDG.tar.gz     # make it look like we downloaded also
  1774.  
  1775. # Phony target to generate a tarball but not upload it
  1776. #(see above): .PHONY: binary_edg_tarball
  1777. #binary_edg_tarball: upload-EDG.tar.gz
  1778.  
  1779. # Phony target to upload EDG tarballs to the staging area and the local area. Do not use $(EDGBIN_NAME) in the target or
  1780. # dependencies because it hasn't been computed at the time that make parses that part of the rule. It's okay to use it
  1781. # in the commands of this rule.
  1782. #(see above): .PHONY: upload_edg_binary
  1783. #upload_edg_binary: binary_edg_tarball
  1784. #   cp -f $(EDGBIN_NAME).tar.gz $(EDGBIN_STAGING_TARBALLS)/$(EDGBIN_NAME).tar.gz
  1785. #   cp -f $(EDGBIN_NAME).tar.gz $(EDGBIN_LOCAL_TARBALLS)/$(EDGBIN_NAME).tar.gz
  1786.  
  1787. ###############################################################################################################################
  1788. # We don't have the EDG source code (!ROSE_HAS_EDG_SOURCE)
  1789. ###############################################################################################################################
  1790.  
  1791. # Figure out how to download a binary version of EDG that the ROSE team distributes.  The ROSE team distributes EDG
  1792. # binaries by compiling EDG within particular revisions of ROSE and then uploading the EDG binaries to a public web
  1793. # server.
  1794.  
  1795. all-am: EDG/libroseEDG.la
  1796.  
  1797. #(see above): .PHONY: check-network
  1798. check-network:
  1799.     @if ! wget -q --spider -t 3 --wait=1 $(ROSE_WEB_SERVER); then                   \
  1800.         echo "ROSE web server $(ROSE_WEB_SERVER) is not currently reachable (try again later)"; \
  1801.         echo "$(CONTACT_INFO)" >&2;                                 \
  1802.         exit 1;                                         \
  1803.     fi
  1804.  
  1805. # Only here for backward compatibility. Maybe we don't need it?
  1806. network_checking: check-network
  1807.  
  1808. # Try to get the EDG binary tarball if we don't have it.  Team members might be able to get it from a local directory,
  1809. # but others will need to go to a Web server.  We use wget rather than curl because curl was sometimes placing error
  1810. # messages inside the tarball. Don't use $(EDGBIN_NAME) in the target or dependencies because it hasn't been computed
  1811. # yet when make parses that part of this rule; it's okay to use it in the commands though.
  1812. EDG.tar.gz: $(EDGBIN_SIGNATURE_FILE)
  1813.     @if [ "$(EDGBIN_SIGNATURE)" = "" ]; then                            \
  1814.         echo "error: empty EDG binary compatibility signature in $(EDGBIN_SIGNATURE_FILE)." >&2;    \
  1815.         echo "$(CONTACT_INFO)" >&2;                                 \
  1816.         exit 1;                                         \
  1817.     fi
  1818.  
  1819.     @if [ -r "$(EDGBIN_NAME).tar.gz" ]; then                                \
  1820.         echo "EDG binary tarball appears to have been downloaded already: $(EDGBIN_NAME).tar.gz";       \
  1821.     else                                                    \
  1822.         $(MAKE) check-network || exit 1;                                    \
  1823.         echo "Downloading EDG binary tarball: $(EDGBIN_NAME).tar.gz";                   \
  1824.         if ! wget -q --spider -t 3 --wait=1 $(EDGBIN_REMOTE_TARBALLS)/$(EDGBIN_NAME).tar.gz; then       \
  1825.             echo "error: the EDG binary tarball is not available (or the web site is not reachable)." >&2;  \
  1826.             echo "$(CONTACT_INFO)" >&2;                                 \
  1827.             exit 1;                                             \
  1828.         fi;                                                 \
  1829.         wget -O "$(EDGBIN_NAME).tar.gz" "$(EDGBIN_REMOTE_TARBALLS)/$(EDGBIN_NAME).tar.gz";          \
  1830.         touch $(EDGBIN_NAME).tar.gz;                                    \
  1831.     fi
  1832.  
  1833.     ln -sf $(EDGBIN_NAME).tar.gz $@
  1834.  
  1835. # This target can be used to explicitly download the EDG tarball without needing to know its name.
  1836. #(see above): .PHONY: download-edg
  1837. download-edg: EDG.tar.gz
  1838.     @echo
  1839.     @echo "The EDG tarball is $(EDGBIN_NAME).tar.gz"
  1840.     @echo "To compile on a system with no network, follow the instructions here:"
  1841.     @echo "  http://rosecompiler.org/ROSE_HTML_Reference/group__installing__edg.html"
  1842.  
  1843. # Unpack the EDG tarball. Note: $(am__untar) comes from configure and if it's not set then there's something wrong with configure.
  1844. EDG/libroseEDG.la: EDG.tar.gz
  1845.     GZIP=$(GZIP_ENV) gunzip -c $< |$(am__untar)
  1846.     rm -rf EDG
  1847.     mkdir -p EDG
  1848.     mv $(EDGBIN_NAME)/libroseEDG.* EDG/.
  1849.     mv $(EDGBIN_NAME)/.libs EDG/.
  1850.     rmdir $(EDGBIN_NAME)
  1851.     touch EDG/libroseEDG.la
  1852.  
  1853. clean-local:
  1854. # DQ (3/1/2017): Need to be able to run make clean whenClang frontend support is defined.
  1855. #   rm -rf EDG/.libs $(EDGBIN_NAME_PREFIX)-*.tar.gz
  1856.     rm -rf EDG/.libs
  1857.     rm -rf $(EDGBIN_NAME_PREFIX)-*.tar.gz
  1858.  
  1859. .PHONY: $(PHONIES)
  1860.  
  1861. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  1862. # Otherwise a system limit (for SysV at least) may be exceeded.
  1863. .NOEXPORT:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement