1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 # the following vars come from ../dynconfig/config.m4
23 #LIBEXECDIR=@LIBEXECDIR@
27 #SCRIPTSBINDIR=@SCRIPTSBINDIR@
28 #PYTHONDIR=@PYTHONDIR@
29 #PYTHONARCHDIR=@PYTHONARCHDIR@
30 MODULESDIR
=@MODULESDIR@
31 INCLUDEDIR
=@INCLUDEDIR@
33 #PKGCONFIGDIR=@PKGCONFIGDIR@
34 CODEPAGEDIR
=@CODEPAGEDIR@
35 PAMMODULESDIR
=@PAMMODULESDIR@
37 PRIVATE_DIR
=@PRIVATE_DIR@
42 LOGFILEBASE
=@LOGFILEBASE@
43 SOCKET_DIR
=@SOCKET_DIR@
44 PRIVILEGED_SOCKET_DIR
=@PRIVILEGED_SOCKET_DIR@
45 WINBINDD_SOCKET_DIR
=@WINBINDD_SOCKET_DIR@
46 WINBINDD_PRIVILEGED_SOCKET_DIR
=@WINBINDD_PRIVILEGED_SOCKET_DIR@
47 NMBDSOCKETDIR
=@NMBDSOCKETDIR@
48 #NTP_SIGND_SOCKET_DIR=@NTP_SIGND_SOCKET_DIR@
49 NCALRPCDIR
=@NCALRPCDIR@
50 CONFIGFILE
=@CONFIGFILE@
51 LMHOSTSFILE
=@LMHOSTSFILE@
52 SMB_PASSWD_FILE
=@SMB_PASSWD_FILE@
54 selftest_prefix
=@selftest_prefix@
59 LIB_PATH_VAR
=@LIB_PATH_VAR@
61 ## Dynamic shared libraries build settings
62 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
63 DSO_EXPORTS
=@DSO_EXPORTS@
64 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
66 # The MODULE_EXPORTS variable contains the platform-specific linker flags
67 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
68 MODULE_EXPORTS
=@MODULE_EXPORTS@
70 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
71 # (GCC) warnings. This is done automatically for --enable-developer,
72 # --enable-picky-developer and --enable-krb5developer.
73 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
76 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
80 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
81 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
82 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
84 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
93 TERMLDFLAGS
=@TERMLDFLAGS@
95 PRINT_LIBS
=@PRINT_LIBS@
99 PASSDB_LIBS
=@PASSDB_LIBS@
100 IDMAP_LIBS
=@IDMAP_LIBS@
102 LDAP_LIBS
=@LDAP_LIBS@
103 NSCD_LIBS
=@NSCD_LIBS@
104 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
105 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
106 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
107 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
108 DNSSD_LIBS
=@DNSSD_LIBS@
109 AVAHI_LIBS
=@AVAHI_LIBS@
111 LIBTALLOC
=@LIBTALLOC_STATIC@
112 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
113 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
114 LIBTDB
=@LIBTDB_STATIC@
115 LIBTDB_LIBS
=@LIBTDB_LIBS@
117 LIBNTDB
=@LIBNTDB_STATIC@
118 LIBNTDB_LIBS
=@LIBNTDB_LIBS@
119 NTDB_DEPS
=@NTDB_DEPS@
120 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
121 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
122 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
123 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
125 TALLOCTORT
= @TALLOCTORT@
127 TDBBACKUP
= @TDBBACKUP@
130 TDBRESTORE
= @TDBRESTORE@
131 TDBTORTURE
= @TDBTORTURE@
132 NTDBBACKUP
= @NTDBBACKUP@
133 NTDBTOOL
= @NTDBTOOL@
134 NTDBDUMP
= @NTDBDUMP@
135 NTDBRESTORE
= @NTDBRESTORE@
136 NTDBTORTURE
= @NTDBTORTURE@
137 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
140 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
141 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
142 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
143 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
147 builddir
=@abs_builddir@
148 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
149 # will search for a POSIX-compliant shell, and that might not be
150 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
154 # See the autoconf manual "Installation Directory Variables" for a
155 # discussion of the subtle use of these variables.
157 VFSLIBDIR
= $(MODULESDIR
)/vfs
158 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
159 PDBLIBDIR
= $(MODULESDIR
)/pdb
160 RPCLIBDIR
= $(MODULESDIR
)/rpc
161 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
162 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
163 AUTHLIBDIR
= $(MODULESDIR
)/auth
164 CONFIGLIBDIR
= $(MODULESDIR
)/config
165 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
166 VARDIR
= @localstatedir@
168 # The permissions to give the executables and other data
169 INSTALLPERMS_BIN
= 0755
170 INSTALLPERMS_DATA
= 0644
180 -I.
/..
/lib
/ldb
/include \
183 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
184 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
185 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
186 -DSBINDIR
=\"$(SBINDIR
)\" \
187 -DBINDIR
=\"$(BINDIR
)\" \
188 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
189 -DLOCKDIR
=\"$(LOCKDIR
)\" \
190 -DPIDDIR
=\"$(PIDDIR
)\" \
191 -DLIBDIR
=\"$(LIBDIR
)\" \
192 -DMODULESDIR
=\"$(MODULESDIR
)\" \
193 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
194 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
195 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
196 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
197 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
198 -DCACHEDIR
=\"$(CACHEDIR
)\" \
199 -DSTATEDIR
=\"$(STATEDIR
)\" \
200 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
201 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
202 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
203 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
204 -DDATADIR
=\"$(DATADIR
)\" \
205 -DSETUPDIR
=\"$(SETUPDIR
)\"
207 # You usually want both TDB and NTDB.
208 LIBTDBS
=$(LIBTDB
) $(LIBNTDB
)
209 LIBTDBS_LIBS
=$(LIBTDB_LIBS
) $(LIBNTDB_LIBS
)
210 TDBS_DEPS
=$(TDB_DEPS
) $(NTDB_DEPS
)
212 # Note that all executable programs now provide for an optional executable suffix.
214 SBIN_PROGS
= bin
/smbd bin
/nmbd @EXTRA_SBIN_PROGS@
216 BIN_PROGS1
= bin
/smbclient bin
/net bin
/smbspool \
217 bin
/testparm bin
/smbstatus bin
/smbget \
219 BIN_PROGS2
= bin
/smbcontrol bin
/smbtree
$(TDBBACKUP
) \
220 bin
/nmblookup bin
/pdbedit
$(TDBDUMP
) \
221 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool
222 BIN_PROGS3
= bin
/smbpasswd bin
/rpcclient bin
/smbcacls \
223 bin
/profiles bin
/ntlm_auth bin
/sharesec \
224 bin
/smbcquotas bin
/eventlogadm
226 TORTURE_PROGS
= bin
/smbtorture3 bin
/msgtest \
227 bin
/locktest2 bin
/nsstest bin
/vfstest \
228 $(TALLOCTORT
) bin
/replacetort \
229 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
230 bin
/smbconftort bin
/vlp
232 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
233 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
235 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
236 $(TALLOCTORT
) bin
/replacetort \
242 PAM_MODULES
= @PAM_MODULES@
244 NSS_MODULES
= @NSS_MODULES@
246 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
248 VFS_MODULES
= @VFS_MODULES@
249 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
250 PDB_MODULES
= @PDB_MODULES@
251 IDMAP_MODULES
= @IDMAP_MODULES@
252 AUTH_MODULES
= @AUTH_MODULES@
253 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
254 GPEXT_MODULES
= @GPEXT_MODULES@
255 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
256 $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
257 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
259 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
261 ######################################################################
263 ######################################################################
265 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
266 ..
/lib
/tdb_wrap
/tdb_wrap.o \
267 ..
/lib
/dbwrap
/dbwrap.o \
268 ..
/lib
/dbwrap
/dbwrap_local_open.o \
269 lib
/dbwrap
/dbwrap_open.o \
270 ..
/lib
/dbwrap
/dbwrap_tdb.o \
271 ..
/lib
/util
/util_ntdb.o \
272 ..
/lib
/dbwrap
/dbwrap_ntdb.o \
273 lib
/dbwrap
/dbwrap_ctdb.o \
275 ..
/lib
/dbwrap
/dbwrap_cache.o \
276 lib
/dbwrap
/dbwrap_watch.o \
277 ..
/lib
/dbwrap
/dbwrap_rbt.o \
278 ..
/lib
/dbwrap
/dbwrap_util.o
280 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
282 SMBLDAP_OBJ
= @SMBLDAP@
284 VERSION_OBJ
= lib
/version.o
286 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
290 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
292 AVAHI_OBJ
= @AVAHI_OBJ@
294 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
296 PASSCHANGE_OBJ
= libsmb
/passchange.o
298 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
299 ..
/librpc
/ndr
/ndr_compression.o \
300 autoconf
/librpc
/gen_ndr
/ndr_drsuapi.o \
301 ..
/librpc
/ndr
/ndr_drsblobs.o \
302 autoconf
/librpc
/gen_ndr
/ndr_drsblobs.o
304 ZLIB_OBJ
= @ZLIB_OBJS@
306 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
309 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
312 LIBNDR_NTLMSSP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntlmssp.o \
313 ..
/librpc
/ndr
/ndr_ntlmssp.o
315 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
316 ..
/librpc
/ndr
/ndr.o \
317 ..
/librpc
/ndr
/ndr_misc.o \
318 autoconf
/librpc
/gen_ndr
/ndr_misc.o \
319 autoconf
/librpc
/gen_ndr
/ndr_security.o \
320 ..
/librpc
/ndr
/ndr_sec_helper.o \
321 ..
/librpc
/ndr
/ndr_string.o \
322 ..
/librpc
/ndr
/uuid.o \
323 ..
/librpc
/ndr
/util.o \
324 autoconf
/librpc
/gen_ndr
/ndr_server_id.o \
325 autoconf
/librpc
/gen_ndr
/ndr_file_id.o \
326 autoconf
/librpc
/gen_ndr
/ndr_dcerpc.o
328 LIBNDR_GEN_OBJ0
= autoconf
/librpc
/gen_ndr
/ndr_samr.o \
329 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
331 LIBNDR_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon.o \
332 ..
/librpc
/ndr
/ndr_netlogon.o
334 LIBNDR_SCHANNEL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_schannel.o \
335 ..
/librpc
/ndr
/ndr_schannel.o
337 LIBNDR_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss.o \
338 ..
/librpc
/ndr
/ndr_spoolss_buf.o
340 LIBNDR_NTPRINTING_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
341 ..
/librpc
/ndr
/ndr_ntprinting.o
343 LIBNDR_PREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_preg.o \
344 ..
/librpc
/ndr
/ndr_preg.o
346 LIBNDR_XATTR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_xattr.o \
347 ..
/librpc
/ndr
/ndr_xattr.o
349 LIBNDR_NFS4ACL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_nfs4acl.o
351 LIBCLI_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss_c.o \
352 rpc_client
/cli_spoolss.o \
353 rpc_client
/init_spoolss.o \
354 rpc_client
/cli_winreg_spoolss.o \
355 printing
/nt_printing_os2.o
357 LIBCLI_EVENTLOG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_eventlog_c.o
359 LIBCLI_WINREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_winreg_c.o \
360 rpc_client
/cli_winreg.o
362 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
363 rpc_client
/cli_winreg_int.o
365 LIBCLI_NTSVCS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
367 LIBCLI_DRSUAPI_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_drsuapi_c.o
369 LIBCLI_DFS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dfs_c.o
371 LIBCLI_ECHO_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_echo_c.o
373 LIBCLI_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_initshutdown_c.o
375 LIBCLI_DSSETUP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dssetup_c.o
377 LIBCLI_SVCCTL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_svcctl_c.o
379 LIBCLI_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc_c.o
381 LIBCLI_SRVSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_srvsvc_c.o
383 LIBCLI_LSA_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_lsa_c.o \
384 rpc_client
/cli_lsarpc.o \
385 rpc_client
/init_lsa.o
387 LIBCLI_SAMR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_samr_c.o \
388 rpc_client
/cli_samr.o
390 LIBCLI_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon_c.o \
391 rpc_client
/cli_netlogon.o \
392 rpc_client
/util_netlogon.o \
393 rpc_client
/init_netlogon.o
395 LIBCLI_EPMAPPER_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_epmapper_c.o
397 LIBCLI_FSRVP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_fsrvp_c.o
399 LIBNDR_GEN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc.o \
401 autoconf
/librpc
/gen_ndr
/ndr_dfs.o \
402 autoconf
/librpc
/gen_ndr
/ndr_dfsblobs.o \
403 autoconf
/librpc
/gen_ndr
/ndr_echo.o \
404 autoconf
/librpc
/gen_ndr
/ndr_winreg.o \
405 autoconf
/librpc
/gen_ndr
/ndr_initshutdown.o \
406 autoconf
/librpc
/gen_ndr
/ndr_srvsvc.o \
407 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
408 $(LIBNDR_NETLOGON_OBJ
) \
409 autoconf
/librpc
/gen_ndr
/ndr_dssetup.o \
410 autoconf
/librpc
/gen_ndr
/ndr_epmapper.o \
411 autoconf
/librpc
/gen_ndr
/ndr_ntsvcs.o \
412 $(LIBNDR_SPOOLSS_OBJ
) \
413 autoconf
/librpc
/gen_ndr
/ndr_fsrvp.o
415 # this includes only the low level parse code, not stuff
416 # that requires knowledge of security contexts
417 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
419 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
421 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
422 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
423 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
427 $(SOCKET_WRAPPER_OBJ
) \
431 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
432 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
433 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
434 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
435 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
436 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
437 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
438 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
439 ..
/lib
/util
/tevent_werror.o ..
/lib
/util
/util_process.o\
440 lib
/tevent_barrier.o \
441 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
442 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
443 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o \
444 ..
/lib
/util
/setid.o ..
/lib
/util
/pidfile.o ..
/lib
/util
/getpass.o
446 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
447 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
448 ..
/lib
/crypto
/md4.o \
449 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
450 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
451 ..
/lib
/crypto
/aes_cmac_128.o ..
/lib
/crypto
/aes_ccm_128.o
453 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
454 lib
/messages.o autoconf
/librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
455 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
459 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
463 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
466 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
467 ..
/lib
/util
/charset
/pull_push.o \
468 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
469 lib
/interface.o lib
/dumpcore.o \
470 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
472 ..
/libds
/common
/flag_mapping.o \
473 lib
/access.o lib
/smbrun.o \
474 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
476 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
477 ..
/lib
/util
/util_str.o \
478 ..
/lib
/util
/base64.o lib
/util_sid.o \
479 ..
/lib
/util
/charset
/util_unistr.o \
480 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
481 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
482 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
483 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o \
484 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
485 lib
/tallocmsg.o lib
/dmallocmsg.o \
486 ..
/libcli
/smb
/smb_signing.o \
487 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
488 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
489 lib
/adt_tree.o lib
/gencache.o \
490 ..
/lib
/util
/modules.o lib
/events.o ..
/lib
/util
/tevent_debug.o @LIBTEVENT_OBJ0@ \
492 lib
/server_contexts.o \
493 lib
/server_prefork.o \
494 lib
/server_prefork_util.o \
496 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
497 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
498 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
499 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
501 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
502 lib
/file_id.o lib
/idmap_cache.o \
504 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
505 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
506 ..
/libcli
/smb
/util.o ..
/lib
/util
/idtree.o
508 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
509 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
511 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
513 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
514 # Be sure to include them into your application
515 POPT_LIB_OBJ
= lib
/popt_common.o
517 PARAM_WITHOUT_REG_OBJ
= ..
/dynconfig
/dynconfig.o param
/loadparm.o param
/loadparm_ctx.o ..
/lib
/param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o ..
/lib
/param
/loadparm.o ..
/lib
/param
/util.o
518 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
519 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
521 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
523 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
524 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
525 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
527 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
529 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
530 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
533 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
535 LIBADS_OBJ
= libads
/ldap.o \
536 libads
/sasl.o libads
/sasl_wrapping.o \
537 libads
/krb5_setpw.o \
538 libads
/kerberos_util.o \
540 libads
/ads_struct.o libads
/kerberos_keytab.o \
541 libads
/disp_sec.o libads
/ldap_utils.o \
542 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
544 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
545 ..
/librpc
/ndr
/ndr_krb5pac.o \
546 autoconf
/librpc
/gen_ndr
/ndr_krb5pac.o
548 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
550 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
551 autoconf
/librpc
/gen_ndr
/ndr_secrets.o \
554 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
555 ..
/libcli
/netlogon
/netlogon.o \
556 autoconf
/librpc
/gen_ndr
/ndr_nbt.o \
557 ..
/librpc
/ndr
/ndr_nbt.o \
558 autoconf
/librpc
/gen_ndr
/ndr_svcctl.o \
559 ..
/librpc
/ndr
/ndr_svcctl.o
561 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
562 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
563 ..
/lib
/addns
/dnsquery.o libads
/sitename_cache.o
565 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
566 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
567 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
568 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
570 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
572 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
574 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
579 ..
/libcli
/auth
/spnego_parse.o \
580 ..
/libcli
/auth
/ntlm_check.o \
582 libsmb
/ntlmssp_wrap.o \
583 libsmb
/auth_generic.o \
584 ..
/lib
/krb5_wrap
/krb5_samba.o \
586 ..
/auth
/gensec
/gensec.o \
587 ..
/auth
/gensec
/gensec_start.o \
588 ..
/auth
/gensec
/gensec_util.o \
589 ..
/auth
/gensec
/spnego.o \
590 ..
/auth
/credentials
/credentials.o \
591 ..
/auth
/credentials
/credentials_ntlm.o \
592 ..
/auth
/credentials
/credentials_samba3.o \
593 ..
/auth
/ntlmssp
/ntlmssp.o \
594 ..
/auth
/ntlmssp
/ntlmssp_util.o \
595 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
596 ..
/auth
/ntlmssp
/ntlmssp_client.o \
597 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
598 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
599 $(LIBNDR_NTLMSSP_OBJ
) \
600 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
601 ..
/auth
/ntlmssp
/ntlmssp_server.o
603 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
606 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
607 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
609 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
610 ..
/lib
/tsocket
/tsocket_helpers.o \
611 ..
/lib
/tsocket
/tsocket_bsd.o
613 CLDAP_OBJ
= libads
/cldap.o \
614 ..
/libcli
/cldap
/cldap.o \
615 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
617 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
619 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
620 ..
/libcli
/auth
/schannel_sign.o \
621 ..
/libcli
/auth
/schannel_state_tdb.o \
622 $(LIBNDR_SCHANNEL_OBJ
)
624 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
625 libsmb
/reparse_symlink.o \
626 libsmb
/clisymlink.o \
627 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
628 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
629 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
630 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
631 libsmb
/clioplock.o libsmb
/clirap2.o \
633 ..
/libcli
/smb
/smb_seal.o \
634 ..
/libcli
/smb
/read_smb.o \
635 ..
/libcli
/smb
/smbXcli_base.o \
636 ..
/libcli
/smb
/smb1cli_trans.o \
637 ..
/libcli
/smb
/smb1cli_echo.o \
638 ..
/libcli
/smb
/smb2cli_session.o \
639 libsmb
/smb2cli_tcon.o \
640 ..
/libcli
/smb
/smb2cli_create.o \
641 ..
/libcli
/smb
/smb2_create_blob.o \
642 ..
/libcli
/smb
/smb2_signing.o \
643 ..
/libcli
/smb
/smb2cli_close.o \
644 ..
/libcli
/smb
/smb2cli_flush.o \
645 ..
/libcli
/smb
/smb2cli_read.o \
646 ..
/libcli
/smb
/smb2cli_write.o \
647 ..
/libcli
/smb
/smb2cli_query_directory.o \
648 ..
/libcli
/smb
/smb2cli_ioctl.o \
649 ..
/libcli
/smb
/smb2cli_query_info.o \
650 ..
/libcli
/smb
/smb2cli_set_info.o \
651 ..
/libcli
/smb
/smb2cli_echo.o \
652 libsmb
/cli_np_tstream.o \
653 libsmb
/smbsock_connect.o \
660 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
661 rpc_client
/cli_pipe.o \
662 $(LIBCLI_NETLOGON_OBJ
) \
663 librpc
/crypto
/gse_krb5.o \
664 librpc
/crypto
/gse.o \
665 ..
/auth
/kerberos
/gssapi_pac.o \
666 ..
/lib
/krb5_wrap
/gss_samba.o \
667 librpc
/rpc
/rpc_common.o \
668 rpc_client
/rpc_transport_np.o \
669 rpc_client
/rpc_transport_sock.o \
670 rpc_client
/rpc_transport_tstream.o \
671 ..
/librpc
/rpc
/binding.o \
672 ..
/librpc
/rpc
/dcerpc_util.o \
673 ..
/librpc
/rpc
/binding_handle.o \
674 librpc
/rpc
/dcerpc_helpers.o \
675 $(LIBCLI_EPMAPPER_OBJ
)
677 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
680 # registry-related objects
682 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
684 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
685 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
686 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
688 REGFIO_OBJ
= registry
/regfio.o \
691 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
693 REGOBJS_OBJ
= registry
/reg_objects.o
695 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
697 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
699 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
700 registry
/reg_backend_shares.o \
701 registry
/reg_backend_netlogon_params.o \
702 registry
/reg_backend_prod_options.o \
703 registry
/reg_backend_tcpip_params.o \
704 registry
/reg_backend_hkpt_params.o \
705 registry
/reg_backend_current_version.o \
706 registry
/reg_backend_perflib.o
708 REG_BASE_OBJ
= registry
/reg_api.o \
709 registry
/reg_dispatcher.o \
710 registry
/reg_cachehook.o \
712 registry
/reg_util_internal.o \
714 $(REG_BACKENDS_BASE_OBJ
) \
715 registry
/reg_parse_internal.o \
716 lib
/cbuf.o lib
/srprs.o \
717 $(REG_INIT_BASIC_OBJ
)
719 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
720 registry
/reg_util_token.o \
721 registry
/reg_api_util.o \
722 $(REG_BACKENDS_SMBCONF_OBJ
) \
723 $(REG_INIT_SMBCONF_OBJ
)
725 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
726 $(REG_BACKENDS_EXTRA_OBJ
) \
727 $(REG_INIT_FULL_OBJ
) \
728 registry
/reg_perfcount.o \
729 autoconf
/librpc
/gen_ndr
/ndr_perfcount.o
731 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
733 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
735 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
736 autoconf
/librpc
/gen_ndr
/srv_lsa.o \
737 ..
/libcli
/lsarpc
/util_lsarpc.o
739 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
740 autoconf
/librpc
/gen_ndr
/srv_netlogon.o
742 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
743 rpc_server
/samr
/srv_samr_util.o \
744 rpc_server
/samr
/srv_samr_chgpasswd.o \
745 autoconf
/librpc
/gen_ndr
/srv_samr.o
747 RPC_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
749 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
750 autoconf
/librpc
/gen_ndr
/srv_winreg.o
752 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o autoconf
/librpc
/gen_ndr
/srv_dssetup.o
754 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
755 autoconf
/librpc
/gen_ndr
/srv_srvsvc.o
757 RPC_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/srv_wkssvc.o \
758 rpc_server
/wkssvc
/srv_wkssvc_nt.o
760 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
761 rpc_server
/svcctl
/srv_svcctl_reg.o \
762 autoconf
/librpc
/gen_ndr
/srv_svcctl.o \
763 services
/svc_winreg_glue.o \
764 services
/svc_spoolss.o services
/svc_rcinit.o \
765 services
/svc_netlogon.o services
/svc_winreg.o \
768 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
769 autoconf
/librpc
/gen_ndr
/srv_ntsvcs.o
771 RPC_NETDFS_OBJ
= autoconf
/librpc
/gen_ndr
/srv_dfs.o \
772 rpc_server
/dfs
/srv_dfs_nt.o
774 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
775 rpc_server
/spoolss
/srv_spoolss_util.o \
776 autoconf
/librpc
/gen_ndr
/srv_spoolss.o
778 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
779 rpc_server
/eventlog
/srv_eventlog_reg.o \
780 $(LIB_EVENTLOG_OBJ
) autoconf
/librpc
/gen_ndr
/srv_eventlog.o
782 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
783 autoconf
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
784 ..
/auth
/auth_sam_reply.o autoconf
/librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
786 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
787 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
788 rpc_server
/srv_access_check.o
790 RPC_CONFIG
= rpc_server
/rpc_config.o
792 RPC_SERVICE
= rpc_server
/rpc_server.o
794 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
796 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
797 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
799 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o autoconf
/librpc
/gen_ndr
/srv_echo.o
801 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o autoconf
/librpc
/gen_ndr
/srv_epmapper.o
803 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
805 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
806 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
807 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
808 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
809 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
810 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
811 $(LIBCLI_SPOOLSS_OBJ
) \
812 $(LIBCLI_WINREG_INT_OBJ
) \
813 $(LIBCLI_SRVSVC_OBJ
) \
816 $(RPC_SERVER_REGISTER_OBJ
) \
817 $(RPC_CLIENT_SCHANNEL_OBJ
) \
818 rpc_server
/rpc_sock_helper.o \
819 rpc_server
/rpc_service_setup.o \
820 rpc_client
/init_samr.o
822 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
824 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
825 autoconf
/librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
827 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
829 PRIVILEGES_OBJ
= lib
/privileges.o
831 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
833 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
834 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
835 lib
/util_sid_passdb.o \
836 lib
/util_unixsids.o passdb
/lookup_sid.o \
837 passdb
/login_cache.o @PDB_STATIC@ \
838 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
839 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
840 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
843 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
844 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
846 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
848 PROFILE_OBJ
= profile
/profile.o
849 PROFILES_OBJ
= utils
/profiles.o \
852 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
856 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
858 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
859 autoconf
/librpc
/gen_ndr
/ndr_notify.o
861 FNAME_UTIL_OBJ
= lib
/filename_util.o
863 NFS4ACL_OBJ
= modules
/nfs4_acls.o modules
/non_posix_acls.o
865 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
866 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
867 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
868 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
869 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
870 VFS_FAKE_ACLS_OBJ
= modules
/vfs_fake_acls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o
871 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
872 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
873 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
874 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
875 VFS_CAP_OBJ
= modules
/vfs_cap.o
876 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
877 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
878 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
879 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
880 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
881 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
882 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
883 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o
$(NFS4ACL_OBJ
)
884 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
885 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o
$(NFS4ACL_OBJ
)
886 VFS_NFS4ACL_XATTR_OBJ
= modules
/vfs_nfs4acl_xattr.o
$(LIBNDR_NFS4ACL_OBJ
) $(NFS4ACL_OBJ
)
887 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
888 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
889 VFS_CATIA_OBJ
= modules
/vfs_catia.o
890 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
891 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
892 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
893 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
894 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
895 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o
$(NFS4ACL_OBJ
)
896 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
897 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
898 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
899 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
900 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
901 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
902 VFS_AIO_POSIX_OBJ
= modules
/vfs_aio_posix.o
903 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
904 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
905 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
906 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
907 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
908 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
909 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
910 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
911 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
912 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
913 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
914 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
915 VFS_MEDIA_HARMONY_OBJ
= modules
/vfs_media_harmony.o
916 VFS_BTRFS_OBJ
= modules
/vfs_btrfs.o
917 VFS_CEPH_OBJ
= modules
/vfs_ceph.o
919 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
920 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
922 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
924 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
926 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
927 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
928 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
929 AUTH_UNIX_OBJ
= auth
/auth_unix.o
930 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
931 AUTH_WBC_OBJ
= auth
/auth_wbc.o
932 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
934 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
936 auth
/server_info_sam.o \
940 auth
/auth_ntlmssp.o auth
/auth_generic.o \
941 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
943 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
945 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
947 BUILDOPT_OBJ
= smbd
/build_options.o
949 SMBD_OBJ_SRV
= smbd
/server_reload.o \
950 smbd
/files.o smbd
/connection.o \
951 smbd
/utmp.o smbd
/session.o \
952 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
953 smbd
/share_access.o smbd
/fileio.o \
954 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
955 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
956 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
957 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
958 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
959 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
960 smbd
/posix_acls.o lib
/sysacls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o\
961 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
964 printing
/printspoolss.o printing
/spoolssd.o \
965 lib
/sysquotas.o lib
/sysquotas_linux.o \
966 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o lib
/sysquotas_4B.o \
967 lib
/sysquotas_nfs.o \
971 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
972 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
973 smbd
/dmapi.o smbd
/signing.o \
975 smbd
/dnsregister.o smbd
/globals.o \
978 smbd
/smb2_negprot.o \
979 smbd
/smb2_sesssetup.o \
988 smbd
/smb2_ioctl_dfs.o \
989 smbd
/smb2_ioctl_filesys.o \
990 smbd
/smb2_ioctl_named_pipe.o \
991 smbd
/smb2_ioctl_network_fs.o \
992 smbd
/smb2_keepalive.o \
995 smbd
/smb2_getinfo.o \
996 smbd
/smb2_setinfo.o \
998 autoconf
/librpc
/gen_ndr
/ndr_smbXsrv.o \
999 smbd
/smbXsrv_version.o \
1000 smbd
/smbXsrv_session.o \
1001 smbd
/smbXsrv_tcon.o \
1002 smbd
/smbXsrv_open.o \
1005 autoconf
/librpc
/gen_ndr
/ndr_ioctl.o \
1006 $(MANGLE_OBJ
) @VFS_STATIC@
1008 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
1010 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
1011 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
1012 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
1013 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
1014 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
1015 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
1016 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
1018 $(PRIVILEGES_BASIC_OBJ
) \
1020 $(REG_API_REGF_OBJ
) \
1021 $(LIBNDR_XATTR_OBJ
) \
1022 lib
/conn_tdb.o lib
/sessionid_tdb.o
1025 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
1026 printing
/print_cups.o printing
/print_generic.o \
1027 printing
/lpq_parse.o printing
/load.o \
1028 printing
/print_iprint.o printing
/print_standard.o \
1029 printing
/printer_list.o autoconf
/librpc
/gen_ndr
/ndr_printcap.o
1031 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
1032 PRINTBACKEND_OBJ
= printing
/printing.o \
1033 printing
/nt_printing.o \
1034 printing
/nt_printing_tdb.o \
1035 printing
/nt_printing_migrate.o \
1036 printing
/nt_printing_migrate_internal.o \
1037 printing
/nt_printing_ads.o \
1038 autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
1039 ..
/librpc
/ndr
/ndr_ntprinting.o \
1040 printing
/queue_process.o \
1043 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1045 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1046 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1047 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1048 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1049 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1050 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1051 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1052 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1053 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1054 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1055 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1056 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1058 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1059 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1060 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1063 STATUS_OBJ
= utils
/status.o utils
/status_profile.o
$(SMBD_OBJ_BASE
)
1066 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1067 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1069 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1070 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1071 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1072 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1073 $(LIBMSRPC_GEN_OBJ
) \
1075 $(LIBCLI_SRVSVC_OBJ
)
1077 TESTPARM_OBJ
= utils
/testparm.o \
1078 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1081 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1082 $(LIB_NONSMBD_OBJ
) \
1083 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1085 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1086 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1087 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1089 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1091 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1092 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1093 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1094 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1095 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1096 $(LIBCLI_SAMR_OBJ
) \
1097 rpc_client
/init_lsa.o
1099 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1100 $(AFS_SETTOKEN_OBJ
) \
1101 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1102 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1103 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1104 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1105 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1107 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1109 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1111 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1112 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1113 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1114 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1115 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1116 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1117 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1118 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1119 rpcclient
/cmd_winreg.o rpcclient
/cmd_fss.o \
1122 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1123 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1124 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1125 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1126 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1127 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1128 $(LIBCLI_SPOOLSS_OBJ
) \
1129 $(LIBCLI_EVENTLOG_OBJ
) \
1130 $(LIBCLI_NTSVCS_OBJ
) \
1131 $(LIBCLI_DRSUAPI_OBJ
) \
1133 $(LIBCLI_ECHO_OBJ
) \
1134 $(LIBCLI_DSSETUP_OBJ
) \
1135 $(LIBCLI_WKSSVC_OBJ
) \
1136 $(LIBCLI_SRVSVC_OBJ
) \
1138 $(LIBCLI_SAMR_OBJ
) \
1139 $(LIBCLI_WINREG_OBJ
) \
1140 $(LIBCLI_FSRVP_OBJ
) \
1141 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1142 rpc_client
/init_samr.o
1144 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1145 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1147 LIBSMBCLIENT_THREAD_OBJ
= \
1148 libsmb
/libsmb_thread_impl.o \
1149 libsmb
/libsmb_thread_posix.o
1151 LIBSMBCLIENT_OBJ0
= \
1152 libsmb
/libsmb_cache.o \
1153 libsmb
/libsmb_compat.o \
1154 libsmb
/libsmb_context.o \
1155 libsmb
/libsmb_dir.o \
1156 libsmb
/libsmb_file.o \
1157 libsmb
/libsmb_misc.o \
1158 libsmb
/libsmb_path.o \
1159 libsmb
/libsmb_printjob.o \
1160 libsmb
/libsmb_server.o \
1161 libsmb
/libsmb_stat.o \
1162 libsmb
/libsmb_xattr.o \
1163 libsmb
/libsmb_setget.o
1165 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1166 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1167 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1168 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1169 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1170 $(LIBCLI_SRVSVC_OBJ
) \
1173 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1175 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1176 client
/dnsbrowse.o \
1179 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1180 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1181 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1182 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1183 $(DISPLAY_SEC_OBJ
) \
1184 $(LIBCLI_SRVSVC_OBJ
)
1186 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1187 ..
/lib
/smbconf
/smbconf_util.o \
1188 ..
/lib
/smbconf
/smbconf_txt.o \
1189 lib
/smbconf
/smbconf_reg.o \
1190 lib
/smbconf
/smbconf_init.o
1192 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1194 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1195 $(LIB_NONSMBD_OBJ
) \
1200 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1201 lib
/pthreadpool
/tests.o
$(LIBREPLACE_OBJ
)
1203 LIBNET_OBJ
= libnet
/libnet_join.o \
1204 libnet
/libnet_keytab.o \
1205 autoconf
/librpc
/gen_ndr
/ndr_libnet_join.o
1207 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1208 libnet
/libnet_dssync_passdb.o \
1209 libnet
/libnet_dssync_keytab.o \
1210 ..
/libcli
/drsuapi
/repl_decrypt.o
1212 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1213 libnet
/libnet_samsync_ldif.o \
1214 libnet
/libnet_samsync_passdb.o \
1215 libnet
/libnet_samsync_display.o \
1216 libnet
/libnet_samsync_keytab.o \
1217 ..
/libcli
/samsync
/decrypt.o
1219 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1220 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1221 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1222 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1223 utils
/net_idmap_check.o utils
/interact.o \
1224 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1225 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1226 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1227 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1228 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1229 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1230 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1231 utils
/net_dom.o utils
/net_share.o \
1232 utils
/net_g_lock.o \
1233 utils
/net_serverid.o \
1234 utils
/net_eventlog.o \
1235 utils
/net_printing.o \
1236 utils
/net_rpc_trust.o \
1237 utils
/net_rpc_conf.o\
1238 $(LIBNDR_PREG_OBJ
) \
1239 $(LIBCLI_DRSUAPI_OBJ
) \
1240 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1241 $(LIBCLI_DSSETUP_OBJ
) \
1242 $(LIBCLI_SVCCTL_OBJ
) \
1243 $(LIBCLI_WKSSVC_OBJ
) \
1244 registry
/reg_parse.o registry
/reg_format.o \
1245 registry
/reg_import.o
1247 # these are not processed by make proto
1248 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1250 NET_OBJ
= $(NET_OBJ1
) \
1251 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@ \
1254 $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
) \
1255 $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1258 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1259 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1260 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1262 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1263 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1265 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1266 torture
/denytest.o torture
/mangle_test.o \
1268 torture
/test_async_echo.o \
1269 torture
/test_smbsock_any_connect.o \
1270 torture
/test_nttrans_create.o \
1271 torture
/test_nttrans_fsctl.o \
1272 torture
/test_notify_online.o \
1273 torture
/test_addrchange.o \
1274 torture
/test_case_insensitive.o \
1275 torture
/test_posix_append.o \
1276 torture
/test_smb2.o \
1277 torture
/test_chain3.o \
1278 torture
/test_authinfo_structs.o \
1279 torture
/test_cleanup.o \
1280 torture
/test_ctdbconn.o \
1281 torture
/test_msg.o \
1282 torture
/test_notify.o \
1283 torture
/test_dbwrap_watch.o \
1284 torture
/test_idmap_tdb_common.o \
1285 torture
/test_dbwrap_ctdb.o \
1286 torture
/t_strappend.o
1288 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1289 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LOCKING_OBJ
) \
1290 @LIBWBCLIENT_STATIC@ \
1291 torture
/wbc_async.o \
1292 ..
/nsswitch
/wb_reqtrans.o \
1293 ..
/libcli
/lsarpc
/util_lsarpc.o \
1294 lib
/filename_util.o \
1295 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1297 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1298 $(LIB_NONSMBD_OBJ
) \
1301 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o ..
/lib
/util
/setid.o
$(LIBSAMBAUTIL_OBJ
)
1303 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1304 torture
/vfstest_chain.o
1306 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1308 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1309 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1310 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1312 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1313 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1314 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1315 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1318 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1320 $(LIB_NONSMBD_OBJ
) \
1321 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1322 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1325 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1327 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1328 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1329 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
1330 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
1332 SHARESEC_OBJ0
= utils
/sharesec.o
1333 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1337 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1338 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1340 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1341 @libreplacedir@
/test/getifaddrs.o \
1342 @libreplacedir@
/test/os2_delete.o \
1343 @libreplacedir@
/test/strptime.o \
1344 @libreplacedir@
/test/main.o \
1345 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1347 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1349 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1350 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1351 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1353 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1354 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1356 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1357 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1358 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1360 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1361 $(AFS_SETTOKEN_OBJ
) \
1362 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1365 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1367 IDMAP_TDB_COMMON_OBJ
= winbindd
/idmap_tdb_common.o
1369 IDMAP_UTIL_OBJ
= winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) \
1370 $(IDMAP_TDB_COMMON_OBJ
)
1372 IDMAP_OBJ
= winbindd
/idmap.o
$(IDMAP_UTIL_OBJ
) @IDMAP_STATIC@
1374 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1377 winbindd
/idmap_hash
/idmap_hash.o \
1378 winbindd
/idmap_hash
/mapfile.o
1381 winbindd
/winbindd.o \
1382 winbindd
/winbindd_group.o \
1383 winbindd
/winbindd_util.o \
1384 winbindd
/winbindd_cache.o \
1385 winbindd
/winbindd_pam.o \
1386 winbindd
/winbindd_misc.o \
1387 winbindd
/winbindd_cm.o \
1388 winbindd
/winbindd_wins_byip.o \
1389 winbindd
/winbindd_wins_byname.o \
1390 winbindd
/winbindd_msrpc.o \
1391 winbindd
/winbindd_rpc.o \
1392 winbindd
/winbindd_reconnect.o \
1393 winbindd
/winbindd_ads.o \
1394 winbindd
/winbindd_samr.o \
1395 winbindd
/winbindd_dual.o \
1396 winbindd
/winbindd_dual_ndr.o \
1397 winbindd
/winbindd_dual_srv.o \
1398 autoconf
/librpc
/gen_ndr
/ndr_wbint_c.o \
1399 autoconf
/librpc
/gen_ndr
/srv_wbint.o \
1400 autoconf
/librpc
/gen_ndr
/ndr_wbint.o \
1401 autoconf
/librpc
/gen_ndr
/ndr_idmap.o \
1402 winbindd
/winbindd_async.o \
1403 winbindd
/winbindd_creds.o \
1404 winbindd
/winbindd_cred_cache.o \
1405 winbindd
/winbindd_ccache_access.o \
1406 winbindd
/winbindd_domain.o \
1407 winbindd
/winbindd_idmap.o \
1408 winbindd
/winbindd_locator.o \
1409 winbindd
/winbindd_ndr.o \
1410 winbindd
/wb_ping.o \
1411 winbindd
/wb_lookupsid.o \
1412 winbindd
/wb_lookupsids.o \
1413 winbindd
/wb_lookupname.o \
1414 winbindd
/wb_uid2sid.o \
1415 winbindd
/wb_gid2sid.o \
1416 winbindd
/wb_sids2xids.o \
1417 winbindd
/wb_queryuser.o \
1418 winbindd
/wb_lookupuseraliases.o \
1419 winbindd
/wb_lookupusergroups.o \
1420 winbindd
/wb_getpwsid.o \
1421 winbindd
/wb_gettoken.o \
1422 winbindd
/wb_seqnum.o \
1423 winbindd
/wb_seqnums.o \
1424 winbindd
/wb_group_members.o \
1425 winbindd
/wb_getgrsid.o \
1426 winbindd
/wb_query_user_list.o \
1427 winbindd
/wb_fill_pwent.o \
1428 winbindd
/wb_next_pwent.o \
1429 winbindd
/wb_next_grent.o \
1430 winbindd
/wb_dsgetdcname.o \
1431 winbindd
/winbindd_lookupsid.o \
1432 winbindd
/winbindd_lookupsids.o \
1433 winbindd
/winbindd_lookupname.o \
1434 winbindd
/winbindd_sid_to_uid.o \
1435 winbindd
/winbindd_sid_to_gid.o \
1436 winbindd
/winbindd_uid_to_sid.o \
1437 winbindd
/winbindd_gid_to_sid.o \
1438 winbindd
/winbindd_sids_to_xids.o \
1439 winbindd
/winbindd_allocate_uid.o \
1440 winbindd
/winbindd_allocate_gid.o \
1441 winbindd
/winbindd_getpwsid.o \
1442 winbindd
/winbindd_getpwnam.o \
1443 winbindd
/winbindd_getpwuid.o \
1444 winbindd
/winbindd_getsidaliases.o \
1445 winbindd
/winbindd_getuserdomgroups.o \
1446 winbindd
/winbindd_getgroups.o \
1447 winbindd
/winbindd_show_sequence.o \
1448 winbindd
/winbindd_getgrgid.o \
1449 winbindd
/winbindd_getgrnam.o \
1450 winbindd
/winbindd_getusersids.o \
1451 winbindd
/winbindd_lookuprids.o \
1452 winbindd
/winbindd_setpwent.o \
1453 winbindd
/winbindd_getpwent.o \
1454 winbindd
/winbindd_endpwent.o \
1455 winbindd
/winbindd_setgrent.o \
1456 winbindd
/winbindd_getgrent.o \
1457 winbindd
/winbindd_endgrent.o \
1458 winbindd
/winbindd_dsgetdcname.o \
1459 winbindd
/winbindd_getdcname.o \
1460 winbindd
/winbindd_list_users.o \
1461 winbindd
/winbindd_list_groups.o \
1462 winbindd
/winbindd_check_machine_acct.o \
1463 winbindd
/winbindd_change_machine_acct.o \
1464 winbindd
/winbindd_ping_dc.o \
1465 winbindd
/winbindd_pam_auth.o \
1466 winbindd
/winbindd_pam_auth_crap.o \
1467 winbindd
/winbindd_pam_chauthtok.o \
1468 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1469 winbindd
/winbindd_pam_logoff.o \
1473 auth
/check_samsec.o \
1474 auth
/server_info.o \
1475 auth
/server_info_sam.o \
1478 ..
/nsswitch
/wb_reqtrans.o
1481 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1482 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1483 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1484 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1485 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1486 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1487 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1488 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1489 $(NPA_TSTREAM_OBJ
) \
1490 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1491 $(LIBADS_SERVER_OBJ
) \
1492 $(TDB_VALIDATE_OBJ
) \
1493 $(LIBCLI_DSSETUP_OBJ
) \
1495 $(LIBCLI_SAMR_OBJ
) \
1496 rpc_client
/init_samr.o \
1499 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1500 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1501 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1502 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1504 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1506 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1507 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1509 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1510 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1512 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1513 ..
/lib
/iniparser_build
/strlib.o
1515 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1516 $(SOCKET_WRAPPER_OBJ
)
1518 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1519 $(SOCKET_WRAPPER_OBJ
)
1521 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1522 $(SOCKET_WRAPPER_OBJ
)
1524 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1525 $(SOCKET_WRAPPER_OBJ
)
1527 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1528 $(SOCKET_WRAPPER_OBJ
)
1531 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1533 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1534 ${LIBADS_SERVER_OBJ} \
1535 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1537 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1538 $(AFS_SETTOKEN_OBJ
) \
1539 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1540 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1543 VLP_OBJ
= printing
/tests
/vlp.o \
1544 ..
/lib
/util
/util_tdb.o \
1545 ..
/lib
/util
/signal.o \
1546 ..
/lib
/util
/debug.o \
1547 ..
/lib
/util
/util_strlist.o \
1548 ..
/lib
/util
/fault.o \
1549 ..
/lib
/util
/become_daemon.o \
1550 ..
/lib
/util
/substitute.o \
1552 ..
/lib
/util
/time.o \
1553 ..
/lib
/util
/charset
/util_str.o \
1554 ..
/lib
/util
/charset
/pull_push.o \
1555 ..
/lib
/util
/charset
/util_unistr_w.o \
1556 ..
/lib
/util
/charset
/codepoints.o \
1557 ..
/lib
/util
/charset
/iconv.o \
1558 ..
/lib
/util
/charset
/weird.o \
1559 ..
/lib
/util
/charset
/convert_string.o \
1560 $(CHARSET_MACOSXFS_OBJ
) \
1561 ..
/lib
/util
/talloc_stack.o \
1562 ..
/lib
/util
/smb_threads.o \
1563 ..
/lib
/util
/xfile.o \
1564 ..
/lib
/util
/util_file.o \
1565 ..
/lib
/util
/util.o \
1566 ..
/lib
/util
/util_str_common.o \
1567 ..
/lib
/util
/data_blob.o \
1568 ..
/dynconfig
/dynconfig.o \
1569 ..
/lib
/util
/setid.o \
1570 $(LIBSAMBAUTIL_OBJ
) \
1573 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1577 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1578 $(LIB_NONSMBD_OBJ
) \
1583 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1585 $(LIB_NONSMBD_OBJ
) \
1589 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1591 $(LIB_NONSMBD_OBJ
) \
1595 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1597 $(LIB_NONSMBD_OBJ
) \
1601 ######################################################################
1603 ######################################################################
1604 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1605 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1606 $(EXTRA_ALL_TARGETS
)
1608 basics
:: samba3-idl mkparam
1610 nss_modules
:: $(NSS_MODULES
)
1612 pam_modules
:: $(PAM_MODULES
)
1614 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1616 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1618 gpext_modules
:: $(GPEXT_MODULES
)
1620 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1622 smbtorture3
: SHOWFLAGS bin
/smbtorture3
1624 masktest
: SHOWFLAGS bin
/masktest
1626 msgtest
: SHOWFLAGS bin
/msgtest
1628 locktest
: SHOWFLAGS bin
/locktest
1630 smbcacls
: SHOWFLAGS bin
/smbcacls
1632 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1634 locktest2
: SHOWFLAGS bin
/locktest2
1636 debug2html
: SHOWFLAGS bin
/debug2html
1638 smbfilter
: SHOWFLAGS bin
/smbfilter
1640 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1642 sharesec
: SHOWFLAGS bin
/sharesec
1644 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1646 replacetort
: SHOWFLAGS bin
/replacetort
1648 smbconftort
: SHOWFLAGS bin
/smbconftort
1650 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1652 timelimit
: SHOWFLAGS bin
/timelimit
1654 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1655 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1656 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1658 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1660 modules
:: SHOWFLAGS
$(MODULES
)
1663 #####################################################################
1664 ## Perl IDL Compiler
1666 IDL_FILES
= librpc
/idl
/messaging.idl \
1667 librpc
/idl
/libnetapi.idl \
1668 librpc
/idl
/wbint.idl \
1669 librpc
/idl
/perfcount.idl \
1670 librpc
/idl
/secrets.idl \
1671 librpc
/idl
/open_files.idl \
1672 librpc
/idl
/libnet_join.idl
1675 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1676 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1677 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1678 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1681 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1682 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1683 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1684 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1686 mkparam
: autoconf
/lib
/param
/param_local.h autoconf
/lib
/param
/param_global.h autoconf
/source3
/param
/param_global.h autoconf
/lib
/param
/param_proto.h autoconf
/lib
/param
/s3_param.h
1688 autoconf
/lib
/param
/param_local.h
:
1689 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file autoconf
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1690 autoconf
/lib
/param
/param_global.h
:
1691 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1692 autoconf
/source3
/param
/param_global.h
:
1693 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/param
/loadparm.c
--file autoconf
/source3
/param
/param_global.h
--generate-scope
=GLOBAL
1694 autoconf
/lib
/param
/param_proto.h
:
1695 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--public autoconf
/lib
/param
/param_proto.h
--private autoconf
/lib
/param
/param_proto.h
1696 autoconf
/lib
/param
/s3_param.h
:
1697 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/s3_param.h
1700 #####################################################################
1703 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1704 $(EVERYTHING_PROGS
) \
1708 .SUFFIXES
: .c .o .lo
1710 .PHONY
: showflags SHOWFLAGS
1712 showflags
: SHOWFLAGS
1715 @echo
"Using CFLAGS = $(CFLAGS)"
1716 @echo
" PICFLAG = $(PICFLAG)"
1717 @echo
" LIBS = $(LIBS)"
1718 @echo
" LDFLAGS = $(LDFLAGS)"
1719 @echo
" DYNEXP = $(DYNEXP)"
1720 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1721 @echo
" SHLIBEXT = @SHLIBEXT@"
1722 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1724 # "showcflags" target for debuggin how CFLAGS are composed:
1726 .PHONY
: showcflags SHOWCFLAGS
1728 showcflags
: SHOWCFLAGS
1731 @echo
"CFLAGS = $(CFLAGS)"
1732 @echo
"FLAGS = $(FLAGS)"
1734 @echo
"FLAGS1 = @FLAGS1@"
1735 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1736 @echo
"CPPFLAGS = $(CPPFLAGS)"
1737 @echo
"ISA = $(ISA)"
1739 MAKEDIR
= || exec false
; \
1740 if
test -d
"$$dir"; then
:; else \
1741 echo mkdir
"$$dir"; \
1742 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1743 test -d
"$$dir" || \
1745 exec false
; fi || exec false
1747 # Run a static checker.
1748 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1749 # Compile a source file.
1750 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1751 # Compile a source file with the installation paths defined.
1752 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1754 COMPILE
= $(COMPILE_CC
)
1757 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1758 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1759 @if
test -n
"$(CC_CHECKER)"; then \
1760 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1763 @echo Compiling
$*.c
1764 @
$(COMPILE
) && exit
0;\
1765 echo
"The following command failed:" 1>&2;\
1766 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1767 $(COMPILE_CC) >/dev/null 2>&1
1768 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1770 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1772 # this adds support for precompiled headers. To use it, install a snapshot
1773 # of gcc-3.4 and run 'make pch' before you do the main build.
1775 rm -f $(PRECOMPILED_HEADER)
1776 $(MAKE) $(PRECOMPILED_HEADER)
1778 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1781 BINARY_PREREQS = bin/.dummy
1783 # These dependencies are only approximately correct: we want to make
1784 # sure Samba's paths are updated if ./configure is re-run. Really it
1785 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1786 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1787 # rebuild it's a bit hard.
1789 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1790 @echo Compiling $*.c
1791 @$(COMPILE_CC_PATH) && exit 0;\
1792 echo "The following command failed
:" 1>&2;\
1793 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1794 $(COMPILE_CC_PATH) >/dev/null 2>&1
1796 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1797 @echo Compiling $*.c
1798 @$(COMPILE_CC_PATH) && exit 0;\
1799 echo "The following command failed
:" 1>&2;\
1800 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1801 $(COMPILE_CC_PATH) >/dev/null 2>&1
1803 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1804 @echo Compiling $*.c
1805 @$(COMPILE_CC_PATH) && exit 0;\
1806 echo "The following command failed
:" 1>&2;\
1807 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1808 $(COMPILE_CC_PATH) >/dev/null 2>&1
1810 ### Start section of object files that require PTHREAD_CFLAGS
1811 ../nsswitch/wins.o: ../nsswitch/wins.c
1812 @echo Compiling $*.c
1813 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1814 echo "The following command failed
:" 1>&2;\
1815 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1816 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1818 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1819 @echo Compiling $*.c
1820 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1821 echo "The following command failed
:" 1>&2;\
1822 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1823 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1825 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1826 @echo Compiling $*.c
1827 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1828 echo "The following command failed
:" 1>&2;\
1829 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1830 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1832 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1833 @echo Compiling $*.c
1834 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1835 echo "The following command failed
:" 1>&2;\
1836 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1837 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1838 ### End section of object files that require PTHREAD_CFLAGS
1840 lib/version.o: lib/version.c include/autoconf/version.h
1841 @echo Compiling $*.c
1842 @$(COMPILE_CC_PATH) && exit 0;\
1843 echo "The following command failed
:" 1>&2;\
1844 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1845 $(COMPILE_CC_PATH) >/dev/null 2>&1
1847 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1848 @echo Compiling $*.c
1849 @$(COMPILE_CC_PATH) && exit 0;\
1850 echo "The following command failed
:" 1>&2;\
1851 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1852 $(COMPILE_CC_PATH) >/dev/null 2>&1
1854 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1856 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1859 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1860 dir=bin $(MAKEDIR); fi
1861 @: >> $@ || : > $@ # what a fancy emoticon!
1863 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) @BUILD_POPT@
1865 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1866 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1867 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1868 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1869 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1871 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1873 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1874 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1875 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(POPT_LIBS) \
1876 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1878 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1880 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1881 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1882 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1883 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1885 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1887 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1888 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1889 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1890 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1892 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) $(LIBNETAPI)
1894 @$(CC) -o $@ $(NET_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1895 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1896 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1897 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1898 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(LIBNETAPI_LIBS) $(TERMLDFLAGS) $(TERMLIBS)
1900 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1902 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1903 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1905 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1907 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1908 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1909 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
1911 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1913 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1914 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1916 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1918 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1919 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1921 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) @BUILD_POPT@
1923 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1924 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1925 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1926 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1927 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1929 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1931 @$(CC) -DUSING_SMBCONTROL -o $@ \
1932 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1933 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1934 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1936 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1938 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1939 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1940 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1942 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1944 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1945 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1946 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1948 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1950 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1951 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1952 $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1954 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1956 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1957 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1958 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1960 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1962 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1963 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1965 bin/smbtorture3: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) $(IDMAP_UTIL_OBJ)
1967 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
1968 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1969 $(LIBTDBS_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1971 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1973 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1974 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1975 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1977 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1979 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1980 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1982 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1984 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1985 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1986 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1988 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
1990 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1992 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1994 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1995 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1996 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1997 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
1999 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
2001 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2002 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2003 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2005 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2007 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2008 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2009 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2011 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2013 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2014 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2015 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2017 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDBS)
2019 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2020 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
2022 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
2024 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2025 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
2027 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2029 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2030 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2031 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2032 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2034 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2036 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2039 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2041 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2042 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2043 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2044 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
2045 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2047 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2049 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2050 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2052 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2054 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2055 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2056 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2057 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2059 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2061 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2062 $(LIBS) $(LIBTALLOC_LIBS)
2064 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2066 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2067 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2068 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2069 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2071 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2073 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2076 #####################################################################
2080 #####################################################################
2082 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2085 #-------------------------------------------------------------------
2089 #-------------------------------------------------------------------
2092 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2093 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2095 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2097 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2098 @echo Linking non-shared library $@
2099 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2100 libtalloc: $(LIBTALLOC)
2104 $(LIBTALLOC_STATIC_TARGET)
2107 cleanlibs:: cleanlibtalloc
2111 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2112 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2113 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2115 showlibs:: showlibtalloc
2117 #-------------------------------------------------------------------
2121 #-------------------------------------------------------------------
2123 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2124 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2126 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2128 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2129 @echo Linking non-shared library $@
2130 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2136 $(LIBTDB_STATIC_TARGET)
2139 cleanlibs:: cleanlibtdb
2143 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2144 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2145 @echo "LIBTDB
= $(LIBTDB
)"
2147 showlibs:: showlibtdb
2149 #-------------------------------------------------------------------
2153 #-------------------------------------------------------------------
2155 LIBNTDB_OBJ0 = @LIBNTDB_OBJ0@
2156 LIBNTDB_OBJ = $(LIBNTDB_OBJ0) $(LIBREPLACE_OBJ)
2158 LIBNTDB_STATIC_TARGET=@LIBNTDB_STATIC_TARGET@
2160 $(LIBNTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNTDB_OBJ0)
2161 @echo Linking non-shared library $@
2162 @-$(AR) -rc $@ $(LIBNTDB_OBJ0)
2168 $(LIBNTDB_STATIC_TARGET)
2171 cleanlibs:: cleanlibntdb
2175 @echo "LIBNTDB_STATIC
= @LIBNTDB_STATIC@
"
2176 @echo "LIBNTDB_STATIC_TARGET
= $(LIBNTDB_STATIC_TARGET
)"
2177 @echo "LIBNTDB
= $(LIBNTDB
)"
2179 showlibs:: showlibntdb
2181 #-------------------------------------------------------------------
2185 #-------------------------------------------------------------------
2187 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2188 ../nsswitch/libwbclient/wbc_util.o \
2189 ../nsswitch/libwbclient/wbc_pwd.o \
2190 ../nsswitch/libwbclient/wbc_idmap.o \
2191 ../nsswitch/libwbclient/wbc_sid.o \
2192 ../nsswitch/libwbclient/wbc_guid.o \
2193 ../nsswitch/libwbclient/wbc_pam.o
2195 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2198 ../lib/util/blocking.o \
2199 $(SOCKET_WRAPPER_OBJ)
2201 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2202 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2203 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2204 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2205 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2206 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2207 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2209 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2210 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2212 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2213 @echo Linking shared library $@
2214 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2215 @SONAMEFLAG@`basename $@`
2217 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2219 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2221 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2222 @echo Linking non-shared library $@
2223 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2225 libwbclient: $(LIBWBCLIENT)
2229 $(LIBWBCLIENT_SYMS) \
2230 $(LIBWBCLIENT_STATIC_TARGET) \
2231 $(LIBWBCLIENT_SHARED_TARGET) \
2232 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2234 installlibwbclient:: installdirs libwbclient
2235 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2236 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2237 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2238 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2239 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2240 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2242 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2243 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2244 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2246 uninstalllibwbclient::
2247 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2248 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2249 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2250 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2253 installlibs:: @INSTALL_LIBWBCLIENT@
2254 uninstalllibs:: uninstalllibwbclient
2255 cleanlibs:: cleanlibwbclient
2256 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2260 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2261 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2262 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2264 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2265 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2266 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2267 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2268 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2269 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2271 showlibs:: showlibwbclient
2274 #-------------------------------------------------------------------
2278 #-------------------------------------------------------------------
2280 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2282 autoconf/librpc/gen_ndr/ndr_libnetapi.o \
2283 lib/netapi/libnetapi.o \
2284 lib/netapi/joindomain.o \
2285 lib/netapi/serverinfo.o \
2286 lib/netapi/getdc.o \
2288 lib/netapi/group.o \
2289 lib/netapi/localgroup.o \
2292 lib/netapi/share.o \
2294 lib/netapi/shutdown.o \
2295 lib/netapi/netlogon.o
2297 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2299 $(REG_SMBCONF_OBJ) \
2300 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2301 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2302 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2303 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2304 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2306 $(LIBCLI_INITSHUTDOWN_OBJ) \
2307 $(LIBCLI_WKSSVC_OBJ) \
2308 $(LIBCLI_SRVSVC_OBJ) \
2310 $(LIBCLI_SAMR_OBJ) \
2311 $(RPC_CLIENT_SCHANNEL_OBJ) \
2312 rpc_client/init_samr.o
2314 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2315 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2316 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2317 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2318 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2319 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2320 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2322 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2323 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2325 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2326 @echo Linking shared library $@
2327 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2328 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2329 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2330 @SONAMEFLAG@`basename $@`
2332 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2334 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2336 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2337 @echo Linking non-shared library $@
2338 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2340 libnetapi: $(LIBNETAPI)
2345 $(LIBNETAPI_STATIC_TARGET) \
2346 $(LIBNETAPI_SHARED_TARGET) \
2347 $(LIBNETAPI_SHARED_TARGET_SONAME)
2349 installlibnetapi:: installdirs libnetapi
2350 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2351 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2352 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2353 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2354 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2355 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2357 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2358 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2359 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2361 uninstalllibnetapi::
2362 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2363 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2364 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2365 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2368 installlibs:: @INSTALL_LIBNETAPI@
2369 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2370 cleanlibs:: cleanlibnetapi
2371 shlibs test_shlibs: @LIBNETAPI_SHARED@
2375 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2376 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2377 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2379 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2380 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2381 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2382 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2383 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2384 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2386 showlibs:: showlibnetapi
2388 #-------------------------------------------------------------------
2392 #-------------------------------------------------------------------
2394 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2395 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2396 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2397 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2398 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2399 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2400 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2401 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2403 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2404 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2406 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2407 @echo Linking shared library $@
2408 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2409 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2410 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2411 @SONAMEFLAG@`basename $@`
2413 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2415 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2417 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2418 @echo Linking non-shared library $@
2419 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2421 libsmbclient: $(LIBSMBCLIENT)
2425 $(LIBSMBCLIENT_SHARED_TARGET) \
2426 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2427 $(LIBSMBCLIENT_STATIC_TARGET)
2429 installlibsmbclient:: installdirs libsmbclient
2430 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2431 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2432 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2433 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2434 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2435 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2437 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2438 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2439 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2441 installclientlib:: installlibsmbclient
2443 uninstalllibsmbclient::
2444 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2445 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2446 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2447 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2449 uninstallclientlib:: uninstalllibsmbclient
2452 installlibs:: @INSTALL_LIBSMBCLIENT@
2453 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2454 cleanlibs:: cleanlibsmbclient
2455 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2459 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2460 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2461 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2463 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2464 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2465 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2466 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2467 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2468 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2470 showlibs:: showlibsmbclient
2472 #-------------------------------------------------------------------
2476 #-------------------------------------------------------------------
2478 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2480 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2482 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2483 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2484 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2485 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2486 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2487 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2488 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2489 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2491 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2492 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2494 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDBS)
2495 @echo Linking shared library $@
2496 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2497 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
2498 @SONAMEFLAG@`basename $@`
2500 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2502 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2504 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2505 @echo Linking non-shared library $@
2506 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2508 libsmbsharemodes: $(LIBSMBSHAREMODES)
2510 cleanlibsmbsharemodes::
2512 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2513 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2514 $(LIBSMBSHAREMODES_STATIC_TARGET)
2516 installlibsmbsharemodes:: installdirs libsmbsharemodes
2517 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2518 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2519 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2520 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2521 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2522 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2524 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2525 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2526 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2528 uninstalllibsmbsharemodes::
2529 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2530 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2531 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2532 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2534 libs:: libsmbsharemodes
2535 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2536 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2537 cleanlibs:: cleanlibsmbsharemodes
2538 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2540 showlibsmbsharemodes:
2542 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2543 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2544 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2545 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2547 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2548 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2549 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2550 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2551 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2552 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2554 showlibs:: showlibsmbsharemodes
2556 #####################################################################
2560 #####################################################################
2562 # Linker command to link our shared libraries:
2563 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2564 -o $@ @SONAMEFLAG@`basename $@`
2565 # Linker command to link samba internal plugin modules:
2566 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2567 -o $@ @SONAMEFLAG@`basename $@`
2569 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2571 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2573 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2575 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2577 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2579 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2581 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2583 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2585 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2587 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2589 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2591 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2593 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2595 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2597 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2599 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2601 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2603 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2605 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2607 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2609 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2611 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2613 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2615 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2617 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2619 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2621 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2623 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2625 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2627 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2628 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2629 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) \
2632 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDBS) $(LIBTALLOC)
2634 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2635 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2639 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2641 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2642 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2643 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2645 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDBS)
2647 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2648 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS) \
2649 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2651 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2653 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2654 $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2656 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2657 @echo "Linking shared library
$@
"
2658 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2659 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2665 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2666 @echo "Building plugin
$@
"
2667 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2669 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2670 @echo "Building plugin
$@
"
2671 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2673 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2674 @echo "Building plugin
$@
"
2675 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2677 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2678 @echo "Building plugin
$@
"
2679 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2681 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2682 @echo "Building plugin
$@
"
2683 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2685 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2686 @echo "Building plugin
$@
"
2687 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2689 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2690 @echo "Building plugin
$@
"
2691 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2693 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2694 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2695 @echo "Building plugin
$@
"
2696 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2697 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2699 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2700 @echo "Building plugin
$@
"
2701 @$(SHLD_MODULE) passdb/pdb_tdb.o
2703 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2704 @echo "Building plugin
$@
"
2705 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2707 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2708 @echo "Building plugin
$@
"
2709 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2711 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2712 @echo "Building plugin
$@
"
2713 @$(SHLD_MODULE) winbindd/idmap_rid.o
2715 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2716 @echo "Building plugin
$@
"
2717 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2719 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2720 @echo "Building plugin
$@
"
2721 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2723 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2724 @echo "Building plugin
$@
"
2725 @$(SHLD_MODULE) winbindd/idmap_ad.o
2727 bin/rfc2307.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rfc2307.o
2728 @echo "Building plugin
$@
"
2729 @$(SHLD_MODULE) winbindd/idmap_rfc2307.o
2731 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2732 @echo "Building plugin
$@
"
2733 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2735 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2736 @echo "Building plugin
$@
"
2737 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2739 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2740 @echo "Building plugin
$@
"
2741 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2743 # NOTE, there is no build rule for a dynamic default VFS module because
2744 # this one MUST MUST MUST be built statically.
2746 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2747 @echo "Building plugin
$@
"
2748 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2750 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2751 @echo "Building plugin
$@
"
2752 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2754 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2755 @echo "Building plugin
$@
"
2756 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2758 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2759 @echo "Building plugin
$@
"
2760 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2762 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2763 @echo "Building plugin
$@
"
2764 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2766 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2767 @echo "Building plugin
$@
"
2768 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2770 bin/fake_acls.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_ACLS_OBJ)
2771 @echo "Building plugin
$@
"
2772 @$(SHLD_MODULE) $(VFS_FAKE_ACLS_OBJ)
2774 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2775 @echo "Building plugin
$@
"
2776 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2778 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2779 @echo "Building plugin
$@
"
2780 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2782 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2783 @echo "Building plugin
$@
"
2784 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2786 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2787 @echo "Building plugin
$@
"
2788 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2790 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2791 @echo "Building plugin
$@
"
2792 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2794 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2795 @echo "Building plugin
$@
"
2796 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2798 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2799 @echo "Building plugin
$@
"
2800 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2802 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2803 @echo "Building plugin
$@
"
2804 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2806 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2807 @echo "Building plugin
$@
"
2808 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2810 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2811 @echo "Building plugin
$@
"
2812 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2814 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2815 @echo "Building plugin
$@
"
2816 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2818 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2819 @echo "Building plugin
$@
"
2820 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2822 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2823 @echo "Building plugin
$@
"
2824 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2826 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2827 @echo "Building plugin
$@
"
2828 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2830 bin/nfs4acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NFS4ACL_XATTR_OBJ)
2831 @echo "Building plugin
$@
"
2832 @$(SHLD_MODULE) $(VFS_NFS4ACL_XATTR_OBJ)
2834 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2835 @echo "Building plugin
$@
"
2836 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2838 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2842 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2846 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2850 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2854 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2855 @echo "Building plugin
$@
"
2856 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2858 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2862 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2866 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2870 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2874 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2875 @echo "Building plugin
$@
"
2876 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2878 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2879 @echo "Building plugin
$@
"
2880 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2882 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2883 @echo "Building plugin
$@
"
2884 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2886 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2887 @echo "Building plugin
$@
"
2888 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2890 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
2891 @echo "Building plugin
$@
"
2892 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
2894 bin/aio_posix.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_POSIX_OBJ)
2895 @echo "Building plugin
$@
"
2896 @$(SHLD_MODULE) $(VFS_AIO_POSIX_OBJ)
2898 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
2899 @echo "Building plugin
$@
"
2900 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
2902 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2903 @echo "Building plugin
$@
"
2904 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2906 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2907 @echo "Building plugin
$@
"
2908 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2910 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2911 @echo "Building plugin
$@
"
2912 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2914 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2915 @echo "Building plugin
$@
"
2916 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2918 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2919 @echo "Building plugin
$@
"
2920 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2922 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2923 @echo "Building plugin
$@
"
2924 @$(SHLD_MODULE) libgpo/gpext/registry.o
2926 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2927 @echo "Building plugin
$@
"
2928 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2930 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2931 @echo "Building plugin
$@
"
2932 @$(SHLD_MODULE) libgpo/gpext/security.o
2934 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2935 @echo "Building plugin
$@
"
2936 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2938 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
2939 @echo "Building plugin
$@
"
2940 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
2942 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
2943 @echo "Building plugin
$@
"
2944 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
2946 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
2947 @echo "Building plugin
$@
"
2948 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
2950 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
2951 @echo "Building plugin
$@
"
2952 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
2954 bin/media_harmony.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_MEDIA_HARMONY_OBJ)
2955 @echo "Building plugin
$@
"
2956 @$(SHLD_MODULE) $(VFS_MEDIA_HARMONY_OBJ)
2958 bin/btrfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_BTRFS_OBJ)
2959 @echo "Building plugin
$@
"
2960 @$(SHLD_MODULE) $(VFS_BTRFS_OBJ)
2962 bin/ceph.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CEPH_OBJ)
2963 @echo "Building plugin
$@
"
2964 @$(SHLD_MODULE) $(VFS_CEPH_OBJ)
2966 #########################################################
2967 ## IdMap NSS plugins
2969 ## None here right now
2970 #########################################################
2972 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2974 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2975 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
2978 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2979 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2981 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2982 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
2983 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2984 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
2986 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDBS)
2987 @echo "Linking shared library
$@
"
2988 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2989 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
2990 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS)
2992 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDBS)
2994 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2995 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
2997 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDBS)
2999 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3000 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3002 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDBS)
3004 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDBS_LIBS) $(LIBREPLACE_LIBS)
3006 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDBS)
3008 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDBS_LIBS) $(LIBREPLACE_LIBS)
3010 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDBS)
3012 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3013 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3015 bin/timelimit: script/tests/timelimit.o
3017 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
3019 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
3021 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3022 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3023 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3025 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
3027 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3028 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3029 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3030 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3032 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDBS)
3034 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3035 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3038 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3040 install-dbwrap_tool:: bin/dbwrap_tool
3041 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3043 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDBS) $(POPT_LIBS)
3045 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3046 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3049 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3051 install-dbwrap_torture:: bin/dbwrap_torture
3052 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3054 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
3056 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3057 $(LDFLAGS) $(DYNEXP) \
3058 $(LIBS) $(POPT_LIBS) \
3059 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3060 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3062 install:: installservers installbin installman \
3063 installscripts installdat installmodules \
3064 @INSTALL_PAM_MODULES@ installlibs installmo
3066 install-everything:: install installmodules
3068 # DESTDIR is used here to prevent packagers wasting their time
3069 # duplicating the Makefile. Remove it and you will have the privelege
3070 # of package each samba release for muliple versions of multiple
3071 # distributions and operating systems, or at least supplying patches
3072 # to all the packaging files required for this, prior to committing
3073 # the removal of DESTDIR. Do not remove it even though you think it
3077 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3078 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3079 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3080 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3081 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3083 installservers:: all installdirs
3084 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3086 installbin:: all installdirs
3087 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3089 # Some symlinks are required for the 'probing' of modules.
3090 # This mechanism should go at some point..
3091 installmodules:: modules installdirs
3092 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3093 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3094 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3095 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3096 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3097 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3098 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3099 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3100 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3101 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3102 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3103 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3104 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3105 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3107 installscripts:: installdirs
3108 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3110 installdat:: installdirs
3111 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3113 installpammodules:: $(PAM_MODULES)
3114 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3115 @for module in $(PAM_MODULES); do \
3116 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3117 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3118 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3121 # revert to the previously installed version
3123 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3124 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3126 installman:: installdirs
3127 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3129 installmo:: all installdirs
3130 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3135 @echo "Samba will be installed into
:"
3136 @echo " prefix: $(prefix)"
3137 @echo " exec_prefix: $(exec_prefix)"
3138 @echo " sysconfdir
: $(sysconfdir
)"
3139 @echo " localstatedir
: $(localstatedir
)"
3140 @echo " datarootdir
: $(datarootdir
)"
3141 @echo " BINDIR
: $(BINDIR
)"
3142 @echo " SBINDIR
: $(SBINDIR
)"
3143 @echo " LIBDIR
: $(LIBDIR
)"
3144 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3145 @echo " MANDIR
: $(MANDIR
)"
3146 @echo " DATADIR
: $(DATADIR
)"
3147 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3148 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3149 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3150 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3151 @echo " MODULESDIR
: $(MODULESDIR
)"
3152 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3153 @echo " SETUPDIR
: $(SETUPDIR
)"
3154 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3155 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3156 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3157 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3158 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3159 @echo " LOCKDIR
: $(LOCKDIR
)"
3160 @echo " PIDDIR
: $(PIDDIR
)"
3161 @echo " STATEDIR
: $(STATEDIR
)"
3162 @echo " CACHEDIR
: $(CACHEDIR
)"
3163 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3164 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3165 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3166 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3167 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3168 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3169 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3170 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3171 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3172 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3173 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3176 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3179 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3182 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3185 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3188 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3191 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3192 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3193 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3194 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3195 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3196 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3199 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3202 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3204 uninstallpammodules::
3205 @for module in $(PAM_MODULES); do \
3206 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3207 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3211 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3213 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3215 ../libgpo/*.o ../libgpo/*/*.o \
3216 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3219 -rm -f include/build_env.h
3220 -rm -f smbd/build_options.c
3221 -rm -f autoconf/lib/param/param_local.h
3222 -rm -f autoconf/lib/param/param_global.h
3223 -rm -f autoconf/lib/param/param_proto.h
3224 -rm -f autoconf/lib/param/s3_param.h
3225 -rm -f autoconf/source3/param/param_global.h
3226 -rm -f $(PRECOMPILED_HEADER)
3227 -rm -f core */*~ *~ \
3228 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3229 ../testsuite/*/*.o \
3230 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3232 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3233 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3234 $(MODULES) $(TORTURE_PROGS) \
3235 $(EVERYTHING_PROGS) \
3237 .headers.stamp */src/*.o
3240 include/build_env.h: script/build_env.sh
3241 @echo Building include/build_env.h
3242 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3243 > $(builddir)/include/build_env.h
3249 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3252 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3255 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3256 -rm -f script/installbin.sh script/uninstallbin.sh
3258 distclean:: realclean
3260 -rm -f include/autoconf/config.h Makefile
3261 -rm -f config.status config.cache so_locations
3264 realdistclean:: distclean
3265 -rm -f include/autoconf/config.h.in
3266 -rm -f include/autoconf/version.h
3267 -rm -f autoconf/librpc/gen_ndr/*.[ch]
3270 # when configure.in is updated, reconfigure
3271 $(srcdir)/configure: $(srcdir)/configure.in
3272 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3274 config.status: $(srcdir)/configure
3275 @echo "WARNING
: you need to run .
/configure
"
3277 Makefile: $(srcdir)/Makefile.in config.status
3278 @echo "WARNING
: you need to run .
/config.status
"
3280 ######################################################################
3281 # Samba Testing Framework
3283 # Check shared libs for unresolved symbols
3286 @$(LIB_PATH_VAR)=./bin && \
3287 export $(LIB_PATH_VAR) && \
3288 for module in $?; do \
3289 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3293 # Check for NSS module problems.
3294 test_nss_modules:: nss_modules
3295 @echo "Testing
$(NSS_MODULES
) "
3296 @$(LIB_PATH_VAR)=./bin && \
3297 export $(LIB_PATH_VAR) && \
3298 for module in $(NSS_MODULES); do \
3299 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3303 # Check for PAM module problems. Specifically, check that every module we
3304 # built can actually be loaded by a minimal PAM-aware application.
3305 test_pam_modules:: pam_modules
3306 @echo "Testing
$(PAM_MODULES
) "
3307 @$(LIB_PATH_VAR)=./bin && \
3308 export $(LIB_PATH_VAR) && \
3309 for module in $(PAM_MODULES); do \
3310 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3316 ## Targets for 'make test'
3319 valgrindtest:: all torture timelimit bin/smbtorture
3320 @echo Running Test suite with valgrind
3322 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3323 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3324 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3325 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3327 selftestdir = ../selftest
3329 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3331 test:: all torture timelimit bin/smbtorture
3332 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3333 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3334 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3335 SOURCEDIR="$(srcdir)" \
3336 VFSLIBDIR="$(builddir
)/bin
" \
3337 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3338 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3339 PERL="$(PERL
)" PYTHON="$(PYTHON
)" PYTHONPATH="$(srcdir)/..
/bin
/python
" \
3340 $(srcdir)/selftest/s3-selftest.sh
3343 $(MAKE) test TESTS=$*
3346 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3349 $(MAKE) test SUBUNIT_FORMATTER=cat
3351 SELFTEST_TESTENV = s3dc
3354 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3357 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3358 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3359 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3360 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3364 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3365 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3366 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3367 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3371 # Check for Winbind struct 32/64bit padding
3373 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3374 @./script/tests/wb_pad.sh || exit 1;
3380 libsmbclient_examples: libsmbclient
3381 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3383 clean_libsmbclient_examples:
3384 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3386 libnetapi_examples: libnetapi
3387 $(MAKE) -C lib/netapi/examples
3389 clean_libnetapi_examples:
3390 $(MAKE) -C lib/netapi/examples clean
3392 .PHONY: bin/smbtorture
3394 bin/smbtorture: $(BINARY_PREREQS)
3395 $(MAKE) -f Makefile-smbtorture bin/smbtorture
3397 .PHONY: vfs_examples
3401 cd ../examples/VFS && \