Print this page
9868 unused cw translations should be removed
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/nscd/Makefile
+++ new/usr/src/cmd/nscd/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 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24 # Makefile for name service cache daemon
25 25 #
26 26
27 27 PROG= nscd
28 28 MANIFEST= name-service-cache.xml
29 29 SVCMETHOD= svc-nscd
30 30
31 31 include ../Makefile.cmd
32 32
33 33 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
34 34
35 35 OBJS= server.o getpw.o getgr.o gethost.o getnode.o \
36 36 getether.o getrpc.o getproto.o getnet.o \
37 37 getbootp.o getauth.o getserv.o \
38 38 getnetmasks.o getprinter.o getproject.o \
39 39 getexec.o getprof.o getuser.o cache.o \
40 40 nscd_biggest.o nscd_wait.o \
41 41 nscd_init.o nscd_access.o nscd_cfgfile.o nscd_config.o \
42 42 nscd_dbimpl.o nscd_getentctx.o nscd_intaddr.o \
43 43 nscd_log.o nscd_nswconfig.o nscd_nswstate.o nscd_nswcfgst.o \
44 44 nscd_seqnum.o nscd_smfmonitor.o \
45 45 nscd_switch.o nscd_nswparse.o nscd_initf.o nscd_selfcred.o \
46 46 nscd_frontend.o nscd_admin.o nscd_door.o \
47 47 gettnrhtp.o gettnrhdb.o
48 48
49 49 CLOBBERFILES= nscd
50 50
51 51 SRCS= ${OBJS:%.o=%.c}
52 52
53 53 CFLAGS += $(CCVERBOSE)
54 54 CPPFLAGS += -D_REENTRANT -DSUN_THREADS \
55 55 -I../../lib/libc/port/gen -I../../lib/libc/inc \
56 56 -I../../lib/libsldap/common
57 57 LINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2
58 58 LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
59 59 LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
60 60
61 61 CERRWARN += -_gcc=-Wno-switch
↓ open down ↓ |
61 lines elided |
↑ open up ↑ |
62 62 CERRWARN += -_gcc=-Wno-uninitialized
63 63 CERRWARN += -_gcc=-Wno-parentheses
64 64 CERRWARN += -_gcc=-Wno-type-limits
65 65
66 66 # nscd interposes on many symbols, and must export others for its own dlsym()
67 67 # use, and dlsym() calls from libc. Itemizing the interfaces within a mapfile
68 68 # is error-prone, so establish the whole object as an interposer.
69 69 LDFLAGS += $(ZINTERPOSE)
70 70
71 71 # TCOV_FLAG= -ql
72 -# GPROF_FLAG= -xpg
73 -# DEBUG_FLAG= -g
74 72
75 73 PROGLIBS= $(LDLIBS) -lresolv -lnsl -lsocket -lumem -lscf -lavl
76 74
77 75 # install macros and rule
78 76 #
79 77 ROOTPROG= ${ROOTUSRSBIN}/nscd
80 78
81 79 .KEEP_STATE:
82 80
83 81 all: $(PROG) $(NISPROG)
84 82
85 83 ${PROG}: ${OBJS}
86 84 ${LINK.c} ${OPT} -o $@ ${OBJS} ${PROGLIBS}
87 85 ${POST_PROCESS}
88 86
89 87 lint:
90 88 $(LINT.c) ${SRCS} ${PROGLIBS}
91 89
92 90 cstyle:
93 - ${CSTYLE} ${SRCS}
91 + ${CSTYLE} ${SRCS}
94 92
95 93 install: all $(ROOTPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
96 94
97 95 check: $(CHKMANIFEST)
98 96
99 97 clean:
100 98 ${RM} ${OBJS}
101 99
102 100 ${ROOTUSRSBIN}/%: %
103 101 ${INS.file}
104 102
105 103 ${ROOTUSRLIB}/%: %
106 104 ${INS.file}
107 105
108 106 include ../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX