16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
|
21 |
|
22 # |
21 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
22 # |
24 # |
23 COMPILER=gcc |
25 COMPILER= gcc |
24 |
26 # Prefer 32-bit as only "binary" delivered is a script with embedded paths. |
|
27 BUILD_BITS= 32_and_64 |
25 include ../../make-rules/shared-macros.mk |
28 include ../../make-rules/shared-macros.mk |
26 |
29 |
27 COMPONENT_NAME= cppunit |
30 COMPONENT_NAME= cppunit |
28 COMPONENT_VERSION= 1.13.2 |
31 COMPONENT_VERSION= 1.13.2 |
29 COMPONENT_PROJECT_URL= http://freedesktop.org/wiki/Software/cppunit/ |
32 COMPONENT_PROJECT_URL= http://freedesktop.org/wiki/Software/cppunit/ |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
32 COMPONENT_ARCHIVE_HASH= \ |
33 COMPONENT_ARCHIVE_HASH= \ |
33 sha256:3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f |
34 sha256:3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f |
34 COMPONENT_ARCHIVE_URL= http://dev-www.libreoffice.org/src/$(COMPONENT_ARCHIVE) |
35 COMPONENT_ARCHIVE_URL= http://dev-www.libreoffice.org/src/$(COMPONENT_ARCHIVE) |
35 COMPONENT_BUGDB= utility/cppunit |
|
36 |
36 |
37 TPNO= 20676 |
37 TPNO= 20676 |
38 |
38 |
39 include $(WS_MAKE_RULES)/prep.mk |
39 include $(WS_MAKE_RULES)/common.mk |
40 include $(WS_MAKE_RULES)/configure.mk |
|
41 include $(WS_MAKE_RULES)/ips.mk |
|
42 |
40 |
43 |
41 |
44 export PATH=$(GCC_ROOT)/bin:/usr/gnu/bin:/usr/bin |
42 export PATH=$(GCC_ROOT)/bin:$(GNUBIN):$(USRBINDIR) |
45 |
43 |
46 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
47 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
|
48 CONFIGURE_OPTIONS += --disable-static |
44 CONFIGURE_OPTIONS += --disable-static |
49 |
45 |
50 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
46 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
51 |
47 |
52 ASLR_MODE = $(ASLR_ENABLE) |
|
53 |
|
54 configure: $(CONFIGURE_32_and_64) |
|
55 |
|
56 build: $(BUILD_32_and_64) |
|
57 |
|
58 install: $(INSTALL_32_and_64) |
|
59 |
|
60 test: $(TEST_32_and_64) |
|
61 |
|
62 REQUIRED_PACKAGES += shell/ksh93 |
48 REQUIRED_PACKAGES += shell/ksh93 |
63 REQUIRED_PACKAGES += system/library |
|
64 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
49 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
65 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
50 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |