illumos-gate: omit tagged pointers on SPARC, causes panic on UltraI/II systems
[oi-userland.git] / components / x11 / libdga / Makefile
blob4939dc4cc5456c1188a9b51d3792e85a483f9a93
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 2015 Captain XNV
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libdga
19 COMPONENT_VERSION= 7.5
20 COMPONENT_FMRI= x11/library/libdga
21 COMPONENT_CLASSIFICATION= System/X11
22 COMPONENT_SUMMARY= X Window System SUN-DGA extension client compatibility libraries
23 COMPONENT_SRC= src
24 COMPONENT_PROJECT_URL = https://hg.java.net/hg/solaris-x11~x-s12-clone
25 COMPONENT_LICENSE= Oracle
26 COMPONENT_LICENSE_FILE= libdga.license
28 include $(WS_MAKE_RULES)/prep.mk
29 include $(WS_MAKE_RULES)/justmake.mk
30 include $(WS_MAKE_RULES)/ips.mk
32 PATH=/usr/gnu/bin:/usr/bin
34 COMPONENT_COMMON_ENV= CC=$(CC)
35 COMPONENT_COMMON_ENV+= CFLAGS="$(CFLAGS)"
36 COMPONENT_COMMON_ENV+= LDFLAGS="$(LDFLAGS)"
38 COMPONENT_BUILD_ENV+= $(COMPONENT_COMMON_ENV)
39 COMPONENT_BUILD_ARGS= VPATH=$(SOURCE_DIR) -f $(SOURCE_DIR)/Makefile
40 COMPONENT_INSTALL_ENV+= INSTALL=$(INSTALL)
41 COMPONENT_INSTALL_ENV+= DESTDIR=$(PROTO_DIR)
42 COMPONENT_INSTALL_ENV+= libdir=$(USRLIBDIR)/$(ARCHLIBSUBDIR)
44 build: $(BUILD_32) $(BUILD_64)
46 install: $(INSTALL_32) $(INSTALL_64)
48 test: $(NO_TESTS)
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += x11/library/libx11