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