Changeset bbfd0e0


Ignore:
Timestamp:
Aug 7, 2019, 3:23:56 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
14347ac
Parents:
7e0017f5
Message:

Tentative support for distcc in cforall, right now nothing works because distcc doesn't understand cfa

Files:
10 edited

Legend:

Unmodified
Added
Removed
  • configure

    r7e0017f5 rbbfd0e0  
    663663ac_ct_DUMPBIN
    664664DUMPBIN
    665 LD
    666665FGREP
    667666EGREP
     
    701700LDFLAGS
    702701CXXFLAGS
    703 CXX
    704702CFA_FLAGS
    705703LIBCFA_TARGET_MAKEFILES
     
    723721CFA_INCDIR
    724722CFA_PREFIX
     723LD
     724CXX
     725ENABLE_DISTCC_FALSE
     726ENABLE_DISTCC_TRUE
    725727DOendif
    726728DOifskipcompile
     
    797799enable_silent_rules
    798800with_cfa_name
     801enable_distcc
    799802with_target_hosts
    800803enable_gprofiler
     
    14591462  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14601463  --disable-silent-rules  verbose build output (undo: "make V=0")
     1464  --enable-distcc     whether or not to enable distributed compilation
    14611465  --enable-gprofiler     whether or not to enable gprofiler tools (if available)
    14621466  --enable-demangler     whether or not to build the demangler (executable and library)
     
    31803184
    31813185DOendif='endif'
     3186
     3187
     3188
     3189#==============================================================================
     3190# distcc support
     3191
     3192# Check whether --enable-distcc was given.
     3193if test "${enable_distcc+set}" = set; then :
     3194  enableval=$enable_distcc; enable_distcc=$enableval
     3195else
     3196  enable_distcc=no
     3197fi
     3198
     3199
     3200 if test x$enable_distcc = xyes; then
     3201  ENABLE_DISTCC_TRUE=
     3202  ENABLE_DISTCC_FALSE='#'
     3203else
     3204  ENABLE_DISTCC_TRUE='#'
     3205  ENABLE_DISTCC_FALSE=
     3206fi
     3207
     3208
     3209if test x$enable_distcc = xyes; then
     3210        CXX="distcc ${CXX}"
     3211        LD="distcc ${LD} -lstdc++"
     3212        echo "Enabling distributed builds"
     3213fi
     3214
    31823215
    31833216
     
    1701717050fi
    1701817051
     17052if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then
     17053  as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined.
     17054Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17055fi
    1701917056if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    1702017057  as_fn_error $? "conditional \"AMDEP\" was never defined.
  • configure.ac

    r7e0017f5 rbbfd0e0  
    5656AC_SUBST([DOendif])
    5757AM_SUBST_NOTMAKE([DOendif])
     58
     59#==============================================================================
     60# distcc support
     61
     62AC_ARG_ENABLE(distcc,
     63        [  --enable-distcc     whether or not to enable distributed compilation],
     64        enable_distcc=$enableval, enable_distcc=no)
     65
     66AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes])
     67
     68if test x$enable_distcc = xyes; then
     69        CXX="distcc ${CXX}"
     70        LD="distcc ${LD} -lstdc++"
     71        echo "Enabling distributed builds"
     72fi
     73
     74AC_SUBST(CXX)
     75AC_SUBST(LD)
    5876
    5977#==============================================================================
  • driver/cfa.cc

    r7e0017f5 rbbfd0e0  
    8484        return false;
    8585} //dirExists
     86
     87static inline string dir(const string & path) {
     88        return path.substr(0, path.find_last_of('/'));
     89}
    8690
    8791
     
    119123        bool m64 = false;                                    // -m64 flag
    120124        bool intree = false;
     125        bool disttree = false;
    121126
    122127        const char *args[argc + 100];                                           // cfa command line values, plus some space for additional flags
     
    178183                        } else if ( arg == "-in-tree" ) {
    179184                                intree = true;
     185                        } else if ( arg == "-dist-tree" ) {
     186                                disttree = true;
    180187                        } else if ( arg == "-compiler" ) {
    181188                                // use the user specified compiler
     
    372379        string libdir = libbase + arch + "-" + config;
    373380
    374         if ( ! nolib && ! dirExists( libdir ) ) {
    375                 cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl;
    376                 cerr << "Was looking for " << libdir << endl;
    377                 libdir = libbase + arch + "-" + "nolib";
    378         } // if
    379 
    380         if ( ! dirExists( libdir ) ) {
    381                 cerr << argv[0] << " internal error, cannot find prelude directory." << endl;
    382                 cerr << "Was looking for " << libdir << endl;
    383                 exit( EXIT_FAILURE );
    384         } // if
    385 
    386         args[nargs] = ( *new string( string("-D__CFA_FLAG__=--prelude-dir=" ) + libdir + (intree ? "/prelude" : "")) ).c_str();
     381        if (!disttree) {
     382                if ( ! nolib && ! dirExists( libdir ) ) {
     383                        cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl;
     384                        cerr << "Was looking for " << libdir << endl;
     385                        for(int i = 1; i < argc; i++) {
     386                                cerr << argv[i] << " ";
     387                        }
     388                        cerr << endl;
     389                        libdir = libbase + arch + "-" + "nolib";
     390                } // if
     391
     392                if ( ! dirExists( libdir ) ) {
     393                        cerr << argv[0] << " internal error, cannot find prelude directory." << endl;
     394                        cerr << "Was looking for " << libdir << endl;
     395                        exit( EXIT_FAILURE );
     396                } // if
     397        } // if
     398
     399        if(disttree) {
     400                args[nargs] = ( *new string( string("-D__CFA_FLAG__=--prelude-dir=" ) + dir(argv[0])) ).c_str();
     401        } else if(intree) {
     402                args[nargs] = ( *new string( string("-D__CFA_FLAG__=--prelude-dir=" ) + libdir + "/prelude") ).c_str();
     403        } else {
     404                args[nargs] = ( *new string( string("-D__CFA_FLAG__=--prelude-dir=" ) + libdir) ).c_str();
     405        }
    387406        nargs += 1;
    388407
     
    473492
    474493        if ( Bprefix.length() == 0 ) {
    475                 Bprefix = ! intree ? installlibdir : srcdriverdir;
     494                if(disttree) {
     495                        Bprefix = dir(argv[0]);
     496                } else if(intree) {
     497                        Bprefix = srcdriverdir;
     498                } else {
     499                        Bprefix = installlibdir;
     500                }
     501
    476502                if ( Bprefix[Bprefix.length() - 1] != '/' ) Bprefix += '/';
    477503                args[nargs] = ( *new string( string("-D__GCC_BPREFIX__=") + Bprefix ) ).c_str();
  • libcfa/Makefile.in

    r7e0017f5 rbbfd0e0  
    231231CFACC = @CFACC@
    232232CFACPP = @CFACPP@
     233CFADIR_HASH = @CFADIR_HASH@
    233234CFA_BINDIR = @CFA_BINDIR@
    234235CFA_INCDIR = @CFA_INCDIR@
     
    274275LIPO = @LIPO@
    275276LN_S = @LN_S@
     277LOCAL_CFACC = @LOCAL_CFACC@
     278LOCAL_CFACPP = @LOCAL_CFACPP@
    276279LTLIBOBJS = @LTLIBOBJS@
    277280LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
     
    293296PACKAGE_VERSION = @PACKAGE_VERSION@
    294297PATH_SEPARATOR = @PATH_SEPARATOR@
     298PRELUDEFLAG = @PRELUDEFLAG@
    295299RANLIB = @RANLIB@
    296300SED = @SED@
  • libcfa/configure

    r7e0017f5 rbbfd0e0  
    707707CONFIG_CFLAGS
    708708ARCH_FLAGS
     709PRELUDEFLAG
     710CFADIR_HASH
     711LOCAL_CFACPP
     712LOCAL_CFACC
    709713CFACPP
    710714CFACC
     715ENABLE_DISTCC_FALSE
     716ENABLE_DISTCC_TRUE
    711717CFA_VERSION
    712718DRIVER_DIR
     
    783789enable_option_checking
    784790enable_silent_rules
     791enable_distcc
    785792with_cfa_name
    786793enable_shared
     
    14451452  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14461453  --disable-silent-rules  verbose build output (undo: "make V=0")
     1454  --enable-distcc     whether or not to enable distributed compilation
    14471455  --enable-shared[=PKGS]  build shared libraries [default=yes]
    14481456  --enable-static[=PKGS]  build static libraries [default=yes]
     
    29412949
    29422950
    2943 CFACC=${DRIVER_DIR}cfa
    2944 CFACPP=${DRIVER_DIR}cfa-cpp
     2951# Check whether --enable-distcc was given.
     2952if test "${enable_distcc+set}" = set; then :
     2953  enableval=$enable_distcc; enable_distcc=$enableval
     2954else
     2955  enable_distcc=no
     2956fi
     2957
     2958
     2959echo -n "checking for distributated build... "
     2960if test x$enable_distcc = xno; then
     2961        CFACC=${DRIVER_DIR}cfa
     2962        CFACPP=${DRIVER_DIR}cfa-cpp
     2963        PRELUDEFLAG='-in-tree'
     2964        echo "no"
     2965else
     2966        path=$(readlink -f .)
     2967        CFADIR_HASH=$(openssl dgst -sha256 <<< $path)
     2968        CFADIR_HASH="${CFADIR_HASH: -10}"
     2969        CFACC="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/g++"
     2970        CFACPP="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/cfa-cpp"
     2971        PRELUDEFLAG='-dist-tree'
     2972        echo "yes (hash=${CFADIR_HASH})"
     2973fi
     2974LOCAL_CFACC=${DRIVER_DIR}cfa
     2975LOCAL_CFACPP=${DRIVER_DIR}cfa-cpp
     2976
     2977 if test x$enable_distcc = xyes; then
     2978  ENABLE_DISTCC_TRUE=
     2979  ENABLE_DISTCC_FALSE='#'
     2980else
     2981  ENABLE_DISTCC_TRUE='#'
     2982  ENABLE_DISTCC_FALSE=
     2983fi
     2984
     2985
     2986
     2987
     2988
     2989
    29452990
    29462991
     
    1698217027fi
    1698317028
     17029if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then
     17030  as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined.
     17031Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17032fi
    1698417033if test -z "${BUILDLIB_TRUE}" && test -z "${BUILDLIB_FALSE}"; then
    1698517034  as_fn_error $? "conditional \"BUILDLIB\" was never defined.
  • libcfa/configure.ac

    r7e0017f5 rbbfd0e0  
    2727AC_ARG_VAR(CFA_VERSION, [The long version of cfa])
    2828
    29 CFACC=${DRIVER_DIR}cfa
    30 CFACPP=${DRIVER_DIR}cfa-cpp
     29AC_ARG_ENABLE(distcc,
     30        [  --enable-distcc     whether or not to enable distributed compilation],
     31        enable_distcc=$enableval, enable_distcc=no)
     32
     33echo -n "checking for distributated build... "
     34if test x$enable_distcc = xno; then
     35        CFACC=${DRIVER_DIR}cfa
     36        CFACPP=${DRIVER_DIR}cfa-cpp
     37        PRELUDEFLAG='-in-tree'
     38        echo "no"
     39else
     40        path=$(readlink -f .)
     41        CFADIR_HASH=$(openssl dgst -sha256 <<< $path)
     42        CFADIR_HASH="${CFADIR_HASH: -10}"
     43        CFACC="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/g++"
     44        CFACPP="/home/tdelisle/workspace/master-cforall/main/tools/build/distcc ~/.cfadistcc/${CFADIR_HASH}/cfa-cpp"
     45        PRELUDEFLAG='-dist-tree'
     46        echo "yes (hash=${CFADIR_HASH})"
     47fi
     48LOCAL_CFACC=${DRIVER_DIR}cfa
     49LOCAL_CFACPP=${DRIVER_DIR}cfa-cpp
     50
     51AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes])
     52
    3153AC_SUBST(CFACC)
    3254AC_SUBST(CFACPP)
     55AC_SUBST(LOCAL_CFACC)
     56AC_SUBST(LOCAL_CFACPP)
     57AC_SUBST(CFADIR_HASH)
    3358AC_SUBST(CFA_VERSION)
     59AC_SUBST(PRELUDEFLAG)
    3460
    3561#==============================================================================
  • libcfa/prelude/Makefile.am

    r7e0017f5 rbbfd0e0  
    2323cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c
    2424
    25 CC = @CFACC@
     25CC = @LOCAL_CFACC@
    2626AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@
    2727AM_CFAFLAGS = @CONFIG_CFAFLAGS@
     
    5454
    5555# create forward declarations for cfa builtins
    56 builtins.cf : builtins.c ${CC}
     56builtins.cf : builtins.c @LOCAL_CFACC@
    5757        ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po -D__cforall
    5858        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
     
    6060include $(DEPDIR)/builtins.Po
    6161
    62 bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACPP@
    63         ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
     62bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACPP@
     63        ${AM_V_GEN}@LOCAL_CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
    6464
    6565maintainer-clean-local :
     
    6868MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cfa
    6969MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}
     70
     71if ENABLE_DISTCC
     72distribution: @LOCAL_CFACC@ @LOCAL_CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh
     73        ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@
     74        echo "Dummy file to track distribution to remote hosts" > ${@}
     75
     76all: all-am distribution
     77endif ENABLE_DISTCC
  • libcfa/prelude/Makefile.in

    r7e0017f5 rbbfd0e0  
    167167AUTOMAKE = @AUTOMAKE@
    168168AWK = @AWK@
    169 CC = @CFACC@
     169CC = @LOCAL_CFACC@
    170170CCAS = @CCAS@
    171171CCASDEPMODE = @CCASDEPMODE@
     
    174174CFACC = @CFACC@
    175175CFACPP = @CFACPP@
     176CFADIR_HASH = @CFADIR_HASH@
    176177CFA_BINDIR = @CFA_BINDIR@
    177178CFA_INCDIR = @CFA_INCDIR@
     
    217218LIPO = @LIPO@
    218219LN_S = @LN_S@
     220LOCAL_CFACC = @LOCAL_CFACC@
     221LOCAL_CFACPP = @LOCAL_CFACPP@
    219222LTLIBOBJS = @LTLIBOBJS@
    220223LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
     
    236239PACKAGE_VERSION = @PACKAGE_VERSION@
    237240PATH_SEPARATOR = @PATH_SEPARATOR@
     241PRELUDEFLAG = @PRELUDEFLAG@
    238242RANLIB = @RANLIB@
    239243SED = @SED@
     
    555559
    556560# create forward declarations for cfa builtins
    557 builtins.cf : builtins.c ${CC}
     561builtins.cf : builtins.c @LOCAL_CFACC@
    558562        ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po -D__cforall
    559563        ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po
     
    561565include $(DEPDIR)/builtins.Po
    562566
    563 bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACPP@
    564         ${AM_V_GEN}@CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
     567bootloader.c : ${srcdir}/bootloader.cf prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACPP@
     568        ${AM_V_GEN}@LOCAL_CFACPP@ --prelude-dir=${builddir} -tpm ${srcdir}/bootloader.cf $@  # use src/cfa-cpp as not in lib until after install
    565569
    566570maintainer-clean-local :
    567571        rm -rf $(DEPDIR)
     572
     573@ENABLE_DISTCC_TRUE@distribution: @LOCAL_CFACC@ @LOCAL_CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh
     574@ENABLE_DISTCC_TRUE@    ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@
     575@ENABLE_DISTCC_TRUE@    echo "Dummy file to track distribution to remote hosts" > ${@}
     576
     577@ENABLE_DISTCC_TRUE@all: all-am distribution
    568578
    569579# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • libcfa/src/Makefile.am

    r7e0017f5 rbbfd0e0  
    3030# use -no-include-stdhdr to prevent rebuild cycles
    3131# The built sources must not depend on the installed headers
    32 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@
     32AM_CFAFLAGS = -v @PRELUDEFLAG@ -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@
    3333AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@
    3434AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     
    6262# add dependency of cfa files
    6363libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(libsrc))))
    64 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa
     64$(libobjs) : @LOCAL_CFACC@ @LOCAL_CFACPP@ prelude.cfa
    6565
    6666thread_libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(thread_libsrc))))
    67 $(thread_libobjs) : @CFACC@ @CFACPP@ prelude.cfa
     67$(thread_libobjs) : @LOCAL_CFACC@ @LOCAL_CFACPP@ prelude.cfa
    6868
    6969
     
    8484
    8585
    86 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
    87         ${AM_V_GEN}$(CFACOMPILE) -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     86prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @LOCAL_CFACPP@
     87        ${AM_V_GEN}$(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@}
    8888
    89 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
     89prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @LOCAL_CFACPP@
    9090        ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \
    91         $(CFACOMPILE) -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     91        $(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@}
    9292
    9393
  • libcfa/src/Makefile.in

    r7e0017f5 rbbfd0e0  
    284284CFACC = @CFACC@
    285285CFACPP = @CFACPP@
     286CFADIR_HASH = @CFADIR_HASH@
    286287CFA_BINDIR = @CFA_BINDIR@
    287288CFA_INCDIR = @CFA_INCDIR@
     
    327328LIPO = @LIPO@
    328329LN_S = @LN_S@
     330LOCAL_CFACC = @LOCAL_CFACC@
     331LOCAL_CFACPP = @LOCAL_CFACPP@
    329332LTLIBOBJS = @LTLIBOBJS@
    330333LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
     
    346349PACKAGE_VERSION = @PACKAGE_VERSION@
    347350PATH_SEPARATOR = @PATH_SEPARATOR@
     351PRELUDEFLAG = @PRELUDEFLAG@
    348352RANLIB = @RANLIB@
    349353SED = @SED@
     
    440444# use -no-include-stdhdr to prevent rebuild cycles
    441445# The built sources must not depend on the installed headers
    442 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@
     446AM_CFAFLAGS = -v @PRELUDEFLAG@ -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@
    443447AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@
    444448AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     
    936940        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
    937941        $(am__mv) $$depbase.Tpo $$depbase.Plo
    938 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa
    939 $(thread_libobjs) : @CFACC@ @CFACPP@ prelude.cfa
     942$(libobjs) : @LOCAL_CFACC@ @LOCAL_CFACPP@ prelude.cfa
     943$(thread_libobjs) : @LOCAL_CFACC@ @LOCAL_CFACPP@ prelude.cfa
    940944
    941945-include $(libdeps)
     
    943947-include $(thread_libdeps)
    944948
    945 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
    946         ${AM_V_GEN}$(CFACOMPILE) -quiet -in-tree -XCFA -l ${<} -c -o ${@}
    947 
    948 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
     949prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @LOCAL_CFACPP@
     950        ${AM_V_GEN}$(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@}
     951
     952prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @LOCAL_CFACPP@
    949953        ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \
    950         $(CFACOMPILE) -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     954        $(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@}
    951955
    952956#----------------------------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.