component(developer/golang-123): Add Component
[oi-userland.git] / components / x11 / xf86-video-savage / Makefile
blob5f9874717c8157b5684c6e714d65f9fac80af51e
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 Ken Mays
16 X11_CATEGORY=DRIVER
17 include ../../../make-rules/shared-macros.mk
18 include $(WS_MAKE_RULES)/x11.mk
20 COMPONENT_NAME= xf86-video-savage
21 COMPONENT_VERSION= 2.3.9
22 COMPONENT_REVISION= 5
23 COMPONENT_FMRI= x11/server/xorg/driver/xorg-video-savage
24 COMPONENT_SUMMARY= xf86-video-savage - S3 Savage video driver for the Xorg X server
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:2c93c4db1f71e725dda0caee5821253129d4b52d7aa0fd720593e7769bceec86
28 include $(WS_MAKE_RULES)/common.mk
30 LD_OPTIONS= -M$(COMPONENT_DIR)/mapfile.externs \
31 -L$(X11_SERVERMODS_DIR) -R$(X11_SERVERMODS_DIR) \
32 -L$(X11_SERVERLIBS_DIR) -R$(X11_SERVERLIBS_DIR) \
33 -lexa -lfb -lint10 -lpciaccess -lshadowfb -lXfont -lvbe -lvgahw -lm
35 # - Disable DRI since the kernel module isn't ported
36 CONFIGURE_OPTIONS += --disable-dri
38 CONFIGURE_ENV += with_xorg_module_dir=/usr/lib/xorg/modules/drivers/$(MACH64)
40 # Build dependencies
41 REQUIRED_PACKAGES += x11/header/x11-protocols
42 REQUIRED_PACKAGES += system/header/header-drm
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES += diagnostic/scanpci
46 REQUIRED_PACKAGES += system/library
47 REQUIRED_PACKAGES += system/library/math
48 REQUIRED_PACKAGES += x11/library/libxfont
49 REQUIRED_PACKAGES += x11/server/xorg