summaryrefslogtreecommitdiff
path: root/benchmarks/Makefile.am
blob: f1d8224675d6b537eda579ba64ca9ccc037a53b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Makefile.am - Makefile template for hurd-l4.
# Copyright (C) 2008 Free Software Foundation, Inc.
#
# This file is part of the GNU Hurd.
# 
# The GNU Hurd is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
# 
# The GNU Hurd is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

bootdir = $(prefix)/boot

if ! ENABLE_TESTS
SUBDIRS = sqlite # boehm-gc

boot_PROGRAMS = shared-memory-distribution activity-distribution cache # gcbench
endif

shared_memory_distribution_CPPFLAGS = $(USER_CPPFLAGS)
shared_memory_distribution_CFLAGS = $(USER_CFLAGS)
shared_memory_distribution_LDFLAGS = $(USER_LDFLAGS)
shared_memory_distribution_LDADD = $(USER_LDADD)
shared_memory_distribution_SOURCES = shared-memory-distribution.c

activity_distribution_CPPFLAGS = $(USER_CPPFLAGS)
activity_distribution_CFLAGS = $(USER_CFLAGS)
activity_distribution_LDFLAGS = $(USER_LDFLAGS)
activity_distribution_LDADD = $(USER_LDADD)
activity_distribution_SOURCES = activity-distribution.c

gcbench_CPPFLAGS = $(USER_CPPFLAGS) -Iboehm-gc/gc-install/include
gcbench_CFLAGS = $(USER_CFLAGS)
gcbench_LDFLAGS = $(USER_LDFLAGS) -Lboehm-gc/gc-install/lib
gcbench_LDADD = -lgc $(USER_LDADD)
gcbench_SOURCES = GCbench.c

cache_CPPFLAGS = $(USER_CPPFLAGS) -Isqlite/install/include
cache_CFLAGS = $(USER_CFLAGS)
cache_LDFLAGS = $(USER_LDFLAGS) -Lsqlite/install/lib
cache_LDADD = $(USER_LDADD) -lm -lsqlite3
cache_SOURCES = cache.c zipf.c