open-src/driver/xf86-video-mga/Makefile
changeset 606 068c11b419c9
parent 493 f43507b5737d
child 705 24ca414edbff
equal deleted inserted replaced
605:e5259db5befc 606:068c11b419c9
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # xf86-video-mga Makefile
     3 # xf86-video-mga Makefile
     4 #
     4 #
     5 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     5 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
     6 # Use subject to license terms.
     6 # Use subject to license terms.
     7 #
     7 #
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     9 # copy of this software and associated documentation files (the
     9 # copy of this software and associated documentation files (the
    10 # "Software"), to deal in the Software without restriction, including
    10 # "Software"), to deal in the Software without restriction, including
    28 # Except as contained in this notice, the name of a copyright holder
    28 # Except as contained in this notice, the name of a copyright holder
    29 # shall not be used in advertising or otherwise to promote the sale, use
    29 # shall not be used in advertising or otherwise to promote the sale, use
    30 # or other dealings in this Software without prior written authorization
    30 # or other dealings in this Software without prior written authorization
    31 # of the copyright holder.
    31 # of the copyright holder.
    32 #
    32 #
    33 # @(#)Makefile	1.11	08/08/08
    33 # @(#)Makefile	1.12	09/01/14
    34 #
    34 #
    35 
    35 
    36 # Package name used in tarballs
    36 # Package name used in tarballs
    37 MODULE_NAME=xf86-video-mga
    37 MODULE_NAME=xf86-video-mga
    38 
    38 
    45 # Man pages to apply Sun footer to & attributes to list
    45 # Man pages to apply Sun footer to & attributes to list
    46 SUNTOUCHED_MANPAGES=man/*.man
    46 SUNTOUCHED_MANPAGES=man/*.man
    47 SUN_PACKAGE=SUNWxorg-graphics-ddx
    47 SUN_PACKAGE=SUNWxorg-graphics-ddx
    48 MODULE_STABILITY=Volatile
    48 MODULE_STABILITY=Volatile
    49 
    49 
       
    50 # Extra flags to pass to configure script
       
    51 # - Disable DRI since the kernel module isn't ported
       
    52 MODULE_CONFIG_OPTS=--disable-dri
       
    53 
    50 # Libraries/modules to link with
    54 # Libraries/modules to link with
    51 MODULE_LD_OPTIONS= \
    55 MODULE_LD_OPTIONS= \
    52 	-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
    56 	-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
    53 	-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/linux \
    57 	-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir)/linux \
    54 	-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    58 	-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    55 	-R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
    59 	-R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
    56 	-R$(X11_SERVERMODS_DIR)/linux$(SERVERMOD_subdir) \
    60 	-R$(X11_SERVERMODS_DIR)/linux$(SERVERMOD_subdir) \
    57 	-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    61 	-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    58 	-lexa -lfb -lint10 -lshadowfb -lvbe \
    62 	-lexa -lfb -lint10 -lpciaccess -lshadowfb -lvbe \
    59 	-lvgahw -lxaa -lxf8_32bpp -lcfb -lmfb -lfbdevhw
    63 	-lvgahw -lxaa -lxf8_32bpp -lcfb -lmfb -lfbdevhw
    60 
    64 
    61 AUTORECONF=yes
    65 AUTORECONF=yes
    62 
    66 
    63 include ../Makefile.inc
    67 include ../Makefile.inc