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
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 2019 Aurelien Larcher
18 COMPONENT_X11_DEFAULTS
=no
19 include ..
/..
/..
/make-rules
/shared-macros.mk
20 include $(WS_MAKE_RULES
)/x11.mk
22 COMPONENT_NAME
= libxaw4
23 COMPONENT_VERSION
= $(PKG_X11_VERSION
)
24 COMPONENT_FMRI
= x11
/library
/toolkit
/libxaw4
25 COMPONENT_CLASSIFICATION
=System
/X11
26 COMPONENT_SUMMARY
= libXaw4
- X Athena Widgets Toolkit
(X11R4 binary compatibility version
)
28 COMPONENT_PROJECT_URL
= https
://hg.java.net
/hg
/solaris-x11~x-s12-clone
29 COMPONENT_LICENSE
= Oracle
31 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_COMMON_ENV
= CC
=$(CC
)
36 COMPONENT_COMMON_ENV
+= CPPFLAGS
="-I$(SOURCE_DIR) "
37 COMPONENT_COMMON_ENV
+= CFLAGS
="$(CFLAGS) "
38 COMPONENT_COMMON_ENV
+= LDFLAGS
="$(LDFLAGS) -Wl,-M,$(COMPONENT_DIR)/mapfile-vers"
40 COMPONENT_BUILD_ENV
+= $(COMPONENT_COMMON_ENV
)
41 COMPONENT_BUILD_ENV
+= PKG_CONFIG_PATH
="$(PKG_CONFIG_PATH)"
42 COMPONENT_BUILD_ARGS
= VPATH
=$(SOURCE_DIR
) -f
$(SOURCE_DIR
)/Makefile
43 COMPONENT_INSTALL_ENV
+= INSTALL
=$(INSTALL
)
44 COMPONENT_INSTALL_ENV
+= DESTDIR
=$(PROTO_DIR
)
45 COMPONENT_INSTALL_ENV
+= PREFIX
=$(USRDIR
)
46 COMPONENT_INSTALL_ENV
+= libdir=$(USRLIBDIR
)
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES
+= system
/library
50 REQUIRED_PACKAGES
+= system
/library
/math
51 REQUIRED_PACKAGES
+= x11
/library
/libx11
52 REQUIRED_PACKAGES
+= x11
/library
/libxmu
53 REQUIRED_PACKAGES
+= x11
/library
/toolkit
/libxt