source: benchmark/io/http/Makefile.am @ 1a2ba84

Last change on this file since 1a2ba84 was 137974ae, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Moved stats printer to it's own file and now using push-stats rather than pull

  • Property mode set to 100644
File size: 1.9 KB
Line 
1######################## -*- Mode: Makefile-Automake -*- ######################
2##
3## Cforall Version 1.0.0 Copyright (C) 2020 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           : Thierry Delisle
11## Created On       : Mon Nov 30 14:01:00 2020
12## Last Modified By :
13## Last Modified On :
14## Update Count     :
15###############################################################################
16
17AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
18ACLOCAL_AMFLAGS  = -I automake
19
20# applies to both programs
21include $(top_srcdir)/tools/build/cfa.make
22
23AM_CFLAGS = -O3 -Wall -Wextra -I$(srcdir) -lrt -pthread -g # -Werror
24AM_CFAFLAGS = -quiet -nodebug
25AM_LDFLAGS = -quiet -nodebug
26
27CCLD = $(CFACC)
28
29EXTRA_PROGRAMS = httpforall .dummy_hack
30
31CLEANFILES = httpforall
32
33nodist_httpforall_SOURCES = \
34        filecache.cfa \
35        filecache.hfa \
36        main.cfa \
37        options.cfa \
38        options.hfa \
39        printer.cfa \
40        printer.hfa \
41        protocol.cfa \
42        protocol.hfa \
43        socket.cfa \
44        socket.hfa \
45        worker.cfa \
46        worker.hfa
47
48nodist__dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp
49
50# automake doesn't know we still need C rules so pretend like we have a C program
51.dummy_hack.c:
52        @echo "int main() { return 0; }" > ${@}
53
54.dummy_hackxx.cpp:
55        @echo "int bar() { return 0; }" > ${@}
56
57# add dependency of cfa files
58nodist_httpforall_OBJECTS = $(addsuffix .o, $(basename $(filter %.cfa,$(nodist_httpforall_SOURCES))))
59$(nodist_httpforall_OBJECTS) : @CFACC@ @CFACPP@
60
61# .deps inclusion is not done automatically by automake for new languages
62nodist_httpforall_DEPENDS = $(join \
63        $(addsuffix $(DEPDIR)/ , $(dir $(nodist_httpforall_OBJECTS) ) ), \
64        $(notdir ${nodist_httpforall_OBJECTS:.o=.Po}) \
65)
66
67-include $(nodist_httpforall_DEPENDS)
68
69list_libdeps:
70        echo "objects: " $(nodist_httpforall_OBJECTS)
71        echo "depends: " $(nodist_httpforall_DEPENDS)
Note: See TracBrowser for help on using the repository browser.