GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / gst-plugins-base / Makefile
blob1dfee063746b22f81cf0d9e17e87e6dfaeffcb46
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= gst-plugins-base
19 COMPONENT_VERSION= 0.10.36
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= GNOME streaming media framework plugins
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:2cd3b0fa8e9b595db8f514ef7c2bdbcd639a0d63d154c00f8c9b609321f49976
26 COMPONENT_ARCHIVE_URL= \
27 http://gstreamer.freedesktop.org/src/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://gstreamer.freedesktop.org/
30 include ../../make-rules/prep.mk
31 include ../../make-rules/configure.mk
32 include ../../make-rules/ips.mk
34 gcc_OPT = -O2
36 PATH = /usr/gnu/bin:/usr/bin
38 CFLAGS += -I/usr/sfw/include -I/usr/X11/include
40 CONFIGURE_OPTIONS += --sysconfdir=/etc
41 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
42 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
43 CONFIGURE_OPTIONS += --enable-external
44 CONFIGURE_OPTIONS += --enable-experimental
45 CONFIGURE_OPTIONS += --disable-alsa
46 CONFIGURE_OPTIONS += --with-default-audiosrc=autoaudiosrc
47 CONFIGURE_OPTIONS += --with-default-audiosink=autoaudiosink
48 CONFIGURE_OPTIONS += --with-default-videosink=autovideosink
50 # CFLAGS are not passed to compiler when g-ir-scanner is used
51 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
52 COMPONENT_BUILD_ENV += CC="$(CC)"
53 COMPONENT_INSTALL_ENV += CFLAGS="$(CFLAGS)"
54 COMPONENT_INSTALL_ENV += CC="$(CC)"
56 build: $(BUILD_32_and_64)
58 install: $(INSTALL_32_and_64)
60 test: $(TEST_32_and_64)