xref: /titanic_52/usr/src/lib/libsrpt/Makefile (revision c3a558e7c77127215b010652905be7916ec5a080)
1*c3a558e7SSue Gleeson#
2*c3a558e7SSue Gleeson# CDDL HEADER START
3*c3a558e7SSue Gleeson#
4*c3a558e7SSue Gleeson# The contents of this file are subject to the terms of the
5*c3a558e7SSue Gleeson# Common Development and Distribution License (the "License").
6*c3a558e7SSue Gleeson# You may not use this file except in compliance with the License.
7*c3a558e7SSue Gleeson#
8*c3a558e7SSue Gleeson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*c3a558e7SSue Gleeson# or http://www.opensolaris.org/os/licensing.
10*c3a558e7SSue Gleeson# See the License for the specific language governing permissions
11*c3a558e7SSue Gleeson# and limitations under the License.
12*c3a558e7SSue Gleeson#
13*c3a558e7SSue Gleeson# When distributing Covered Code, include this CDDL HEADER in each
14*c3a558e7SSue Gleeson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*c3a558e7SSue Gleeson# If applicable, add the following below this CDDL HEADER, with the
16*c3a558e7SSue Gleeson# fields enclosed by brackets "[]" replaced with your own identifying
17*c3a558e7SSue Gleeson# information: Portions Copyright [yyyy] [name of copyright owner]
18*c3a558e7SSue Gleeson#
19*c3a558e7SSue Gleeson# CDDL HEADER END
20*c3a558e7SSue Gleeson#
21*c3a558e7SSue Gleeson#
22*c3a558e7SSue Gleeson# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
23*c3a558e7SSue Gleeson#
24*c3a558e7SSue Gleeson
25*c3a558e7SSue Gleesoninclude $(SRC)/lib/Makefile.lib
26*c3a558e7SSue Gleeson
27*c3a558e7SSue GleesonHDRS =		libsrpt.h
28*c3a558e7SSue GleesonHDRDIR =	common
29*c3a558e7SSue Gleeson
30*c3a558e7SSue GleesonSUBDIRS = $(MACH)
31*c3a558e7SSue Gleeson$(BUILD64)SUBDIRS += $(MACH64)
32*c3a558e7SSue Gleeson
33*c3a558e7SSue Gleesonall :=		TARGET= all
34*c3a558e7SSue Gleesonclean :=	TARGET= clean
35*c3a558e7SSue Gleesonclobber :=	TARGET= clobber
36*c3a558e7SSue Gleesoninstall :=	TARGET= install
37*c3a558e7SSue Gleesoninstall_h :=	TARGET= install_h
38*c3a558e7SSue Gleesonlint :=		TARGET= lint
39*c3a558e7SSue Gleeson
40*c3a558e7SSue Gleeson.KEEP_STATE:
41*c3a558e7SSue Gleeson
42*c3a558e7SSue Gleesonall clean clobber install lint: $(SUBDIRS)
43*c3a558e7SSue Gleeson
44*c3a558e7SSue Gleesoninstall_h: $(ROOTHDRS)
45*c3a558e7SSue Gleeson
46*c3a558e7SSue Gleesoncheck: $(CHECKHDRS)
47*c3a558e7SSue Gleeson
48*c3a558e7SSue Gleeson$(SUBDIRS): FRC
49*c3a558e7SSue Gleeson	@cd $@; pwd; $(MAKE) $(TARGET)
50*c3a558e7SSue Gleeson
51*c3a558e7SSue GleesonFRC:
52*c3a558e7SSue Gleeson
53*c3a558e7SSue Gleesoninclude $(SRC)/lib/Makefile.targ
54