Makefile.inc revision 810
1450N/A# -*- Makefile -*- rules common to most X.Org library modules 1450N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 1450N/A# Use is subject to license terms. 1450N/A# Permission is hereby granted, free of charge, to any person obtaining a 1450N/A# copy of this software and associated documentation files (the 1450N/A# "Software"), to deal in the Software without restriction, including 1450N/A# without limitation the rights to use, copy, modify, merge, publish, 1450N/A# distribute, and/or sell copies of the Software, and to permit persons 1450N/A# to whom the Software is furnished to do so, provided that the above 1450N/A# copyright notice(s) and this permission notice appear in all copies of 1450N/A# the Software and that both the above copyright notice(s) and this 1450N/A# permission notice appear in supporting documentation. 1450N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 1450N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 1450N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 1450N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 1450N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 1450N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 1450N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 1450N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 1450N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1450N/A# Except as contained in this notice, the name of a copyright holder 1450N/A# shall not be used in advertising or otherwise to promote the sale, use 1450N/A# or other dealings in this Software without prior written authorization 1450N/A# ident "@(#)Makefile.inc 1.14 09/10/13 SMI" 1450N/A### Include common definitions 1450N/Ainclude $(TOP)/common/Makefile.init 1450N/A# Set default to build both 32-bit & 64-bit if not set in module makefile 1450N/ABUILD_TYPES_DEFAULT = $(BUILD_TYPES_SET:yes=$(POUND_SIGN)) 1450N/A$(BUILD_TYPES_DEFAULT) BUILD_TYPES=32 64 1450N/A$(BUILD_TYPES_DEFAULT) BUILD_TYPES_SET=yes 1450N/A# Changes to apply to man pages 1450N/AMODULE_MTLEVEL_DEFAULT = $(MODULE_MTLEVEL_SET:yes=$(POUND_SIGN)) 1450N/A$(MODULE_MTLEVEL_DEFAULT) MODULE_MTLEVEL=See XInitThreads(3X11) 1450N/AMODTYPE_SUNTOUCH_MAN_FLAGS= -l $(LIBNAME) -a '{MT-Level, $(MODULE_MTLEVEL)}' 1450N/A# Flags to build & link libraries with 1450N/AMODTYPE_CPPFLAGS=$(LIB_CPPFLAGS) 1450N/AMODTYPE_CFLAGS=$(LIB_CFLAGS) 1450N/AMODTYPE_CXXFLAGS=$(LIB_CXXFLAGS) 1450N/AMODTYPE_LDFLAGS=$(LIB_LDFLAGS) -lc 1450N/AMODTYPE_LD_OPTIONS=$(LIB_REQUIRED_LDFLAGS) 1450N/A# Additional command line options to GNU autoconf configure script 1450N/AMODTYPE_CONFIG_OPTS = --enable-shared=yes --enable-static=no \ 1450N/A --
libdir=
'$${exec_prefix}/lib$(MODULE_ADD_LIB_SUBDIR)$(ARCHLIBSUBDIR)' \
1450N/A# Additional environment variables to GNU autoconf configure script 1450N/AMODTYPE_CONFIG_ENV = LIB_MAN_SUFFIX=$(LIB_MAN_SUFFIX) 1450N/A# Set comments in ELF binaries to help identify versions/builds 1450N/AMODTYPE_ADD_BUILD_TARGETS=set-elf-comments 1450N/A# Additional arguments to pass to make when running make install 1450N/AMODTYPE_INSTALL_MAKEFLAGS = \ 1450N/A# Need to fix libtool interference with our linker flags 1450N/Ainclude $(TOP)/common/Makefile.inc 1450N/A# Make 64-bit link when installing 64-bit libraries 1450N/ALIB_INST_DIR=$(PROTODIR)$(MODULE_PREFIX)/lib$(MODULE_ADD_LIB_SUBDIR) 1450N/Ainstall_64:: $(LIB_INST_DIR)/64