source: driver/Makefile.am @ 6a9d4b4

ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 6a9d4b4 was 107b01a, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Several changes to the makefiles

  • change .c tests to .cfa
  • add require for libtool in configure
  • libtoolize to fix some warnings
  • Property mode set to 100644
File size: 1.4 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
[0c1b566]17AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
[107b01a]18ACLOCAL_AMFLAGS  = -I automake
[0c1b566]19
[00cc023]20# applies to both programs
[47c1928]21AM_CXXFLAGS = @HOST_FLAGS@ -Wall -O2 -g -std=c++14 -I${abs_top_srcdir}/src
[00cc023]22
[e9546f9]23# don't install cfa directly
[796cea3]24noinst_PROGRAMS = cfa
[00cc023]25
[e9546f9]26# use
[796cea3]27install-exec-hook:
[6e8f1df]28        @test -z "$(CFA_BINDIR)" || $(MKDIR_P) "$(CFA_BINDIR)"
[796cea3]29        @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \
30        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$?
31
32uninstall-hook:
33        @echo " ( cd '$(CFA_BINDIR)' && rm -f $(CFA_NAME) )"; \
34        cd "$(CFA_BINDIR)" && rm -f $(CFA_NAME)
35
[e9546f9]36cfa_SOURCES = cfa.cc
37
[00cc023]38# put into lib for now
[088a5cd]39cc1libdir = ${CFA_LIBDIR}
[9aa9126]40cc1lib_PROGRAMS = as cc1
[a2f146ee]41as_SOURCES = as.cc
[00cc023]42cc1_SOURCES = cc1.cc
[d3b7937]43
[796cea3]44MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
Note: See TracBrowser for help on using the repository browser.