Changeset 4b1afb6
- Timestamp:
- Oct 28, 2016, 2:24:46 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 32b018e
- Parents:
- f849c8e
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
rf849c8e r4b1afb6 12 12 libcfa/Makefile 13 13 src/Makefile 14 version 14 15 15 16 # genereted by premake -
Makefile.in
rf849c8e r4b1afb6 132 132 CFA_PREFIX = @CFA_PREFIX@ 133 133 CFLAGS = @CFLAGS@ 134 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@135 134 CPP = @CPP@ 136 135 CPPFLAGS = @CPPFLAGS@ -
configure
rf849c8e r4b1afb6 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0. 3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0.0. 4 4 # 5 5 # Report bugs to <cforall@plg.uwaterloo.ca>. … … 561 561 PACKAGE_NAME='cfa-cc' 562 562 PACKAGE_TARNAME='cfa-cc' 563 PACKAGE_VERSION='1.0.0 '564 PACKAGE_STRING='cfa-cc 1.0.0 '563 PACKAGE_VERSION='1.0.0.0' 564 PACKAGE_STRING='cfa-cc 1.0.0.0' 565 565 PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' 566 566 PACKAGE_URL='' … … 646 646 CFA_BACKEND_CC 647 647 BACKEND_CC 648 CONFIG_STATUS_DEPENDENCIES649 648 MAINT 650 649 MAINTAINER_MODE_FALSE … … 1279 1278 # This message is too long to be a string in the A/UX 3.1 sh. 1280 1279 cat <<_ACEOF 1281 \`configure' configures cfa-cc 1.0.0 to adapt to many kinds of systems.1280 \`configure' configures cfa-cc 1.0.0.0 to adapt to many kinds of systems. 1282 1281 1283 1282 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1345 1344 if test -n "$ac_init_help"; then 1346 1345 case $ac_init_help in 1347 short | recursive ) echo "Configuration of cfa-cc 1.0.0 :";;1346 short | recursive ) echo "Configuration of cfa-cc 1.0.0.0:";; 1348 1347 esac 1349 1348 cat <<\_ACEOF … … 1449 1448 if $ac_init_version; then 1450 1449 cat <<\_ACEOF 1451 cfa-cc configure 1.0.0 1450 cfa-cc configure 1.0.0.0 1452 1451 generated by GNU Autoconf 2.68 1453 1452 … … 2037 2036 running configure, to aid debugging if configure makes a mistake. 2038 2037 2039 It was created by cfa-cc $as_me 1.0.0 , which was2038 It was created by cfa-cc $as_me 1.0.0.0, which was 2040 2039 generated by GNU Autoconf 2.68. Invocation command line was 2041 2040 … … 2901 2900 # Define the identity of the package. 2902 2901 PACKAGE='cfa-cc' 2903 VERSION='1.0.0 '2902 VERSION='1.0.0.0' 2904 2903 2905 2904 … … 2965 2964 # may require auto* software to be installed 2966 2965 2967 ver_major=`cat version | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\1/'` 2968 ver_minor=`cat version | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\2/'` 2969 ver_patch=`cat version | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\3/'` 2970 ver_build=`cat version | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\4/'` 2971 ver_short="\"${ver_major}\"" 2972 ver__long="\"${ver_major}.${ver_minor}\"" 2973 ver__norm="\"${ver_major}.${ver_minor}.${ver_patch}\"" 2974 ver__full="\"${ver_major}.${ver_minor}.${ver_patch}.${ver_build}\"" 2975 2976 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/version' 2977 2966 echo ${PACKAGE_VERSION} > version 2967 ver_major=`echo ${PACKAGE_VERSION} | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\1/'` 2968 ver_minor=`echo ${PACKAGE_VERSION} | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\2/'` 2969 ver_patch=`echo ${PACKAGE_VERSION} | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\3/'` 2970 ver_build=`echo ${PACKAGE_VERSION} | sed -r 's/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/\4/'` 2971 2972 # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version']) 2978 2973 2979 2974 cat >>confdefs.h <<_ACEOF … … 2998 2993 2999 2994 cat >>confdefs.h <<_ACEOF 3000 #define CFA_VERSION_SHORT ${ver_short}2995 #define CFA_VERSION_SHORT "${ver_major}" 3001 2996 _ACEOF 3002 2997 3003 2998 3004 2999 cat >>confdefs.h <<_ACEOF 3005 #define CFA_VERSION ${ver__long}3000 #define CFA_VERSION "${ver_major}.${ver_minor}" 3006 3001 _ACEOF 3007 3002 3008 3003 3009 3004 cat >>confdefs.h <<_ACEOF 3010 #define CFA_VERSION_LONG ${ver__norm}3005 #define CFA_VERSION_LONG "${ver_major}.${ver_minor}.${ver_patch}" 3011 3006 _ACEOF 3012 3007 3013 3008 3014 3009 cat >>confdefs.h <<_ACEOF 3015 #define CFA_VERSION_FULL ${ver__full}3010 #define CFA_VERSION_FULL "${ver_major}.${ver_minor}.${ver_patch}.${ver_build}" 3016 3011 _ACEOF 3017 3012 … … 6404 6399 # values after options handling. 6405 6400 ac_log=" 6406 This file was extended by cfa-cc $as_me 1.0.0 , which was6401 This file was extended by cfa-cc $as_me 1.0.0.0, which was 6407 6402 generated by GNU Autoconf 2.68. Invocation command line was 6408 6403 … … 6470 6465 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6471 6466 ac_cs_version="\\ 6472 cfa-cc config.status 1.0.0 6467 cfa-cc config.status 1.0.0.0 6473 6468 configured by $0, generated by GNU Autoconf 2.68, 6474 6469 with options \\"\$ac_cs_config\\" -
configure.ac
rf849c8e r4b1afb6 3 3 4 4 AC_PREREQ([2.68]) 5 AC_INIT([cfa-cc],[1.0.0 ],[cforall@plg.uwaterloo.ca])5 AC_INIT([cfa-cc],[1.0.0.0],[cforall@plg.uwaterloo.ca]) 6 6 AC_CONFIG_AUX_DIR([automake]) 7 7 #AC_CONFIG_SRCDIR([src/main.cc]) … … 18 18 AM_MAINTAINER_MODE(enable) # may require auto* software to be installed 19 19 20 ver_major=`cat version | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\1/'` 21 ver_minor=`cat version | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\2/'` 22 ver_patch=`cat version | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\3/'` 23 ver_build=`cat version | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\4/'` 24 ver_short="\"${ver_major}\"" 25 ver__long="\"${ver_major}.${ver_minor}\"" 26 ver__norm="\"${ver_major}.${ver_minor}.${ver_patch}\"" 27 ver__full="\"${ver_major}.${ver_minor}.${ver_patch}.${ver_build}\"" 20 echo ${PACKAGE_VERSION} > version 21 ver_major=`echo ${PACKAGE_VERSION} | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\1/'` 22 ver_minor=`echo ${PACKAGE_VERSION} | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\2/'` 23 ver_patch=`echo ${PACKAGE_VERSION} | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\3/'` 24 ver_build=`echo ${PACKAGE_VERSION} | sed -r 's/([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)\.([[0-9]]+)/\4/'` 28 25 29 AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version'])26 # AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/version']) 30 27 AC_DEFINE_UNQUOTED(CFA_VERSION_MAJOR, ${ver_major}, [Major version number.]) 31 28 AC_DEFINE_UNQUOTED(CFA_VERSION_MINOR, ${ver_minor}, [Minor version number.]) 32 29 AC_DEFINE_UNQUOTED(CFA_VERSION_PATCH, ${ver_patch}, [Patch version number.]) 33 30 AC_DEFINE_UNQUOTED(CFA_VERSION_BUILD, ${ver_build}, [Build version number.]) 34 AC_DEFINE_UNQUOTED(CFA_VERSION_SHORT, ${ver_short}, [Major])35 AC_DEFINE_UNQUOTED(CFA_VERSION, ${ver__long}, [Major.Minor])36 AC_DEFINE_UNQUOTED(CFA_VERSION_LONG, ${ver__norm}, [Major.Minor.Patch])37 AC_DEFINE_UNQUOTED(CFA_VERSION_FULL, ${ver__full}, [Major.Minor.Patch.Build])31 AC_DEFINE_UNQUOTED(CFA_VERSION_SHORT, ["${ver_major}"], [Major]) 32 AC_DEFINE_UNQUOTED(CFA_VERSION, ["${ver_major}.${ver_minor}"], [Major.Minor]) 33 AC_DEFINE_UNQUOTED(CFA_VERSION_LONG, ["${ver_major}.${ver_minor}.${ver_patch}"], [Major.Minor.Patch]) 34 AC_DEFINE_UNQUOTED(CFA_VERSION_FULL, ["${ver_major}.${ver_minor}.${ver_patch}.${ver_build}"], [Major.Minor.Patch.Build]) 38 35 39 36 # Installation paths -
src/driver/Makefile.am
rf849c8e r4b1afb6 11 11 ## Created On : Sun May 31 08:49:31 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Thu Jan 28 09:04:40201614 ## Update Count : 713 ## Last Modified On : Fri Oct 28 13:46:06 2016 14 ## Update Count : 10 15 15 ############################################################################### 16 16 … … 26 26 cc1_SOURCES = cc1.cc 27 27 28 cfa.cc : ${abs_top_srcdir}/version29 @true30 31 28 MAINTAINERCLEANFILES = @CFA_PREFIX@/bin/${bin_PROGRAMS} @CFA_PREFIX@/lib/${cc1lib_PROGRAMS} -
src/driver/Makefile.in
rf849c8e r4b1afb6 100 100 CFA_PREFIX = @CFA_PREFIX@ 101 101 CFLAGS = @CFLAGS@ 102 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@103 102 CPP = @CPP@ 104 103 CPPFLAGS = @CPPFLAGS@ … … 543 542 544 543 545 cfa.cc : ${abs_top_srcdir}/version546 @true547 548 544 # Tell versions [3.59,3.63) of GNU make to not export all variables. 549 545 # Otherwise a system limit (for SysV at least) may be exceeded. -
src/driver/cfa.cc
rf849c8e r4b1afb6 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : T ue Oct 25 21:29:48201613 // Update Count : 15 212 // Last Modified On : Thu Oct 27 22:19:37 2016 13 // Update Count : 154 14 14 // 15 15 … … 50 50 51 51 52 #define str(s) #s 53 52 54 int main( int argc, char *argv[] ) { 53 string Version( CFA_VERSION_LONG ); 54 string Major( to_string( CFA_VERSION_MAJOR ) ), Minor( to_string( CFA_VERSION_MINOR ) ), Patch( to_string( CFA_VERSION_PATCH ) );55 string Version( CFA_VERSION_LONG ); // current version number from CONFIG 56 string Major( str( CFA_VERSION_MAJOR ) ), Minor( str( CFA_VERSION_MINOR ) ), Patch( str( CFA_VERSION_PATCH ) ); 55 57 56 58 string installincdir( CFA_INCDIR ); // fixed location of include files -
src/examples/Makefile.in
rf849c8e r4b1afb6 111 111 # applies to both programs 112 112 CFLAGS = -g -Wall -Wno-unused-function # TEMPORARY: does not build with -O2 113 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@114 113 CPP = @CPP@ 115 114 CPPFLAGS = @CPPFLAGS@ -
src/libcfa/Makefile.in
rf849c8e r4b1afb6 137 137 CFA_PREFIX = @CFA_PREFIX@ 138 138 CFLAGS = -quiet -no-include-stdhdr -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2 139 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@140 139 CPP = @CPP@ 141 140 CPPFLAGS = @CPPFLAGS@ -
src/tests/Makefile.in
rf849c8e r4b1afb6 121 121 # applies to both programs 122 122 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ # TEMPORARY: does not build with -O2 123 CONFIG_STATUS_DEPENDENCIES = @CONFIG_STATUS_DEPENDENCIES@124 123 CPP = @CPP@ 125 124 CPPFLAGS = @CPPFLAGS@
Note: See TracChangeset
for help on using the changeset viewer.