Andreas Wacknitz
2024-04-05 840fd968315c15831d8af57d606ddfc5788f284a
commit | author | age
1932c6 1 #
MS 2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
22 #
23
24 #
25 # (hopefully) helpful common targets.
26 #
81cc19 27
MS 28 PROTOMAN1FILES=$(MAN1FILES:%=$(PROTOUSRSHAREMAN1DIR)/%)
8a614a 29 PROTOMAN1MFILES=$(MAN1MFILES:%=$(PROTOUSRSHAREMAN1MDIR)/%)
81cc19 30 PROTOMAN3FILES=$(MAN3FILES:%=$(PROTOUSRSHAREMAN3DIR)/%)
8a614a 31 PROTOMAN4FILES=$(MAN4FILES:%=$(PROTOUSRSHAREMAN4DIR)/%)
81cc19 32
8a614a 33 $(PROTOUSRSHAREMAN1DIR)/% $(PROTOUSRSHAREMAN1MDIR)/% $(PROTOUSRSHAREMAN3DIR)/% \
BU 34 $(PROTOUSRSHAREMAN4DIR)/%:    manpages/%
81cc19 35     $(INS.file)
MS 36
1932c6 37 PROTOSFWLINKS= $(SFWPROGS:%=$(PROTOSFWBIN)/%)
MS 38
39 $(PROTOSFWLINKS):    $(PROTOSFWBIN)
40     $(RM) $@ ; $(SYMLINK) ../../bin/$(@F) $@
41
42 PROTOSFWMAN1LINKS= $(SFWMAN1:%=$(PROTOSFWSHAREMAN1)/%)
43
44 $(PROTOSFWMAN1LINKS):    $(PROTOSFWSHAREMAN1)
45     $(RM) $@ ; $(SYMLINK) ../../../../share/man/man1/$(@F) $@
46
874137 47 PROTOGNULINKS= $(GNUPROGS:%=$(PROTOGNUBIN)/%)
MS 48
49 $(PROTOGNULINKS):       $(PROTOGNUBIN)
50     $(RM) $@ ; $(SYMLINK) ../../bin/g$(@F) $@
51
52 PROTOGNUMAN1LINKS = $(GNUMAN1:%=$(PROTOGNUSHAREMAN1)/%)
53
54 $(PROTOGNUMAN1LINKS):   $(PROTOGNUSHAREMAN1)
55     $(RM) $@ ; $(SYMLINK) ../../../../share/man/man1/g$(@F) $@
56
57
38e5af 58 $(PROTOETCDIR) \
8a614a 59 $(PROTOETCSECDIR) \
BU 60 $(PROTOLIBDIR) \
c843eb 61 $(PROTOUSRSHAREMAN1DIR) \
8a614a 62 $(PROTOUSRSHAREMAN1MDIR) \
81cc19 63 $(PROTOUSRSHAREMAN3DIR) \
8a614a 64 $(PROTOUSRSHAREMAN4DIR) \
BU 65 $(PROTOUSRSHAREDOCDIR) \
1932c6 66 $(PROTOGNUBIN) \
MS 67 $(PROTOGNUSHAREMAN1) \
68 $(PROTOSFWBIN) \
779e98 69 $(PROTOSFWSHAREMAN1) \
8a614a 70 $(PROTOUSRSBINDIR) \
779e98 71 $(PROTOUSRBINDIR):
1932c6 72     $(MKDIR) $@
MS 73
81cc19 74
MS 75 $(PROTOMAN1FILES): $(PROTOUSRSHAREMAN1DIR)
8a614a 76
BU 77 $(PROTOMAN1MFILES): $(PROTOUSRSHAREMAN1MDIR)
78
79 $(PROTOMAN3FILES): $(PROTOUSRSHAREMAN3DIR)
80
81 $(PROTOMAN4FILES): $(PROTOUSRSHAREMAN4DIR)