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@
35 CODEPAGEDIR
=@CODEPAGEDIR@
36 PAMMODULESDIR
=@PAMMODULESDIR@
38 PRIVATE_DIR
=@PRIVATE_DIR@
43 LOGFILEBASE
=@LOGFILEBASE@
44 SOCKET_DIR
=@SOCKET_DIR@
45 PRIVILEGED_SOCKET_DIR
=@PRIVILEGED_SOCKET_DIR@
46 WINBINDD_SOCKET_DIR
=@WINBINDD_SOCKET_DIR@
47 WINBINDD_PRIVILEGED_SOCKET_DIR
=@WINBINDD_PRIVILEGED_SOCKET_DIR@
48 NMBDSOCKETDIR
=@NMBDSOCKETDIR@
49 #NTP_SIGND_SOCKET_DIR=@NTP_SIGND_SOCKET_DIR@
50 NCALRPCDIR
=@NCALRPCDIR@
51 CONFIGFILE
=@CONFIGFILE@
52 LMHOSTSFILE
=@LMHOSTSFILE@
53 SMB_PASSWD_FILE
=@SMB_PASSWD_FILE@
55 selftest_prefix
=@selftest_prefix@
60 LIB_PATH_VAR
=@LIB_PATH_VAR@
62 ## Dynamic shared libraries build settings
63 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
64 DSO_EXPORTS
=@DSO_EXPORTS@
65 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
67 # The MODULE_EXPORTS variable contains the platform-specific linker flags
68 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
69 MODULE_EXPORTS
=@MODULE_EXPORTS@
71 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
72 # (GCC) warnings. This is done automatically for --enable-developer,
73 # --enable-picky-developer and --enable-krb5developer.
74 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
77 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
81 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
82 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
83 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
85 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
94 TERMLDFLAGS
=@TERMLDFLAGS@
96 PRINT_LIBS
=@PRINT_LIBS@
100 PASSDB_LIBS
=@PASSDB_LIBS@
101 IDMAP_LIBS
=@IDMAP_LIBS@
103 LDAP_LIBS
=@LDAP_LIBS@
104 NSCD_LIBS
=@NSCD_LIBS@
105 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
106 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
107 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
108 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
109 DNSSD_LIBS
=@DNSSD_LIBS@
110 AVAHI_LIBS
=@AVAHI_LIBS@
112 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
113 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
114 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
115 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
116 LIBTDB_LIBS
=@LIBTDB_LIBS@
118 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
119 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
120 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
121 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
123 TALLOCTORT
= @TALLOCTORT@
125 TDBBACKUP
= @TDBBACKUP@
128 TDBRESTORE
= @TDBRESTORE@
129 TDBTORTURE
= @TDBTORTURE@
130 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
133 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
134 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
135 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
136 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
140 builddir
=@abs_builddir@
141 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
142 # will search for a POSIX-compliant shell, and that might not be
143 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
147 # See the autoconf manual "Installation Directory Variables" for a
148 # discussion of the subtle use of these variables.
150 VFSLIBDIR
= $(MODULESDIR
)/vfs
151 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
152 PDBLIBDIR
= $(MODULESDIR
)/pdb
153 RPCLIBDIR
= $(MODULESDIR
)/rpc
154 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
155 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
156 CHARSETLIBDIR
= $(MODULESDIR
)/charset
157 AUTHLIBDIR
= $(MODULESDIR
)/auth
158 CONFIGLIBDIR
= $(MODULESDIR
)/config
159 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
160 VARDIR
= @localstatedir@
162 # The permissions to give the executables and other data
163 INSTALLPERMS_BIN
= 0755
164 INSTALLPERMS_DATA
= 0644
176 -I.
/..
/lib
/ldb
/include \
179 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
180 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
181 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
182 -DSBINDIR
=\"$(SBINDIR
)\" \
183 -DBINDIR
=\"$(BINDIR
)\" \
184 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
185 -DSWATDIR
=\"$(SWATDIR
)\" \
186 -DLOCKDIR
=\"$(LOCKDIR
)\" \
187 -DPIDDIR
=\"$(PIDDIR
)\" \
188 -DLIBDIR
=\"$(LIBDIR
)\" \
189 -DMODULESDIR
=\"$(MODULESDIR
)\" \
190 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
191 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
192 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
193 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
194 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
195 -DCACHEDIR
=\"$(CACHEDIR
)\" \
196 -DSTATEDIR
=\"$(STATEDIR
)\" \
197 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
198 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
199 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
200 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
201 -DDATADIR
=\"$(DATADIR
)\" \
202 -DSETUPDIR
=\"$(SETUPDIR
)\"
204 # Note that all executable programs now provide for an optional executable suffix.
206 SBIN_PROGS
= bin
/smbd bin
/nmbd @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
208 BIN_PROGS1
= bin
/smbclient bin
/net bin
/smbspool \
209 bin
/testparm bin
/smbstatus bin
/smbget \
211 BIN_PROGS2
= bin
/smbcontrol bin
/smbtree
$(TDBBACKUP
) \
212 bin
/nmblookup bin
/pdbedit
$(TDBDUMP
) \
213 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool
214 BIN_PROGS3
= bin
/smbpasswd bin
/rpcclient bin
/smbcacls \
215 bin
/profiles bin
/ntlm_auth bin
/sharesec \
216 bin
/smbcquotas bin
/eventlogadm
218 TORTURE_PROGS
= bin
/smbtorture bin
/msgtest \
219 bin
/masktest bin
/locktest \
220 bin
/locktest2 bin
/nsstest bin
/vfstest \
221 bin
/pdbtest
$(TALLOCTORT
) bin
/replacetort \
222 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
223 bin
/smbconftort bin
/vlp
225 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
226 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
228 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
229 $(TALLOCTORT
) bin
/replacetort \
235 PAM_MODULES
= @PAM_MODULES@
237 NSS_MODULES
= @NSS_MODULES@
239 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
241 VFS_MODULES
= @VFS_MODULES@
242 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
243 PDB_MODULES
= @PDB_MODULES@
244 IDMAP_MODULES
= @IDMAP_MODULES@
245 CHARSET_MODULES
= @CHARSET_MODULES@
246 AUTH_MODULES
= @AUTH_MODULES@
247 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
248 GPEXT_MODULES
= @GPEXT_MODULES@
249 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
250 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
251 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
253 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
255 ######################################################################
257 ######################################################################
259 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
260 ..
/lib
/tdb_wrap
/tdb_wrap.o \
261 ..
/lib
/dbwrap
/dbwrap.o \
262 lib
/dbwrap
/dbwrap_open.o \
263 ..
/lib
/dbwrap
/dbwrap_tdb.o \
264 lib
/dbwrap
/dbwrap_ctdb.o \
266 ..
/lib
/dbwrap
/dbwrap_cache.o \
267 lib
/dbwrap
/dbwrap_watch.o \
268 ..
/lib
/dbwrap
/dbwrap_rbt.o \
269 ..
/lib
/dbwrap
/dbwrap_util.o
271 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
273 SMBLDAP_OBJ
= @SMBLDAP@
275 VERSION_OBJ
= lib
/version.o
277 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
281 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
283 AVAHI_OBJ
= @AVAHI_OBJ@
285 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
287 PASSCHANGE_OBJ
= libsmb
/passchange.o
289 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
290 ..
/librpc
/ndr
/ndr_compression.o \
291 autoconf
/librpc
/gen_ndr
/ndr_drsuapi.o \
292 ..
/librpc
/ndr
/ndr_drsblobs.o \
293 autoconf
/librpc
/gen_ndr
/ndr_drsblobs.o
295 ZLIB_OBJ
= @ZLIB_OBJS@
297 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
300 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
303 LIBNDR_NTLMSSP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntlmssp.o \
304 ..
/librpc
/ndr
/ndr_ntlmssp.o
306 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
307 ..
/librpc
/ndr
/ndr.o \
308 ..
/librpc
/ndr
/ndr_misc.o \
309 autoconf
/librpc
/gen_ndr
/ndr_misc.o \
310 autoconf
/librpc
/gen_ndr
/ndr_security.o \
311 ..
/librpc
/ndr
/ndr_sec_helper.o \
312 ..
/librpc
/ndr
/ndr_string.o \
313 ..
/librpc
/ndr
/uuid.o \
314 ..
/librpc
/ndr
/util.o \
315 autoconf
/librpc
/gen_ndr
/ndr_server_id.o \
316 autoconf
/librpc
/gen_ndr
/ndr_file_id.o \
317 autoconf
/librpc
/gen_ndr
/ndr_dcerpc.o
319 LIBNDR_GEN_OBJ0
= autoconf
/librpc
/gen_ndr
/ndr_samr.o \
320 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
322 LIBNDR_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon.o \
323 ..
/librpc
/ndr
/ndr_netlogon.o
325 LIBNDR_SCHANNEL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_schannel.o \
326 ..
/librpc
/ndr
/ndr_schannel.o
328 LIBNDR_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss.o \
329 ..
/librpc
/ndr
/ndr_spoolss_buf.o
331 LIBNDR_NTPRINTING_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
332 ..
/librpc
/ndr
/ndr_ntprinting.o \
334 LIBNDR_PREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_preg.o \
335 ..
/librpc
/ndr
/ndr_preg.o
337 LIBNDR_XATTR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_xattr.o \
338 ..
/librpc
/ndr
/ndr_xattr.o
340 LIBCLI_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss_c.o \
341 rpc_client
/cli_spoolss.o \
342 rpc_client
/init_spoolss.o \
343 rpc_client
/cli_winreg_spoolss.o \
344 printing
/nt_printing_os2.o
346 LIBCLI_EVENTLOG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_eventlog_c.o
348 LIBCLI_WINREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_winreg_c.o \
349 rpc_client
/cli_winreg.o
351 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
352 rpc_client
/cli_winreg_int.o
354 LIBCLI_NTSVCS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
356 LIBCLI_DRSUAPI_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_drsuapi_c.o
358 LIBCLI_DFS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dfs_c.o
360 LIBCLI_ECHO_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_echo_c.o
362 LIBCLI_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_initshutdown_c.o
364 LIBCLI_DSSETUP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dssetup_c.o
366 LIBCLI_SVCCTL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_svcctl_c.o
368 LIBCLI_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc_c.o
370 LIBCLI_SRVSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_srvsvc_c.o
372 LIBCLI_LSA_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_lsa_c.o \
373 rpc_client
/cli_lsarpc.o \
374 rpc_client
/init_lsa.o
376 LIBCLI_SAMR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_samr_c.o \
377 rpc_client
/cli_samr.o
379 LIBCLI_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon_c.o \
380 rpc_client
/cli_netlogon.o \
381 rpc_client
/util_netlogon.o
383 LIBCLI_EPMAPPER_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_epmapper_c.o
385 LIBNDR_GEN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc.o \
387 autoconf
/librpc
/gen_ndr
/ndr_dfs.o \
388 autoconf
/librpc
/gen_ndr
/ndr_dfsblobs.o \
389 autoconf
/librpc
/gen_ndr
/ndr_echo.o \
390 autoconf
/librpc
/gen_ndr
/ndr_winreg.o \
391 autoconf
/librpc
/gen_ndr
/ndr_initshutdown.o \
392 autoconf
/librpc
/gen_ndr
/ndr_srvsvc.o \
393 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
394 $(LIBNDR_NETLOGON_OBJ
) \
395 autoconf
/librpc
/gen_ndr
/ndr_dssetup.o \
396 autoconf
/librpc
/gen_ndr
/ndr_epmapper.o \
397 autoconf
/librpc
/gen_ndr
/ndr_ntsvcs.o \
398 $(LIBNDR_SPOOLSS_OBJ
)
400 # this includes only the low level parse code, not stuff
401 # that requires knowledge of security contexts
402 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
404 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
406 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
407 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
408 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
412 $(SOCKET_WRAPPER_OBJ
) \
416 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
417 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
418 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
419 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
420 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
421 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
422 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
423 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
424 ..
/lib
/util
/tevent_werror.o \
425 lib
/tevent_barrier.o \
426 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
427 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
428 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o
430 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
431 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
432 ..
/lib
/crypto
/md4.o \
433 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
434 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
435 ..
/lib
/crypto
/aes_cmac_128.o
437 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
438 lib
/messages.o autoconf
/librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
439 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
443 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
446 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
449 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
450 ..
/lib
/util
/charset
/pull_push.o \
451 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
452 lib
/interface.o lib
/pidfile.o lib
/dumpcore.o \
453 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
455 ..
/libds
/common
/flag_mapping.o \
456 lib
/access.o lib
/smbrun.o \
457 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
458 lib
/wins_srv.o lib
/string_init.o \
459 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
460 ..
/lib
/util
/util_str.o \
461 ..
/lib
/util
/base64.o lib
/util_sid.o \
462 ..
/lib
/util
/charset
/util_unistr.o \
463 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
464 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
465 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
466 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o \
467 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
468 lib
/tallocmsg.o lib
/dmallocmsg.o \
469 ..
/libcli
/smb
/smb_signing.o \
470 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
471 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
472 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
473 lib
/sessionid_tdb.o \
474 ..
/lib
/util
/modules.o lib
/events.o @LIBTEVENT_OBJ0@ \
476 lib
/server_contexts.o \
477 lib
/server_prefork.o \
478 lib
/server_prefork_util.o \
479 lib
/ldap_escape.o @CHARSET_STATIC@ \
480 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
481 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
482 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
483 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
485 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
486 lib
/file_id.o lib
/idmap_cache.o \
487 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
488 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
489 ..
/libcli
/smb
/util.o ..
/lib
/util
/idtree.o
491 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
492 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
494 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
496 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
497 # Be sure to include them into your application
498 POPT_LIB_OBJ
= lib
/popt_common.o
500 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
501 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
502 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
504 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
506 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
507 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
508 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
510 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
512 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
513 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
516 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
518 LIBADS_OBJ
= libads
/ldap.o \
519 libads
/sasl.o libads
/sasl_wrapping.o \
520 libads
/krb5_setpw.o \
521 libads
/kerberos_util.o \
523 libads
/ads_struct.o libads
/kerberos_keytab.o \
524 libads
/disp_sec.o libads
/ldap_utils.o \
525 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
527 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
528 ..
/librpc
/ndr
/ndr_krb5pac.o \
529 autoconf
/librpc
/gen_ndr
/ndr_krb5pac.o
531 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
533 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
534 autoconf
/librpc
/gen_ndr
/ndr_secrets.o \
537 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
538 ..
/libcli
/netlogon
/netlogon.o \
539 autoconf
/librpc
/gen_ndr
/ndr_nbt.o \
540 ..
/librpc
/ndr
/ndr_nbt.o \
541 autoconf
/librpc
/gen_ndr
/ndr_svcctl.o \
542 ..
/librpc
/ndr
/ndr_svcctl.o
544 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
545 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
546 ..
/lib
/addns
/dnsquery.o libads
/sitename_cache.o
548 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
549 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
550 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
551 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
553 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
555 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
557 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
562 ..
/libcli
/auth
/spnego_parse.o \
563 ..
/libcli
/auth
/ntlm_check.o \
565 libsmb
/ntlmssp_wrap.o \
566 libsmb
/auth_generic.o \
567 ..
/lib
/krb5_wrap
/krb5_samba.o \
569 ..
/auth
/gensec
/gensec.o \
570 ..
/auth
/gensec
/gensec_start.o \
571 ..
/auth
/gensec
/gensec_util.o \
572 ..
/auth
/gensec
/spnego.o \
573 ..
/auth
/credentials
/credentials.o \
574 ..
/auth
/credentials
/credentials_ntlm.o \
575 ..
/auth
/credentials
/credentials_samba3.o \
576 ..
/auth
/ntlmssp
/ntlmssp.o \
577 ..
/auth
/ntlmssp
/ntlmssp_util.o \
578 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
579 ..
/auth
/ntlmssp
/ntlmssp_client.o \
580 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
581 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
582 $(LIBNDR_NTLMSSP_OBJ
) \
583 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
584 ..
/auth
/ntlmssp
/ntlmssp_server.o
586 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
589 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
590 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
592 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
593 ..
/lib
/tsocket
/tsocket_helpers.o \
594 ..
/lib
/tsocket
/tsocket_bsd.o
596 CLDAP_OBJ
= libads
/cldap.o \
597 ..
/libcli
/cldap
/cldap.o \
598 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
600 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
602 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
603 ..
/libcli
/auth
/schannel_sign.o \
604 ..
/libcli
/auth
/schannel_state_tdb.o \
605 $(LIBNDR_SCHANNEL_OBJ
)
607 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
608 libsmb
/reparse_symlink.o \
609 libsmb
/clisymlink.o \
610 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
611 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
612 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
613 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
614 libsmb
/clioplock.o libsmb
/clirap2.o \
616 ..
/libcli
/smb
/smb_seal.o \
617 ..
/libcli
/smb
/read_smb.o \
618 ..
/libcli
/smb
/smbXcli_base.o \
619 ..
/libcli
/smb
/smb1cli_trans.o \
620 ..
/libcli
/smb
/smb2cli_session.o \
621 libsmb
/smb2cli_tcon.o \
622 ..
/libcli
/smb
/smb2cli_create.o \
623 ..
/libcli
/smb
/smb2_create_blob.o \
624 ..
/libcli
/smb
/smb2_signing.o \
625 ..
/libcli
/smb
/smb2cli_close.o \
626 ..
/libcli
/smb
/smb2cli_flush.o \
627 ..
/libcli
/smb
/smb2cli_read.o \
628 ..
/libcli
/smb
/smb2cli_write.o \
629 ..
/libcli
/smb
/smb2cli_query_directory.o \
630 ..
/libcli
/smb
/smb2cli_ioctl.o \
631 ..
/libcli
/smb
/smb2cli_query_info.o \
632 ..
/libcli
/smb
/smb2cli_set_info.o \
633 libsmb
/cli_np_tstream.o \
634 libsmb
/smbsock_connect.o \
641 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
642 rpc_client
/cli_pipe.o \
643 librpc
/crypto
/gse_krb5.o \
644 librpc
/crypto
/gse.o \
645 ..
/auth
/kerberos
/gssapi_pac.o \
646 ..
/lib
/krb5_wrap
/gss_samba.o \
647 librpc
/rpc
/rpc_common.o \
648 rpc_client
/rpc_transport_np.o \
649 rpc_client
/rpc_transport_sock.o \
650 rpc_client
/rpc_transport_tstream.o \
651 ..
/librpc
/rpc
/binding.o \
652 ..
/librpc
/rpc
/dcerpc_util.o \
653 ..
/librpc
/rpc
/binding_handle.o \
654 librpc
/rpc
/dcerpc_helpers.o \
655 $(LIBCLI_EPMAPPER_OBJ
)
657 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
660 # registry-related objects
662 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
664 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
665 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
666 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
668 REGFIO_OBJ
= registry
/regfio.o \
671 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
673 REGOBJS_OBJ
= registry
/reg_objects.o
675 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
677 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
679 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
680 registry
/reg_backend_shares.o \
681 registry
/reg_backend_netlogon_params.o \
682 registry
/reg_backend_prod_options.o \
683 registry
/reg_backend_tcpip_params.o \
684 registry
/reg_backend_hkpt_params.o \
685 registry
/reg_backend_current_version.o \
686 registry
/reg_backend_perflib.o
688 REG_BASE_OBJ
= registry
/reg_api.o \
689 registry
/reg_dispatcher.o \
690 registry
/reg_cachehook.o \
692 registry
/reg_util_internal.o \
694 $(REG_BACKENDS_BASE_OBJ
) \
695 registry
/reg_parse_internal.o \
696 lib
/cbuf.o lib
/srprs.o \
697 $(REG_INIT_BASIC_OBJ
)
699 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
700 registry
/reg_util_token.o \
701 registry
/reg_api_util.o \
702 $(REG_BACKENDS_SMBCONF_OBJ
) \
703 $(REG_INIT_SMBCONF_OBJ
)
705 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
706 $(REG_BACKENDS_EXTRA_OBJ
) \
707 $(REG_INIT_FULL_OBJ
) \
708 registry
/reg_perfcount.o \
709 autoconf
/librpc
/gen_ndr
/ndr_perfcount.o
711 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
713 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
715 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
716 autoconf
/librpc
/gen_ndr
/srv_lsa.o \
717 ..
/libcli
/lsarpc
/util_lsarpc.o
719 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
720 autoconf
/librpc
/gen_ndr
/srv_netlogon.o
722 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
723 rpc_server
/samr
/srv_samr_util.o \
724 rpc_server
/samr
/srv_samr_chgpasswd.o \
725 autoconf
/librpc
/gen_ndr
/srv_samr.o
727 RPC_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
729 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
730 autoconf
/librpc
/gen_ndr
/srv_winreg.o
732 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o autoconf
/librpc
/gen_ndr
/srv_dssetup.o
734 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
735 autoconf
/librpc
/gen_ndr
/srv_srvsvc.o
737 RPC_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/srv_wkssvc.o \
738 rpc_server
/wkssvc
/srv_wkssvc_nt.o
740 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
741 rpc_server
/svcctl
/srv_svcctl_reg.o \
742 autoconf
/librpc
/gen_ndr
/srv_svcctl.o \
743 services
/svc_winreg_glue.o \
744 services
/svc_spoolss.o services
/svc_rcinit.o \
745 services
/svc_netlogon.o services
/svc_winreg.o \
748 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
749 autoconf
/librpc
/gen_ndr
/srv_ntsvcs.o
751 RPC_NETDFS_OBJ
= autoconf
/librpc
/gen_ndr
/srv_dfs.o \
752 rpc_server
/dfs
/srv_dfs_nt.o
754 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
755 rpc_server
/spoolss
/srv_spoolss_util.o \
756 autoconf
/librpc
/gen_ndr
/srv_spoolss.o
758 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
759 rpc_server
/eventlog
/srv_eventlog_reg.o \
760 $(LIB_EVENTLOG_OBJ
) autoconf
/librpc
/gen_ndr
/srv_eventlog.o
762 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
763 autoconf
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
764 ..
/auth
/auth_sam_reply.o autoconf
/librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
766 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
767 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
768 rpc_server
/srv_access_check.o
770 RPC_CONFIG
= rpc_server
/rpc_config.o
772 RPC_SERVICE
= rpc_server
/rpc_server.o
774 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
776 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
777 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
779 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o autoconf
/librpc
/gen_ndr
/srv_echo.o
781 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o autoconf
/librpc
/gen_ndr
/srv_epmapper.o
783 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
785 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
786 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
787 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
788 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
789 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
790 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
791 $(LIBCLI_SPOOLSS_OBJ
) \
792 $(LIBCLI_WINREG_INT_OBJ
) \
793 $(LIBCLI_SRVSVC_OBJ
) \
796 $(LIBCLI_NETLOGON_OBJ
) \
797 $(RPC_SERVER_REGISTER_OBJ
) \
798 $(RPC_CLIENT_SCHANNEL_OBJ
) \
799 rpc_server
/rpc_sock_helper.o \
800 rpc_server
/rpc_service_setup.o \
801 rpc_client
/init_netlogon.o \
802 rpc_client
/init_samr.o
804 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
806 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
807 autoconf
/librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
809 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
811 PRIVILEGES_OBJ
= lib
/privileges.o
813 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
815 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
816 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
817 lib
/util_unixsids.o passdb
/lookup_sid.o \
818 passdb
/login_cache.o @PDB_STATIC@ \
819 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
820 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
821 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
824 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
825 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
827 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
829 PROFILE_OBJ
= profile
/profile.o
830 PROFILES_OBJ
= utils
/profiles.o \
833 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
837 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
839 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
840 autoconf
/librpc
/gen_ndr
/ndr_notify.o
842 FNAME_UTIL_OBJ
= lib
/filename_util.o
844 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
845 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
846 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
847 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
848 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
849 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
850 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
851 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
852 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
853 VFS_CAP_OBJ
= modules
/vfs_cap.o
854 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
855 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
856 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
857 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
858 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
859 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
860 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
861 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
862 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
863 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
864 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
865 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
866 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
867 VFS_CATIA_OBJ
= modules
/vfs_catia.o
868 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
869 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
870 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
871 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
872 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
873 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
874 VFS_GPFS_HSM_NOTIFY_OBJ
= modules
/vfs_gpfs_hsm_notify.o
875 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
876 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
877 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
878 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
879 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
880 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
881 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
882 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
883 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
884 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
885 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
886 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
887 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
888 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
889 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
890 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
891 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
892 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
894 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
895 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
897 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
899 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
901 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
902 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
903 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
904 AUTH_UNIX_OBJ
= auth
/auth_unix.o
905 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
906 AUTH_WBC_OBJ
= auth
/auth_wbc.o
907 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
908 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
910 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
912 auth
/server_info_sam.o \
916 auth
/auth_ntlmssp.o auth
/auth_generic.o \
917 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
919 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
921 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
923 BUILDOPT_OBJ
= smbd
/build_options.o
925 SMBD_OBJ_SRV
= smbd
/server_reload.o \
926 smbd
/files.o smbd
/connection.o \
927 smbd
/utmp.o smbd
/session.o \
928 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
929 smbd
/share_access.o smbd
/fileio.o \
930 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
931 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
932 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
933 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
934 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
935 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
936 smbd
/posix_acls.o lib
/sysacls.o \
937 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
940 printing
/printspoolss.o printing
/spoolssd.o \
941 lib
/sysquotas.o lib
/sysquotas_linux.o \
942 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
943 lib
/sysquotas_nfs.o \
947 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
948 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
949 smbd
/dmapi.o smbd
/signing.o \
951 smbd
/dnsregister.o smbd
/globals.o \
954 smbd
/smb2_negprot.o \
955 smbd
/smb2_sesssetup.o \
964 smbd
/smb2_keepalive.o \
967 smbd
/smb2_getinfo.o \
968 smbd
/smb2_setinfo.o \
970 $(MANGLE_OBJ
) @VFS_STATIC@
972 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
974 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
975 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
976 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
977 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
978 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
979 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
980 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
982 $(PRIVILEGES_BASIC_OBJ
) \
984 $(REG_API_REGF_OBJ
) \
987 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
988 printing
/print_cups.o printing
/print_generic.o \
989 printing
/lpq_parse.o printing
/load.o \
990 printing
/print_iprint.o printing
/print_standard.o \
991 printing
/printer_list.o autoconf
/librpc
/gen_ndr
/ndr_printcap.o
993 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
994 PRINTBACKEND_OBJ
= printing
/printing.o \
995 printing
/nt_printing.o \
996 printing
/nt_printing_tdb.o \
997 printing
/nt_printing_migrate.o \
998 printing
/nt_printing_migrate_internal.o \
999 printing
/nt_printing_ads.o \
1000 autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
1001 ..
/librpc
/ndr
/ndr_ntprinting.o \
1002 printing
/queue_process.o \
1005 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1007 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1008 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1009 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1010 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1011 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1012 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1013 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1014 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1015 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1016 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1017 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1018 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1020 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1021 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1022 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1024 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1025 web
/swat.o web
/neg_lang.o
1027 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1028 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1029 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1030 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1031 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1032 $(LIBCLI_SAMR_OBJ
) \
1033 rpc_client
/init_lsa.o
1035 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1036 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1037 smbd
/notify_internal.o autoconf
/librpc
/gen_ndr
/ndr_notify.o \
1038 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1039 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1041 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1042 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1044 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1045 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1046 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1047 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1048 $(LIBMSRPC_GEN_OBJ
) \
1050 $(LIBCLI_SRVSVC_OBJ
)
1052 TESTPARM_OBJ
= utils
/testparm.o \
1053 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1056 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1057 $(LIB_NONSMBD_OBJ
) \
1058 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1060 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1061 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1062 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1064 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1066 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1067 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1068 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1069 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1070 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1071 $(LIBCLI_SAMR_OBJ
) \
1072 rpc_client
/init_lsa.o
1074 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1075 $(AFS_SETTOKEN_OBJ
) \
1076 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1077 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1078 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1079 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1080 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1082 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1084 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1086 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1087 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1088 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1089 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1090 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1091 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1092 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1093 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1094 rpcclient
/cmd_winreg.o \
1097 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1098 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1099 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1100 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1101 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1102 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1103 $(LIBCLI_SPOOLSS_OBJ
) \
1104 $(LIBCLI_EVENTLOG_OBJ
) \
1105 $(LIBCLI_NTSVCS_OBJ
) \
1106 $(LIBCLI_DRSUAPI_OBJ
) \
1108 $(LIBCLI_ECHO_OBJ
) \
1109 $(LIBCLI_DSSETUP_OBJ
) \
1110 $(LIBCLI_WKSSVC_OBJ
) \
1111 $(LIBCLI_SRVSVC_OBJ
) \
1113 $(LIBCLI_SAMR_OBJ
) \
1114 $(LIBCLI_WINREG_OBJ
) \
1115 $(LIBCLI_NETLOGON_OBJ
) \
1116 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1117 rpc_client
/init_netlogon.o \
1118 rpc_client
/init_samr.o
1120 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1121 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1123 LIBSMBCLIENT_THREAD_OBJ
= \
1124 libsmb
/libsmb_thread_impl.o \
1125 libsmb
/libsmb_thread_posix.o
1127 LIBSMBCLIENT_OBJ0
= \
1128 libsmb
/libsmb_cache.o \
1129 libsmb
/libsmb_compat.o \
1130 libsmb
/libsmb_context.o \
1131 libsmb
/libsmb_dir.o \
1132 libsmb
/libsmb_file.o \
1133 libsmb
/libsmb_misc.o \
1134 libsmb
/libsmb_path.o \
1135 libsmb
/libsmb_printjob.o \
1136 libsmb
/libsmb_server.o \
1137 libsmb
/libsmb_stat.o \
1138 libsmb
/libsmb_xattr.o \
1139 libsmb
/libsmb_setget.o
1141 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1142 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1143 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1144 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1145 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1146 $(LIBCLI_SRVSVC_OBJ
) \
1149 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1151 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1152 client
/dnsbrowse.o \
1155 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1156 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1157 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1158 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1159 $(DISPLAY_SEC_OBJ
) \
1160 $(LIBCLI_SRVSVC_OBJ
)
1162 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1163 ..
/lib
/smbconf
/smbconf_util.o \
1164 ..
/lib
/smbconf
/smbconf_txt.o \
1165 lib
/smbconf
/smbconf_reg.o \
1166 lib
/smbconf
/smbconf_init.o
1168 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1170 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1171 $(LIB_NONSMBD_OBJ
) \
1176 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1177 lib
/pthreadpool
/tests.o
1179 LIBNET_OBJ
= libnet
/libnet_join.o \
1180 libnet
/libnet_keytab.o \
1181 autoconf
/librpc
/gen_ndr
/ndr_libnet_join.o
1183 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1184 libnet
/libnet_dssync_passdb.o \
1185 libnet
/libnet_dssync_keytab.o \
1186 ..
/libcli
/drsuapi
/repl_decrypt.o
1188 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1189 libnet
/libnet_samsync_ldif.o \
1190 libnet
/libnet_samsync_passdb.o \
1191 libnet
/libnet_samsync_display.o \
1192 libnet
/libnet_samsync_keytab.o \
1193 ..
/libcli
/samsync
/decrypt.o
1195 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1196 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1197 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1198 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1199 utils
/net_idmap_check.o utils
/interact.o \
1200 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1201 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1202 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1203 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1204 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1205 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1206 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1207 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1208 utils
/net_g_lock.o \
1209 utils
/net_serverid.o \
1210 utils
/net_eventlog.o \
1211 utils
/net_printing.o \
1212 utils
/net_rpc_trust.o \
1213 utils
/net_rpc_conf.o\
1214 $(LIBNDR_NTPRINTING_OBJ
) \
1215 $(LIBNDR_PREG_OBJ
) \
1216 $(LIBCLI_SPOOLSS_OBJ
) \
1217 $(LIBCLI_WINREG_OBJ
) \
1218 $(LIBCLI_DRSUAPI_OBJ
) \
1219 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1220 $(LIBCLI_DSSETUP_OBJ
) \
1221 $(LIBCLI_SVCCTL_OBJ
) \
1222 $(LIBCLI_WKSSVC_OBJ
) \
1223 $(LIBCLI_SRVSVC_OBJ
) \
1225 $(LIBCLI_SAMR_OBJ
) \
1226 $(LIBCLI_NETLOGON_OBJ
) \
1227 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1228 rpc_client
/init_netlogon.o \
1229 rpc_client
/init_samr.o \
1230 registry
/reg_parse.o registry
/reg_format.o \
1231 registry
/reg_import.o \
1232 printing
/nt_printing_migrate.o
1234 # these are not processed by make proto
1235 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1237 NET_OBJ
= $(NET_OBJ1
) \
1238 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1239 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1240 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1241 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1242 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1243 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1244 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1245 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1246 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1247 $(REG_SMBCONF_OBJ
) \
1248 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1251 $(PRIVILEGES_BASIC_OBJ
) \
1254 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1255 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1256 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1258 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1259 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1261 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1262 torture
/denytest.o torture
/mangle_test.o \
1264 torture
/test_async_echo.o \
1265 torture
/test_smbsock_any_connect.o \
1266 torture
/test_nttrans_create.o \
1267 torture
/test_nttrans_fsctl.o \
1268 torture
/test_notify_online.o \
1269 torture
/test_addrchange.o \
1270 torture
/test_case_insensitive.o \
1271 torture
/test_posix_append.o \
1272 torture
/test_smb2.o \
1273 torture
/test_chain3.o \
1274 torture
/test_authinfo_structs.o \
1275 torture
/test_cleanup.o \
1276 torture
/test_ctdbconn.o \
1277 torture
/test_msg.o \
1278 torture
/test_notify.o \
1279 torture
/test_dbwrap_watch.o \
1280 torture
/test_idmap_tdb_common.o \
1281 torture
/t_strappend.o
1283 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1284 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LOCKING_OBJ
) \
1285 @LIBWBCLIENT_STATIC@ \
1286 torture
/wbc_async.o \
1287 ..
/nsswitch
/wb_reqtrans.o \
1288 ..
/libcli
/lsarpc
/util_lsarpc.o \
1289 lib
/filename_util.o \
1290 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1292 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1293 $(LIB_NONSMBD_OBJ
) \
1294 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1296 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1297 $(LIB_NONSMBD_OBJ
) \
1300 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1301 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1302 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1304 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1306 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1307 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1308 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1309 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1311 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1312 torture
/vfstest_chain.o
1314 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1316 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1317 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1318 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1320 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1321 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1322 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1323 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1326 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1328 $(LIB_NONSMBD_OBJ
) \
1329 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1330 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1333 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1335 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1336 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1337 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
1338 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
1340 SHARESEC_OBJ0
= utils
/sharesec.o
1341 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1345 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1346 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1348 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1349 @libreplacedir@
/test/getifaddrs.o \
1350 @libreplacedir@
/test/os2_delete.o \
1351 @libreplacedir@
/test/strptime.o \
1352 @libreplacedir@
/test/main.o \
1353 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1355 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1357 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1358 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1359 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1361 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1362 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1364 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1365 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1366 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1368 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1369 $(AFS_SETTOKEN_OBJ
) \
1370 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1373 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1375 IDMAP_TDB_COMMON_OBJ
= winbindd
/idmap_tdb_common.o
1377 IDMAP_UTIL_OBJ
= winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) \
1378 $(IDMAP_TDB_COMMON_OBJ
)
1380 IDMAP_OBJ
= winbindd
/idmap.o
$(IDMAP_UTIL_OBJ
) @IDMAP_STATIC@
1382 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1385 winbindd
/idmap_hash
/idmap_hash.o \
1386 winbindd
/idmap_hash
/mapfile.o
1389 winbindd
/idmap_adex
/idmap_adex.o \
1390 winbindd
/idmap_adex
/cell_util.o \
1391 winbindd
/idmap_adex
/likewise_cell.o \
1392 winbindd
/idmap_adex
/provider_unified.o \
1393 winbindd
/idmap_adex
/gc_util.o \
1394 winbindd
/idmap_adex
/domain_util.o
1397 winbindd
/winbindd.o \
1398 winbindd
/winbindd_group.o \
1399 winbindd
/winbindd_util.o \
1400 winbindd
/winbindd_cache.o \
1401 winbindd
/winbindd_pam.o \
1402 winbindd
/winbindd_misc.o \
1403 winbindd
/winbindd_cm.o \
1404 winbindd
/winbindd_wins_byip.o \
1405 winbindd
/winbindd_wins_byname.o \
1406 winbindd
/winbindd_msrpc.o \
1407 winbindd
/winbindd_rpc.o \
1408 winbindd
/winbindd_reconnect.o \
1409 winbindd
/winbindd_ads.o \
1410 winbindd
/winbindd_samr.o \
1411 winbindd
/winbindd_dual.o \
1412 winbindd
/winbindd_dual_ndr.o \
1413 winbindd
/winbindd_dual_srv.o \
1414 autoconf
/librpc
/gen_ndr
/ndr_wbint_c.o \
1415 autoconf
/librpc
/gen_ndr
/srv_wbint.o \
1416 autoconf
/librpc
/gen_ndr
/ndr_wbint.o \
1417 autoconf
/librpc
/gen_ndr
/ndr_idmap.o \
1418 winbindd
/winbindd_async.o \
1419 winbindd
/winbindd_creds.o \
1420 winbindd
/winbindd_cred_cache.o \
1421 winbindd
/winbindd_ccache_access.o \
1422 winbindd
/winbindd_domain.o \
1423 winbindd
/winbindd_idmap.o \
1424 winbindd
/winbindd_locator.o \
1425 winbindd
/winbindd_ndr.o \
1426 winbindd
/wb_ping.o \
1427 winbindd
/wb_lookupsid.o \
1428 winbindd
/wb_lookupsids.o \
1429 winbindd
/wb_lookupname.o \
1430 winbindd
/wb_sid2uid.o \
1431 winbindd
/wb_sid2gid.o \
1432 winbindd
/wb_uid2sid.o \
1433 winbindd
/wb_gid2sid.o \
1434 winbindd
/wb_queryuser.o \
1435 winbindd
/wb_lookupuseraliases.o \
1436 winbindd
/wb_lookupusergroups.o \
1437 winbindd
/wb_getpwsid.o \
1438 winbindd
/wb_gettoken.o \
1439 winbindd
/wb_seqnum.o \
1440 winbindd
/wb_seqnums.o \
1441 winbindd
/wb_group_members.o \
1442 winbindd
/wb_getgrsid.o \
1443 winbindd
/wb_query_user_list.o \
1444 winbindd
/wb_fill_pwent.o \
1445 winbindd
/wb_next_pwent.o \
1446 winbindd
/wb_next_grent.o \
1447 winbindd
/wb_dsgetdcname.o \
1448 winbindd
/winbindd_lookupsid.o \
1449 winbindd
/winbindd_lookupsids.o \
1450 winbindd
/winbindd_lookupname.o \
1451 winbindd
/winbindd_sid_to_uid.o \
1452 winbindd
/winbindd_sid_to_gid.o \
1453 winbindd
/winbindd_uid_to_sid.o \
1454 winbindd
/winbindd_gid_to_sid.o \
1455 winbindd
/winbindd_sids_to_xids.o \
1456 winbindd
/winbindd_allocate_uid.o \
1457 winbindd
/winbindd_allocate_gid.o \
1458 winbindd
/winbindd_getpwsid.o \
1459 winbindd
/winbindd_getpwnam.o \
1460 winbindd
/winbindd_getpwuid.o \
1461 winbindd
/winbindd_getsidaliases.o \
1462 winbindd
/winbindd_getuserdomgroups.o \
1463 winbindd
/winbindd_getgroups.o \
1464 winbindd
/winbindd_show_sequence.o \
1465 winbindd
/winbindd_getgrgid.o \
1466 winbindd
/winbindd_getgrnam.o \
1467 winbindd
/winbindd_getusersids.o \
1468 winbindd
/winbindd_lookuprids.o \
1469 winbindd
/winbindd_setpwent.o \
1470 winbindd
/winbindd_getpwent.o \
1471 winbindd
/winbindd_endpwent.o \
1472 winbindd
/winbindd_setgrent.o \
1473 winbindd
/winbindd_getgrent.o \
1474 winbindd
/winbindd_endgrent.o \
1475 winbindd
/winbindd_dsgetdcname.o \
1476 winbindd
/winbindd_getdcname.o \
1477 winbindd
/winbindd_list_users.o \
1478 winbindd
/winbindd_list_groups.o \
1479 winbindd
/winbindd_check_machine_acct.o \
1480 winbindd
/winbindd_change_machine_acct.o \
1481 winbindd
/winbindd_ping_dc.o \
1482 winbindd
/winbindd_pam_auth.o \
1483 winbindd
/winbindd_pam_auth_crap.o \
1484 winbindd
/winbindd_pam_chauthtok.o \
1485 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1486 winbindd
/winbindd_pam_logoff.o \
1490 auth
/check_samsec.o \
1491 auth
/server_info.o \
1492 auth
/server_info_sam.o \
1495 ..
/nsswitch
/wb_reqtrans.o
1498 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1499 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1500 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1501 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1502 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1503 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1504 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1505 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1506 $(NPA_TSTREAM_OBJ
) \
1507 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1508 $(LIBADS_SERVER_OBJ
) \
1509 $(TDB_VALIDATE_OBJ
) \
1510 $(LIBCLI_DSSETUP_OBJ
) \
1512 $(LIBCLI_SAMR_OBJ
) \
1513 $(LIBCLI_NETLOGON_OBJ
) \
1514 rpc_client
/init_netlogon.o \
1515 rpc_client
/init_samr.o \
1518 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1519 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1520 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1521 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1523 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1525 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1526 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1528 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1529 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1531 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1532 ..
/lib
/iniparser_build
/strlib.o
1534 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1535 $(SOCKET_WRAPPER_OBJ
)
1537 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1538 $(SOCKET_WRAPPER_OBJ
)
1540 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1541 $(SOCKET_WRAPPER_OBJ
)
1543 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1544 $(SOCKET_WRAPPER_OBJ
)
1546 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1547 $(SOCKET_WRAPPER_OBJ
)
1550 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1552 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1553 ${LIBADS_SERVER_OBJ} \
1554 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1556 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1557 $(AFS_SETTOKEN_OBJ
) \
1558 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1559 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1562 VLP_OBJ
= printing
/tests
/vlp.o \
1563 ..
/lib
/util
/util_tdb.o \
1564 $(LIBSAMBAUTIL_OBJ
) \
1567 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1571 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1572 $(LIB_NONSMBD_OBJ
) \
1577 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1579 $(LIB_NONSMBD_OBJ
) \
1583 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1585 $(LIB_NONSMBD_OBJ
) \
1589 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1591 $(LIB_NONSMBD_OBJ
) \
1595 ######################################################################
1597 ######################################################################
1598 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1599 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1600 $(EXTRA_ALL_TARGETS
)
1602 basics
:: samba3-idl mkparam
1604 nss_modules
:: $(NSS_MODULES
)
1606 pam_modules
:: $(PAM_MODULES
)
1608 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1610 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1612 gpext_modules
:: $(GPEXT_MODULES
)
1614 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1616 smbtorture
: SHOWFLAGS bin
/smbtorture
1618 masktest
: SHOWFLAGS bin
/masktest
1620 msgtest
: SHOWFLAGS bin
/msgtest
1622 locktest
: SHOWFLAGS bin
/locktest
1624 smbcacls
: SHOWFLAGS bin
/smbcacls
1626 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1628 locktest2
: SHOWFLAGS bin
/locktest2
1630 debug2html
: SHOWFLAGS bin
/debug2html
1632 smbfilter
: SHOWFLAGS bin
/smbfilter
1634 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1636 sharesec
: SHOWFLAGS bin
/sharesec
1638 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1640 replacetort
: SHOWFLAGS bin
/replacetort
1642 smbconftort
: SHOWFLAGS bin
/smbconftort
1644 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1646 timelimit
: SHOWFLAGS bin
/timelimit
1648 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1649 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1650 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1652 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1654 modules
:: SHOWFLAGS
$(MODULES
)
1657 #####################################################################
1658 ## Perl IDL Compiler
1660 IDL_FILES
= librpc
/idl
/messaging.idl \
1661 librpc
/idl
/libnetapi.idl \
1662 librpc
/idl
/wbint.idl \
1663 librpc
/idl
/perfcount.idl \
1664 librpc
/idl
/secrets.idl \
1665 librpc
/idl
/open_files.idl \
1666 librpc
/idl
/libnet_join.idl
1669 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1670 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1671 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1672 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1675 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1676 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/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
--full
$(IDL_FILES
)
1680 mkparam
: ..
/lib
/param
/param_local.h ..
/lib
/param
/param_global.h param
/param_global.h ..
/lib
/param
/param_proto.h ..
/lib
/param
/s3_param.h
1682 ..
/lib
/param
/param_local.h
:
1683 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file ..
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1684 ..
/lib
/param
/param_global.h
:
1685 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1686 param
/param_global.h
:
1687 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/param
/loadparm.c
--file param
/param_global.h
--generate-scope
=GLOBAL
1688 ..
/lib
/param
/param_proto.h
:
1689 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--public ..
/lib
/param
/param_proto.h
--private ..
/lib
/param
/param_proto.h
1690 ..
/lib
/param
/s3_param.h
:
1691 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/s3_param.h
1694 #####################################################################
1697 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1698 $(EVERYTHING_PROGS
) \
1702 .SUFFIXES
: .c .o .lo
1704 .PHONY
: showflags SHOWFLAGS
1706 showflags
: SHOWFLAGS
1709 @echo
"Using CFLAGS = $(CFLAGS)"
1710 @echo
" PICFLAG = $(PICFLAG)"
1711 @echo
" LIBS = $(LIBS)"
1712 @echo
" LDFLAGS = $(LDFLAGS)"
1713 @echo
" DYNEXP = $(DYNEXP)"
1714 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1715 @echo
" SHLIBEXT = @SHLIBEXT@"
1716 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1718 # "showcflags" target for debuggin how CFLAGS are composed:
1720 .PHONY
: showcflags SHOWCFLAGS
1722 showcflags
: SHOWCFLAGS
1725 @echo
"CFLAGS = $(CFLAGS)"
1726 @echo
"FLAGS = $(FLAGS)"
1728 @echo
"FLAGS1 = @FLAGS1@"
1729 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1730 @echo
"CPPFLAGS = $(CPPFLAGS)"
1731 @echo
"ISA = $(ISA)"
1733 MAKEDIR
= || exec false
; \
1734 if
test -d
"$$dir"; then
:; else \
1735 echo mkdir
"$$dir"; \
1736 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1737 test -d
"$$dir" || \
1739 exec false
; fi || exec false
1741 # Run a static checker.
1742 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1743 # Compile a source file.
1744 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1745 # Compile a source file with the installation paths defined.
1746 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1748 COMPILE
= $(COMPILE_CC
)
1751 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1752 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1753 @if
test -n
"$(CC_CHECKER)"; then \
1754 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1757 @echo Compiling
$*.c
1758 @
$(COMPILE
) && exit
0;\
1759 echo
"The following command failed:" 1>&2;\
1760 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1761 $(COMPILE_CC) >/dev/null 2>&1
1762 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1764 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1766 # this adds support for precompiled headers. To use it, install a snapshot
1767 # of gcc-3.4 and run 'make pch' before you do the main build.
1769 rm -f $(PRECOMPILED_HEADER)
1770 $(MAKE) $(PRECOMPILED_HEADER)
1772 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1775 BINARY_PREREQS = bin/.dummy
1777 # These dependencies are only approximately correct: we want to make
1778 # sure Samba's paths are updated if ./configure is re-run. Really it
1779 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1780 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1781 # rebuild it's a bit hard.
1783 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1784 @echo Compiling $*.c
1785 @$(COMPILE_CC_PATH) && exit 0;\
1786 echo "The following command failed
:" 1>&2;\
1787 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1788 $(COMPILE_CC_PATH) >/dev/null 2>&1
1790 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1791 @echo Compiling $*.c
1792 @$(COMPILE_CC_PATH) && exit 0;\
1793 echo "The following command failed
:" 1>&2;\
1794 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1795 $(COMPILE_CC_PATH) >/dev/null 2>&1
1797 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1798 @echo Compiling $*.c
1799 @$(COMPILE_CC_PATH) && exit 0;\
1800 echo "The following command failed
:" 1>&2;\
1801 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1802 $(COMPILE_CC_PATH) >/dev/null 2>&1
1804 ### Start section of object files that require PTHREAD_CFLAGS
1805 ../nsswitch/wins.o: ../nsswitch/wins.c
1806 @echo Compiling $*.c
1807 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1808 echo "The following command failed
:" 1>&2;\
1809 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1810 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1812 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1813 @echo Compiling $*.c
1814 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1815 echo "The following command failed
:" 1>&2;\
1816 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1817 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1819 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1820 @echo Compiling $*.c
1821 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1822 echo "The following command failed
:" 1>&2;\
1823 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1824 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1826 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1827 @echo Compiling $*.c
1828 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1829 echo "The following command failed
:" 1>&2;\
1830 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1831 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1832 ### End section of object files that require PTHREAD_CFLAGS
1834 lib/pidfile.o: lib/pidfile.c
1835 @echo Compiling $*.c
1836 @$(COMPILE_CC_PATH) && exit 0;\
1837 echo "The following command failed
:" 1>&2;\
1838 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1839 $(COMPILE_CC_PATH) >/dev/null 2>&1
1841 lib/version.o: lib/version.c include/autoconf/version.h
1842 @echo Compiling $*.c
1843 @$(COMPILE_CC_PATH) && exit 0;\
1844 echo "The following command failed
:" 1>&2;\
1845 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1846 $(COMPILE_CC_PATH) >/dev/null 2>&1
1848 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1849 @echo Compiling $*.c
1850 @$(COMPILE_CC_PATH) && exit 0;\
1851 echo "The following command failed
:" 1>&2;\
1852 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1853 $(COMPILE_CC_PATH) >/dev/null 2>&1
1855 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1857 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1860 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1861 dir=bin $(MAKEDIR); fi
1862 @: >> $@ || : > $@ # what a fancy emoticon!
1864 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1866 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1867 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1868 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1869 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1870 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1872 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1874 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1875 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1876 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1877 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1879 bin/swat: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1881 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1882 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1883 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1885 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1887 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1888 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1889 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1890 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1892 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1894 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1895 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1896 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1897 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1899 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1901 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1902 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1903 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1904 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1907 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1909 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1910 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1912 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1914 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1915 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1916 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1918 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1920 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1921 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1923 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1925 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1926 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1928 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1930 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1931 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1933 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1935 @$(CC) -DUSING_SMBCONTROL -o $@ \
1936 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1937 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1938 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1940 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1942 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1943 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1944 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1946 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1948 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1949 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1950 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1952 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1954 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1955 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1956 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1958 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1960 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1961 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1962 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1964 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1966 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1967 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1969 bin/smbtorture: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1971 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
1972 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1973 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1975 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1977 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1978 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1979 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1981 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1983 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1984 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1986 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1988 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1989 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1990 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1992 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
1994 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1996 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1998 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1999 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2000 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2001 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2003 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2005 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2006 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2007 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2009 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2011 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2012 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2013 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2015 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2017 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2018 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2019 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2021 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
2023 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2024 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2026 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2028 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2029 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2031 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2033 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2034 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2035 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2036 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2038 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2040 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2043 bin/pdbtest: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2045 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2046 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
2047 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2049 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2051 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2052 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2053 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2054 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2055 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2057 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2059 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2060 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2062 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2064 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2065 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2066 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2067 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2069 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2071 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2072 $(LIBS) $(LIBTALLOC_LIBS)
2074 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2076 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2077 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2078 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2079 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2081 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2083 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2086 #####################################################################
2090 #####################################################################
2092 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2095 #-------------------------------------------------------------------
2099 #-------------------------------------------------------------------
2102 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2103 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2105 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
2106 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2107 LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
2108 LIBTALLOC_SHARED_TARGET_SONAME=@LIBTALLOC_SHARED_TARGET_SOVER@
2109 LIBTALLOC_SHARED_TARGET_FULLVER=@LIBTALLOC_SHARED_TARGET_FULLVER@
2110 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2111 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2112 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2114 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2115 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2117 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2118 @echo Linking shared library $@
2119 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2121 $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
2123 @mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
2124 @ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
2126 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
2128 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2130 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2131 @echo Linking non-shared library $@
2132 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2133 libtalloc: $(LIBTALLOC)
2138 $(LIBTALLOC_STATIC_TARGET) \
2139 $(LIBTALLOC_SHARED_TARGET) \
2140 $(LIBTALLOC_SHARED_TARGET_SONAME)
2142 installlibtalloc:: installdirs libtalloc
2143 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2144 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2145 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2146 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2147 -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
2148 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
2149 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
2151 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2152 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2153 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2155 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2156 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2157 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2159 uninstalllibtalloc::
2160 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2161 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2162 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2163 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2166 installlibs:: @INSTALL_LIBTALLOC@
2167 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2168 cleanlibs:: cleanlibtalloc
2169 shlibs test_shlibs: @LIBTALLOC_SHARED@
2173 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2174 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2175 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2177 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2178 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2179 @echo "LIBTALLOC_FULLVER
= $(LIBTALLOC_FULLVER
)"
2180 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2181 @echo "LIBTALLOC_SHARED TARGET_FULLVER
= $(LIBTALLOC_SHARED_TARGET_FULLVER
)"
2182 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2183 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2185 showlibs:: showlibtalloc
2187 #-------------------------------------------------------------------
2191 #-------------------------------------------------------------------
2193 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2194 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2196 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2197 LIBTDB_SOVER=@LIBTDB_SOVER@
2198 LIBTDB_FULLVER=@LIBTDB_FULLVER@
2199 LIBTDB_SHARED_TARGET_SONAME=@LIBTDB_SHARED_TARGET_SOVER@
2200 LIBTDB_SHARED_TARGET_FULLVER=@LIBTDB_SHARED_TARGET_FULLVER@
2201 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2202 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2203 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2205 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2206 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2209 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2210 @echo Linking shared library $@
2211 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2212 @SONAMEFLAG@`basename $@`
2214 $(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
2216 @mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
2217 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
2219 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
2221 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2223 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2224 @echo Linking non-shared library $@
2225 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2232 $(LIBTDB_STATIC_TARGET) \
2233 $(LIBTDB_SHARED_TARGET) \
2234 $(LIBTDB_SHARED_TARGET_SONAME)
2237 installlibtdb:: installdirs libtdb
2238 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2239 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2240 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2241 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2242 -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \
2243 ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \
2244 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \
2246 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2247 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2248 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2250 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2251 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2252 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2255 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2256 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2257 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2258 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2261 installlibs:: @INSTALL_LIBTDB@
2262 uninstalllibs:: @UNINSTALL_LIBTDB@
2263 cleanlibs:: cleanlibtdb
2264 shlibs test_shlibs: @LIBTDB_SHARED@
2268 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2269 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2270 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2272 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2273 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2274 @echo "LIBTDB_FULLVER
= $(LIBTDB_FULLVER
)"
2275 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2276 @echo "LIBTDB_SHARED TARGET_FULLVER
= $(LIBTDB_SHARED_TARGET_FULLVER
)"
2277 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2278 @echo "LIBTDB
= $(LIBTDB
)"
2280 showlibs:: showlibtdb
2282 #-------------------------------------------------------------------
2286 #-------------------------------------------------------------------
2288 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2289 ../nsswitch/libwbclient/wbc_util.o \
2290 ../nsswitch/libwbclient/wbc_pwd.o \
2291 ../nsswitch/libwbclient/wbc_idmap.o \
2292 ../nsswitch/libwbclient/wbc_sid.o \
2293 ../nsswitch/libwbclient/wbc_guid.o \
2294 ../nsswitch/libwbclient/wbc_pam.o
2296 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2299 ../lib/util/blocking.o \
2300 $(SOCKET_WRAPPER_OBJ)
2302 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2303 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2304 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2305 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2306 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2307 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2308 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2310 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2311 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2313 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2314 @echo Linking shared library $@
2315 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2316 @SONAMEFLAG@`basename $@`
2318 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2320 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2322 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2323 @echo Linking non-shared library $@
2324 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2326 libwbclient: $(LIBWBCLIENT)
2330 $(LIBWBCLIENT_SYMS) \
2331 $(LIBWBCLIENT_STATIC_TARGET) \
2332 $(LIBWBCLIENT_SHARED_TARGET) \
2333 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2335 installlibwbclient:: installdirs libwbclient
2336 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2337 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2338 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2339 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2340 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2341 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2343 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2344 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2345 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2347 uninstalllibwbclient::
2348 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2349 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2350 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2351 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2354 installlibs:: @INSTALL_LIBWBCLIENT@
2355 uninstalllibs:: uninstalllibwbclient
2356 cleanlibs:: cleanlibwbclient
2357 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2361 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2362 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2363 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2365 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2366 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2367 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2368 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2369 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2370 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2372 showlibs:: showlibwbclient
2375 #-------------------------------------------------------------------
2379 #-------------------------------------------------------------------
2381 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2383 autoconf/librpc/gen_ndr/ndr_libnetapi.o \
2384 lib/netapi/libnetapi.o \
2385 lib/netapi/joindomain.o \
2386 lib/netapi/serverinfo.o \
2387 lib/netapi/getdc.o \
2389 lib/netapi/group.o \
2390 lib/netapi/localgroup.o \
2393 lib/netapi/share.o \
2395 lib/netapi/shutdown.o \
2396 lib/netapi/netlogon.o
2398 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2400 $(REG_SMBCONF_OBJ) \
2401 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2402 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2403 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2404 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2405 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2407 $(LIBCLI_INITSHUTDOWN_OBJ) \
2408 $(LIBCLI_WKSSVC_OBJ) \
2409 $(LIBCLI_SRVSVC_OBJ) \
2411 $(LIBCLI_SAMR_OBJ) \
2412 $(LIBCLI_NETLOGON_OBJ) \
2413 $(RPC_CLIENT_SCHANNEL_OBJ) \
2414 rpc_client/init_netlogon.o \
2415 rpc_client/init_samr.o
2417 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2418 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2419 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2420 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2421 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2422 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2423 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2425 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2426 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2428 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2429 @echo Linking shared library $@
2430 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2431 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2432 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2433 @SONAMEFLAG@`basename $@`
2435 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2437 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2439 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2440 @echo Linking non-shared library $@
2441 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2443 libnetapi: $(LIBNETAPI)
2448 $(LIBNETAPI_STATIC_TARGET) \
2449 $(LIBNETAPI_SHARED_TARGET) \
2450 $(LIBNETAPI_SHARED_TARGET_SONAME)
2452 installlibnetapi:: installdirs libnetapi
2453 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2454 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2455 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2456 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2457 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2458 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2460 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2461 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2462 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2464 uninstalllibnetapi::
2465 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2466 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2467 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2468 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2471 installlibs:: @INSTALL_LIBNETAPI@
2472 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2473 cleanlibs:: cleanlibnetapi
2474 shlibs test_shlibs: @LIBNETAPI_SHARED@
2478 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2479 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2480 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2482 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2483 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2484 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2485 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2486 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2487 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2489 showlibs:: showlibnetapi
2491 #-------------------------------------------------------------------
2495 #-------------------------------------------------------------------
2497 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2498 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2499 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2500 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2501 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2502 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2503 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2504 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2506 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2507 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2509 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2510 @echo Linking shared library $@
2511 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2512 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2513 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2514 @SONAMEFLAG@`basename $@`
2516 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2518 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2520 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2521 @echo Linking non-shared library $@
2522 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2524 libsmbclient: $(LIBSMBCLIENT)
2528 $(LIBSMBCLIENT_SHARED_TARGET) \
2529 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2530 $(LIBSMBCLIENT_STATIC_TARGET)
2532 installlibsmbclient:: installdirs libsmbclient
2533 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2534 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2535 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2536 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2537 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2538 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2540 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2541 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2542 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2544 installclientlib:: installlibsmbclient
2546 uninstalllibsmbclient::
2547 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2548 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2549 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2550 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2552 uninstallclientlib:: uninstalllibsmbclient
2555 installlibs:: @INSTALL_LIBSMBCLIENT@
2556 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2557 cleanlibs:: cleanlibsmbclient
2558 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2562 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2563 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2564 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2566 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2567 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2568 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2569 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2570 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2571 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2573 showlibs:: showlibsmbclient
2575 #-------------------------------------------------------------------
2579 #-------------------------------------------------------------------
2581 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2583 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2585 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2586 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2587 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2588 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2589 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2590 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2591 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2592 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2594 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2595 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2597 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2598 @echo Linking shared library $@
2599 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2600 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2601 @SONAMEFLAG@`basename $@`
2603 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2605 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2607 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2608 @echo Linking non-shared library $@
2609 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2611 libsmbsharemodes: $(LIBSMBSHAREMODES)
2613 cleanlibsmbsharemodes::
2615 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2616 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2617 $(LIBSMBSHAREMODES_STATIC_TARGET)
2619 installlibsmbsharemodes:: installdirs libsmbsharemodes
2620 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2621 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2622 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2623 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2624 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2625 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2627 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2628 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2629 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2631 uninstalllibsmbsharemodes::
2632 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2633 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2634 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2635 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2637 libs:: libsmbsharemodes
2638 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2639 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2640 cleanlibs:: cleanlibsmbsharemodes
2641 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2643 showlibsmbsharemodes:
2645 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2646 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2647 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2648 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2650 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2651 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2652 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2653 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2654 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2655 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2657 showlibs:: showlibsmbsharemodes
2659 #####################################################################
2663 #####################################################################
2665 # Linker command to link our shared libraries:
2666 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2667 -o $@ @SONAMEFLAG@`basename $@`
2668 # Linker command to link samba internal plugin modules:
2669 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2670 -o $@ @SONAMEFLAG@`basename $@`
2672 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2674 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2676 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2678 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2680 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2682 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2684 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2686 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2688 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2690 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2692 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2694 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2696 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2698 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2700 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2702 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2704 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2706 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2708 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2710 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2712 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2714 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2716 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2718 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2720 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2722 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2724 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2726 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2728 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2730 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2731 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2732 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2735 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2737 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2738 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2742 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2744 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2745 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2746 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2748 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2750 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2751 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2752 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2754 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2756 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2757 $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2759 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2760 @echo "Linking shared library
$@
"
2761 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2762 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2768 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2769 @echo "Building plugin
$@
"
2770 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2772 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2773 @echo "Building plugin
$@
"
2774 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2776 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2777 @echo "Building plugin
$@
"
2778 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2780 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2781 @echo "Building plugin
$@
"
2782 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2784 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2785 @echo "Building plugin
$@
"
2786 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2788 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2789 @echo "Building plugin
$@
"
2790 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2792 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2793 @echo "Building plugin
$@
"
2794 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2796 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2797 @echo "Building plugin
$@
"
2798 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2800 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2801 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2802 @echo "Building plugin
$@
"
2803 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2804 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2806 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2807 @echo "Building plugin
$@
"
2808 @$(SHLD_MODULE) passdb/pdb_ads.o
2810 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2811 @echo "Building plugin
$@
"
2812 @$(SHLD_MODULE) passdb/pdb_tdb.o
2814 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2815 @echo "Building plugin
$@
"
2816 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2818 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2819 @echo "Building plugin
$@
"
2820 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2822 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2823 @echo "Building plugin
$@
"
2824 @$(SHLD_MODULE) winbindd/idmap_rid.o
2826 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2827 @echo "Building plugin
$@
"
2828 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2830 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2831 @echo "Building plugin
$@
"
2832 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2834 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2835 @echo "Building plugin
$@
"
2836 @$(SHLD_MODULE) winbindd/idmap_ad.o
2838 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2842 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2846 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2850 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2854 # NOTE, there is no build rule for a dynamic default VFS module because
2855 # this one MUST MUST MUST be built statically.
2857 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2858 @echo "Building plugin
$@
"
2859 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2861 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2862 @echo "Building plugin
$@
"
2863 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2865 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2866 @echo "Building plugin
$@
"
2867 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2869 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2870 @echo "Building plugin
$@
"
2871 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2873 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2874 @echo "Building plugin
$@
"
2875 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2877 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2878 @echo "Building plugin
$@
"
2879 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2881 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2882 @echo "Building plugin
$@
"
2883 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2885 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2886 @echo "Building plugin
$@
"
2887 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2889 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2890 @echo "Building plugin
$@
"
2891 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2893 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2894 @echo "Building plugin
$@
"
2895 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2897 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2898 @echo "Building plugin
$@
"
2899 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2901 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2902 @echo "Building plugin
$@
"
2903 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2905 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2906 @echo "Building plugin
$@
"
2907 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2909 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2910 @echo "Building plugin
$@
"
2911 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2913 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2914 @echo "Building plugin
$@
"
2915 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2917 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2918 @echo "Building plugin
$@
"
2919 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2921 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2922 @echo "Building plugin
$@
"
2923 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2925 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2926 @echo "Building plugin
$@
"
2927 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2929 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2930 @echo "Building plugin
$@
"
2931 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2933 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2934 @echo "Building plugin
$@
"
2935 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2937 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2938 @echo "Building plugin
$@
"
2939 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2941 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2942 @echo "Building plugin
$@
"
2943 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2945 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2946 @echo "Building plugin
$@
"
2947 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2949 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2950 @echo "Building plugin
$@
"
2951 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2953 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2954 @echo "Building plugin
$@
"
2955 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2957 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2958 @echo "Building plugin
$@
"
2959 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2961 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2962 @echo "Building plugin
$@
"
2963 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2965 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2966 @echo "Building plugin
$@
"
2967 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2969 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2970 @echo "Building plugin
$@
"
2971 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2973 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2974 @echo "Building plugin
$@
"
2975 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2977 bin/gpfs_hsm_notify.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_HSM_NOTIFY_OBJ)
2978 @echo "Building plugin
$@
"
2979 @$(SHLD_MODULE) $(VFS_GPFS_HSM_NOTIFY_OBJ)
2981 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2982 @echo "Building plugin
$@
"
2983 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2985 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2986 @echo "Building plugin
$@
"
2987 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2989 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2990 @echo "Building plugin
$@
"
2991 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2993 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2994 @echo "Building plugin
$@
"
2995 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2997 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2998 @echo "Building plugin
$@
"
2999 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
3001 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
3002 @echo "Building plugin
$@
"
3003 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
3005 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
3006 @echo "Building plugin
$@
"
3007 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
3009 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
3010 @echo "Building plugin
$@
"
3011 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
3013 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
3014 @echo "Building plugin
$@
"
3015 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
3017 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3018 @echo "Building plugin
$@
"
3019 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3021 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
3022 @echo "Building plugin
$@
"
3023 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
3025 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
3026 @echo "Building plugin
$@
"
3027 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
3029 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
3030 @echo "Building plugin
$@
"
3031 @$(SHLD_MODULE) libgpo/gpext/registry.o
3033 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
3034 @echo "Building plugin
$@
"
3035 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3037 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3038 @echo "Building plugin
$@
"
3039 @$(SHLD_MODULE) libgpo/gpext/security.o
3041 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3042 @echo "Building plugin
$@
"
3043 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3045 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3046 @echo "Building plugin
$@
"
3047 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3049 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3050 @echo "Building plugin
$@
"
3051 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3053 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3054 @echo "Building plugin
$@
"
3055 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3057 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3058 @echo "Building plugin
$@
"
3059 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3061 #########################################################
3062 ## IdMap NSS plugins
3064 ## None here right now
3065 #########################################################
3067 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3069 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3070 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3073 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3074 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3076 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3077 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
3078 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3079 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3081 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3082 @echo "Linking shared library
$@
"
3083 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
3084 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
3085 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3087 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3089 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3090 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3092 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3094 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3095 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3097 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3099 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3101 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3103 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3105 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3107 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3108 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3110 bin/timelimit: script/tests/timelimit.o
3112 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
3114 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3116 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3117 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3118 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3120 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3122 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3123 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3124 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3125 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3127 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3129 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3130 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3133 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3135 install-dbwrap_tool:: bin/dbwrap_tool
3136 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3138 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3140 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3141 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3144 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3146 install-dbwrap_torture:: bin/dbwrap_torture
3147 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3149 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3151 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3152 $(LDFLAGS) $(DYNEXP) \
3153 $(LIBS) $(POPT_LIBS) \
3154 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3155 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3157 install:: installservers installbin installman \
3158 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3159 @INSTALL_PAM_MODULES@ installlibs installmo
3161 install-everything:: install installmodules
3163 # DESTDIR is used here to prevent packagers wasting their time
3164 # duplicating the Makefile. Remove it and you will have the privelege
3165 # of package each samba release for muliple versions of multiple
3166 # distributions and operating systems, or at least supplying patches
3167 # to all the packaging files required for this, prior to committing
3168 # the removal of DESTDIR. Do not remove it even though you think it
3172 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3173 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3174 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3175 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3176 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3178 installservers:: all installdirs
3179 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3181 installbin:: all installdirs
3182 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3184 # Some symlinks are required for the 'probing' of modules.
3185 # This mechanism should go at some point..
3186 installmodules:: modules installdirs
3187 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3188 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3189 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3190 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3191 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3192 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3193 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3194 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3195 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3196 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3197 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3198 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3199 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3200 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3201 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3202 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3203 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3204 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3206 installscripts:: installdirs
3207 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3209 installdat:: installdirs
3210 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3212 installmsg:: installdirs
3213 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3215 installswat:: installdirs installmsg
3216 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3218 installpammodules:: $(PAM_MODULES)
3219 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3220 @for module in $(PAM_MODULES); do \
3221 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3222 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3223 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3226 # revert to the previously installed version
3228 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3229 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3231 installman:: installdirs
3232 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3234 installmo:: all installdirs
3235 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3240 @echo "Samba will be installed into
:"
3241 @echo " prefix: $(prefix)"
3242 @echo " exec_prefix: $(exec_prefix)"
3243 @echo " sysconfdir
: $(sysconfdir
)"
3244 @echo " localstatedir
: $(localstatedir
)"
3245 @echo " datarootdir
: $(datarootdir
)"
3246 @echo " BINDIR
: $(BINDIR
)"
3247 @echo " SBINDIR
: $(SBINDIR
)"
3248 @echo " LIBDIR
: $(LIBDIR
)"
3249 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3250 @echo " MANDIR
: $(MANDIR
)"
3251 @echo " DATADIR
: $(DATADIR
)"
3252 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3253 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3254 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3255 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3256 @echo " MODULESDIR
: $(MODULESDIR
)"
3257 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3258 @echo " SETUPDIR
: $(SETUPDIR
)"
3259 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3260 @echo " SWATDIR
: $(SWATDIR
)"
3261 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3262 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3263 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3264 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3265 @echo " LOCKDIR
: $(LOCKDIR
)"
3266 @echo " PIDDIR
: $(PIDDIR
)"
3267 @echo " STATEDIR
: $(STATEDIR
)"
3268 @echo " CACHEDIR
: $(CACHEDIR
)"
3269 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3270 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3271 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3272 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3273 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3274 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3275 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3276 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3277 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3278 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3279 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3282 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3285 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3288 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3291 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3294 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3297 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3298 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3299 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3300 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3301 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3302 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3303 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3306 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3309 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3312 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3314 uninstallswat:: uninstallmsg
3315 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3317 uninstallpammodules::
3318 @for module in $(PAM_MODULES); do \
3319 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3320 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3324 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3326 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3328 ../libgpo/*.o ../libgpo/*/*.o \
3329 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3332 -rm -f include/build_env.h
3333 -rm -f smbd/build_options.c
3334 -rm -f param/param_local.h
3335 -rm -f param/param_global.h
3336 -rm -f ../lib/param/param_local.h
3337 -rm -f ../lib/param/param_global.h
3338 -rm -f ../lib/param/param_proto.h
3339 -rm -f ../lib/param/s3_param.h
3340 -rm -f $(PRECOMPILED_HEADER)
3341 -rm -f core */*~ *~ \
3342 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3343 ../testsuite/*/*.o \
3344 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3346 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3347 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3348 $(MODULES) $(TORTURE_PROGS) \
3349 $(EVERYTHING_PROGS) \
3351 .headers.stamp */src/*.o
3354 include/build_env.h: script/build_env.sh
3355 @echo Building include/build_env.h
3356 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3357 > $(builddir)/include/build_env.h
3363 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3366 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3369 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3370 -rm -f script/installbin.sh script/uninstallbin.sh
3372 distclean:: realclean
3374 -rm -f include/autoconf/config.h Makefile
3375 -rm -f config.status config.cache so_locations
3378 realdistclean:: distclean
3379 -rm -f include/autoconf/config.h.in
3380 -rm -f include/version.h
3383 # this target is really just for my use. It only works on a limited
3384 # range of machines and is used to produce a list of potentially
3385 # dead (ie. unused) functions in the code. (tridge)
3387 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3388 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3389 comm -13 nmused.txt nmfns.txt
3392 # when configure.in is updated, reconfigure
3393 $(srcdir)/configure: $(srcdir)/configure.in
3394 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3396 config.status: $(srcdir)/configure
3397 @echo "WARNING
: you need to run .
/configure
"
3399 Makefile: $(srcdir)/Makefile.in config.status
3400 @echo "WARNING
: you need to run .
/config.status
"
3402 ######################################################################
3403 # Samba Testing Framework
3405 # Check shared libs for unresolved symbols
3408 @$(LIB_PATH_VAR)=./bin && \
3409 export $(LIB_PATH_VAR) && \
3410 for module in $?; do \
3411 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3415 # Check for NSS module problems.
3416 test_nss_modules:: nss_modules
3417 @echo "Testing
$(NSS_MODULES
) "
3418 @$(LIB_PATH_VAR)=./bin && \
3419 export $(LIB_PATH_VAR) && \
3420 for module in $(NSS_MODULES); do \
3421 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3425 # Check for PAM module problems. Specifically, check that every module we
3426 # built can actually be loaded by a minimal PAM-aware application.
3427 test_pam_modules:: pam_modules
3428 @echo "Testing
$(PAM_MODULES
) "
3429 @$(LIB_PATH_VAR)=./bin && \
3430 export $(LIB_PATH_VAR) && \
3431 for module in $(PAM_MODULES); do \
3432 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3438 ## Targets for 'make test'
3441 valgrindtest:: all torture timelimit
3442 @echo Running Test suite with valgrind
3444 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3445 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3446 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3447 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3449 selftestdir = ../selftest
3451 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3453 test:: all torture timelimit
3454 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3455 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3456 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3457 SOURCEDIR="$(srcdir)" \
3458 VFSLIBDIR="$(builddir
)/bin
" \
3459 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3460 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3461 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3462 $(srcdir)/selftest/s3-selftest.sh
3465 $(MAKE) test TESTS=$*
3468 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3471 $(MAKE) test SUBUNIT_FORMATTER=cat
3473 SELFTEST_TESTENV = s3dc
3476 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3479 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3480 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3481 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3482 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3486 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3487 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3488 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3489 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3493 # Check for Winbind struct 32/64bit padding
3495 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3496 @./script/tests/wb_pad.sh || exit 1;
3502 libsmbclient_examples: libsmbclient
3503 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3505 clean_libsmbclient_examples:
3506 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3508 libnetapi_examples: libnetapi
3509 $(MAKE) -C lib/netapi/examples
3511 clean_libnetapi_examples:
3512 $(MAKE) -C lib/netapi/examples clean
3514 .PHONY: bin/smbtorture4 bin/ndrdump4
3516 bin/smbtorture4: $(BINARY_PREREQS)
3517 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3519 bin/ndrdump4: $(BINARY_PREREQS)
3520 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3522 .PHONY: vfs_examples
3526 cd ../examples/VFS && \