open-src/driver/xf86-video-savage/Makefile
changeset 205 ebc6d74e4db8
parent 194 c2b76d8a41f7
child 493 f43507b5737d
equal deleted inserted replaced
204:1e79aaddd8aa 205:ebc6d74e4db8
    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.5	07/07/31
    33 # @(#)Makefile	1.6	07/08/17
    34 #
    34 #
    35 
    35 
    36 # Package name used in tarballs
    36 # Package name used in tarballs
    37 DRIVER_NAME=xf86-video-savage
    37 DRIVER_NAME=xf86-video-savage
    38 
    38 
    39 # Version number (used in path names)
    39 # Version number (used in path names)
    40 DRIVER_VERS=2.1.2
    40 DRIVER_VERS=2.1.3
    41 
    41 
    42 # Patches to apply to source after unpacking, in order
    42 # Patches to apply to source after unpacking, in order
    43 SOURCE_PATCHES = 
    43 SOURCE_PATCHES = 
    44 
    44 
    45 # Man pages to apply Sun footer to & attributes to list
    45 # Man pages to apply Sun footer to & attributes to list
    55 	-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    55 	-R$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
    56 	-lexa -lfb -lint10 -lshadowfb -lvbe -lvgahw -lxaa -lm
    56 	-lexa -lfb -lint10 -lshadowfb -lvbe -lvgahw -lxaa -lm
    57 
    57 
    58 include ../Makefile.inc
    58 include ../Makefile.inc
    59 
    59 
    60 # Strip ^M's out of source file that confuse Sun Studio cc
       
    61 source_gen::
       
    62 	(cd $(SOURCE_DIR)/src && mv savage_driver.h savage_driver.h.orig && \
       
    63 	 tr -d '\015' < savage_driver.h.orig > savage_driver.h)