ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 9923861 was
6e8f1df,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
Build no longer fails if target bin directory doesn't exist
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[00cc023] | 1 | ######################## -*- Mode: Makefile-Automake -*- ###################### |
---|
| 2 | ## |
---|
| 3 | ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
| 4 | ## |
---|
| 5 | ## The contents of this file are covered under the licence agreement in the |
---|
| 6 | ## file "LICENCE" distributed with Cforall. |
---|
| 7 | ## |
---|
[47a8d17] | 8 | ## Makefile.am -- |
---|
[00cc023] | 9 | ## |
---|
| 10 | ## Author : Peter A. Buhr |
---|
| 11 | ## Created On : Sun May 31 08:49:31 2015 |
---|
| 12 | ## Last Modified By : Peter A. Buhr |
---|
[4b1afb6] | 13 | ## Last Modified On : Fri Oct 28 13:46:06 2016 |
---|
| 14 | ## Update Count : 10 |
---|
[00cc023] | 15 | ############################################################################### |
---|
| 16 | |
---|
| 17 | # applies to both programs |
---|
[2ee5426] | 18 | AM_CXXFLAGS = -Wall -O2 |
---|
[24f4671] | 19 | if BUILD_NO_LIB |
---|
| 20 | else |
---|
| 21 | AM_CXXFLAGS += -DHAVE_LIBCFA |
---|
| 22 | endif |
---|
| 23 | if BUILD_DEBUG |
---|
| 24 | AM_CXXFLAGS += -DHAVE_LIBCFA_DEBUG |
---|
| 25 | endif |
---|
| 26 | if BUILD_RELEASE |
---|
| 27 | AM_CXXFLAGS += -DHAVE_LIBCFA_RELEASE |
---|
| 28 | endif |
---|
[00cc023] | 29 | |
---|
[796cea3] | 30 | noinst_PROGRAMS = cfa |
---|
[00cc023] | 31 | cfa_SOURCES = cfa.cc |
---|
| 32 | |
---|
[796cea3] | 33 | install-exec-hook: |
---|
[6e8f1df] | 34 | @test -z "$(CFA_BINDIR)" || $(MKDIR_P) "$(CFA_BINDIR)" |
---|
[796cea3] | 35 | @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \ |
---|
| 36 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$? |
---|
| 37 | |
---|
| 38 | uninstall-hook: |
---|
| 39 | @echo " ( cd '$(CFA_BINDIR)' && rm -f $(CFA_NAME) )"; \ |
---|
| 40 | cd "$(CFA_BINDIR)" && rm -f $(CFA_NAME) |
---|
| 41 | |
---|
[00cc023] | 42 | # put into lib for now |
---|
[088a5cd] | 43 | cc1libdir = ${CFA_LIBDIR} |
---|
[00cc023] | 44 | cc1lib_PROGRAMS = cc1 |
---|
| 45 | cc1_SOURCES = cc1.cc |
---|
[d3b7937] | 46 | |
---|
[796cea3] | 47 | MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS} |
---|
Note: See
TracBrowser
for help on using the repository browser.