configure.mk revision 3040
03919b7845e461f72fa5d954b8124d27481c46b0JazzyNico# CDDL HEADER START
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# The contents of this file are subject to the terms of the
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# Common Development and Distribution License (the "License").
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# You may not use this file except in compliance with the License.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# See the License for the specific language governing permissions
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# and limitations under the License.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# When distributing Covered Code, include this CDDL HEADER in each
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# If applicable, add the following below this CDDL HEADER, with the
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# fields enclosed by brackets "[]" replaced with your own identifying
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# information: Portions Copyright [yyyy] [name of copyright owner]
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# CDDL HEADER END
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# Rules and Macros for building opens source software that uses configure /
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# GNU auto* tools to configure their build for the system they are on. This
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# uses GNU Make to build the components to take advantage of the viewpath
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# support and build multiple version (32/64 bit) from a shared source.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# To use these rules, include ../make-rules/configure.mk in your Makefile
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# and define "build", "install", and "test" targets appropriate to building
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# your component.
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# build: $(SOURCE_DIR)/build/$(MACH32)/.built \
5a2910fc1662d224eb432e8c21634d2007610f7dtavmjong-free# $(SOURCE_DIR)/build/$(MACH64)/.built
# Any additional pre/post configure, build, or install actions can be specified
CONFIGURE_MANDIR = $(CONFIGURE_PREFIX)/share/man
CONFIGURE_LOCALEDIR = $(CONFIGURE_PREFIX)/share/locale
# all texinfo documentation seems to go to /usr/share/info no matter what
CONFIGURE_INFODIR = /usr/share/info
CONFIGURE_INCLUDEDIR = /usr/include
# object/exe extension detection. which we really don't need it
CONFIGURE_ENV += "NM=/usr/gnu/bin/nm"