source: driver/Makefile.am @ 108345a

ADTast-experimentalpthread-emulationqualifiedEnum
Last change on this file since 108345a was 850aff1, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

Added -Werror=return-type EVERYWHERE!
Added -Wextra in some places.

  • Property mode set to 100644
File size: 1.5 KB
Line 
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##
8## Makefile.am --
9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 08:49:31 2015
12## Last Modified By : Peter A. Buhr
13## Last Modified On : Thu Aug  2 12:18:25 2018
14## Update Count     : 14
15###############################################################################
16
17AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
18ACLOCAL_AMFLAGS  = -I automake
19
20# applies to both programs
21AM_CXXFLAGS = @HOST_FLAGS@ -Wall -Wextra -Werror=return-type -O2 -g -std=c++14 -I${abs_top_srcdir}/src -I${abs_top_srcdir}/src/include
22
23# don't install cfa directly
24noinst_PROGRAMS = cfa
25
26# use
27install-exec-hook:
28        @test -z "$(CFA_BINDIR)" || $(MKDIR_P) "$(CFA_BINDIR)"
29        @echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa '$(CFA_BINDIR)/$(CFA_NAME)'"; \
30        chmod u+w $(CFA_BINDIR);\
31        $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) cfa $(CFA_BINDIR)/$(CFA_NAME) || exit $$?
32
33uninstall-hook:
34        @echo " ( cd '$(CFA_BINDIR)' && rm -f $(CFA_NAME) )"; \
35        cd "$(CFA_BINDIR)" && rm -f $(CFA_NAME)
36
37cfa_SOURCES = cfa.cc
38
39# put into lib for now
40cc1libdir = ${CFA_LIBDIR}
41cc1lib_PROGRAMS = as cc1
42as_SOURCES = as.cc
43cc1_SOURCES = cc1.cc
44
45MAINTAINERCLEANFILES = $(CFA_BINDIR)/$(CFA_NAME) @CFA_PREFIX@/lib/${cc1lib_PROGRAMS}
Note: See TracBrowser for help on using the repository browser.