open-src/driver/xf86-video-mach64/Makefile
changeset 606 068c11b419c9
child 705 24ca414edbff
equal deleted inserted replaced
605:e5259db5befc 606:068c11b419c9
       
     1 ###############################################################################
       
     2 #
       
     3 # xf86-video-mach64 1.x Makefile
       
     4 #
       
     5 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
       
     6 # Use subject to license terms.
       
     7 #
       
     8 # Permission is hereby granted, free of charge, to any person obtaining a
       
     9 # copy of this software and associated documentation files (the
       
    10 # "Software"), to deal in the Software without restriction, including
       
    11 # without limitation the rights to use, copy, modify, merge, publish,
       
    12 # distribute, and/or sell copies of the Software, and to permit persons
       
    13 # to whom the Software is furnished to do so, provided that the above
       
    14 # copyright notice(s) and this permission notice appear in all copies of
       
    15 # the Software and that both the above copyright notice(s) and this
       
    16 # permission notice appear in supporting documentation.
       
    17 # 
       
    18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
    19 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
    20 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
       
    21 # OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
       
    22 # HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
       
    23 # INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
       
    24 # FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
       
    25 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
       
    26 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
       
    27 # 
       
    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
       
    30 # or other dealings in this Software without prior written authorization
       
    31 # of the copyright holder.
       
    32 #
       
    33 # @(#)Makefile	1.1	09/01/14
       
    34 #
       
    35 
       
    36 # Package name used in tarballs
       
    37 MODULE_NAME=xf86-video-mach64
       
    38 
       
    39 # Version number (used in path names)
       
    40 MODULE_VERSION=6.8.0
       
    41 
       
    42 # Patches to apply to source after unpacking, in order
       
    43 SOURCE_PATCHES = 6205248.patch  
       
    44 
       
    45 # Man pages to apply Sun footer to & attributes to list
       
    46 #SUNTOUCHED_MANPAGES=man/*.man
       
    47 SUN_PACKAGE=SUNWxorg-graphics-ddx
       
    48 MODULE_STABILITY=Volatile
       
    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 
       
    54 # Paths to find libraries/modules to link with
       
    55 MODULE_LD_OPTIONS= \
       
    56 	-L$(PROTODIR)$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
       
    57 	-L$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
       
    58 	-R$(X11_SERVERMODS_DIR)$(SERVERMOD_subdir) \
       
    59 	-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
       
    60 	-lexa -lint10 -lpciaccess -lfb -lshadowfb -lvbe -lxaa
       
    61 
       
    62 include ../Makefile.inc
       
    63 
       
    64 install_gen::
       
    65 	mkdir -p $(PROTODIR)$(X11_DOC_DIR)
       
    66 	cp -p $(SOURCE_DIR)/README.ati $(PROTODIR)$(X11_DOC_DIR)/