12912Sartem# 22912Sartem# CDDL HEADER START 32912Sartem# 42912Sartem# The contents of this file are subject to the terms of the 52912Sartem# Common Development and Distribution License (the "License"). 62912Sartem# You may not use this file except in compliance with the License. 72912Sartem# 82912Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92912Sartem# or http://www.opensolaris.org/os/licensing. 102912Sartem# See the License for the specific language governing permissions 112912Sartem# and limitations under the License. 122912Sartem# 132912Sartem# When distributing Covered Code, include this CDDL HEADER in each 142912Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152912Sartem# If applicable, add the following below this CDDL HEADER, with the 162912Sartem# fields enclosed by brackets "[]" replaced with your own identifying 172912Sartem# information: Portions Copyright [yyyy] [name of copyright owner] 182912Sartem# 192912Sartem# CDDL HEADER END 202912Sartem# 212912Sartem# 22*8100SLin.Guo@Sun.COM# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 232912Sartem# Use is subject to license terms. 242912Sartem# 252912Sartem# 262912Sartem# usr/src/lib/hal/libhal/Makefile.com 272912Sartem# 282912Sartem 292912SartemLIBRARY = libhal.a 302912SartemVERS = .1.0.0 312912SartemVERS_MAJ = .1 322912SartemOBJECTS = libhal.o 332912SartemLIBPCSRC = hal.pc 342912Sartem 352912Sarteminclude ../../Makefile.com 362912Sartem 372912SartemLIBS = $(DYNLIB) $(LINTLIB) 382912SartemLDLIBS += -lc -ldbus-1 392912Sartem$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) 402912Sartem 412912SartemSRCDIR = ../common 422912Sartem 432912SartemCFLAGS += $(CCVERBOSE) 442912SartemCPPFLAGS += $(HAL_CONFIG_CPPFLAGS) 452912SartemCPPFLAGS += -DGETTEXT_PACKAGE=\"$(HAL_GETTEXT_PACKAGE)\" -DENABLE_NLS 462912Sartem 472912SartemROOTMAJLINK = $(ROOTLIBDIR)/$(LIBRARY:.a=.so)$(VERS_MAJ) 48*8100SLin.Guo@Sun.COMROOTMAJLINK64 = $(ROOTLIBDIR64)/$(LIBRARY:.a=.so)$(VERS_MAJ) 492912Sartem 502912Sartem.KEEP_STATE: 512912Sartem 522912Sartemall: $(LIBS) 532912Sartem 542912Sartem$(ROOTMAJLINK): 552912Sartem -$(RM) $@; $(SYMLINK) $(DYNLIB) $@ 562912Sartem 57*8100SLin.Guo@Sun.COM$(ROOTMAJLINK64): 58*8100SLin.Guo@Sun.COM -$(RM) $@; $(SYMLINK) $(DYNLIB) $@ 59*8100SLin.Guo@Sun.COM 602912Sarteminclude $(SRC)/lib/Makefile.targ 61