xref: /titanic_41/usr/src/lib/scsi/plugins/ses/libses/Makefile.com (revision ded9341448cd6e2573619c7f6fe98909bdd35ec6)
1275c9da8Seschrock#
2275c9da8Seschrock# CDDL HEADER START
3275c9da8Seschrock#
4275c9da8Seschrock# The contents of this file are subject to the terms of the
5275c9da8Seschrock# Common Development and Distribution License (the "License").
6275c9da8Seschrock# You may not use this file except in compliance with the License.
7275c9da8Seschrock#
8275c9da8Seschrock# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9275c9da8Seschrock# or http://www.opensolaris.org/os/licensing.
10275c9da8Seschrock# See the License for the specific language governing permissions
11275c9da8Seschrock# and limitations under the License.
12275c9da8Seschrock#
13275c9da8Seschrock# When distributing Covered Code, include this CDDL HEADER in each
14275c9da8Seschrock# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15275c9da8Seschrock# If applicable, add the following below this CDDL HEADER, with the
16275c9da8Seschrock# fields enclosed by brackets "[]" replaced with your own identifying
17275c9da8Seschrock# information: Portions Copyright [yyyy] [name of copyright owner]
18275c9da8Seschrock#
19275c9da8Seschrock# CDDL HEADER END
20275c9da8Seschrock#
21275c9da8Seschrock
22275c9da8Seschrock#
23ac88567aSHyon Kim# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
24275c9da8Seschrock#
25275c9da8Seschrock
26275c9da8SeschrockMODULE =	libses
27275c9da8SeschrockSRCS =		libses.c	\
28275c9da8Seschrock		libses_elemtype.c
29275c9da8SeschrockSRCDIR =	../common
30275c9da8SeschrockPLUGINTYPE =	framework
31275c9da8Seschrock
32275c9da8Seschrockinclude ../../Makefile.lib
33275c9da8Seschrock
34275c9da8SeschrockSES2HDR =	$(ROOTPLUGINHDRDIR)/ses/framework/ses2.h
35*ded93414SHyon KimSUNPLUGINHDR =	$(ROOTPLUGINHDRDIR)/ses/vendor/sun.h
36275c9da8Seschrock
37ac88567aSHyon KimCLEANFILES +=	../common/libses_elemtype.c
38ac88567aSHyon Kim
39*ded93414SHyon Kim../common/libses_elemtype.c: ../common/mkelemtype.sh $(SES2HDR) $(SUNPLUGINHDR)
40*ded93414SHyon Kim	sh ../common/mkelemtype.sh $(SES2HDR) $(SUNPLUGINHDR) > $@
41