Changeset a2f146ee


Ignore:
Timestamp:
Aug 2, 2018, 1:41:24 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
fde66c2
Parents:
5d4fa18
Message:

preprocess assembler files to add CFA language

Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r5d4fa18 ra2f146ee  
    2929
    3030# src executables, for lib and bin
    31 src/driver/cc1
     31src/driver/as
    3232src/driver/cfa
    3333src/driver/cfa-cpp
     34src/driver/cc1
    3435
    3536src/prelude/bootloader.c
  • src/driver/Makefile.am

    r5d4fa18 ra2f146ee  
    1111## Created On       : Sun May 31 08:49:31 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Mon Apr 30 17:44:17 2018
    14 ## Update Count     : 11
     13## Last Modified On : Thu Aug  2 12:18:25 2018
     14## Update Count     : 14
    1515###############################################################################
    1616
     
    4848cc1_SOURCES = cc1.cc
    4949
     50aslibdir = ${CFA_LIBDIR}
     51aslib_PROGRAMS = as
     52as_SOURCES = as.cc
     53
    5054MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
  • src/driver/Makefile.in

    r5d4fa18 ra2f146ee  
    9797noinst_PROGRAMS = cfa$(EXEEXT)
    9898cc1lib_PROGRAMS = cc1$(EXEEXT)
     99aslib_PROGRAMS = as$(EXEEXT)
    99100subdir = src/driver
    100101ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    107108CONFIG_CLEAN_FILES =
    108109CONFIG_CLEAN_VPATH_FILES =
    109 am__installdirs = "$(DESTDIR)$(cc1libdir)"
    110 PROGRAMS = $(cc1lib_PROGRAMS) $(noinst_PROGRAMS)
     110am__installdirs = "$(DESTDIR)$(aslibdir)" "$(DESTDIR)$(cc1libdir)"
     111PROGRAMS = $(aslib_PROGRAMS) $(cc1lib_PROGRAMS) $(noinst_PROGRAMS)
     112am_as_OBJECTS = as.$(OBJEXT)
     113as_OBJECTS = $(am_as_OBJECTS)
     114as_LDADD = $(LDADD)
    111115am_cc1_OBJECTS = cc1.$(OBJEXT)
    112116cc1_OBJECTS = $(am_cc1_OBJECTS)
     
    144148am__v_CXXLD_0 = @echo "  CXXLD   " $@;
    145149am__v_CXXLD_1 =
    146 SOURCES = $(cc1_SOURCES) $(cfa_SOURCES)
    147 DIST_SOURCES = $(cc1_SOURCES) $(cfa_SOURCES)
     150SOURCES = $(as_SOURCES) $(cc1_SOURCES) $(cfa_SOURCES)
     151DIST_SOURCES = $(as_SOURCES) $(cc1_SOURCES) $(cfa_SOURCES)
    148152am__can_run_installinfo = \
    149153  case $$AM_UPDATE_INFO_DIR in \
     
    300304cc1libdir = ${CFA_LIBDIR}
    301305cc1_SOURCES = cc1.cc
     306aslibdir = ${CFA_LIBDIR}
     307as_SOURCES = as.cc
    302308MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
    303309all: all-am
     
    334340        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    335341$(am__aclocal_m4_deps):
     342install-aslibPROGRAMS: $(aslib_PROGRAMS)
     343        @$(NORMAL_INSTALL)
     344        @list='$(aslib_PROGRAMS)'; test -n "$(aslibdir)" || list=; \
     345        if test -n "$$list"; then \
     346          echo " $(MKDIR_P) '$(DESTDIR)$(aslibdir)'"; \
     347          $(MKDIR_P) "$(DESTDIR)$(aslibdir)" || exit 1; \
     348        fi; \
     349        for p in $$list; do echo "$$p $$p"; done | \
     350        sed 's/$(EXEEXT)$$//' | \
     351        while read p p1; do if test -f $$p \
     352          ; then echo "$$p"; echo "$$p"; else :; fi; \
     353        done | \
     354        sed -e 'p;s,.*/,,;n;h' \
     355            -e 's|.*|.|' \
     356            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
     357        sed 'N;N;N;s,\n, ,g' | \
     358        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
     359          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
     360            if ($$2 == $$4) files[d] = files[d] " " $$1; \
     361            else { print "f", $$3 "/" $$4, $$1; } } \
     362          END { for (d in files) print "f", d, files[d] }' | \
     363        while read type dir files; do \
     364            if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
     365            test -z "$$files" || { \
     366              echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(aslibdir)$$dir'"; \
     367              $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(aslibdir)$$dir" || exit $$?; \
     368            } \
     369        ; done
     370
     371uninstall-aslibPROGRAMS:
     372        @$(NORMAL_UNINSTALL)
     373        @list='$(aslib_PROGRAMS)'; test -n "$(aslibdir)" || list=; \
     374        files=`for p in $$list; do echo "$$p"; done | \
     375          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
     376              -e 's/$$/$(EXEEXT)/' \
     377        `; \
     378        test -n "$$list" || exit 0; \
     379        echo " ( cd '$(DESTDIR)$(aslibdir)' && rm -f" $$files ")"; \
     380        cd "$(DESTDIR)$(aslibdir)" && rm -f $$files
     381
     382clean-aslibPROGRAMS:
     383        -test -z "$(aslib_PROGRAMS)" || rm -f $(aslib_PROGRAMS)
    336384install-cc1libPROGRAMS: $(cc1lib_PROGRAMS)
    337385        @$(NORMAL_INSTALL)
     
    380428        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    381429
     430as$(EXEEXT): $(as_OBJECTS) $(as_DEPENDENCIES) $(EXTRA_as_DEPENDENCIES)
     431        @rm -f as$(EXEEXT)
     432        $(AM_V_CXXLD)$(CXXLINK) $(as_OBJECTS) $(as_LDADD) $(LIBS)
     433
    382434cc1$(EXEEXT): $(cc1_OBJECTS) $(cc1_DEPENDENCIES) $(EXTRA_cc1_DEPENDENCIES)
    383435        @rm -f cc1$(EXEEXT)
     
    394446        -rm -f *.tab.c
    395447
     448@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/as.Po@am__quote@
    396449@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cc1.Po@am__quote@
    397450@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cfa.Po@am__quote@
     
    499552all-am: Makefile $(PROGRAMS)
    500553installdirs:
    501         for dir in "$(DESTDIR)$(cc1libdir)"; do \
     554        for dir in "$(DESTDIR)$(aslibdir)" "$(DESTDIR)$(cc1libdir)"; do \
    502555          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
    503556        done
     
    535588clean: clean-am
    536589
    537 clean-am: clean-cc1libPROGRAMS clean-generic clean-noinstPROGRAMS \
    538         mostlyclean-am
     590clean-am: clean-aslibPROGRAMS clean-cc1libPROGRAMS clean-generic \
     591        clean-noinstPROGRAMS mostlyclean-am
    539592
    540593distclean: distclean-am
     
    556609info-am:
    557610
    558 install-data-am: install-cc1libPROGRAMS
     611install-data-am: install-aslibPROGRAMS install-cc1libPROGRAMS
    559612
    560613install-dvi: install-dvi-am
     
    602655ps-am:
    603656
    604 uninstall-am: uninstall-cc1libPROGRAMS
     657uninstall-am: uninstall-aslibPROGRAMS uninstall-cc1libPROGRAMS
    605658        @$(NORMAL_INSTALL)
    606659        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
     
    608661
    609662.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
    610         clean-cc1libPROGRAMS clean-generic clean-noinstPROGRAMS \
    611         cscopelist-am ctags ctags-am distclean distclean-compile \
    612         distclean-generic distclean-tags distdir dvi dvi-am html \
    613         html-am info info-am install install-am install-cc1libPROGRAMS \
    614         install-data install-data-am install-dvi install-dvi-am \
    615         install-exec install-exec-am install-exec-hook install-html \
    616         install-html-am install-info install-info-am install-man \
    617         install-pdf install-pdf-am install-ps install-ps-am \
    618         install-strip installcheck installcheck-am installdirs \
    619         maintainer-clean maintainer-clean-generic mostlyclean \
    620         mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
    621         tags tags-am uninstall uninstall-am uninstall-cc1libPROGRAMS \
     663        clean-aslibPROGRAMS clean-cc1libPROGRAMS clean-generic \
     664        clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
     665        distclean-compile distclean-generic distclean-tags distdir dvi \
     666        dvi-am html html-am info info-am install install-am \
     667        install-aslibPROGRAMS install-cc1libPROGRAMS install-data \
     668        install-data-am install-dvi install-dvi-am install-exec \
     669        install-exec-am install-exec-hook install-html install-html-am \
     670        install-info install-info-am install-man install-pdf \
     671        install-pdf-am install-ps install-ps-am install-strip \
     672        installcheck installcheck-am installdirs maintainer-clean \
     673        maintainer-clean-generic mostlyclean mostlyclean-compile \
     674        mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
     675        uninstall-am uninstall-aslibPROGRAMS uninstall-cc1libPROGRAMS \
    622676        uninstall-hook
    623677
Note: See TracChangeset for help on using the changeset viewer.