Makefile revision 18c2aff776a775d34a4c9893a4c72e0434d68e36
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews# CDDL HEADER START
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews#
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# The contents of this file are subject to the terms of the
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# Common Development and Distribution License (the "License").
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# You may not use this file except in compliance with the License.
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark 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
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
01bf5871f8861eb805dd8ca79bdb9b0b9e4e6a5eMark 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# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews# Use is subject to license terms.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# ident "%Z%%M% %I% %E% SMI"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsinclude ../../Makefile.lib
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsinclude ../Makefile.com
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark AndrewsHDRS = libpolkit.h
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian WellingtonHDRDIR = common
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark AndrewsROOTHDRDIR = $(ROOT)/usr/include/libpolkit
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark AndrewsSUBDIRS = $(MACH)
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsall := TARGET= all
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrewsclean := TARGET= clean
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsclobber := TARGET= clobber
c069a20053d41ae299eb9457e50ea44ae9f73ed2Mark Andrewsinstall := TARGET= install
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews.KEEP_STATE:
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsall clean clobber install: $(SUBDIRS)
ede29aeb412c5448ab9a2028763ae08e7887ca74Mark Andrews
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark Andrewsinstall_h: $(ROOTHDRS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews$(SUBDIRS): FRC
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson @cd $@; pwd; $(MAKE) $(TARGET)
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark AndrewsFRC:
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsinclude $(SRC)/lib/Makefile.targ
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews