xref: /onnv-gate/usr/src/lib/krb5/kadm5/clnt/Makefile (revision 2522:79989c8fe091)
10Sstevel@tonic-gate#
2*2522Sraf# CDDL HEADER START
3*2522Sraf#
4*2522Sraf# The contents of this file are subject to the terms of the
5*2522Sraf# Common Development and Distribution License (the "License").
6*2522Sraf# You may not use this file except in compliance with the License.
7*2522Sraf#
8*2522Sraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2522Sraf# or http://www.opensolaris.org/os/licensing.
10*2522Sraf# See the License for the specific language governing permissions
11*2522Sraf# and limitations under the License.
120Sstevel@tonic-gate#
13*2522Sraf# When distributing Covered Code, include this CDDL HEADER in each
14*2522Sraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2522Sraf# If applicable, add the following below this CDDL HEADER, with the
16*2522Sraf# fields enclosed by brackets "[]" replaced with your own identifying
17*2522Sraf# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
19*2522Sraf# CDDL HEADER END
20*2522Sraf#
21*2522Sraf#
22*2522Sraf# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*2522Sraf# Use is subject to license terms.
24*2522Sraf#
25*2522Sraf# ident	"%Z%%M%	%I%	%E% SMI"
26*2522Sraf#
270Sstevel@tonic-gate
280Sstevel@tonic-gateinclude		../../Makefile.lib
290Sstevel@tonic-gate
30*2522SrafSUBDIRS =	$(MACH)
31*2522Sraf$(BUILD64)SUBDIRS += $(MACH64)
320Sstevel@tonic-gate
330Sstevel@tonic-gateall :=		TARGET= all
340Sstevel@tonic-gateclean :=	TARGET= clean
350Sstevel@tonic-gateclobber :=	TARGET= clobber
360Sstevel@tonic-gateinstall :=	TARGET= install
370Sstevel@tonic-gatelint :=		TARGET= lint
380Sstevel@tonic-gate
390Sstevel@tonic-gateLIBRARY= 	libkadm5clnt.a
400Sstevel@tonic-gatePOFILE=		$(LIBRARY:%.a=%.po)
410Sstevel@tonic-gatePOFILES=	generic.po
420Sstevel@tonic-gate
430Sstevel@tonic-gate.KEEP_STATE:
440Sstevel@tonic-gate
450Sstevel@tonic-gateall clean clobber install lint: $(SUBDIRS)
460Sstevel@tonic-gate
470Sstevel@tonic-gate_msg: $(MSGDOMAIN) .WAIT $(POFILE)
480Sstevel@tonic-gate	$(RM) $(MSGDOMAIN)/$(POFILE)
490Sstevel@tonic-gate	$(CP) $(POFILE) $(MSGDOMAIN)
500Sstevel@tonic-gate
510Sstevel@tonic-gate$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
520Sstevel@tonic-gate	$(RM) $@
530Sstevel@tonic-gate	$(CAT) $(POFILES) > $@
540Sstevel@tonic-gate
550Sstevel@tonic-gategeneric.po: FRC
560Sstevel@tonic-gate	$(RM) messages.po
570Sstevel@tonic-gate	$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch] *.[ch]`
580Sstevel@tonic-gate	$(SED) "/^domain/d" messages.po > $@
590Sstevel@tonic-gate	$(RM) messages.po
600Sstevel@tonic-gate
61*2522Sraf$(SUBDIRS):	FRC
620Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
630Sstevel@tonic-gate
640Sstevel@tonic-gateFRC:
650Sstevel@tonic-gate
660Sstevel@tonic-gate$(MSGDOMAIN):
670Sstevel@tonic-gate	$(INS.dir)
68