open-src/lib/libXinerama/Makefile
changeset 126 ca8bb92f6783
child 371 d0a78a85764b
equal deleted inserted replaced
125:44a7a2dc6e5c 126:ca8bb92f6783
       
     1 ###############################################################################
       
     2 #
       
     3 # Xinerama library Makefile
       
     4 #
       
     5 # Copyright 2007 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.3	07/03/16
       
    34 #
       
    35 
       
    36 # Package name used in tarballs
       
    37 LIB_MODULE=libXinerama
       
    38 
       
    39 # Version number (used in path names)
       
    40 LIB_VERS=1.0.2
       
    41 
       
    42 # Patches to apply to source after unpacking, in order
       
    43 SOURCE_PATCHES = sun-abi.patch
       
    44 
       
    45 # Library name
       
    46 LIBNAME=Xinerama
       
    47 
       
    48 # Man pages to apply Sun footer to & attributes to list
       
    49 SUNTOUCHED_MANPAGES=man/*.man
       
    50 SUN_PACKAGE=SUNWxwplt
       
    51 LIB_STABILITY=Uncommitted
       
    52 LIB_MAN_SUFFIX=3Xinerama
       
    53 
       
    54 # Library built in tree
       
    55 LIB_BUILT=$(SOURCE_DIR)/src/.libs/libXinerama.so.1.0.0
       
    56 
       
    57 # Needed for sun-abi.patch
       
    58 LIB_ADD_CFLAGS= -D SUNSOFT
       
    59 
       
    60 # Link with version mapfile
       
    61 LIB_ADD_LD_OPTIONS = -M $(PWD)/mapfile-vers
       
    62 
       
    63 # pkg-config files that need to have -R added
       
    64 FIX_PC_FILES=xinerama.pc.in
       
    65 
       
    66 include ../Makefile.inc