GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / filebench / Makefile
blob3bc307c6ab5c5b565b91341fd55ec2c1065c3553
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= filebench
19 COMPONENT_VERSION= 1.4.9.1
20 COMPONENT_SUMMARY= FileBench Commands, Workloads, Scripts, and Config Files
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:a1d1516083a1d46bccf6246caf709e800e93eccf17572583343e77726b720678
25 COMPONENT_ARCHIVE_URL= \
26 http://sourceforge.net/projects/filebench/files/filebench/$(COMPONENT_NAME)-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
27 COMPONENT_PROJECT_URL = http://sourceforge.net/apps/mediawiki/filebench/index.php?title=Main_Page
29 COMPONENT_LICENSE_FILE= LICENSE
30 COMPONENT_LICENSE= CDDL
31 COMPONENT_FMRI= benchmark/filebench
33 include ../../make-rules/prep.mk
34 include ../../make-rules/configure.mk
35 include ../../make-rules/ips.mk
37 PATCH_LEVEL=0
39 COMPONENT_PREP_ACTION = (cd $(@D) &&\
40 aclocal -I . &&\
41 autoheader &&\
42 automake -a -f -c --gnu &&\
43 autoconf &&\
44 $(RM) config.h )
46 CONFIGURE_PREFIX=/usr/benchmarks/filebench
48 CONFIGURE_OPTIONS+= --datarootdir=/usr/benchmarks
50 build: $(BUILD_32_and_64)
52 install: $(INSTALL_32_and_64)