source: src/driver/Makefile.am @ a2f146ee

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since a2f146ee was a2f146ee, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

preprocess assembler files to add CFA language

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[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
[a2f146ee]13## Last Modified On : Thu Aug  2 12:18:25 2018
14## Update Count     : 14
[00cc023]15###############################################################################
16
17# applies to both programs
[44bca7f]18AM_CXXFLAGS = -Wall -O2 -g -std=c++14 -I${abs_top_srcdir}/src
[24f4671]19if BUILD_NO_LIB
20else
21AM_CXXFLAGS += -DHAVE_LIBCFA
22endif
23if BUILD_DEBUG
24AM_CXXFLAGS += -DHAVE_LIBCFA_DEBUG
25endif
26if BUILD_RELEASE
27AM_CXXFLAGS += -DHAVE_LIBCFA_RELEASE
28endif
[00cc023]29
[e9546f9]30# don't install cfa directly
[796cea3]31noinst_PROGRAMS = cfa
[00cc023]32
[e9546f9]33# use
[796cea3]34install-exec-hook:
[6e8f1df]35        @test -z "$(CFA_BINDIR)" || $(MKDIR_P) "$(CFA_BINDIR)"
[796cea3]36        @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \
37        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$?
38
39uninstall-hook:
40        @echo " ( cd '$(CFA_BINDIR)' && rm -f $(CFA_NAME) )"; \
41        cd "$(CFA_BINDIR)" && rm -f $(CFA_NAME)
42
[e9546f9]43cfa_SOURCES = cfa.cc
44
[00cc023]45# put into lib for now
[088a5cd]46cc1libdir = ${CFA_LIBDIR}
[00cc023]47cc1lib_PROGRAMS = cc1
48cc1_SOURCES = cc1.cc
[d3b7937]49
[a2f146ee]50aslibdir = ${CFA_LIBDIR}
51aslib_PROGRAMS = as
52as_SOURCES = as.cc
53
[796cea3]54MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
Note: See TracBrowser for help on using the repository browser.