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 2015 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 8.0.0
20 COMPONENT_SUMMARY
= libglw part of the Mesa
3-D Graphics Library
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.bz2
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:2da1d06e825f073dcbad264aec7b45c649100e5bcde688ac3035b34c8dbc8597
25 COMPONENT_ARCHIVE_URL
= \
26 ftp
://ftp.freedesktop.org
/pub
/mesa
/glw
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= http
://www.mesa3d.org
/
29 include $(WS_TOP
)/make-rules
/prep.mk
30 include $(WS_TOP
)/make-rules
/configure.mk
31 include $(WS_TOP
)/make-rules
/ips.mk
33 PATH
=/usr
/gnu
/bin
:/usr
/bin
37 ARCHLIBSUBDIR
.64=/$(MACH64
)
38 ARCHLIBSUBDIR
=$(ARCHLIBSUBDIR.
$(BITS
))
40 SERVERMOD_SUBDIR
.64=/$(MACH64
)
41 SERVERMOD_SUBDIR
=$(SERVERMOD_SUBDIR.
$(BITS
))
42 X11_SERVERMODS_DIR
=/usr
/lib
/xorg
/modules
43 X11_SERVERLIBS_DIR
=/usr
/lib
/xorg
45 LDFLAGS
= -L
$(X11_SERVERLIBS_DIR
)$(ARCHLIBSUBDIR
) \
46 -R
$(X11_SERVERLIBS_DIR
)$(ARCHLIBSUBDIR
)
48 build
: $(BUILD_32_and_64
)
50 install: $(INSTALL_32_and_64
)
52 REQUIRED_PACKAGES
+= library
/motif
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= x11
/library
/libx11
55 REQUIRED_PACKAGES
+= x11
/library
/toolkit
/libxt