Makefile.inc revision 493
156N/A# -*- Makefile -*- rules common to most X.Org protocol modules
32N/A#
493N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
32N/A# Use subject to license terms.
32N/A#
32N/A# Permission is hereby granted, free of charge, to any person obtaining a
32N/A# copy of this software and associated documentation files (the
32N/A# "Software"), to deal in the Software without restriction, including
32N/A# without limitation the rights to use, copy, modify, merge, publish,
32N/A# distribute, and/or sell copies of the Software, and to permit persons
32N/A# to whom the Software is furnished to do so, provided that the above
32N/A# copyright notice(s) and this permission notice appear in all copies of
32N/A# the Software and that both the above copyright notice(s) and this
32N/A# permission notice appear in supporting documentation.
32N/A#
32N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
32N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
32N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
32N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
32N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
32N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
32N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
32N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
32N/A#
32N/A# Except as contained in this notice, the name of a copyright holder
32N/A# shall not be used in advertising or otherwise to promote the sale, use
32N/A# or other dealings in this Software without prior written authorization
32N/A# of the copyright holder.
32N/A#
493N/A# @(#)Makefile.inc 1.6 08/08/08
32N/A#
32N/A
32N/APWD:sh=pwd
32N/ATOP=$(PWD)/../..
32N/A
493N/AMODTYPE=proto
493N/A
493N/A### Include common definitions
493N/Ainclude $(TOP)/common/Makefile.init
493N/A
493N/A# Most proto modules have no man pages
493N/AMODTYPE_SUNTOUCH_MAN_FLAGS=
32N/A
493N/A# No common dependencies
493N/AMODTYPE_CONFIGURE_DEPS=
493N/A
493N/A# Most proto modules have nothing to build, for those that do, use lib flags
493N/AMODTYPE_CFLAGS=$(LIB_CFLAGS)
493N/AMODTYPE_LDFLAGS=$(LIB_LDFLAGS)
493N/AMODTYPE_LD_OPTIONS=
32N/A
32N/A### Include common rulesets
32N/Ainclude $(TOP)/common/Makefile.inc
32N/A
493N/A# Install
493N/Adefault_install::
32N/A (cd $(SOURCE_DIR) ; \
40N/A $(MAKE) $(MFLAGS) -e DESTDIR=$(PROTODIR) pkgconfigdir=/usr/lib/$(SUBDIR64)/pkgconfig install-pkgconfigDATA )
32N/A
32N/A
32N/A