Makefile revision 833
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington###############################################################################
a02a0a8a7eb461619931f4a0e896afa247b52c54Mark Andrews# DPS Makefile
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# Use is subject to license terms.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# copy of this software and associated documentation files (the
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# "Software"), to deal in the Software without restriction, including
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# without limitation the rights to use, copy, modify, merge, publish,
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# distribute, and/or sell copies of the Software, and to permit persons
0756445a735e2df39bf798d8de42ae5dd030aa3bMark Andrews# to whom the Software is furnished to do so, provided that the above
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# copyright notice(s) and this permission notice appear in all copies of
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# the Software and that both the above copyright notice(s) and this
f8f37672a57524560fbdde52484e6ae3de1c3354Mark Andrews# permission notice appear in supporting documentation.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
a02a0a8a7eb461619931f4a0e896afa247b52c54Mark Andrews# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0756445a735e2df39bf798d8de42ae5dd030aa3bMark Andrews# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
0756445a735e2df39bf798d8de42ae5dd030aa3bMark Andrews# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
a02a0a8a7eb461619931f4a0e896afa247b52c54Mark Andrews# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# Except as contained in this notice, the name of a copyright holder
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# shall not be used in advertising or otherwise to promote the sale, use
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews# or other dealings in this Software without prior written authorization
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# of the copyright holder.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#ident "@(#)Makefile 1.2 09/11/19 SMI"
a0624cf8d5711cca4e3907859fbc8062a7e460faMark Andrews# Sources were extracted from X11R6.9 source tree, but we don't want
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# to download & unpack all that, and upstream isn't maintaining, so
a0624cf8d5711cca4e3907859fbc8062a7e460faMark Andrews# we just have a local copy here.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Library name (used for specfiles/mapfiles)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Man pages to apply Sun footer to & attributes to list
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# No configure script to run
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# Since we don't have a configure script, pass configure flags to make
068a66979695c77359e7a9181bb3f831c965b21cMark AndrewsMODULE_BUILD_MAKEFLAGS=$(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) \
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews libdir=$(MODULE_PREFIX)/lib$(MODULE_ADD_LIB_SUBDIR)$(ARCHLIBSUBDIR)