open-src/driver/efb/Makefile
changeset 1422 e9cadc0026d8
parent 1351 9ad483eabd22
child 1447 b26f1451b601
equal deleted inserted replaced
1421:e78901f90784 1422:e9cadc0026d8
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # efb driver for Sun XVR-100 & XVR-300 boards (based on ATI Radeon)
     3 # efb driver for Sun XVR-100 & XVR-300 boards (based on ATI Radeon)
     4 #
     4 #
     5 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
     5 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
     6 #
     6 #
     7 # Permission is hereby granted, free of charge, to any person obtaining a
     7 # Permission is hereby granted, free of charge, to any person obtaining a
     8 # copy of this software and associated documentation files (the "Software"),
     8 # copy of this software and associated documentation files (the "Software"),
     9 # to deal in the Software without restriction, including without limitation
     9 # to deal in the Software without restriction, including without limitation
    10 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    10 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    90         -M $(XF86_VIDEO_ATI_SRC)/mapfile-bt829_drv-external \
    90         -M $(XF86_VIDEO_ATI_SRC)/mapfile-bt829_drv-external \
    91         -M $(XF86_VIDEO_ATI_SRC)/mapfile-fi1236_drv-external \
    91         -M $(XF86_VIDEO_ATI_SRC)/mapfile-fi1236_drv-external \
    92         -M $(XF86_VIDEO_ATI_SRC)/mapfile-msp3430_drv-external \
    92         -M $(XF86_VIDEO_ATI_SRC)/mapfile-msp3430_drv-external \
    93         -M $(XF86_VIDEO_ATI_SRC)/mapfile-tda9885_drv-external \
    93         -M $(XF86_VIDEO_ATI_SRC)/mapfile-tda9885_drv-external \
    94         -M $(XF86_VIDEO_ATI_SRC)/mapfile-uda1380_drv-external \
    94         -M $(XF86_VIDEO_ATI_SRC)/mapfile-uda1380_drv-external \
    95 	-M drv.mapfile
    95 	-M ../../$(SOURCE_DIR)/src/drv.mapfile
    96 
    96 
    97 include ../Makefile.inc
    97 include ../Makefile.inc
    98 
    98 
    99 # ATI's atombios code has ^M's at linefeeds which break Sun compilers
    99 # ATI's atombios code has ^M's at linefeeds which break Sun compilers
   100 clean_linefeeds: $(CLEAN_LINEFEED_TARGET)
   100 clean_linefeeds: $(CLEAN_LINEFEED_TARGET)
   101 $(SOURCE_ADD_TARGET): $(CLEAN_LINEFEED_TARGET)
   101 $(SOURCE_ADD_TARGET): $(CLEAN_LINEFEED_TARGET)
   102 $(PATCHED_TARGET): $(CLEAN_LINEFEED_TARGET)
   102 $(PATCHED_TARGET): $(CLEAN_LINEFEED_TARGET)
   103 
   103 
   104 $(CLEAN_LINEFEED_TARGET): $(SOURCE_INIT_TARGET)
   104 $(CLEAN_LINEFEED_TARGET): $(SOURCE_INIT_TARGET)
   105 	find $(BUILD_DIR) -type f -name '*.[ch]' | \
   105 	find $(SOURCE_DIR) -type f -name '*.[ch]' | \
   106 		xargs $(PERL) -i -p -e 's{\r\n}{\n}g'
   106 		xargs $(PERL) -i -p -e 's{\r\n}{\n}g'
   107 	touch $(CLEAN_LINEFEED_TARGET)
   107 	touch $(CLEAN_LINEFEED_TARGET)