Print this page
onc plus-be-gone
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/login/Makefile
+++ new/usr/src/cmd/login/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
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25
26 26 PROG= login
27 27 OBJS= login.o login_audit.o
28 28 SRCS= $(OBJS:%.o=%.c)
29 -ONC_SRCS=$(SRCS:%.c=%.c_onc_plus)
30 29
31 30 DEFAULTFILES= login.dfl
32 31
33 32 include ../Makefile.cmd
34 33
35 34 LOGINDEVPERM= logindevperm
36 35 LOGINDEVPERMSRC= $(LOGINDEVPERM).sh
37 36 ROOTLOGINDEVPERM= $(LOGINDEVPERM:%=$(ROOTETC)/%)
38 37
39 38 $(ROOTLOGINDEVPERM) := FILEMODE = 644
40 39 FILEMODE= 4555
41 40
42 -CLOBBERFILES += $(LOGINDEVPERM) $(ONC_SRCS)
41 +CLOBBERFILES += $(LOGINDEVPERM)
43 42
44 43 CPPFLAGS += -DSYSV -DCONSOLE='"/dev/console"' -DSECURITY \
45 44 -D_FILE_OFFSET_BITS=64 -I$(SRC)/lib/pam_modules/krb5
46 45
47 46 LDLIBS += -lbsm -lpam -ldevinfo
48 47 CFLAGS += $(CCVERBOSE)
49 48
50 49 .KEEP_STATE:
51 50
52 51
53 52 all: $(PROG) $(ROOTLOGINDEVPERM)
54 53
55 54 $(LOGINDEVPERM): $(LOGINDEVPERMSRC)
56 55 $(RM) $(LOGINDEVPERM)
57 56 /bin/sh $(LOGINDEVPERMSRC) > $(LOGINDEVPERM)
58 57
59 58 $(PROG): $(OBJS)
60 59 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
61 60 $(POST_PROCESS)
62 61
63 62 install: all $(DIRS) $(ROOTPROG) $(ROOTETCDEFAULTFILES) $(ROOTLOGINDEVPERM)
64 63
65 64 clean:
66 65 $(RM) $(OBJS)
67 66
68 67 lint: lint_SRCS
69 68
70 69 include ../Makefile.targ
71 -
72 -# make ONC_PLUS using suffix rule
73 -#
74 -
75 -ONC_PLUS: $(ONC_SRCS)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX