pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / x11 / libXtsol / Makefile
blob0abc78ac6ebb113ce5639bf79dc75ede3086147c
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 COMPONENT_X11_DEFAULTS=no
18 include ../../../make-rules/shared-macros.mk
19 include $(WS_MAKE_RULES)/x11.mk
21 COMPONENT_NAME= libXtsol
22 COMPONENT_SRC= srcs
23 COMPONENT_VERSION= 0.5.11
24 COMPONENT_SUMMARY= libXtsol - Solaris Trusted Extensions X11 extension client library
25 COMPONENT_PROJECT_URL = https://hg.java.net/hg/solaris-x11~x-s12-clone
26 COMPONENT_CLASSIFICATION= System/Trusted
27 COMPONENT_LICENSE = MIT
28 COMPONENT_LICENSE_FILE = libXtsol.license
29 COMPONENT_FMRI = x11/trusted/libxtsol
31 include $(WS_MAKE_RULES)/justmake.mk
32 include $(WS_MAKE_RULES)/ips.mk
34 CPPFLAGS += -I/usr/include/xorg
36 MACHDIR.64=/$(MACH64)
38 COMPONENT_COMMON_ENV = CC=$(CC)
39 COMPONENT_COMMON_ENV += CFLAGS="$(CFLAGS)"
40 COMPONENT_COMMON_ENV += CPPFLAGS="$(CPPFLAGS)"
41 COMPONENT_COMMON_ENV += LDFLAGS="$(LDFLAGS)"
43 COMPONENT_BUILD_ENV += $(COMPONENT_COMMON_ENV)
44 COMPONENT_INSTALL_ENV += INSTALL=$(INSTALL)
45 COMPONENT_INSTALL_ENV += libdir=$(USRLIBDIR.$(BITS))
46 COMPONENT_INSTALL_ENV += PREFIX=/usr
48 download:
50 clobber: clean
52 $(SOURCE_DIR)/.prep:
53 $(TOUCH) $@
55 clean::
56 $(RM) $(SOURCE_DIR)/.prep
58 $(BUILD_32_and_64): Makefile
60 build: $(BUILD_32_and_64)
62 install: $(INSTALL_32_and_64)
64 test: $(NO_TESTS)
66 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
68 REQUIRED_PACKAGES += system/library
69 REQUIRED_PACKAGES += x11/library/libx11