xref: /illumos-gate/usr/src/lib/krb5/Makefile.targ (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate#
8*7c478bd9Sstevel@tonic-gate# lib/krb5/Makefile.targ
9*7c478bd9Sstevel@tonic-gate#
10*7c478bd9Sstevel@tonic-gate# included to define local library targets
11*7c478bd9Sstevel@tonic-gate#
12*7c478bd9Sstevel@tonic-gate
13*7c478bd9Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ
14*7c478bd9Sstevel@tonic-gate
15*7c478bd9Sstevel@tonic-gatepics/%.o: ../%.c
16*7c478bd9Sstevel@tonic-gate	$(COMPILE.c)  -o $@ $<
17*7c478bd9Sstevel@tonic-gate	$(POST_PROCESS_O)
18*7c478bd9Sstevel@tonic-gate
19*7c478bd9Sstevel@tonic-gatepics/%.o: $(KADM5DIR)/%.c
20*7c478bd9Sstevel@tonic-gate	$(COMPILE.c)  -o $@ $<
21*7c478bd9Sstevel@tonic-gate	$(POST_PROCESS_O)
22*7c478bd9Sstevel@tonic-gate
23*7c478bd9Sstevel@tonic-gatepics/$(COMMONOBJS): $(COMMONSRCS)
24*7c478bd9Sstevel@tonic-gate	$(COMPILE.c) -o $@ $(COMMONSRCS)
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gate_msg: $(MSGDOMAIN) .WAIT $(POFILE)
27*7c478bd9Sstevel@tonic-gate	$(RM) $(MSGDOMAIN)/$(POFILE)
28*7c478bd9Sstevel@tonic-gate	$(CP) $(POFILE) $(MSGDOMAIN)
29*7c478bd9Sstevel@tonic-gate
30*7c478bd9Sstevel@tonic-gate$(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
31*7c478bd9Sstevel@tonic-gate	$(RM) $@
32*7c478bd9Sstevel@tonic-gate	$(CAT) $(POFILES) > $@
33*7c478bd9Sstevel@tonic-gate
34*7c478bd9Sstevel@tonic-gate$(MSGDOMAIN):
35*7c478bd9Sstevel@tonic-gate	$(INS.dir)
36*7c478bd9Sstevel@tonic-gate
37*7c478bd9Sstevel@tonic-gate# install rule for lint library target
38*7c478bd9Sstevel@tonic-gate$(ROOTLINTDIR)/%: ./%
39*7c478bd9Sstevel@tonic-gate	$(INS.file)
40