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 #
22 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
24 #
25
26 PROG = idmapd
27 MANIFEST = idmap.xml
28 SERVEROBJS = \
29 adspriv_impl.o \
30 directory_provider_builtin.o \
31 directory_provider_nsswitch.o \
32 directory_provider_ad.o \
33 directory_server.o \
34 adutils.o \
35 dbutils.o \
36 idmap_config.o \
37 idmapd.o \
38 init.o \
39 idmap_lsa.o \
40 krb5_lookup.o \
41 nldaputils.o \
42 server.o \
43 wksids.o
44
46 adspriv_srv.o \
47 rpc_svc.o
48
49 SERVERSRCS = $(SERVEROBJS:%.o=%.c)
50 GENSRCS = $(GENOBJS:%.o=%.c)
51 OBJS = $(SERVEROBJS) $(GENOBJS)
52 SRCS = $(SERVERSRCS)
53 POFILES = $(OBJS:%.o=%.po)
54
55 all := TARGET = all
56 install := TARGET = install
57 clean := TARGET = clean
58 clobber := TARGET = clobber
59
60 include ../../Makefile.cmd
61
62 CERRWARN += -_gcc=-Wno-type-limits
63 CERRWARN += -_gcc=-Wno-switch
64 CERRWARN += -_gcc=-Wno-uninitialized
65
66 TEXT_DOMAIN = SUNW_OST_OSLIB
67 XGETTEXT = $(GNUXGETTEXT)
68 XGETFLAGS = --foreign-user --strict -n -E --width=72 \
69 --omit-header --keyword=directoryError:2 \
70 --language=C --force-po
71
72 CSTD = $(CSTD_GNU99)
73 POFILE = $(PROG)_all.po
74
75 RPC_MSGOUT_OPT = -DRPC_MSGOUT=idmap_rpc_msgout
76
77 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
78 $(ROOTMANIFEST) := FILEMODE= 444
79 RPCSVC= ../../../uts/common/rpcsvc
80 ADS_CMN=../../../lib/libads/common
81
82 INCS += -I. -I../../../lib/libidmap/common \
83 -I../../../lib/libsldap/common \
84 -I../../../lib/libadutils/common \
85 -I $(ADS_CMN) \
|
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 #
22 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
24 #
25 # Copyright (c) 2018, Joyent, Inc.
26
27 PROG = idmapd
28 MANIFEST = idmap.xml
29 SERVEROBJS = \
30 adspriv_impl.o \
31 directory_provider_builtin.o \
32 directory_provider_nsswitch.o \
33 directory_provider_ad.o \
34 directory_server.o \
35 adutils.o \
36 dbutils.o \
37 idmap_config.o \
38 idmapd.o \
39 init.o \
40 idmap_lsa.o \
41 krb5_lookup.o \
42 nldaputils.o \
43 server.o \
44 wksids.o
45
47 adspriv_srv.o \
48 rpc_svc.o
49
50 SERVERSRCS = $(SERVEROBJS:%.o=%.c)
51 GENSRCS = $(GENOBJS:%.o=%.c)
52 OBJS = $(SERVEROBJS) $(GENOBJS)
53 SRCS = $(SERVERSRCS)
54 POFILES = $(OBJS:%.o=%.po)
55
56 all := TARGET = all
57 install := TARGET = install
58 clean := TARGET = clean
59 clobber := TARGET = clobber
60
61 include ../../Makefile.cmd
62
63 CERRWARN += -_gcc=-Wno-type-limits
64 CERRWARN += -_gcc=-Wno-switch
65 CERRWARN += -_gcc=-Wno-uninitialized
66
67 # not linted
68 SMATCH=off
69
70 TEXT_DOMAIN = SUNW_OST_OSLIB
71 XGETTEXT = $(GNUXGETTEXT)
72 XGETFLAGS = --foreign-user --strict -n -E --width=72 \
73 --omit-header --keyword=directoryError:2 \
74 --language=C --force-po
75
76 CSTD = $(CSTD_GNU99)
77 POFILE = $(PROG)_all.po
78
79 RPC_MSGOUT_OPT = -DRPC_MSGOUT=idmap_rpc_msgout
80
81 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
82 $(ROOTMANIFEST) := FILEMODE= 444
83 RPCSVC= ../../../uts/common/rpcsvc
84 ADS_CMN=../../../lib/libads/common
85
86 INCS += -I. -I../../../lib/libidmap/common \
87 -I../../../lib/libsldap/common \
88 -I../../../lib/libadutils/common \
89 -I $(ADS_CMN) \
|