start building gcc-6 along with gcc49
[unleashed-userland.git] / components / x11 / xf86-video-ast / Makefile
blob5d904fd8415d4d4119c8189f055905e0c14af047
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 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= xf86-video-ast
19 COMPONENT_VERSION= 1.1.5
20 COMPONENT_SUMMARY= xf86-video-ast - ASPEED AST driver for the Xorg X server
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:1edbbc55d47d3fd71dec99b15c2483e22738c642623a0fb86ef4a81a9067a2de
25 COMPONENT_ARCHIVE_URL= \
26 http://xorg.freedesktop.org/archive/individual/driver/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://xorg.freedesktop.org
29 include $(WS_TOP)/make-rules/prep.mk
31 include $(WS_TOP)/make-rules/configure.mk
32 include $(WS_TOP)/make-rules/ips.mk
34 COMPONENT_PREP_ACTION = ( cd $(@D) && \
35 aclocal -I. && \
36 autoheader && \
37 libtoolize --automake --copy --force && \
38 automake -a -f -c &&\
39 autoconf )
41 # Paths to find libraries/modules to link with
43 SERVERMOD_SUBDIR.64=/$(MACH64)
44 SERVERMOD_SUBDIR=$(SERVERMOD_SUBDIR.$(BITS))
45 X11_SERVERMODS_DIR=/usr/lib/xorg/modules
46 X11_SERVERLIBS_DIR=/usr/lib
47 AST_LIBRARIES_i386 = -lint10 -lpciaccess -lvbe -lvgahw
49 AST_LIBRARIES = -lfb -lint10 -lpciaccess -lvbe -lvgahw
51 LD_OPTIONS+= \
52 -L$(X11_SERVERMODS_DIR)$(SERVERMOD_SUBDIR) \
53 -R$(X11_SERVERMODS_DIR)$(SERVERMOD_SUBDIR) \
54 $(AST_LIBRARIES)
57 build: $(BUILD_32_and_64)
59 install: $(INSTALL_32_and_64)