open-src/lib/libXft/Makefile
changeset 292 0cadb6330f7c
parent 208 aef5d4a25416
child 378 37921779d3c0
equal deleted inserted replaced
291:604d0a133b7a 292:0cadb6330f7c
     1 ###############################################################################
     1 ###############################################################################
     2 #
     2 #
     3 # Xft 2.x Makefile
     3 # Xft 2.x Makefile
     4 #
     4 #
     5 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     5 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     6 # Use subject to license terms.
     6 # Use subject to license terms.
     7 #
     7 #
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     8 # Permission is hereby granted, free of charge, to any person obtaining a
     9 # copy of this software and associated documentation files (the
     9 # copy of this software and associated documentation files (the
    10 # "Software"), to deal in the Software without restriction, including
    10 # "Software"), to deal in the Software without restriction, including
    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.10	07/08/28
    33 # @(#)Makefile	1.11	08/01/23
    34 #
    34 #
    35 
    35 
    36 PWD:sh=pwd
    36 PWD:sh=pwd
    37 TOP=$(PWD)/../..
    37 TOP=$(PWD)/../..
    38 
    38 
    59 # Command line options to GNU autoconf configure script
    59 # Command line options to GNU autoconf configure script
    60 LIB_ADD_CONFIG_OPTS = --mandir=$(X11_DIR)/share/man
    60 LIB_ADD_CONFIG_OPTS = --mandir=$(X11_DIR)/share/man
    61 
    61 
    62 # Paths to find libraries at build time (LD_LIBRARY_PATH) 
    62 # Paths to find libraries at build time (LD_LIBRARY_PATH) 
    63 # and run time (LD_RUN_PATH) and freetype-config binary at build time (PATH)
    63 # and run time (LD_RUN_PATH) and freetype-config binary at build time (PATH)
    64 LIBPATHS = LD_LIBRARY_PATH=$(PROTODIR)/usr/sfw/lib$(LIBSUBDIR):$(PROTODIR)/usr/openwin/lib$(LIBSUBDIR):/usr/sfw/lib$(LIBSUBDIR) LD_RUN_PATH=/usr/sfw/lib$(LIBSUBDIR) PATH=$(PROTODIR)/usr/sfw/bin$(LIBSUBDIR):$(PATH)
    64 LIBPATHS = LD_LIBRARY_PATH=$(PROTODIR)/usr/lib$(LIBSUBDIR):$(PROTODIR)/usr/openwin/lib$(LIBSUBDIR):/usr/sfw/lib$(LIBSUBDIR) LD_RUN_PATH=/usr/sfw/lib$(LIBSUBDIR) PATH=$(PROTODIR)/usr/bin$(LIBSUBDIR):$(PATH)
       
    65 LIB_ADD_LD_OPTIONS= -L$(PROTODIR)/usr/lib$(LIBSUBDIR)
       
    66 
    65 LIB_ADD_MAKEFLAGS = bindir=$(XFT_prefix)/bin$(ARCHLIBSUBDIR)
    67 LIB_ADD_MAKEFLAGS = bindir=$(XFT_prefix)/bin$(ARCHLIBSUBDIR)
    66 
    68 
    67 # Include Paths - need headers for fontconfig & freetype from build area
    69 # Include Paths - need headers for fontconfig & freetype from build area
    68 LIB_ADD_CFLAGS = -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/sfw/include
    70 LIB_ADD_CFLAGS = -I$(PROTODIR)/usr/include -I$(PROTODIR)/usr/X11/include
    69 
    71 
    70 # Library built in tree
    72 # Library built in tree
    71 LIB_BUILT=$(BUILD_DIR)/.libs/libXft.so.2
    73 LIB_BUILT=$(BUILD_DIR)/.libs/libXft.so.2
    72 
    74 
    73 # Mapfile used to control which symbols are exported
    75 # Mapfile used to control which symbols are exported
    74 XFT_MAPFILE=$(PWD)/mapfile.scope
    76 XFT_MAPFILE=$(PWD)/mapfile.scope
    75 LIB_ADD_LD_OPTIONS=-M$(XFT_MAPFILE) -lX11
    77 LIB_ADD_LD_OPTIONS += -M$(XFT_MAPFILE) -lX11
    76 
    78 
    77 # pkg-config files that need to have -R added
    79 # pkg-config files that need to have -R added
    78 FIX_PC_FILES=xft.pc.in
    80 FIX_PC_FILES=xft.pc.in
    79 
    81 
    80 include ../Makefile.inc
    82 include ../Makefile.inc