add PowerDNS recursor 3.7.3
[unleashed-userland.git] / make-rules / shared-targets.mk
blob31bee0499c6db593c76c52578b1321b7b11d1fa3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
25 # (hopefully) helpful common targets.
28 PROTOMAN1FILES=$(MAN1FILES:%=$(PROTOUSRSHAREMAN1DIR)/%)
29 PROTOMAN1MFILES=$(MAN1MFILES:%=$(PROTOUSRSHAREMAN1MDIR)/%)
30 PROTOMAN3FILES=$(MAN3FILES:%=$(PROTOUSRSHAREMAN3DIR)/%)
31 PROTOMAN4FILES=$(MAN4FILES:%=$(PROTOUSRSHAREMAN4DIR)/%)
33 $(PROTOUSRSHAREMAN1DIR)/% $(PROTOUSRSHAREMAN1MDIR)/% $(PROTOUSRSHAREMAN3DIR)/% \
34 $(PROTOUSRSHAREMAN4DIR)/%: manpages/%
35 $(INS.file)
37 PROTOSFWLINKS= $(SFWPROGS:%=$(PROTOSFWBIN)/%)
39 $(PROTOSFWLINKS): $(PROTOSFWBIN)
40 $(RM) $@ ; $(SYMLINK) ../../bin/$(@F) $@
42 PROTOSFWMAN1LINKS= $(SFWMAN1:%=$(PROTOSFWSHAREMAN1)/%)
44 $(PROTOSFWMAN1LINKS): $(PROTOSFWSHAREMAN1)
45 $(RM) $@ ; $(SYMLINK) ../../../../share/man/man1/$(@F) $@
47 PROTOGNULINKS= $(GNUPROGS:%=$(PROTOGNUBIN)/%)
49 $(PROTOGNULINKS): $(PROTOGNUBIN)
50 $(RM) $@ ; $(SYMLINK) ../../bin/g$(@F) $@
52 PROTOGNUMAN1LINKS = $(GNUMAN1:%=$(PROTOGNUSHAREMAN1)/%)
54 $(PROTOGNUMAN1LINKS): $(PROTOGNUSHAREMAN1)
55 $(RM) $@ ; $(SYMLINK) ../../../../share/man/man1/g$(@F) $@
58 $(PROTOETCDIR) \
59 $(PROTOETCSECDIR) \
60 $(PROTOLIBDIR) \
61 $(PROTOUSRSHAREMAN1DIR) \
62 $(PROTOUSRSHAREMAN1MDIR) \
63 $(PROTOUSRSHAREMAN3DIR) \
64 $(PROTOUSRSHAREMAN4DIR) \
65 $(PROTOUSRSHAREDOCDIR) \
66 $(PROTOGNUBIN) \
67 $(PROTOGNUSHAREMAN1) \
68 $(PROTOSFWBIN) \
69 $(PROTOSFWSHAREMAN1) \
70 $(PROTOUSRSBINDIR) \
71 $(PROTOUSRBINDIR):
72 $(MKDIR) $@
75 $(PROTOMAN1FILES): $(PROTOUSRSHAREMAN1DIR)
77 $(PROTOMAN1MFILES): $(PROTOUSRSHAREMAN1MDIR)
79 $(PROTOMAN3FILES): $(PROTOUSRSHAREMAN3DIR)
81 $(PROTOMAN4FILES): $(PROTOUSRSHAREMAN4DIR)