14a6822d0Swillard# 24a6822d0Swillard# CDDL HEADER START 34a6822d0Swillard# 44a6822d0Swillard# The contents of this file are subject to the terms of the 54a6822d0Swillard# Common Development and Distribution License (the "License"). 64a6822d0Swillard# You may not use this file except in compliance with the License. 74a6822d0Swillard# 84a6822d0Swillard# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94a6822d0Swillard# or http://www.opensolaris.org/os/licensing. 104a6822d0Swillard# See the License for the specific language governing permissions 114a6822d0Swillard# and limitations under the License. 124a6822d0Swillard# 134a6822d0Swillard# When distributing Covered Code, include this CDDL HEADER in each 144a6822d0Swillard# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154a6822d0Swillard# If applicable, add the following below this CDDL HEADER, with the 164a6822d0Swillard# fields enclosed by brackets "[]" replaced with your own identifying 174a6822d0Swillard# information: Portions Copyright [yyyy] [name of copyright owner] 184a6822d0Swillard# 194a6822d0Swillard# CDDL HEADER END 204a6822d0Swillard# 214a6822d0Swillard# 224a6822d0Swillard# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 234a6822d0Swillard# Use is subject to license terms. 244a6822d0Swillard# 254a6822d0Swillard#ident "%Z%%M% %I% %E% SMI" 264a6822d0Swillard# 274a6822d0Swillard 284a6822d0SwillardLIBRARY= libtsalarm.a 294a6822d0SwillardVERS= .1 304a6822d0Swillard 314a6822d0Swillard# PLATFORM_OBJECTS is defined in platform Makefile 324a6822d0SwillardOBJECTS= $(PLATFORM_OBJECTS) 334a6822d0Swillard 344a6822d0Swillardinclude $(SRC)/lib/Makefile.lib 354a6822d0Swillardinclude $(SRC)/Makefile.psm 364a6822d0Swillard 374a6822d0SwillardSRCDIR = ../common 384a6822d0Swillard 394a6822d0SwillardCPPFLAGS += -I../../libpcp/common 404a6822d0Swillard 41*8696d418Sky115808LINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%) 42*8696d418Sky115808LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib) 43*8696d418Sky115808LINKED_LIBTSALARM_DIR = \ 44*8696d418Sky115808 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libtsalarm.so) 45*8696d418Sky115808LINKED_LIBTSALARM1_DIR = \ 46*8696d418Sky115808 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libtsalarm.so.1) 47*8696d418Sky115808LINKED_INCL_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/include) 48*8696d418Sky115808 494a6822d0SwillardLIBS = $(DYNLIB) 504a6822d0SwillardCFLAGS += $(CCVERBOSE) 51eb5e33ccSky115808LDLIBS += -L$(USR_PLAT_DIR)/$(PLATFORM)/lib -lpcp -lc 524a6822d0SwillardPLATLIBS = $(USR_PLAT_DIR)/$(PLATFORM)/lib 53*8696d418Sky115808INS.slink6= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libtsalarm.so.1 $@ $(CHOWNLINK) $(CHGRPLINK) 54*8696d418Sky115808INS.slink7= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libtsalarm.so $@ $(CHOWNLINK) $(CHGRPLINK) 55*8696d418Sky115808INS.slink8= $(RM) -r $@; $(SYMLINK) ../$(PLATFORM)/include $@ $(CHOWNLINK) $(CHGRPLINK) 564a6822d0Swillard 574a6822d0Swillard.KEEP_STATE: 584a6822d0Swillard 594a6822d0Swillard# 604a6822d0Swillard# build/lint rules 614a6822d0Swillard# 624a6822d0Swillardall: $(LIBS) 634a6822d0Swillard 644a6822d0Swillardlint: lintcheck 654a6822d0Swillard 664a6822d0Swillardinclude $(SRC)/lib/Makefile.targ 67