open-src/lib/libXext/Makefile
changeset 493 f43507b5737d
parent 366 7b72d11c8c92
child 851 d428083dbbdd
equal deleted inserted replaced
492:abfa40ff15ef 493:f43507b5737d
    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.1	08/03/12
    33 # @(#)Makefile	1.2	08/08/08
    34 #
    34 #
    35 
    35 
    36 # Package name used in tarballs
    36 # Package name used in tarballs
    37 LIB_MODULE=libXext
    37 MODULE_NAME=libXext
    38 
    38 
    39 # Version number (used in path names)
    39 # Version number (used in path names)
    40 LIB_VERS=1.0.4
    40 MODULE_VERSION=1.0.4
    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 	shm.patch \
    44 	shm.patch \
    45 	sun-exts.patch
    45 	sun-exts.patch
    48 LIBNAME=Xext
    48 LIBNAME=Xext
    49 
    49 
    50 # Man pages to apply Sun footer to & attributes to list
    50 # Man pages to apply Sun footer to & attributes to list
    51 SUNTOUCHED_MANPAGES=man/*.man
    51 SUNTOUCHED_MANPAGES=man/*.man
    52 SUN_PACKAGE=SUNWxwplt
    52 SUN_PACKAGE=SUNWxwplt
    53 LIB_STABILITY=Committed
    53 MODULE_STABILITY=Committed
    54 LIB_MAN_SUFFIX=3Xext
    54 LIB_MAN_SUFFIX=3Xext
    55 
    55 
    56 # Library built in tree
    56 
    57 LIB_BUILT=$(SOURCE_DIR)/src/.libs/libXext.so.0
       
    58 
    57 
    59 # pkg-config files that need to have -R added
    58 # pkg-config files that need to have -R added
    60 FIX_PC_FILES=xext.pc.in
    59 FIX_PC_FILES=xext.pc.in
    61 
    60 
    62 # Command line options to GNU autoconf configure script
       
    63 LIB_ADD_CONFIG_OPTS = --with-lint --enable-lint-library
       
    64 
       
    65 # Enable Solaris-specific code
    61 # Enable Solaris-specific code
    66 LIB_ADD_CPPFLAGS = -DSUNSOFT
    62 MODULE_CPPFLAGS = -DSUNSOFT
    67 
    63 
    68 # Link with version mapfile and libraries that contain sources that used
    64 # Link with version mapfile and libraries that contain sources that used
    69 # to be in libXext
    65 # to be in libXext
    70 LIB_ADD_LD_OPTIONS = -M $(PWD)/mapfile-vers
    66 MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
    71 
    67 
    72 # Regenerate Makefile.in's from Makefile.am's after patching them
    68 # Regenerate Makefile.in's from Makefile.am's after patching them
    73 AUTORECONF=true
    69 AUTORECONF=yes
       
    70 
       
    71 # Merge in additional sources from sun-src directory
       
    72 ADDITIONAL_SOURCE_DIR=sun-src
    74 
    73 
    75 ### Rules specific to this directory:
    74 ### Rules specific to this directory:
    76 
       
    77 # Merge in additional sources from sun-src directory
       
    78 add-sun-src:: $(LNDIR)
       
    79 	mkdir -p $(SOURCE_DIR)
       
    80 	(cd $(SOURCE_DIR) && $(LNDIR) ../../sun-src)
       
    81 
       
    82 source_gen:: add-sun-src
       
    83 
    75 
    84 DESTDIR=$(PROTODIR)
    76 DESTDIR=$(PROTODIR)
    85 INSTDIR=$(DESTDIR)$(X11_INCLUDES_DIR)/X11/extensions
    77 INSTDIR=$(DESTDIR)$(X11_INCLUDES_DIR)/X11/extensions
    86 
    78 
    87 install_gen::
    79 install_gen::