xref: /onnv-gate/usr/src/lib/hal/libhal-storage/Makefile.com (revision 8100:1c162fabbdb8)
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-storage/Makefile.com
272912Sartem#
282912Sartem
292912SartemLIBRARY =	libhal-storage.a
302912SartemVERS =		.1.0.0
312912SartemVERS_MAJ =	.1
322912SartemOBJECTS =	libhal-storage.o
332912SartemLIBPCSRC =	hal-storage.pc
342912Sartem
352912Sarteminclude ../../Makefile.com
362912Sartem
372912SartemLIBS =		$(DYNLIB) $(LINTLIB)
382912SartemLDLIBS +=	-lc -ldbus-1 -lhal
392912Sartem$(LINTLIB) := 	SRCS = $(SRCDIR)/$(LINTSRC)
402912Sartem
412912SartemSRCDIR =	../common
422912Sartem
432912SartemCFLAGS +=	$(CCVERBOSE)
442912SartemCFLAGS +=	-_gcc=-Wno-deprecated-declarations
45*8100SLin.Guo@Sun.COMCFLAGS64 +=	-_gcc=-Wno-deprecated-declarations
462912SartemCPPFLAGS +=	-DGETTEXT_PACKAGE=\"$(HAL_GETTEXT_PACKAGE)\" -DENABLE_NLS
472912SartemCPPFLAGS +=	-DPACKAGE_LOCALE_DIR=\"/usr/lib/locale\"
482912SartemCPPFLAGS +=	-I$(ROOT)/usr/include/hal
492912Sartem
502912SartemROOTMAJLINK =	$(ROOTLIBDIR)/$(LIBRARY:.a=.so)$(VERS_MAJ)
51*8100SLin.Guo@Sun.COMROOTMAJLINK64 =	$(ROOTLIBDIR64)/$(LIBRARY:.a=.so)$(VERS_MAJ)
522912Sartem
532912Sartem.KEEP_STATE:
542912Sartem
552912Sartemall:		$(LIBS)
562912Sartem
572912Sartemlint:		lintcheck
582912Sartem
592912Sartem$(ROOTMAJLINK):
602912Sartem	-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
612912Sartem
62*8100SLin.Guo@Sun.COM$(ROOTMAJLINK64):
63*8100SLin.Guo@Sun.COM	-$(RM) $@; $(SYMLINK) $(DYNLIB) $@
64*8100SLin.Guo@Sun.COM
652912Sarteminclude $(SRC)/lib/Makefile.targ
66