Changes in / [d107010:3f80888]
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
rd107010 r3f80888 135 135 CFA_INCDIR = @CFA_INCDIR@ 136 136 CFA_LIBDIR = @CFA_LIBDIR@ 137 CFA_NAME = @CFA_NAME@ 137 138 CFA_PREFIX = @CFA_PREFIX@ 138 139 CFLAGS = @CFLAGS@ -
configure
rd107010 r3f80888 668 668 CFA_BACKEND_CC 669 669 BACKEND_CC 670 CFA_NAME 670 671 MAINT 671 672 MAINTAINER_MODE_FALSE … … 3001 3002 # may require auto* software to be installed 3002 3003 3004 # Allow program name tansformation 3005 # will fille program_transform_name with appropriate sed regex 3006 3007 #autoconf escapes $ and \ since automake wiill un-escape them. 3008 #Since we need to use the sed transform in autoconf we need to manualy un-escape these characters 3009 name_transform=`echo ${program_transform_name} | sed 's/\\$\\$/\\$/g' | sed 's/\\\\\\\/\\\/g'` 3010 cfa_name=`echo cfa | sed ${name_transform}` 3011 cc1_name=`echo cc1 | sed ${name_transform}` 3012 cpp_name=`echo cfa-cpp | sed ${name_transform}` 3013 3014 #Trasforming cc1 will break compilation 3015 if ! test "${cc1_name}" = "cc1"; then 3016 as_fn_error $? "Program transform must not modify cc1. 3017 --program-sufix and --program-prefix not supported. 3018 Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 5 3019 fi 3020 #We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to 3021 if ! test "${cpp_name}" = "cfa-cpp"; then 3022 as_fn_error $? "Program transform must not modify cfa-cpp. 3023 --program-sufix and --program-prefix not supported. 3024 Use -program-transform-name='s/cfa$/[Desired name here]/' instead" "$LINENO" 5 3025 fi 3026 3027 #Define the new name of the installed command 3028 CFA_NAME=${cfa_name} 3029 3030 3003 3031 rm -f version 3004 3032 echo ${PACKAGE_VERSION} > version # file containing version number for other tools … … 3238 3266 3239 3267 if test "$includedir" = '${prefix}/include'; then 3240 cfa_incdir="${cfa_prefix}/include/ cfa"3268 cfa_incdir="${cfa_prefix}/include/${cfa_name}" 3241 3269 else 3242 3270 cfa_incdir=${includedir} … … 3264 3292 3265 3293 if test "$libdir" = '${exec_prefix}/lib'; then 3266 cfa_libdir= ${cfa_prefix}/lib3294 cfa_libdir="${cfa_prefix}/lib/${cfa_name}" 3267 3295 else 3268 3296 cfa_libdir=${libdir} -
configure.ac
rd107010 r3f80888 17 17 AM_INIT_AUTOMAKE 18 18 AM_MAINTAINER_MODE(enable) # may require auto* software to be installed 19 20 # Allow program name tansformation 21 # will fille program_transform_name with appropriate sed regex 22 AC_ARG_PROGRAM 23 #autoconf escapes $ and \ since automake wiill un-escape them. 24 #Since we need to use the sed transform in autoconf we need to manualy un-escape these characters 25 name_transform=`echo ${program_transform_name} | sed 's/\\$\\$/\\$/g' | sed 's/\\\\\\\/\\\/g'` 26 cfa_name=`echo cfa | sed ${name_transform}` 27 cc1_name=`echo cc1 | sed ${name_transform}` 28 cpp_name=`echo cfa-cpp | sed ${name_transform}` 29 30 #Trasforming cc1 will break compilation 31 if ! test "${cc1_name}" = "cc1"; then 32 AC_MSG_ERROR([Program transform must not modify cc1. 33 --program-sufix and --program-prefix not supported. 34 Use -program-transform-name='s/cfa$/[[Desired name here]]/' instead]) 35 fi 36 #We could support transforming cfa-cpp but since it is located in a unique subfolder we don't need to 37 if ! test "${cpp_name}" = "cfa-cpp"; then 38 AC_MSG_ERROR([Program transform must not modify cfa-cpp. 39 --program-sufix and --program-prefix not supported. 40 Use -program-transform-name='s/cfa$/[[Desired name here]]/' instead]) 41 fi 42 43 #Define the new name of the installed command 44 AC_SUBST(CFA_NAME, ${cfa_name}) 19 45 20 46 rm -f version … … 129 155 130 156 if test "$includedir" = '${prefix}/include'; then 131 cfa_incdir="${cfa_prefix}/include/ cfa"157 cfa_incdir="${cfa_prefix}/include/${cfa_name}" 132 158 else 133 159 cfa_incdir=${includedir} … … 145 171 146 172 if test "$libdir" = '${exec_prefix}/lib'; then 147 cfa_libdir= ${cfa_prefix}/lib173 cfa_libdir="${cfa_prefix}/lib/${cfa_name}" 148 174 else 149 175 cfa_libdir=${libdir} -
src/Makefile.am
rd107010 r3f80888 38 38 39 39 # put into lib for now 40 cfa_cpplibdir = ${ libdir}40 cfa_cpplibdir = ${CFA_LIBDIR} 41 41 cfa_cpplib_PROGRAMS = driver/cfa-cpp 42 42 driver_cfa_cpp_SOURCES = ${SRC} -
src/Makefile.in
rd107010 r3f80888 276 276 CFA_INCDIR = @CFA_INCDIR@ 277 277 CFA_LIBDIR = @CFA_LIBDIR@ 278 CFA_NAME = @CFA_NAME@ 278 279 CFA_PREFIX = @CFA_PREFIX@ 279 280 CFLAGS = @CFLAGS@ … … 436 437 437 438 # put into lib for now 438 cfa_cpplibdir = ${ libdir}439 cfa_cpplibdir = ${CFA_LIBDIR} 439 440 driver_cfa_cpp_SOURCES = ${SRC} 440 441 driver_cfa_cpp_LDADD = ${LEXLIB} -ldl # yywrap -
src/benchmark/Makefile.am
rd107010 r3f80888 18 18 CFLAGS = 19 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 20 CC = @CFA_BINDIR@/ cfa20 CC = @CFA_BINDIR@/@CFA_NAME@ 21 21 22 22 noinst_PROGRAMS = bench ctxswitch-coroutine ctxswitch-thread -
src/benchmark/Makefile.in
rd107010 r3f80888 94 94 AWK = @AWK@ 95 95 BACKEND_CC = @BACKEND_CC@ 96 CC = @CFA_BINDIR@/ cfa96 CC = @CFA_BINDIR@/@CFA_NAME@ 97 97 CCAS = @CCAS@ 98 98 CCASDEPMODE = @CCASDEPMODE@ … … 104 104 CFA_INCDIR = @CFA_INCDIR@ 105 105 CFA_LIBDIR = @CFA_LIBDIR@ 106 CFA_NAME = @CFA_NAME@ 106 107 CFA_PREFIX = @CFA_PREFIX@ 107 108 -
src/driver/Makefile.am
rd107010 r3f80888 32 32 33 33 # put into lib for now 34 cc1libdir = ${ libdir}34 cc1libdir = ${CFA_LIBDIR} 35 35 cc1lib_PROGRAMS = cc1 36 36 cc1_SOURCES = cc1.cc -
src/driver/Makefile.in
rd107010 r3f80888 106 106 CFA_INCDIR = @CFA_INCDIR@ 107 107 CFA_LIBDIR = @CFA_LIBDIR@ 108 CFA_NAME = @CFA_NAME@ 108 109 CFA_PREFIX = @CFA_PREFIX@ 109 110 CFLAGS = @CFLAGS@ … … 212 213 213 214 # put into lib for now 214 cc1libdir = ${ libdir}215 cc1libdir = ${CFA_LIBDIR} 215 216 cc1_SOURCES = cc1.cc 216 217 MAINTAINERCLEANFILES = @CFA_PREFIX@/bin/${bin_PROGRAMS} @CFA_PREFIX@/lib/${cc1lib_PROGRAMS} -
src/examples/Makefile.am
rd107010 r3f80888 18 18 CFLAGS = 19 19 AM_CFLAGS = -g -Wall -Wno-unused-function -O2 20 CC = @CFA_BINDIR@/ cfa20 CC = @CFA_BINDIR@/@CFA_NAME@ 21 21 22 22 noinst_PROGRAMS = fstream_test vector_test avl_test Bench # build but do not install -
src/examples/Makefile.in
rd107010 r3f80888 105 105 AWK = @AWK@ 106 106 BACKEND_CC = @BACKEND_CC@ 107 CC = @CFA_BINDIR@/ cfa107 CC = @CFA_BINDIR@/@CFA_NAME@ 108 108 CCAS = @CCAS@ 109 109 CCASDEPMODE = @CCASDEPMODE@ … … 115 115 CFA_INCDIR = @CFA_INCDIR@ 116 116 CFA_LIBDIR = @CFA_LIBDIR@ 117 CFA_NAME = @CFA_NAME@ 117 118 CFA_PREFIX = @CFA_PREFIX@ 118 119 -
src/libcfa/Makefile.am
rd107010 r3f80888 18 18 AUTOMAKE_OPTIONS = subdir-objects 19 19 20 libdir = ${CFA_LIBDIR} 20 21 lib_LIBRARIES = 21 22 … … 67 68 ${libobjs} : ${abs_top_srcdir}/src/driver/cfa-cpp ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator 68 69 69 70 70 libcfa_a_SOURCES = ${libsrc} 71 71 libcfa_a_CFLAGS = -nodebug -O2 … … 75 75 stdhdr = ${shell echo stdhdr/*} 76 76 77 cfa_includedir = $( includedir)/cfa77 cfa_includedir = $(CFA_INCDIR) 78 78 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 79 79 … … 81 81 82 82 maintainer-clean-local: 83 -rm -rf ${includedir}/* 83 -rm -rf ${includedir}/* ${libdir}/* -
src/libcfa/Makefile.in
rd107010 r3f80888 201 201 CFA_INCDIR = @CFA_INCDIR@ 202 202 CFA_LIBDIR = @CFA_LIBDIR@ 203 CFA_NAME = @CFA_NAME@ 203 204 CFA_PREFIX = @CFA_PREFIX@ 204 205 CFLAGS = -quiet -no-include-stdhdr -XCFA -t -B${abs_top_srcdir}/src/driver ${EXTRA_FLAGS} … … 281 282 infodir = @infodir@ 282 283 install_sh = @install_sh@ 283 libdir = @libdir@284 libdir = ${CFA_LIBDIR} 284 285 libexecdir = @libexecdir@ 285 286 localedir = @localedir@ … … 315 316 libcfa_d_a_CFLAGS = -debug -O0 316 317 stdhdr = ${shell echo stdhdr/*} 317 cfa_includedir = $( includedir)/cfa318 cfa_includedir = $(CFA_INCDIR) 318 319 nobase_cfa_include_HEADERS = ${headers} ${stdhdr} concurrency/invoke.h 319 320 CLEANFILES = libcfa-prelude.c … … 1160 1161 1161 1162 maintainer-clean-local: 1162 -rm -rf ${includedir}/* 1163 -rm -rf ${includedir}/* ${libdir}/* 1163 1164 1164 1165 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
src/prelude/Makefile.am
rd107010 r3f80888 19 19 20 20 # put into lib for now 21 cfalibdir = ${ libdir}21 cfalibdir = ${CFA_LIBDIR} 22 22 cfalib_DATA = builtins.cf extras.cf prelude.cf bootloader.c 23 23 noinst_DATA = ../libcfa/libcfa-prelude.c -
src/prelude/Makefile.in
rd107010 r3f80888 105 105 CFA_INCDIR = @CFA_INCDIR@ 106 106 CFA_LIBDIR = @CFA_LIBDIR@ 107 CFA_NAME = @CFA_NAME@ 107 108 CFA_PREFIX = @CFA_PREFIX@ 108 109 CFLAGS = @CFLAGS@ … … 209 210 210 211 # put into lib for now 211 cfalibdir = ${ libdir}212 cfalibdir = ${CFA_LIBDIR} 212 213 cfalib_DATA = builtins.cf extras.cf prelude.cf bootloader.c 213 214 noinst_DATA = ../libcfa/libcfa-prelude.c -
src/tests/Makefile.am
rd107010 r3f80888 30 30 EXTRA_FLAGS = 31 31 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS} 32 CC = @CFA_BINDIR@/ cfa32 CC = @CFA_BINDIR@/@CFA_NAME@ 33 33 34 34 .PHONY : list -
src/tests/Makefile.in
rd107010 r3f80888 113 113 AWK = @AWK@ 114 114 BACKEND_CC = @BACKEND_CC@ 115 CC = @CFA_BINDIR@/ cfa115 CC = @CFA_BINDIR@/@CFA_NAME@ 116 116 CCAS = @CCAS@ 117 117 CCASDEPMODE = @CCASDEPMODE@ … … 123 123 CFA_INCDIR = @CFA_INCDIR@ 124 124 CFA_LIBDIR = @CFA_LIBDIR@ 125 CFA_NAME = @CFA_NAME@ 125 126 CFA_PREFIX = @CFA_PREFIX@ 126 127 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
Note: See TracChangeset
for help on using the changeset viewer.