Changeset 796cea3 for src/driver


Ignore:
Timestamp:
Mar 8, 2017, 3:17:58 PM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
6363ad1
Parents:
64cb860
Message:

Added proper argument to rename cfa

Location:
src/driver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/driver/Makefile.am

    r64cb860 r796cea3  
    2828endif
    2929
    30 bin_PROGRAMS = cfa
     30noinst_PROGRAMS = cfa
    3131cfa_SOURCES = cfa.cc
     32
     33install-exec-hook:
     34        @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \
     35        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$?
     36
     37uninstall-hook:
     38        @echo " ( cd '$(CFA_BINDIR)' && rm -f $(CFA_NAME) )"; \
     39        cd "$(CFA_BINDIR)" && rm -f $(CFA_NAME)
    3240
    3341# put into lib for now
     
    3644cc1_SOURCES = cc1.cc
    3745
    38 MAINTAINERCLEANFILES = @CFA_PREFIX@/bin/${bin_PROGRAMS} @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
     46MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
  • src/driver/Makefile.in

    r64cb860 r796cea3  
    4141@BUILD_DEBUG_TRUE@am__append_2 = -DHAVE_LIBCFA_DEBUG
    4242@BUILD_RELEASE_TRUE@am__append_3 = -DHAVE_LIBCFA_RELEASE
    43 bin_PROGRAMS = cfa$(EXEEXT)
     43noinst_PROGRAMS = cfa$(EXEEXT)
    4444cc1lib_PROGRAMS = cc1$(EXEEXT)
    4545subdir = src/driver
     
    5353CONFIG_CLEAN_FILES =
    5454CONFIG_CLEAN_VPATH_FILES =
    55 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cc1libdir)"
    56 PROGRAMS = $(bin_PROGRAMS) $(cc1lib_PROGRAMS)
     55am__installdirs = "$(DESTDIR)$(cc1libdir)"
     56PROGRAMS = $(cc1lib_PROGRAMS) $(noinst_PROGRAMS)
    5757am_cc1_OBJECTS = cc1.$(OBJEXT)
    5858cc1_OBJECTS = $(am_cc1_OBJECTS)
     
    215215cc1libdir = ${CFA_LIBDIR}
    216216cc1_SOURCES = cc1.cc
    217 MAINTAINERCLEANFILES = @CFA_PREFIX@/bin/${bin_PROGRAMS} @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
     217MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
    218218all: all-am
    219219
     
    250250        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    251251$(am__aclocal_m4_deps):
    252 install-binPROGRAMS: $(bin_PROGRAMS)
    253         @$(NORMAL_INSTALL)
    254         test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
    255         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
    256         for p in $$list; do echo "$$p $$p"; done | \
    257         sed 's/$(EXEEXT)$$//' | \
    258         while read p p1; do if test -f $$p; \
    259           then echo "$$p"; echo "$$p"; else :; fi; \
    260         done | \
    261         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
    262             -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
    263         sed 'N;N;N;s,\n, ,g' | \
    264         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
    265           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
    266             if ($$2 == $$4) files[d] = files[d] " " $$1; \
    267             else { print "f", $$3 "/" $$4, $$1; } } \
    268           END { for (d in files) print "f", d, files[d] }' | \
    269         while read type dir files; do \
    270             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
    271             test -z "$$files" || { \
    272               echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
    273               $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
    274             } \
    275         ; done
    276 
    277 uninstall-binPROGRAMS:
    278         @$(NORMAL_UNINSTALL)
    279         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
    280         files=`for p in $$list; do echo "$$p"; done | \
    281           sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
    282               -e 's/$$/$(EXEEXT)/' `; \
    283         test -n "$$list" || exit 0; \
    284         echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
    285         cd "$(DESTDIR)$(bindir)" && rm -f $$files
    286 
    287 clean-binPROGRAMS:
    288         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
    289252install-cc1libPROGRAMS: $(cc1lib_PROGRAMS)
    290253        @$(NORMAL_INSTALL)
     
    324287clean-cc1libPROGRAMS:
    325288        -test -z "$(cc1lib_PROGRAMS)" || rm -f $(cc1lib_PROGRAMS)
     289
     290clean-noinstPROGRAMS:
     291        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    326292cc1$(EXEEXT): $(cc1_OBJECTS) $(cc1_DEPENDENCIES) $(EXTRA_cc1_DEPENDENCIES)
    327293        @rm -f cc1$(EXEEXT)
     
    440406all-am: Makefile $(PROGRAMS)
    441407installdirs:
    442         for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cc1libdir)"; do \
     408        for dir in "$(DESTDIR)$(cc1libdir)"; do \
    443409          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
    444410        done
     
    476442clean: clean-am
    477443
    478 clean-am: clean-binPROGRAMS clean-cc1libPROGRAMS clean-generic \
     444clean-am: clean-cc1libPROGRAMS clean-generic clean-noinstPROGRAMS \
    479445        mostlyclean-am
    480446
     
    503469install-dvi-am:
    504470
    505 install-exec-am: install-binPROGRAMS
    506 
     471install-exec-am:
     472        @$(NORMAL_INSTALL)
     473        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
    507474install-html: install-html-am
    508475
     
    542509ps-am:
    543510
    544 uninstall-am: uninstall-binPROGRAMS uninstall-cc1libPROGRAMS
    545 
    546 .MAKE: install-am install-strip
    547 
    548 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
    549         clean-cc1libPROGRAMS clean-generic ctags distclean \
    550         distclean-compile distclean-generic distclean-tags distdir dvi \
    551         dvi-am html html-am info info-am install install-am \
    552         install-binPROGRAMS install-cc1libPROGRAMS install-data \
    553         install-data-am install-dvi install-dvi-am install-exec \
    554         install-exec-am install-html install-html-am install-info \
     511uninstall-am: uninstall-cc1libPROGRAMS
     512        @$(NORMAL_INSTALL)
     513        $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
     514.MAKE: install-am install-exec-am install-strip uninstall-am
     515
     516.PHONY: CTAGS GTAGS all all-am check check-am clean \
     517        clean-cc1libPROGRAMS clean-generic clean-noinstPROGRAMS ctags \
     518        distclean distclean-compile distclean-generic distclean-tags \
     519        distdir dvi dvi-am html html-am info info-am install \
     520        install-am install-cc1libPROGRAMS install-data install-data-am \
     521        install-dvi install-dvi-am install-exec install-exec-am \
     522        install-exec-hook install-html install-html-am install-info \
    555523        install-info-am install-man install-pdf install-pdf-am \
    556524        install-ps install-ps-am install-strip installcheck \
     
    558526        maintainer-clean-generic mostlyclean mostlyclean-compile \
    559527        mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
    560         uninstall-am uninstall-binPROGRAMS uninstall-cc1libPROGRAMS
    561 
     528        uninstall-am uninstall-cc1libPROGRAMS uninstall-hook
     529
     530
     531install-exec-hook:
     532        @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \
     533        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$?
     534
     535uninstall-hook:
     536        @echo " ( cd '$(CFA_BINDIR)' && rm -f $(CFA_NAME) )"; \
     537        cd "$(CFA_BINDIR)" && rm -f $(CFA_NAME)
    562538
    563539# Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset for help on using the changeset viewer.