xref: /titanic_41/usr/src/lib/krb5/ss/Makefile (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
3*7c478bd9Sstevel@tonic-gate# All rights reserved.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# lib/krb5/ss/Makefile
8*7c478bd9Sstevel@tonic-gate
9*7c478bd9Sstevel@tonic-gateinclude		../Makefile.lib
10*7c478bd9Sstevel@tonic-gate
11*7c478bd9Sstevel@tonic-gateSUBDIRS=	spec $(MACH)
12*7c478bd9Sstevel@tonic-gate
13*7c478bd9Sstevel@tonic-gateall :=		TARGET= all
14*7c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
15*7c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
16*7c478bd9Sstevel@tonic-gateinstall :=	TARGET= install
17*7c478bd9Sstevel@tonic-gatelint :=		TARGET= lint
18*7c478bd9Sstevel@tonic-gate
19*7c478bd9Sstevel@tonic-gateLIBRARY= 	libss.a
20*7c478bd9Sstevel@tonic-gate
21*7c478bd9Sstevel@tonic-gatePOFILE = $(LIBRARY:%.a=%.po)
22*7c478bd9Sstevel@tonic-gatePOFILES = generic.po
23*7c478bd9Sstevel@tonic-gate
24*7c478bd9Sstevel@tonic-gate.KEEP_STATE:
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gateall clean clobber install lint: $(SUBDIRS)
27*7c478bd9Sstevel@tonic-gate
28*7c478bd9Sstevel@tonic-gate$(MACH) spec: FRC
29*7c478bd9Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
30*7c478bd9Sstevel@tonic-gate
31*7c478bd9Sstevel@tonic-gateFRC:
32*7c478bd9Sstevel@tonic-gate
33*7c478bd9Sstevel@tonic-gate_msg: $(MSGDOMAIN) .WAIT $(POFILE)
34*7c478bd9Sstevel@tonic-gate	$(RM) $(MSGDOMAIN)/$(POFILE)
35*7c478bd9Sstevel@tonic-gate	$(CP) $(POFILE) $(MSGDOMAIN)
36*7c478bd9Sstevel@tonic-gate
37*7c478bd9Sstevel@tonic-gate$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
38*7c478bd9Sstevel@tonic-gate	$(RM) $@
39*7c478bd9Sstevel@tonic-gate	$(CAT) $(POFILES) > $@
40*7c478bd9Sstevel@tonic-gate
41*7c478bd9Sstevel@tonic-gategeneric.po: FRC
42*7c478bd9Sstevel@tonic-gate	$(RM) messages.po
43*7c478bd9Sstevel@tonic-gate	$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]`
44*7c478bd9Sstevel@tonic-gate	$(SED) "/^domain/d" messages.po > $@
45*7c478bd9Sstevel@tonic-gate	$(RM) messages.po
46*7c478bd9Sstevel@tonic-gate
47*7c478bd9Sstevel@tonic-gate$(MSGDOMAIN):
48*7c478bd9Sstevel@tonic-gate	$(INS.dir)
49