illumos-gate: omit tagged pointers on SPARC, causes panic on UltraI/II systems
[oi-userland.git] / components / x11 / mkcookie / Makefile
bloba6ed2bac71ddcdfc065c7a97b38f9be897f64b9d
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 Alexander Pyhalov
16 BUILD_BITS=64
17 BUILD_STYLE=justmake
18 COMPONENT_X11_DEFAULTS=no
19 include ../../../make-rules/shared-macros.mk
20 include $(WS_MAKE_RULES)/x11.mk
22 COMPONENT_NAME= mkcookie
23 COMPONENT_VERSION= 0.5.11
24 COMPONENT_REVISION= 1
25 COMPONENT_SUMMARY= utility used to generate fresh 'Magic Cookies'
26 COMPONENT_SRC= src
27 COMPONENT_PROJECT_URL = https://hg.java.net/hg/solaris-x11~x-s12-clone
28 COMPONENT_FMRI= x11/session/mkcookie
29 COMPONENT_LICENSE= MIT
30 COMPONENT_LICENSE_FILE= COPYING
31 COMPONENT_CLASSIFICATION= System/X11
33 include $(WS_MAKE_RULES)/common.mk
35 LDFLAGS += -L$(XORG_LIBDIR) -R$(XORG_LIBDIR)
37 COMPONENT_COMMON_ENV = CC=$(CC)
38 COMPONENT_COMMON_ENV += CFLAGS="$(CFLAGS)"
39 COMPONENT_COMMON_ENV += LDFLAGS="$(LDFLAGS)"
41 COMPONENT_BUILD_ENV += $(COMPONENT_COMMON_ENV)
42 COMPONENT_INSTALL_ENV += INSTALL=$(INSTALL)
43 COMPONENT_INSTALL_ENV += PREFIX=/usr
45 REQUIRED_PACKAGES += system/library
46 REQUIRED_PACKAGES += x11/library/libxau