Makefile revision 7c2fbfb345896881c631598ee3852ce9ce33fb07
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# CDDL HEADER START
04428429c4e689333e3ef8d19a2debeb20d4d15dMark Andrews#
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# The contents of this file are subject to the terms of the
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# Common Development and Distribution License (the "License").
2a40fdc2d34adb8a5c72a748449699666032d461Mark Andrews# You may not use this file except in compliance with the License.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# or http://www.opensolaris.org/os/licensing.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# and limitations under the License.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# If applicable, add the following below this CDDL HEADER, with the
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews#
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use is subject to license terms.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews#
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsSHELL=/usr/bin/ksh93
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsinclude ../Makefile.lib
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonSUBDIRS = $(MACH)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews$(BUILD64)SUBDIRS += $(MACH64)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrewsall := TARGET= all
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsclean := TARGET= clean
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrewsclobber := TARGET= clobber
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrewsinstall := TARGET= install
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewslint := TARGET= lint
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews_msg := TARGET= _msg
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c069a20053d41ae299eb9457e50ea44ae9f73ed2Mark Andrews.KEEP_STATE:
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsall clean clobber install lint _msg: $(SUBDIRS)
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsLIBRARY= libdll.a
3f6174bffe227be44e241a29d186add00c032ff6Mark Andrews
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark AndrewsHDRS= \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews dlldefs.h
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonHDRDIR32= $(MACH)/src/lib/libdll
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsHDRDIR64= $(MACH64)/src/lib/libdll
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsinclude ../Makefile.asthdr
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsinstall_h: $(ROOTHDRS)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# We don't check these header files because they're owned by AT&T/AST
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewscheck:
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews$(SUBDIRS): FRC
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington @cd $@; pwd; $(MAKE) $(TARGET)
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsFRC:
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../Makefile.targ
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews