Print this page
11736 Stop using $VERSION for the genunix label
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sparc/klmmod/Makefile
+++ new/usr/src/uts/sparc/klmmod/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 # Copyright (c) 2012 by Delphix. All rights reserved.
26 +# Copyright 2019 Joyent, Inc.
26 27 #
27 -# This makefile drives the production of the server-side network lock
28 -# manager kernel module.
29 -#
30 -# sparc architecture dependent
31 -#
32 28
33 29 #
34 30 # Path to the base of the uts directory tree (usually /usr/src/uts).
35 31 #
36 32 UTSBASE = ../..
37 33
38 34 #
39 35 # Define the module and object file sets.
40 36 #
41 37 MODULE = klmmod
42 38 OBJECTS = $(KLMMOD_OBJS:%=$(OBJS_DIR)/%)
43 39 LINTS = $(KLMMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
44 40 ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
45 41
46 42 #
47 43 # Include common rules.
48 44 #
49 45 include $(UTSBASE)/sparc/Makefile.sparc
50 46
51 47 #
52 48 # Define targets
53 49 #
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
54 50 ALL_TARGET = $(BINARY)
55 51 LINT_TARGET = $(MODULE).lint
56 52 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
57 53
58 54 #
59 55 # Overrides.
60 56 #
61 57 CFLAGS += $(CCVERBOSE)
62 58 LDFLAGS += -dy -Nstrmod/rpcmod -Nfs/nfs
63 59 LDFLAGS += -M $(UTSBASE)/common/klm/mapfile-mod
64 -CTFMRGFLAGS += -f
65 60
66 61 #
67 62 # Code generated by rpcgen triggers the -Wswitch warning.
68 63 #
69 64 CERRWARN += -_gcc=-Wno-switch
70 65
71 66 #
72 67 # Default build targets.
73 68 #
74 69 .KEEP_STATE:
75 70
76 71 def: $(DEF_DEPS)
77 72
78 73 all: $(ALL_DEPS)
79 74
80 75 clean: $(CLEAN_DEPS)
81 76
82 77 clobber: $(CLOBBER_DEPS)
83 78
84 79 lint: $(LINT_DEPS)
85 80
86 81 modlintlib: $(MODLINTLIB_DEPS)
87 82
88 83 clean.lint: $(CLEAN_LINT_DEPS)
89 84
90 85 install: $(INSTALL_DEPS)
91 86
92 87 #
93 88 # Include common targets.
94 89 #
95 90 include $(UTSBASE)/sparc/Makefile.targ
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX