forked from sroyuela/rose
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added cmake build system to ROSE. We can currently compile librose
and link the testSharedRose executable. Currently we are only supporting the standard configuration flags. As part of this I: - Modified ROSETTA to output to src/frontend/SageIII instead of src/ROSETTA/src git-svn-id: file:///usr/casc/overture/ROSE/svn/ROSE/trunk/ROSE@8023 a27c51de-2d2b-4d1b-a6e8-f7f87814f453
- Loading branch information
saebjornsen1
committed
Nov 2, 2009
1 parent
5be1e2d
commit d797447
Showing
359 changed files
with
29,274 additions
and
95 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
|
||
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) | ||
|
||
|
||
########### install files ############### | ||
|
||
|
||
|
||
|
||
#original Makefile.am contents follow: | ||
|
||
## This is just a makefile for testing acmacros. | ||
## $Id: Makefile.am,v 1.2 2008/01/10 18:14:20 dquinlan Exp $ | ||
# | ||
#ACLOCAL = @ACLOCAL@ -I . | ||
#AUTOMAKE = @AUTOMAKE@ -a | ||
# | ||
#show: show-acsubst show-config | ||
# | ||
# | ||
## Rule to show configure substitutions | ||
#show-acsubst: Makefile | ||
# @echo "========== Configure substitutions =========="; \ | ||
# pattern=`echo $(SUBST_SHOW) | @SED@ 's/[ ]\{1,\}/\|/g'`; \ | ||
# : echo "pattern is '$$pattern'"; \ | ||
# @EGREP@ "^($$pattern)[ ]+=" Makefile | sort | ||
# | ||
# | ||
## Rule to show configure macros | ||
#show-config: config.h | ||
# @echo "========== config.h macros =========="; \ | ||
# pattern=`echo $(CONFIG_SHOW) | @SED@ 's/[ ]\{1,\}/\|/g'`; \ | ||
# : echo "pattern is '$$pattern'"; \ | ||
# @EGREP@ "[[:space:]]*#(define|undef)[ ]+($$pattern)" config.h | ||
# | ||
## Rule to force rerunning aclocal. | ||
#acloc: | ||
# cd $(top_srcdir) && $(ACLOCAL) | ||
# | ||
## Rule to rerun preconf | ||
#pre: | ||
# cd $(top_srcdir) && ./preconf | ||
# | ||
## Rule to reconfigure. | ||
#reconf: | ||
# cd $(top_builddir) && ./config.status --recheck | ||
# | ||
## Remove .psrc links files. | ||
#distclean-local: | ||
# $(btng_remove_auto_psrc_links) | ||
# | ||
#EXTRA_DIST = \ | ||
#aux/.psrc.in t4/parallel-serial-runner.in \ | ||
#arg-with-environment.m4 \ | ||
#check-typename.m4 \ | ||
#choose-mp-interface.m4 \ | ||
#compiler-ar.m4 \ | ||
#compiler-id.m4 \ | ||
#compiling-boolean.m4 \ | ||
#compiling-namespace.m4 \ | ||
#compiling-stl.m4 \ | ||
#configure-log.m4 \ | ||
#find-all-progs.m4 \ | ||
#link-to-source.m4 \ | ||
#specify-ar.m4 \ | ||
#support-blaslapack.m4 \ | ||
#support-dl.m4 \ | ||
#support-fortran.m4 \ | ||
#support-hdf5.m4 \ | ||
#support-hypre.m4 \ | ||
#support-ieee-float.m4 \ | ||
#support-insure.m4 \ | ||
#support-lam.m4 \ | ||
#support-libz.m4 \ | ||
#support-mpich.m4 \ | ||
#support-mpi.m4 \ | ||
#support-nsl.m4 \ | ||
#support-petsc.m4 \ | ||
#support-restrict.m4 \ | ||
#support-rpath.m4 \ | ||
#support-samrai.m4 \ | ||
#support-serpa-run.m4 \ | ||
#support-socket.m4 \ | ||
#variable-header-filenames.m4 | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) | ||
|
||
add_subdirectory(samples) | ||
|
||
|
||
########### install files ############### | ||
|
||
|
||
|
||
|
||
#original Makefile.am contents follow: | ||
|
||
#include $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs | ||
#SUBDIRS = samples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ) | ||
|
||
|
||
########### install files ############### | ||
|
||
|
||
|
||
|
||
#original Makefile.am contents follow: | ||
|
||
#include $(top_srcdir)/config/Makefile.for.ROSE.includes.and.libs | ||
# | ||
#EXTRA_DIST = \ | ||
# ARPPRODUCTICON.exe \ | ||
# PFE32.EXE \ | ||
# arm-ctrlaltdel \ | ||
# arm-nologin \ | ||
# arm-pivot_root \ | ||
# arm-poweroff \ | ||
# asm_code_samples_gcc.exe \ | ||
# bgl-helloworld-mpicc \ | ||
# bgl-helloworld-mpixlc \ | ||
# buffer2.bin \ | ||
# exefmt.exe \ | ||
# fnord.i386 \ | ||
# fnord.ppc \ | ||
# gcc-4.0.x-test1.o \ | ||
# i386-ctrlaltdel \ | ||
# i386-fsck.cramfs \ | ||
# i386-nologin \ | ||
# i386-pivot_root \ | ||
# i386-poweroff \ | ||
# i686-test1.O0.bin \ | ||
# i686-test1.O3.bin \ | ||
# libm-2.3.6.so \ | ||
# pocketputty.exe \ | ||
# pocketputty2.exe \ | ||
# proxycfg.exe \ | ||
# puttytel.exe \ | ||
# schulz-sample1-p.so \ | ||
# schulz-sample1.so \ | ||
# schulz-sample2-p.so \ | ||
# schulz-sample2.so \ | ||
# x86-64-ctrlaltdel \ | ||
# x86-64-nologin \ | ||
# x86-64-pivot_root \ | ||
# x86-64-poweroff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# - Check if the given struct or class has the specified member variable | ||
# CHECK_STRUCT_MEMBER (STRUCT MEMBER HEADER VARIABLE) | ||
# | ||
# STRUCT - the name of the struct or class you are interested in | ||
# MEMBER - the member which existence you want to check | ||
# HEADER - the header(s) where the prototype should be declared | ||
# VARIABLE - variable to store the result | ||
# | ||
# The following variables may be set before calling this macro to | ||
# modify the way the check is run: | ||
# | ||
# CMAKE_REQUIRED_FLAGS = string of compile command line flags | ||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) | ||
# CMAKE_REQUIRED_INCLUDES = list of include directories | ||
|
||
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> | ||
# | ||
# Redistribution and use is allowed according to the terms of the BSD license. | ||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. | ||
|
||
|
||
INCLUDE(CheckTypeSize) | ||
|
||
MACRO (CHECK_TYPE_EXISTS _TYPE _HEADER _RESULT) | ||
SET(CMAKE_EXTRA_INCLUDE_FILES ${_HEADER}) | ||
CHECK_TYPE_SIZE(${_TYPE} ${_RESULT}) | ||
ENDMACRO (CHECK_TYPE_EXISTS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# - Check if the given struct or class has the specified member variable | ||
# CHECK_STRUCT_MEMBER (STRUCT MEMBER HEADER VARIABLE) | ||
# | ||
# STRUCT - the name of the struct or class you are interested in | ||
# MEMBER - the member which existence you want to check | ||
# HEADER - the header(s) where the prototype should be declared | ||
# VARIABLE - variable to store the result | ||
# | ||
# The following variables may be set before calling this macro to | ||
# modify the way the check is run: | ||
# | ||
# CMAKE_REQUIRED_FLAGS = string of compile command line flags | ||
# CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) | ||
# CMAKE_REQUIRED_INCLUDES = list of include directories | ||
|
||
# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> | ||
# | ||
# Redistribution and use is allowed according to the terms of the BSD license. | ||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. | ||
|
||
|
||
INCLUDE(CheckTypeSize) | ||
|
||
MACRO (CHECK_TYPE_EXISTS _TYPE _HEADER _RESULT) | ||
SET(CMAKE_EXTRA_INCLUDE_FILES ${_HEADER}) | ||
CHECK_TYPE_SIZE(${_TYPE} ${_RESULT}) | ||
ENDMACRO (CHECK_TYPE_EXISTS) | ||
|
Oops, something went wrong.