Makefile revision da14cebe459d3275048785f25bd869cb09b5307f
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater# CDDL HEADER START
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater#
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater# The contents of this file are subject to the terms of the
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater# Common Development and Distribution License (the "License").
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# You may not use this file except in compliance with the License.
59dd3b3cd954239d98ef52cd26328856cb6f2975Automatic Updater#
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater# or http://www.opensolaris.org/os/licensing.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# When distributing Covered Code, include this CDDL HEADER in each
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# If applicable, add the following below this CDDL HEADER, with the
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater# CDDL HEADER END
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
04eba969cb9a54bbda2896db2067c07b2ac5ba16Automatic Updater# Use is subject to license terms.
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# uts/common/Makefile
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews#
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsinclude $(SRC)/Makefile.master
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews.KEEP_STATE:
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# EXPORT DELETE START
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# Special target to clean up the source tree for export distribution
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Warning: This target changes the source tree
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterEXPORT_SRC:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(RM) Makefile+ Makefile.rules+
fc3576328379e813ccf6b3a6e66d9bb701a79c83Automatic Updater sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews < Makefile > Makefile+
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(MV) Makefile+ Makefile
bbb069be941f649228760edcc241122933c066d2Automatic Updater sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews < Makefile.rules > Makefile.rules+
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater $(MV) Makefile.rules+ Makefile.rules
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews $(CHMOD) 444 Makefile Makefile.rules
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# EXPORT DELETE END
ca904804e43f663f08eb1ac9d6d617930b9a3cd3Automatic Updater