xref: /titanic_53/usr/src/lib/libtsalarm/Makefile.com (revision 4a6822d07d6d3f9ffe6907ef5f10d11dcadd75c6)
1*4a6822d0Swillard#
2*4a6822d0Swillard# CDDL HEADER START
3*4a6822d0Swillard#
4*4a6822d0Swillard# The contents of this file are subject to the terms of the
5*4a6822d0Swillard# Common Development and Distribution License (the "License").
6*4a6822d0Swillard# You may not use this file except in compliance with the License.
7*4a6822d0Swillard#
8*4a6822d0Swillard# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*4a6822d0Swillard# or http://www.opensolaris.org/os/licensing.
10*4a6822d0Swillard# See the License for the specific language governing permissions
11*4a6822d0Swillard# and limitations under the License.
12*4a6822d0Swillard#
13*4a6822d0Swillard# When distributing Covered Code, include this CDDL HEADER in each
14*4a6822d0Swillard# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*4a6822d0Swillard# If applicable, add the following below this CDDL HEADER, with the
16*4a6822d0Swillard# fields enclosed by brackets "[]" replaced with your own identifying
17*4a6822d0Swillard# information: Portions Copyright [yyyy] [name of copyright owner]
18*4a6822d0Swillard#
19*4a6822d0Swillard# CDDL HEADER END
20*4a6822d0Swillard#
21*4a6822d0Swillard#
22*4a6822d0Swillard# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*4a6822d0Swillard# Use is subject to license terms.
24*4a6822d0Swillard#
25*4a6822d0Swillard#ident	"%Z%%M%	%I%	%E% SMI"
26*4a6822d0Swillard#
27*4a6822d0Swillard
28*4a6822d0SwillardLIBRARY= libtsalarm.a
29*4a6822d0SwillardVERS= .1
30*4a6822d0Swillard
31*4a6822d0Swillard# PLATFORM_OBJECTS is defined in platform Makefile
32*4a6822d0SwillardOBJECTS= $(PLATFORM_OBJECTS)
33*4a6822d0Swillard
34*4a6822d0Swillardinclude $(SRC)/lib/Makefile.lib
35*4a6822d0Swillardinclude $(SRC)/Makefile.psm
36*4a6822d0Swillard
37*4a6822d0SwillardSRCDIR =	../common
38*4a6822d0Swillard
39*4a6822d0SwillardCPPFLAGS +=	-I../../libpcp/common
40*4a6822d0Swillard
41*4a6822d0SwillardLIBS = $(DYNLIB)
42*4a6822d0SwillardCFLAGS +=	$(CCVERBOSE)
43*4a6822d0SwillardLDLIBS +=	-R$(USR_PLAT_DIR)/$(PLATFORM)/lib -L$(USR_PLAT_DIR)/$(PLATFORM)/lib -lc -lpcp
44*4a6822d0SwillardPLATLIBS =	$(USR_PLAT_DIR)/$(PLATFORM)/lib
45*4a6822d0Swillard
46*4a6822d0Swillard.KEEP_STATE:
47*4a6822d0Swillard
48*4a6822d0Swillard#
49*4a6822d0Swillard# build/lint rules
50*4a6822d0Swillard#
51*4a6822d0Swillardall:	$(LIBS)
52*4a6822d0Swillard
53*4a6822d0Swillardlint:	lintcheck
54*4a6822d0Swillard
55*4a6822d0Swillardinclude $(SRC)/lib/Makefile.targ
56