GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / libjpeg6-ijg / Makefile
blob298d8dd29403ac4a017703092b2c8bea67a7ee7a
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2015 Aurelien Larcher
15 include ../../make-rules/shared-macros.mk
17 COMPONENT_NAME= libjpeg6-ijg
18 COMPONENT_VERSION= 6.0.2
19 LIBJPEG_API_VERSION= 6b
20 COMPONENT_FMRI= image/library/libjpeg6-ijg
21 COMPONENT_PROJECT_URL= http://www.ijg.org/
22 COMPONENT_SUMMARY= libjpeg - Independent JPEG Group library version 6b
23 COMPONENT_SRC= jpeg-$(LIBJPEG_API_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
27 COMPONENT_ARCHIVE_URL= http://www.ijg.org/files/jpegsrc.v$(LIBJPEG_API_VERSION).tar.gz
28 COMPONENT_LICENSE= IJG,GPLv2.0
29 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
30 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 CONFIGURE_DEFAULT_DIRS=no
39 CONFIGURE_OPTIONS+= --enable-shared
40 CONFIGURE_OPTIONS+= --disable-static
41 CONFIGURE_OPTIONS+= --mandir=$(CONFIGURE_MANDIR)
42 CONFIGURE_OPTIONS+= --includedir=$(CONFIGURE_INCLUDEDIR)/$(COMPONENT_NAME)
43 CONFIGURE_OPTIONS.32+= --bindir=$(USRLIBDIR)/$(COMPONENT_NAME)/bin
44 CONFIGURE_OPTIONS.32+= --libdir=$(USRLIBDIR)/$(COMPONENT_NAME)/lib
45 CONFIGURE_OPTIONS.64+= --bindir=$(USRLIBDIR)/$(COMPONENT_NAME)/bin/$(MACH64)
46 CONFIGURE_OPTIONS.64+= --libdir=$(USRLIBDIR)/$(COMPONENT_NAME)/lib/$(MACH64)
49 build: $(BUILD_32_and_64)
51 install: $(INSTALL_32_and_64)
53 test: $(TEST_32_and_64)