xref: /titanic_41/usr/src/lib/libelfsign/Makefile (revision df8bdeb362277e8d95a74d6c097341fe97409948)
1*df8bdeb3Sjohnz#
2*df8bdeb3Sjohnz# CDDL HEADER START
3*df8bdeb3Sjohnz#
4*df8bdeb3Sjohnz# The contents of this file are subject to the terms of the
5*df8bdeb3Sjohnz# Common Development and Distribution License (the "License").
6*df8bdeb3Sjohnz# You may not use this file except in compliance with the License.
7*df8bdeb3Sjohnz#
8*df8bdeb3Sjohnz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*df8bdeb3Sjohnz# or http://www.opensolaris.org/os/licensing.
10*df8bdeb3Sjohnz# See the License for the specific language governing permissions
11*df8bdeb3Sjohnz# and limitations under the License.
12*df8bdeb3Sjohnz#
13*df8bdeb3Sjohnz# When distributing Covered Code, include this CDDL HEADER in each
14*df8bdeb3Sjohnz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*df8bdeb3Sjohnz# If applicable, add the following below this CDDL HEADER, with the
16*df8bdeb3Sjohnz# fields enclosed by brackets "[]" replaced with your own identifying
17*df8bdeb3Sjohnz# information: Portions Copyright [yyyy] [name of copyright owner]
18*df8bdeb3Sjohnz#
19*df8bdeb3Sjohnz# CDDL HEADER END
20*df8bdeb3Sjohnz#
21*df8bdeb3Sjohnz
22*df8bdeb3Sjohnz#
23*df8bdeb3Sjohnz# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24*df8bdeb3Sjohnz# Use is subject to license terms.
25*df8bdeb3Sjohnz#
26*df8bdeb3Sjohnz# lib/libelfsign/Makefile
27*df8bdeb3Sjohnz#
28*df8bdeb3Sjohnz#ident	"%Z%%M%	%I%	%E% SMI"
29*df8bdeb3Sjohnz
30*df8bdeb3Sjohnzinclude $(SRC)/lib/Makefile.lib
31*df8bdeb3Sjohnz
32*df8bdeb3SjohnzSUBDIRS=	$(MACH)
33*df8bdeb3Sjohnz
34*df8bdeb3SjohnzPOFILE=		libelfsign.po
35*df8bdeb3SjohnzMSGFILES=	common/elfsignlib.c common/elfcertlib.c
36*df8bdeb3SjohnzXGETFLAGS=	-a
37*df8bdeb3Sjohnz
38*df8bdeb3SjohnzHDRS=		libelfsign.h
39*df8bdeb3SjohnzROOTHDRDIR=	$(ROOT)/usr/include
40*df8bdeb3SjohnzHDRDIR=		common
41*df8bdeb3Sjohnz
42*df8bdeb3Sjohnzall:=		TARGET= all
43*df8bdeb3Sjohnzclean:=		TARGET= clean
44*df8bdeb3Sjohnzclobber:=	TARGET= clobber
45*df8bdeb3Sjohnzinstall:=	TARGET= install
46*df8bdeb3Sjohnzlint:=		TARGET= lint
47*df8bdeb3Sjohnz
48*df8bdeb3Sjohnz.KEEP_STATE:
49*df8bdeb3Sjohnz
50*df8bdeb3Sjohnzall clean clobber install: .WAIT $(SUBDIRS)
51*df8bdeb3Sjohnz
52*df8bdeb3Sjohnzinstall_h:	$(ROOTHDRS)
53*df8bdeb3Sjohnz
54*df8bdeb3Sjohnzcheck:		$(CHECKHDRS)
55*df8bdeb3Sjohnz
56*df8bdeb3Sjohnzlint:	$(SUBDIRS)
57*df8bdeb3Sjohnz
58*df8bdeb3Sjohnz$(SUBDIRS):	FRC
59*df8bdeb3Sjohnz	@cd $@; pwd; $(MAKE) $(TARGET)
60*df8bdeb3Sjohnz
61*df8bdeb3Sjohnz$(POFILE): $(MSGFILES)
62*df8bdeb3Sjohnz	$(BUILDPO.msgfiles)
63*df8bdeb3Sjohnz
64*df8bdeb3Sjohnz_msg: $(MSGDOMAINPOFILE)
65*df8bdeb3Sjohnz
66*df8bdeb3Sjohnzinclude $(SRC)/Makefile.msg.targ
67*df8bdeb3Sjohnz
68*df8bdeb3SjohnzFRC:
69*df8bdeb3Sjohnz
70*df8bdeb3Sjohnzinclude $(SRC)/lib/Makefile.targ
71