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# 22*2f79bea1Sky115808# Copyright 2008 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 418696d418Sky115808LINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%) 428696d418Sky115808LINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib) 438696d418Sky115808LINKED_LIBTSALARM_DIR = \ 448696d418Sky115808 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libtsalarm.so) 458696d418Sky115808LINKED_LIBTSALARM1_DIR = \ 468696d418Sky115808 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libtsalarm.so.1) 478696d418Sky115808LINKED_INCL_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/include) 488696d418Sky115808 494a6822d0SwillardLIBS = $(DYNLIB) 504a6822d0SwillardCFLAGS += $(CCVERBOSE) 51eb5e33ccSky115808LDLIBS += -L$(USR_PLAT_DIR)/$(PLATFORM)/lib -lpcp -lc 52*2f79bea1Sky115808DYNFLAGS += -R/usr/platform/$(PLATFORM)/lib 534a6822d0SwillardPLATLIBS = $(USR_PLAT_DIR)/$(PLATFORM)/lib 548696d418Sky115808INS.slink6= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libtsalarm.so.1 $@ $(CHOWNLINK) $(CHGRPLINK) 558696d418Sky115808INS.slink7= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/libtsalarm.so $@ $(CHOWNLINK) $(CHGRPLINK) 568696d418Sky115808INS.slink8= $(RM) -r $@; $(SYMLINK) ../$(PLATFORM)/include $@ $(CHOWNLINK) $(CHGRPLINK) 574a6822d0Swillard 584a6822d0Swillard.KEEP_STATE: 594a6822d0Swillard 604a6822d0Swillard# 614a6822d0Swillard# build/lint rules 624a6822d0Swillard# 634a6822d0Swillardall: $(LIBS) 644a6822d0Swillard 654a6822d0Swillardlint: lintcheck 664a6822d0Swillard 674a6822d0Swillardinclude $(SRC)/lib/Makefile.targ 68