xref: /titanic_41/usr/src/lib/lvm/libsvm/Makefile.com (revision fd9cb95cbb2f626355a60efb9d02c5f0a33c10e6)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29LIBRARY=      	libsvm.a
30VERS=          	.1
31OBJECTS=	check_svm.o \
32		getdrvname.o \
33		metaconf.o \
34		metainterfaces.o \
35		modops.o \
36		start_svm.o \
37		debug.o \
38		update_mdconf.o
39
40include $(SRC)/lib/lvm/Makefile.lvm
41
42ROOTLIBDIR=	$(ROOT)/usr/snadm/lib
43
44LIBS =		$(DYNLIB) # don't build a static lib
45LDLIBS +=	-lmeta -ldevid -lc
46#
47# XXX There isn't a lint library for libspmicommon.  For now, we work
48# around this by only using the library when we build (as opposed to lint).
49#
50all debug install := LDLIBS += -L/usr/snadm/lib -lspmicommon
51
52DYNFLAGS +=	-R/usr/snadm/lib
53CPPFLAGS +=	-D_FILE_OFFSET_BITS=64
54CPPFLAGS +=	-I$(SRC)/lib/lvm/libsvm/common/hdrs
55ZDEFS =
56
57MAPDIR=         $(SRC)/lib/lvm/libsvm/spec/$(TRANSMACH)
58SPECMAPFILE=	$(MAPDIR)/mapfile
59
60.KEEP_STATE:
61
62all: $(LIBS)
63
64include $(SRC)/lib/lvm/Makefile.targ
65