1*18c2aff7Sartem# 2*18c2aff7Sartem# CDDL HEADER START 3*18c2aff7Sartem# 4*18c2aff7Sartem# The contents of this file are subject to the terms of the 5*18c2aff7Sartem# Common Development and Distribution License (the "License"). 6*18c2aff7Sartem# You may not use this file except in compliance with the License. 7*18c2aff7Sartem# 8*18c2aff7Sartem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*18c2aff7Sartem# or http://www.opensolaris.org/os/licensing. 10*18c2aff7Sartem# See the License for the specific language governing permissions 11*18c2aff7Sartem# and limitations under the License. 12*18c2aff7Sartem# 13*18c2aff7Sartem# When distributing Covered Code, include this CDDL HEADER in each 14*18c2aff7Sartem# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*18c2aff7Sartem# If applicable, add the following below this CDDL HEADER, with the 16*18c2aff7Sartem# fields enclosed by brackets "[]" replaced with your own identifying 17*18c2aff7Sartem# information: Portions Copyright [yyyy] [name of copyright owner] 18*18c2aff7Sartem# 19*18c2aff7Sartem# CDDL HEADER END 20*18c2aff7Sartem# 21*18c2aff7Sartem# 22*18c2aff7Sartem# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*18c2aff7Sartem# Use is subject to license terms. 24*18c2aff7Sartem# 25*18c2aff7Sartem# ident "%Z%%M% %I% %E% SMI" 26*18c2aff7Sartem# 27*18c2aff7Sartem# usr/src/lib/hal/libhal/Makefile.com 28*18c2aff7Sartem# 29*18c2aff7Sartem 30*18c2aff7SartemLIBRARY = libhal.a 31*18c2aff7SartemVERS = .1.0.0 32*18c2aff7SartemVERS_MAJ = .1 33*18c2aff7SartemOBJECTS = libhal.o 34*18c2aff7SartemLIBPCSRC = hal.pc 35*18c2aff7Sartem 36*18c2aff7Sarteminclude ../../Makefile.com 37*18c2aff7Sartem 38*18c2aff7SartemLIBS = $(DYNLIB) $(LINTLIB) 39*18c2aff7SartemLDLIBS += -lc -ldbus-1 40*18c2aff7Sartem$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) 41*18c2aff7Sartem 42*18c2aff7SartemSRCDIR = ../common 43*18c2aff7Sartem 44*18c2aff7SartemCFLAGS += $(CCVERBOSE) 45*18c2aff7SartemCPPFLAGS += $(HAL_CONFIG_CPPFLAGS) 46*18c2aff7SartemCPPFLAGS += -DGETTEXT_PACKAGE=\"$(HAL_GETTEXT_PACKAGE)\" -DENABLE_NLS 47*18c2aff7Sartem 48*18c2aff7SartemROOTMAJLINK = $(ROOTLIBDIR)/$(LIBRARY:.a=.so)$(VERS_MAJ) 49*18c2aff7Sartem 50*18c2aff7Sartem.KEEP_STATE: 51*18c2aff7Sartem 52*18c2aff7Sartemall: $(LIBS) 53*18c2aff7Sartem 54*18c2aff7Sartem$(ROOTMAJLINK): 55*18c2aff7Sartem -$(RM) $@; $(SYMLINK) $(DYNLIB) $@ 56*18c2aff7Sartem 57*18c2aff7Sarteminclude $(SRC)/lib/Makefile.targ 58