xref: /illumos-gate/usr/src/lib/libelfsign/Makefile (revision 241c90a06e8d1708235651863df515a2d522a03a)
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
27*df8bdeb3Sjohnzinclude $(SRC)/lib/Makefile.lib
28*df8bdeb3Sjohnz
29*df8bdeb3SjohnzSUBDIRS=	$(MACH)
30*df8bdeb3Sjohnz
31*df8bdeb3SjohnzPOFILE=		libelfsign.po
32*df8bdeb3SjohnzMSGFILES=	common/elfsignlib.c common/elfcertlib.c
33*df8bdeb3SjohnzXGETFLAGS=	-a
34*df8bdeb3Sjohnz
35*df8bdeb3SjohnzHDRS=		libelfsign.h
36*df8bdeb3SjohnzROOTHDRDIR=	$(ROOT)/usr/include
37*df8bdeb3SjohnzHDRDIR=		common
38*df8bdeb3Sjohnz
39*df8bdeb3Sjohnzall:=		TARGET= all
40*df8bdeb3Sjohnzclean:=		TARGET= clean
41*df8bdeb3Sjohnzclobber:=	TARGET= clobber
42*df8bdeb3Sjohnzinstall:=	TARGET= install
43*df8bdeb3Sjohnz
44*df8bdeb3Sjohnz.KEEP_STATE:
45*df8bdeb3Sjohnz
46*df8bdeb3Sjohnzall clean clobber install: .WAIT $(SUBDIRS)
47*df8bdeb3Sjohnz
48*df8bdeb3Sjohnzinstall_h:	$(ROOTHDRS)
49*df8bdeb3Sjohnz
50*df8bdeb3Sjohnzcheck:		$(CHECKHDRS)
51*df8bdeb3Sjohnz
52*df8bdeb3Sjohnzlint:	$(SUBDIRS)
53*df8bdeb3Sjohnz
54*df8bdeb3Sjohnz$(SUBDIRS):	FRC
55*df8bdeb3Sjohnz	@cd $@; pwd; $(MAKE) $(TARGET)
56*df8bdeb3Sjohnz
57*df8bdeb3Sjohnz$(POFILE): $(MSGFILES)
58*df8bdeb3Sjohnz	$(BUILDPO.msgfiles)
59*df8bdeb3Sjohnz
60*df8bdeb3Sjohnz_msg: $(MSGDOMAINPOFILE)
61*df8bdeb3Sjohnz
62*df8bdeb3Sjohnzinclude $(SRC)/Makefile.msg.targ
63*df8bdeb3Sjohnz
64*df8bdeb3SjohnzFRC:
65*df8bdeb3Sjohnz
66*df8bdeb3Sjohnzinclude $(SRC)/lib/Makefile.targ
67