Makefile.inc revision 1095
456N/A# -*- Makefile -*- rules common to most X.Org utility modules
456N/A#
456N/A# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
851N/A#
851N/A# Permission is hereby granted, free of charge, to any person obtaining a
456N/A# copy of this software and associated documentation files (the "Software"),
456N/A# to deal in the Software without restriction, including without limitation
456N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
456N/A# and/or sell copies of the Software, and to permit persons to whom the
456N/A# Software is furnished to do so, subject to the following conditions:
456N/A#
456N/A# The above copyright notice and this permission notice (including the next
456N/A# paragraph) shall be included in all copies or substantial portions of the
456N/A# Software.
456N/A#
456N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
456N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
456N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
456N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
456N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
456N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
456N/A# DEALINGS IN THE SOFTWARE.
456N/A#
456N/A#
456N/A
456N/APWD:sh=pwd
456N/ATOP=$(PWD)/../../..
456N/A
456N/AMODTYPE=util
456N/A
456N/A# Hierarchical parent for pkg names in this area
851N/AMODTYPE_PKGHIER=developer/build
456N/AMODTYPE_PKGHIER_SET=yes
456N/A
456N/A# Package classification - must be a valid value recognized by pkg gui
493N/AMODULE_PKGCLASS_DEFAULT = $(MODULE_PKGCLASS_SET:yes=$(POUND_SIGN))
456N/A$(MODULE_PKGCLASS_DEFAULT) MODULE_PKGCLASS=Development/X11
456N/A$(MODULE_PKGCLASS_DEFAULT) MODULE_PKGCLASS_SET=yes
851N/A
456N/A### Include common definitions
456N/Ainclude $(TOP)/open-src/common/Makefile.init
851N/A
456N/A# Most util modules have no man pages, but show path in those that do
456N/AMODTYPE_SUNTOUCH_MAN_FLAGS= -p $(MODULE_PREFIX)/bin/
456N/A
456N/A# No common dependencies
456N/AMODTYPE_CONFIGURE_DEPS=
456N/A
456N/A# Use the flags we normally use to build & link applications with
456N/AMODTYPE_CFLAGS=$(PROG_CFLAGS)
456N/AMODTYPE_CPPFLAGS=$(PROG_CPPFLAGS)
851N/AMODTYPE_LDFLAGS=$(PROG_LDFLAGS)
851N/AMODTYPE_LD_OPTIONS=
851N/A
851N/A# Set comments in ELF binaries to help identify versions/builds
456N/AMODTYPE_ADD_BUILD_TARGETS=set-elf-comments
456N/A
456N/A### Include common rulesets
851N/Ainclude $(TOP)/open-src/common/Makefile.inc
851N/A
851N/A
851N/A
851N/A