open-src/lib/libXpm/Makefile
changeset 970 272328fe1b4a
parent 943 294f64612d23
child 1072 88d1d779286d
equal deleted inserted replaced
969:f3e9f1ddd6a8 970:272328fe1b4a
    36 TARBALL_SHA1 = 3bfc833ed4527f74b1c66c386da62271d0313413
    36 TARBALL_SHA1 = 3bfc833ed4527f74b1c66c386da62271d0313413
    37 
    37 
    38 # Patches to apply to source after unpacking, in order
    38 # Patches to apply to source after unpacking, in order
    39 SOURCE_PATCHES = setuid.patch
    39 SOURCE_PATCHES = setuid.patch
    40 
    40 
       
    41 # ARC cases that covered this module
       
    42 MODULE_ARC_CASES = PSARC/2001/060
       
    43 
    41 # Library name
    44 # Library name
    42 LIBNAME=Xpm
    45 LIBNAME=Xpm
    43 
    46 
    44 # Library man pages to apply Sun footer to & attributes to list
    47 # Library man pages to apply Sun footer to & attributes to list
    45 # SUNTOUCHED_MANPAGES=
    48 # SUNTOUCHED_MANPAGES=
    46 SUN_PACKAGE=SUNWxwplt
       
    47 MODULE_STABILITY=Uncommitted
    49 MODULE_STABILITY=Uncommitted
    48 LIB_MAN_SUFFIX=3
    50 LIB_MAN_SUFFIX=3
    49 
       
    50 
       
    51 
    51 
    52 # Link with version mapfile
    52 # Link with version mapfile
    53 MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
    53 MODULE_LD_OPTIONS = -M $(PWD)/mapfile-vers
    54 
    54 
    55 # pkg-config files that need to have -R added
    55 # pkg-config files that need to have -R added
    56 FIX_PC_FILES=xpm.pc.in
    56 FIX_PC_FILES=xpm.pc.in
    57 
    57 
    58 # Additional arguments to pass to make
    58 # Additional arguments to pass to make
    59 MODULE_MAKEFLAGS= -e SUBDIRS=src
    59 MODULE_MAKEFLAGS= -e SUBDIRS=src
    60 
    60 
       
    61 # Install documentation as well
       
    62 MODULE_ADD_INSTALL_TARGETS = install-docs
       
    63 
       
    64 # Compatibility links from /usr/X11/lib to /usr/lib
       
    65 MODULE_X11_LIBCOMPAT_LINKS = libXpm.so libXpm.so.4
       
    66 
    61 include ../Makefile.inc
    67 include ../Makefile.inc
    62 
    68 
       
    69 install-docs: $(PROTODIR)$(MODULE_DOC_DIR)/xpm.ps
       
    70 
       
    71 $(PROTODIR)$(MODULE_DOC_DIR)/xpm.ps: $(INSTALL_DEPS) $(PROTODIR)$(MODULE_DOC_DIR)
       
    72 	gzcat $(SOURCE_DIR)/xpm.PS.gz > $@