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