xref: /titanic_50/usr/src/lib/libelfsign/Makefile.com (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
1df8bdeb3Sjohnz#
2df8bdeb3Sjohnz# CDDL HEADER START
3df8bdeb3Sjohnz#
4df8bdeb3Sjohnz# The contents of this file are subject to the terms of the
5df8bdeb3Sjohnz# Common Development and Distribution License (the "License").
6df8bdeb3Sjohnz# You may not use this file except in compliance with the License.
7df8bdeb3Sjohnz#
8df8bdeb3Sjohnz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9df8bdeb3Sjohnz# or http://www.opensolaris.org/os/licensing.
10df8bdeb3Sjohnz# See the License for the specific language governing permissions
11df8bdeb3Sjohnz# and limitations under the License.
12df8bdeb3Sjohnz#
13df8bdeb3Sjohnz# When distributing Covered Code, include this CDDL HEADER in each
14df8bdeb3Sjohnz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15df8bdeb3Sjohnz# If applicable, add the following below this CDDL HEADER, with the
16df8bdeb3Sjohnz# fields enclosed by brackets "[]" replaced with your own identifying
17df8bdeb3Sjohnz# information: Portions Copyright [yyyy] [name of copyright owner]
18df8bdeb3Sjohnz#
19df8bdeb3Sjohnz# CDDL HEADER END
20df8bdeb3Sjohnz#
21*cd3e9333SAli Bahrami# Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
22df8bdeb3Sjohnz#
23df8bdeb3Sjohnz
24df8bdeb3SjohnzLIBRARY = libelfsign.a
25df8bdeb3SjohnzVERS = .1
26df8bdeb3Sjohnz
27df8bdeb3SjohnzOBJECTS = \
28df8bdeb3Sjohnz	elfcertlib.o \
29df8bdeb3Sjohnz	elfsignlib.o
30df8bdeb3Sjohnz
31df8bdeb3Sjohnzinclude $(SRC)/lib/Makefile.lib
32257873cfSJohn.Zolnowsky@Sun.COMinclude $(SRC)/lib/Makefile.rootfs
33df8bdeb3Sjohnz
34df8bdeb3SjohnzSRCDIR =	../common
35df8bdeb3Sjohnz
36df8bdeb3SjohnzLIBS =		$(DYNLIB) $(LINTLIB)
37df8bdeb3Sjohnz$(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)
38df8bdeb3Sjohnz
39df8bdeb3SjohnzLDLIBS +=	-lmd -lelf -lkmf -lcryptoutil -lc
40df8bdeb3Sjohnz
41df8bdeb3SjohnzCFLAGS +=	$(CCMT) $(CCVERBOSE)
42df8bdeb3SjohnzCPPFLAGS +=	-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
43df8bdeb3Sjohnz
44df8bdeb3Sjohnz.KEEP_STATE:
45df8bdeb3Sjohnz
46df8bdeb3Sjohnzall:		$(LIBS)
47df8bdeb3Sjohnz
48df8bdeb3Sjohnzlint:		lintcheck
49df8bdeb3Sjohnz
50df8bdeb3Sjohnzinclude $(SRC)/lib/Makefile.targ
51