######################## -*- Mode: Makefile-Automake -*- ###################### ## ## Cforall Version 1.0.0 Copyright (C) 2020 University of Waterloo ## ## The contents of this file are covered under the licence agreement in the ## file "LICENCE" distributed with Cforall. ## ## Makefile.am -- ## ## Author : Thierry Delisle ## Created On : Mon Nov 30 14:01:00 2020 ## Last Modified By : ## Last Modified On : ## Update Count : ############################################################################### AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names ACLOCAL_AMFLAGS = -I automake # applies to both programs include $(top_srcdir)/tools/build/cfa.make AM_CFLAGS = -O2 -Wall -Wextra -I$(srcdir) -lrt -pthread # -Werror AM_CFAFLAGS = -quiet -nodebug AM_LDFLAGS = -quiet -nodebug CCLD = $(CFACC) EXTRA_PROGRAMS = httpforall .dummy_hack CLEANFILES = httpforall nodist_httpforall_SOURCES = \ filecache.cfa \ filecache.hfa \ main.cfa \ options.cfa \ options.hfa \ protocol.cfa \ protocol.hfa \ worker.cfa \ worker.hfa nodist__dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp # automake doesn't know we still need C rules so pretend like we have a C program .dummy_hack.c: @echo "int main() { return 0; }" > ${@} .dummy_hackxx.cpp: @echo "int bar() { return 0; }" > ${@}