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 UUID_LIBS
=@UUID_LIBS@
106 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
107 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
108 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
109 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
110 DNSSD_LIBS
=@DNSSD_LIBS@
111 AVAHI_LIBS
=@AVAHI_LIBS@
113 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
114 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
115 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
116 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
117 LIBTDB_LIBS
=@LIBTDB_LIBS@
119 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
120 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
121 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
122 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
124 TALLOCTORT
= @TALLOCTORT@
126 TDBBACKUP
= @TDBBACKUP@
129 TDBRESTORE
= @TDBRESTORE@
130 TDBTORTURE
= @TDBTORTURE@
131 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
134 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
135 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
136 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
137 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
141 builddir
=@abs_builddir@
142 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
143 # will search for a POSIX-compliant shell, and that might not be
144 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
148 # See the autoconf manual "Installation Directory Variables" for a
149 # discussion of the subtle use of these variables.
151 VFSLIBDIR
= $(MODULESDIR
)/vfs
152 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
153 PDBLIBDIR
= $(MODULESDIR
)/pdb
154 RPCLIBDIR
= $(MODULESDIR
)/rpc
155 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
156 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
157 CHARSETLIBDIR
= $(MODULESDIR
)/charset
158 AUTHLIBDIR
= $(MODULESDIR
)/auth
159 CONFIGLIBDIR
= $(MODULESDIR
)/config
160 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
161 VARDIR
= @localstatedir@
163 # The permissions to give the executables and other data
164 INSTALLPERMS_BIN
= 0755
165 INSTALLPERMS_DATA
= 0644
175 -I.
/..
/lib
/ldb
/include \
178 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
179 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
180 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
181 -DSBINDIR
=\"$(SBINDIR
)\" \
182 -DBINDIR
=\"$(BINDIR
)\" \
183 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
184 -DSWATDIR
=\"$(SWATDIR
)\" \
185 -DLOCKDIR
=\"$(LOCKDIR
)\" \
186 -DPIDDIR
=\"$(PIDDIR
)\" \
187 -DLIBDIR
=\"$(LIBDIR
)\" \
188 -DMODULESDIR
=\"$(MODULESDIR
)\" \
189 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
190 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
191 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
192 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
193 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
194 -DCACHEDIR
=\"$(CACHEDIR
)\" \
195 -DSTATEDIR
=\"$(STATEDIR
)\" \
196 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
197 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
198 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
199 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
200 -DDATADIR
=\"$(DATADIR
)\" \
201 -DSETUPDIR
=\"$(SETUPDIR
)\"
203 # Note that all executable programs now provide for an optional executable suffix.
205 SBIN_PROGS
= bin
/smbd bin
/nmbd @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
207 BIN_PROGS1
= bin
/smbclient bin
/net bin
/smbspool \
208 bin
/testparm bin
/smbstatus bin
/smbget \
210 BIN_PROGS2
= bin
/smbcontrol bin
/smbtree
$(TDBBACKUP
) \
211 bin
/nmblookup bin
/pdbedit
$(TDBDUMP
) \
212 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool
213 BIN_PROGS3
= bin
/smbpasswd bin
/rpcclient bin
/smbcacls \
214 bin
/profiles bin
/ntlm_auth bin
/sharesec \
215 bin
/smbcquotas bin
/eventlogadm
217 TORTURE_PROGS
= bin
/smbtorture bin
/msgtest \
218 bin
/masktest bin
/locktest \
219 bin
/locktest2 bin
/nsstest bin
/vfstest \
220 bin
/pdbtest
$(TALLOCTORT
) bin
/replacetort \
221 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
222 bin
/smbconftort bin
/vlp
224 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
225 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
227 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
228 $(TALLOCTORT
) bin
/replacetort \
234 PAM_MODULES
= @PAM_MODULES@
236 NSS_MODULES
= @NSS_MODULES@
238 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
240 VFS_MODULES
= @VFS_MODULES@
241 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
242 PDB_MODULES
= @PDB_MODULES@
243 IDMAP_MODULES
= @IDMAP_MODULES@
244 CHARSET_MODULES
= @CHARSET_MODULES@
245 AUTH_MODULES
= @AUTH_MODULES@
246 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
247 GPEXT_MODULES
= @GPEXT_MODULES@
248 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
249 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
250 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
252 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
254 ######################################################################
256 ######################################################################
258 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
259 ..
/lib
/tdb_wrap
/tdb_wrap.o \
260 lib
/dbwrap
/dbwrap.o \
261 lib
/dbwrap
/dbwrap_open.o \
262 lib
/dbwrap
/dbwrap_tdb.o \
263 lib
/dbwrap
/dbwrap_ctdb.o \
265 lib
/dbwrap
/dbwrap_cache.o \
266 lib
/dbwrap
/dbwrap_watch.o \
267 lib
/dbwrap
/dbwrap_rbt.o
269 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
271 SMBLDAP_OBJ
= @SMBLDAP@
273 VERSION_OBJ
= lib
/version.o
275 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
279 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
281 AVAHI_OBJ
= @AVAHI_OBJ@
283 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
285 PASSCHANGE_OBJ
= libsmb
/passchange.o
287 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
288 ..
/librpc
/ndr
/ndr_compression.o \
289 librpc
/gen_ndr
/ndr_drsuapi.o \
290 ..
/librpc
/ndr
/ndr_drsblobs.o \
291 librpc
/gen_ndr
/ndr_drsblobs.o
293 ZLIB_OBJ
= @ZLIB_OBJS@
295 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
298 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
301 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
302 ..
/librpc
/ndr
/ndr_ntlmssp.o
304 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
305 ..
/librpc
/ndr
/ndr.o \
306 ..
/librpc
/ndr
/ndr_misc.o \
307 librpc
/gen_ndr
/ndr_misc.o \
308 librpc
/gen_ndr
/ndr_security.o \
309 ..
/librpc
/ndr
/ndr_sec_helper.o \
310 ..
/librpc
/ndr
/ndr_string.o \
311 ..
/librpc
/ndr
/uuid.o \
312 ..
/librpc
/ndr
/util.o \
313 librpc
/gen_ndr
/ndr_server_id.o \
314 librpc
/gen_ndr
/ndr_file_id.o \
315 librpc
/gen_ndr
/ndr_dcerpc.o
317 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
318 librpc
/gen_ndr
/ndr_lsa.o
320 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
321 ..
/librpc
/ndr
/ndr_netlogon.o
323 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
324 ..
/librpc
/ndr
/ndr_schannel.o
326 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
327 ..
/librpc
/ndr
/ndr_spoolss_buf.o
329 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
330 ..
/librpc
/ndr
/ndr_ntprinting.o \
332 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
333 ..
/librpc
/ndr
/ndr_preg.o
335 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
336 ..
/librpc
/ndr
/ndr_xattr.o
338 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
339 rpc_client
/cli_spoolss.o \
340 rpc_client
/init_spoolss.o \
341 rpc_client
/cli_winreg_spoolss.o \
342 printing
/nt_printing_os2.o
344 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
346 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o \
347 rpc_client
/cli_winreg.o
349 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
350 rpc_client
/cli_winreg_int.o
352 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
354 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
356 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
358 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
360 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
362 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
364 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
366 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
368 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
370 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/ndr_lsa_c.o \
371 rpc_client
/cli_lsarpc.o \
372 rpc_client
/init_lsa.o
374 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/ndr_samr_c.o \
375 rpc_client
/cli_samr.o
377 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
378 rpc_client
/cli_netlogon.o \
379 rpc_client
/util_netlogon.o
381 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
383 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
385 librpc
/gen_ndr
/ndr_dfs.o \
386 librpc
/gen_ndr
/ndr_dfsblobs.o \
387 librpc
/gen_ndr
/ndr_echo.o \
388 librpc
/gen_ndr
/ndr_winreg.o \
389 librpc
/gen_ndr
/ndr_initshutdown.o \
390 librpc
/gen_ndr
/ndr_srvsvc.o \
391 librpc
/gen_ndr
/ndr_eventlog.o \
392 $(LIBNDR_NETLOGON_OBJ
) \
393 librpc
/gen_ndr
/ndr_dssetup.o \
394 librpc
/gen_ndr
/ndr_epmapper.o \
395 librpc
/gen_ndr
/ndr_ntsvcs.o \
396 $(LIBNDR_SPOOLSS_OBJ
)
398 # this includes only the low level parse code, not stuff
399 # that requires knowledge of security contexts
400 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
402 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
404 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
405 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
406 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
410 $(SOCKET_WRAPPER_OBJ
) \
414 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
415 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
416 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
417 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
418 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
419 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
420 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
421 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
422 ..
/lib
/util
/tevent_werror.o \
423 lib
/tevent_barrier.o \
424 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
425 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
426 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o
428 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
429 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
430 ..
/lib
/crypto
/md4.o \
431 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
432 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
433 ..
/lib
/crypto
/aes_cmac_128.o
435 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
436 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
437 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
441 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
444 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
447 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
448 ..
/lib
/util
/charset
/pull_push.o \
449 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
450 lib
/interface.o lib
/pidfile.o lib
/dumpcore.o \
451 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
453 ..
/libds
/common
/flag_mapping.o \
454 lib
/access.o lib
/smbrun.o \
455 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
456 lib
/wins_srv.o lib
/string_init.o \
457 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
458 ..
/lib
/util
/util_str.o \
459 ..
/lib
/util
/base64.o lib
/util_sid.o \
460 ..
/lib
/util
/charset
/util_unistr.o \
461 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
462 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
463 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
464 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o lib
/dbwrap
/dbwrap_util.o \
465 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
466 lib
/tallocmsg.o lib
/dmallocmsg.o \
467 ..
/libcli
/smb
/smb_signing.o \
468 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
469 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
470 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
471 lib
/sessionid_tdb.o \
472 ..
/lib
/util
/modules.o lib
/events.o @LIBTEVENT_OBJ0@ \
474 lib
/server_contexts.o \
475 lib
/server_prefork.o \
476 lib
/server_prefork_util.o \
477 lib
/ldap_escape.o @CHARSET_STATIC@ \
478 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
479 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
480 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
481 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
483 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
484 lib
/file_id.o lib
/idmap_cache.o \
485 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
486 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
489 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
490 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
492 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
494 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
495 # Be sure to include them into your application
496 POPT_LIB_OBJ
= lib
/popt_common.o
498 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
499 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
500 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
502 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
504 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
505 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
506 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
508 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
510 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
511 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
514 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
516 LIBADS_OBJ
= libads
/ldap.o \
517 libads
/sasl.o libads
/sasl_wrapping.o \
518 libads
/krb5_setpw.o \
519 libads
/kerberos_util.o \
521 libads
/ads_struct.o libads
/kerberos_keytab.o \
522 libads
/disp_sec.o libads
/ldap_utils.o \
523 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
525 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
526 ..
/librpc
/ndr
/ndr_krb5pac.o \
527 librpc
/gen_ndr
/ndr_krb5pac.o
529 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
531 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
532 librpc
/gen_ndr
/ndr_secrets.o \
535 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
536 ..
/libcli
/netlogon
/netlogon.o \
537 librpc
/gen_ndr
/ndr_nbt.o \
538 ..
/librpc
/ndr
/ndr_nbt.o \
539 librpc
/gen_ndr
/ndr_svcctl.o \
540 ..
/librpc
/ndr
/ndr_svcctl.o
542 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
543 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
544 libads
/dns.o libads
/sitename_cache.o
546 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
547 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
548 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
549 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
551 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
553 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
555 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
560 ..
/libcli
/auth
/spnego_parse.o \
561 ..
/libcli
/auth
/ntlm_check.o \
563 libsmb
/ntlmssp_wrap.o \
564 libsmb
/auth_generic.o \
565 ..
/lib
/krb5_wrap
/krb5_samba.o \
567 ..
/auth
/gensec
/gensec.o \
568 ..
/auth
/gensec
/gensec_start.o \
569 ..
/auth
/gensec
/gensec_util.o \
570 ..
/auth
/gensec
/spnego.o \
571 ..
/auth
/credentials
/credentials.o \
572 ..
/auth
/credentials
/credentials_ntlm.o \
573 ..
/auth
/credentials
/credentials_samba3.o \
574 ..
/auth
/ntlmssp
/ntlmssp.o \
575 ..
/auth
/ntlmssp
/ntlmssp_util.o \
576 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
577 ..
/auth
/ntlmssp
/ntlmssp_client.o \
578 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
579 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
580 $(LIBNDR_NTLMSSP_OBJ
) \
581 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
582 ..
/auth
/ntlmssp
/ntlmssp_server.o
584 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
587 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
588 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
590 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
591 ..
/lib
/tsocket
/tsocket_helpers.o \
592 ..
/lib
/tsocket
/tsocket_bsd.o
594 CLDAP_OBJ
= libads
/cldap.o \
595 ..
/libcli
/cldap
/cldap.o \
596 ..
/lib
/util
/idtree.o \
597 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
599 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
601 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
602 ..
/libcli
/auth
/schannel_sign.o \
603 ..
/libcli
/auth
/schannel_state_tdb.o \
604 $(LIBNDR_SCHANNEL_OBJ
)
606 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
607 libsmb
/reparse_symlink.o \
608 libsmb
/clisymlink.o \
609 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
610 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
611 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
612 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
613 libsmb
/clioplock.o libsmb
/clirap2.o \
615 libsmb
/clisigning.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
/smb2_session.o \
621 libsmb
/smb2cli_session.o \
622 libsmb
/smb2cli_tcon.o \
623 libsmb
/smb2cli_create.o \
624 ..
/libcli
/smb
/smb2_create_blob.o \
625 ..
/libcli
/smb
/smb2_signing.o \
626 libsmb
/smb2cli_close.o \
627 libsmb
/smb2cli_flush.o \
628 libsmb
/smb2cli_read.o \
629 libsmb
/smb2cli_write.o \
630 libsmb
/smb2cli_query_directory.o \
631 libsmb
/cli_np_tstream.o \
632 libsmb
/smbsock_connect.o \
639 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
640 rpc_client
/cli_pipe.o \
641 librpc
/crypto
/gse_krb5.o \
642 librpc
/crypto
/gse.o \
643 ..
/auth
/kerberos
/gssapi_pac.o \
644 librpc
/rpc
/rpc_common.o \
645 rpc_client
/rpc_transport_np.o \
646 rpc_client
/rpc_transport_sock.o \
647 rpc_client
/rpc_transport_tstream.o \
648 ..
/librpc
/rpc
/binding.o \
649 ..
/librpc
/rpc
/dcerpc_util.o \
650 ..
/librpc
/rpc
/binding_handle.o \
651 librpc
/rpc
/dcerpc_helpers.o \
652 $(LIBCLI_EPMAPPER_OBJ
)
654 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
657 # registry-related objects
659 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
661 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
662 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
663 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
665 REGFIO_OBJ
= registry
/regfio.o \
668 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
670 REGOBJS_OBJ
= registry
/reg_objects.o
672 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
674 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
676 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
677 registry
/reg_backend_shares.o \
678 registry
/reg_backend_netlogon_params.o \
679 registry
/reg_backend_prod_options.o \
680 registry
/reg_backend_tcpip_params.o \
681 registry
/reg_backend_hkpt_params.o \
682 registry
/reg_backend_current_version.o \
683 registry
/reg_backend_perflib.o
685 REG_BASE_OBJ
= registry
/reg_api.o \
686 registry
/reg_dispatcher.o \
687 registry
/reg_cachehook.o \
689 registry
/reg_util_internal.o \
691 $(REG_BACKENDS_BASE_OBJ
) \
692 registry
/reg_parse_internal.o \
693 lib
/cbuf.o lib
/srprs.o \
694 $(REG_INIT_BASIC_OBJ
)
696 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
697 registry
/reg_util_token.o \
698 registry
/reg_api_util.o \
699 $(REG_BACKENDS_SMBCONF_OBJ
) \
700 $(REG_INIT_SMBCONF_OBJ
)
702 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
703 $(REG_BACKENDS_EXTRA_OBJ
) \
704 $(REG_INIT_FULL_OBJ
) \
705 registry
/reg_perfcount.o \
706 librpc
/gen_ndr
/ndr_perfcount.o
708 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
710 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
712 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
713 librpc
/gen_ndr
/srv_lsa.o \
714 ..
/libcli
/lsarpc
/util_lsarpc.o
716 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
717 librpc
/gen_ndr
/srv_netlogon.o
719 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
720 rpc_server
/samr
/srv_samr_util.o \
721 rpc_server
/samr
/srv_samr_chgpasswd.o \
722 librpc
/gen_ndr
/srv_samr.o
724 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
726 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
727 librpc
/gen_ndr
/srv_winreg.o
729 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
731 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
732 librpc
/gen_ndr
/srv_srvsvc.o
734 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
735 rpc_server
/wkssvc
/srv_wkssvc_nt.o
737 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
738 rpc_server
/svcctl
/srv_svcctl_reg.o \
739 librpc
/gen_ndr
/srv_svcctl.o \
740 services
/svc_winreg_glue.o \
741 services
/svc_spoolss.o services
/svc_rcinit.o \
742 services
/svc_netlogon.o services
/svc_winreg.o \
745 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
746 librpc
/gen_ndr
/srv_ntsvcs.o
748 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
749 rpc_server
/dfs
/srv_dfs_nt.o
751 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
752 rpc_server
/spoolss
/srv_spoolss_util.o \
753 librpc
/gen_ndr
/srv_spoolss.o
755 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
756 rpc_server
/eventlog
/srv_eventlog_reg.o \
757 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
759 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
760 librpc
/gen_ndr
/ndr_named_pipe_auth.o \
761 ..
/auth
/auth_sam_reply.o librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
763 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
764 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
765 rpc_server
/srv_access_check.o
767 RPC_CONFIG
= rpc_server
/rpc_config.o
769 RPC_SERVICE
= rpc_server
/rpc_server.o
771 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
773 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
774 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
776 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
778 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o librpc
/gen_ndr
/srv_epmapper.o
780 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
782 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
783 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
784 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
785 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
786 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
787 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
788 $(LIBCLI_SPOOLSS_OBJ
) \
789 $(LIBCLI_WINREG_INT_OBJ
) \
790 $(LIBCLI_SRVSVC_OBJ
) \
793 $(LIBCLI_NETLOGON_OBJ
) \
794 $(RPC_SERVER_REGISTER_OBJ
) \
795 $(RPC_CLIENT_SCHANNEL_OBJ
) \
796 rpc_server
/rpc_sock_helper.o \
797 rpc_server
/rpc_service_setup.o \
798 rpc_client
/init_netlogon.o \
799 rpc_client
/init_samr.o
801 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
803 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
804 librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
806 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
808 PRIVILEGES_OBJ
= lib
/privileges.o
810 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
812 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
813 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
814 lib
/util_unixsids.o passdb
/lookup_sid.o \
815 passdb
/login_cache.o @PDB_STATIC@ \
816 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
817 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
818 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
821 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
822 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
824 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
826 PROFILE_OBJ
= profile
/profile.o
827 PROFILES_OBJ
= utils
/profiles.o \
830 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
834 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
837 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
838 librpc
/gen_ndr
/ndr_notify.o
840 FNAME_UTIL_OBJ
= lib
/filename_util.o
842 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
843 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
844 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
845 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
846 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
847 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
848 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
849 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
850 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
851 VFS_CAP_OBJ
= modules
/vfs_cap.o
852 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
853 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
854 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
855 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
856 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
857 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
858 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
859 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
860 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
861 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
862 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
863 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
864 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
865 VFS_CATIA_OBJ
= modules
/vfs_catia.o
866 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
867 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
868 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
869 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
870 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
871 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
872 VFS_GPFS_HSM_NOTIFY_OBJ
= modules
/vfs_gpfs_hsm_notify.o
873 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
874 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
875 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
876 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
877 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
878 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
879 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
880 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
881 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
882 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
883 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
884 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
885 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
886 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
887 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
888 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
889 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
890 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
891 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
892 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
893 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
894 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
895 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
897 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
898 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
900 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
902 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
904 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
905 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
906 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
907 AUTH_SERVER_OBJ
= auth
/auth_server.o
908 AUTH_UNIX_OBJ
= auth
/auth_unix.o
909 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
910 AUTH_WBC_OBJ
= auth
/auth_wbc.o
911 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
912 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
914 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
916 auth
/server_info_sam.o \
920 auth
/auth_ntlmssp.o auth
/auth_generic.o \
921 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
923 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
925 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
927 BUILDOPT_OBJ
= smbd
/build_options.o
929 SMBD_OBJ_SRV
= smbd
/server_reload.o \
930 smbd
/files.o smbd
/connection.o \
931 smbd
/utmp.o smbd
/session.o \
932 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
933 smbd
/share_access.o smbd
/fileio.o \
934 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
935 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
936 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
937 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
938 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
939 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
940 smbd
/posix_acls.o lib
/sysacls.o \
941 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
944 printing
/printspoolss.o printing
/spoolssd.o \
945 lib
/sysquotas.o lib
/sysquotas_linux.o \
946 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
947 lib
/sysquotas_nfs.o \
951 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
952 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
953 smbd
/dmapi.o smbd
/signing.o \
955 smbd
/dnsregister.o smbd
/globals.o \
958 smbd
/smb2_negprot.o \
959 smbd
/smb2_sesssetup.o \
968 smbd
/smb2_keepalive.o \
971 smbd
/smb2_getinfo.o \
972 smbd
/smb2_setinfo.o \
974 $(MANGLE_OBJ
) @VFS_STATIC@
976 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
978 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
979 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
980 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
981 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
982 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
983 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
984 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
986 $(PRIVILEGES_BASIC_OBJ
) \
988 $(REG_API_REGF_OBJ
) \
991 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
992 printing
/print_cups.o printing
/print_generic.o \
993 printing
/lpq_parse.o printing
/load.o \
994 printing
/print_iprint.o printing
/print_standard.o \
995 printing
/printer_list.o librpc
/gen_ndr
/ndr_printcap.o
997 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
998 PRINTBACKEND_OBJ
= printing
/printing.o \
999 printing
/nt_printing.o \
1000 printing
/nt_printing_tdb.o \
1001 printing
/nt_printing_migrate.o \
1002 printing
/nt_printing_migrate_internal.o \
1003 printing
/nt_printing_ads.o \
1004 librpc
/gen_ndr
/ndr_ntprinting.o \
1005 ..
/librpc
/ndr
/ndr_ntprinting.o \
1006 printing
/queue_process.o \
1009 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1011 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1012 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1013 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1014 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1015 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1016 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1017 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1018 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1019 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1020 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1021 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1022 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1024 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1025 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1026 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1028 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1029 web
/swat.o web
/neg_lang.o
1031 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1032 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1033 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1034 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1035 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1036 $(LIBCLI_SAMR_OBJ
) \
1037 rpc_client
/init_lsa.o
1039 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1040 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1041 smbd
/notify_internal.o librpc
/gen_ndr
/ndr_notify.o \
1042 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1043 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1045 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1046 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1048 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1049 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1050 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1051 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1052 $(LIBMSRPC_GEN_OBJ
) \
1054 $(LIBCLI_SRVSVC_OBJ
)
1056 TESTPARM_OBJ
= utils
/testparm.o \
1057 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1060 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1061 $(LIB_NONSMBD_OBJ
) \
1062 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1064 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1065 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1066 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1068 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1070 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1071 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1072 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1073 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1074 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1075 $(LIBCLI_SAMR_OBJ
) \
1076 rpc_client
/init_lsa.o
1078 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1079 $(AFS_SETTOKEN_OBJ
) \
1080 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1081 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1082 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1083 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1084 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1086 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1088 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1090 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1091 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1092 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1093 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1094 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1095 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1096 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1097 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1098 rpcclient
/cmd_winreg.o \
1101 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1102 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1103 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1104 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1105 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1106 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1107 $(LIBCLI_SPOOLSS_OBJ
) \
1108 $(LIBCLI_EVENTLOG_OBJ
) \
1109 $(LIBCLI_NTSVCS_OBJ
) \
1110 $(LIBCLI_DRSUAPI_OBJ
) \
1112 $(LIBCLI_ECHO_OBJ
) \
1113 $(LIBCLI_DSSETUP_OBJ
) \
1114 $(LIBCLI_WKSSVC_OBJ
) \
1115 $(LIBCLI_SRVSVC_OBJ
) \
1117 $(LIBCLI_SAMR_OBJ
) \
1118 $(LIBCLI_WINREG_OBJ
) \
1119 $(LIBCLI_NETLOGON_OBJ
) \
1120 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1121 rpc_client
/init_netlogon.o \
1122 rpc_client
/init_samr.o
1124 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1125 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1127 LIBSMBCLIENT_THREAD_OBJ
= \
1128 libsmb
/libsmb_thread_impl.o \
1129 libsmb
/libsmb_thread_posix.o
1131 LIBSMBCLIENT_OBJ0
= \
1132 libsmb
/libsmb_cache.o \
1133 libsmb
/libsmb_compat.o \
1134 libsmb
/libsmb_context.o \
1135 libsmb
/libsmb_dir.o \
1136 libsmb
/libsmb_file.o \
1137 libsmb
/libsmb_misc.o \
1138 libsmb
/libsmb_path.o \
1139 libsmb
/libsmb_printjob.o \
1140 libsmb
/libsmb_server.o \
1141 libsmb
/libsmb_stat.o \
1142 libsmb
/libsmb_xattr.o \
1143 libsmb
/libsmb_setget.o
1145 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1146 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1147 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1148 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1149 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1150 $(LIBCLI_SRVSVC_OBJ
) \
1153 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1155 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1156 client
/dnsbrowse.o \
1159 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1160 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1161 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1162 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1163 $(DISPLAY_SEC_OBJ
) \
1164 $(LIBCLI_SRVSVC_OBJ
)
1166 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1167 ..
/lib
/smbconf
/smbconf_util.o \
1168 ..
/lib
/smbconf
/smbconf_txt.o \
1169 lib
/smbconf
/smbconf_reg.o \
1170 lib
/smbconf
/smbconf_init.o
1172 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1174 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1175 $(LIB_NONSMBD_OBJ
) \
1180 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1181 lib
/pthreadpool
/tests.o
1183 LIBNET_OBJ
= libnet
/libnet_join.o \
1184 libnet
/libnet_keytab.o \
1185 librpc
/gen_ndr
/ndr_libnet_join.o
1187 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1188 libnet
/libnet_dssync_passdb.o \
1189 libnet
/libnet_dssync_keytab.o \
1190 ..
/libcli
/drsuapi
/repl_decrypt.o
1192 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1193 libnet
/libnet_samsync_ldif.o \
1194 libnet
/libnet_samsync_passdb.o \
1195 libnet
/libnet_samsync_display.o \
1196 libnet
/libnet_samsync_keytab.o \
1197 ..
/libcli
/samsync
/decrypt.o
1199 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1200 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1201 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1202 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1203 utils
/net_idmap_check.o utils
/interact.o \
1204 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1205 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1206 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1207 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1208 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1209 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1210 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1211 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1212 utils
/net_g_lock.o \
1213 utils
/net_serverid.o \
1214 utils
/net_eventlog.o \
1215 utils
/net_printing.o \
1216 utils
/net_rpc_trust.o \
1217 utils
/net_rpc_conf.o\
1218 $(LIBNDR_NTPRINTING_OBJ
) \
1219 $(LIBNDR_PREG_OBJ
) \
1220 $(LIBCLI_SPOOLSS_OBJ
) \
1221 $(LIBCLI_WINREG_OBJ
) \
1222 $(LIBCLI_DRSUAPI_OBJ
) \
1223 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1224 $(LIBCLI_DSSETUP_OBJ
) \
1225 $(LIBCLI_SVCCTL_OBJ
) \
1226 $(LIBCLI_WKSSVC_OBJ
) \
1227 $(LIBCLI_SRVSVC_OBJ
) \
1229 $(LIBCLI_SAMR_OBJ
) \
1230 $(LIBCLI_NETLOGON_OBJ
) \
1231 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1232 rpc_client
/init_netlogon.o \
1233 rpc_client
/init_samr.o \
1234 registry
/reg_parse.o registry
/reg_format.o \
1235 registry
/reg_import.o \
1236 printing
/nt_printing_migrate.o
1238 # these are not processed by make proto
1239 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1241 NET_OBJ
= $(NET_OBJ1
) \
1242 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1243 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1244 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1245 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1246 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1247 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1248 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1249 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1250 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1251 $(REG_SMBCONF_OBJ
) \
1252 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1255 $(PRIVILEGES_BASIC_OBJ
) \
1258 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1259 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1260 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1262 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1263 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1265 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1266 torture
/denytest.o torture
/mangle_test.o \
1268 torture
/test_async_echo.o \
1269 torture
/test_smbsock_any_connect.o \
1270 torture
/test_nttrans_create.o \
1271 torture
/test_nttrans_fsctl.o \
1272 torture
/test_notify_online.o \
1273 torture
/test_addrchange.o \
1274 torture
/test_case_insensitive.o \
1275 torture
/test_posix_append.o \
1276 torture
/test_smb2.o \
1277 torture
/test_chain3.o \
1278 torture
/test_authinfo_structs.o \
1279 torture
/test_cleanup.o \
1280 torture
/test_ctdbconn.o \
1281 torture
/test_msg.o \
1282 torture
/test_notify.o \
1283 torture
/test_dbwrap_watch.o \
1284 torture
/t_strappend.o
1286 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1287 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1288 @LIBWBCLIENT_STATIC@ \
1289 torture
/wbc_async.o \
1290 ..
/nsswitch
/wb_reqtrans.o \
1291 ..
/libcli
/lsarpc
/util_lsarpc.o \
1292 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1294 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1295 $(LIB_NONSMBD_OBJ
) \
1296 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1298 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1299 $(LIB_NONSMBD_OBJ
) \
1302 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1303 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1304 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1306 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1308 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1309 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1310 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1311 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1313 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1314 torture
/vfstest_chain.o
1316 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1318 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1319 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1320 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1322 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1323 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1324 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1325 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1328 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1330 $(LIB_NONSMBD_OBJ
) \
1331 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1332 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1335 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1337 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1338 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1339 librpc
/gen_ndr
/ndr_eventlog.o \
1340 librpc
/gen_ndr
/ndr_lsa.o
1342 SHARESEC_OBJ0
= utils
/sharesec.o
1343 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1347 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1348 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1350 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1351 @libreplacedir@
/test/getifaddrs.o \
1352 @libreplacedir@
/test/os2_delete.o \
1353 @libreplacedir@
/test/strptime.o \
1354 @libreplacedir@
/test/main.o \
1355 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1357 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1359 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1360 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1361 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1363 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1364 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1366 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1367 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1368 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1370 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1371 $(AFS_SETTOKEN_OBJ
) \
1372 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1375 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1377 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1379 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1382 winbindd
/idmap_hash
/idmap_hash.o \
1383 winbindd
/idmap_hash
/mapfile.o
1386 winbindd
/idmap_adex
/idmap_adex.o \
1387 winbindd
/idmap_adex
/cell_util.o \
1388 winbindd
/idmap_adex
/likewise_cell.o \
1389 winbindd
/idmap_adex
/provider_unified.o \
1390 winbindd
/idmap_adex
/gc_util.o \
1391 winbindd
/idmap_adex
/domain_util.o
1394 winbindd
/winbindd.o \
1395 winbindd
/winbindd_group.o \
1396 winbindd
/winbindd_util.o \
1397 winbindd
/winbindd_cache.o \
1398 winbindd
/winbindd_pam.o \
1399 winbindd
/winbindd_misc.o \
1400 winbindd
/winbindd_cm.o \
1401 winbindd
/winbindd_wins_byip.o \
1402 winbindd
/winbindd_wins_byname.o \
1403 winbindd
/winbindd_msrpc.o \
1404 winbindd
/winbindd_rpc.o \
1405 winbindd
/winbindd_reconnect.o \
1406 winbindd
/winbindd_ads.o \
1407 winbindd
/winbindd_samr.o \
1408 winbindd
/winbindd_dual.o \
1409 winbindd
/winbindd_dual_ndr.o \
1410 winbindd
/winbindd_dual_srv.o \
1411 librpc
/gen_ndr
/ndr_wbint_c.o \
1412 librpc
/gen_ndr
/srv_wbint.o \
1413 librpc
/gen_ndr
/ndr_wbint.o \
1414 librpc
/gen_ndr
/ndr_idmap.o \
1415 winbindd
/winbindd_async.o \
1416 winbindd
/winbindd_creds.o \
1417 winbindd
/winbindd_cred_cache.o \
1418 winbindd
/winbindd_ccache_access.o \
1419 winbindd
/winbindd_domain.o \
1420 winbindd
/winbindd_idmap.o \
1421 winbindd
/winbindd_locator.o \
1422 winbindd
/winbindd_ndr.o \
1423 winbindd
/wb_ping.o \
1424 winbindd
/wb_lookupsid.o \
1425 winbindd
/wb_lookupsids.o \
1426 winbindd
/wb_lookupname.o \
1427 winbindd
/wb_sid2uid.o \
1428 winbindd
/wb_sid2gid.o \
1429 winbindd
/wb_uid2sid.o \
1430 winbindd
/wb_gid2sid.o \
1431 winbindd
/wb_queryuser.o \
1432 winbindd
/wb_lookupuseraliases.o \
1433 winbindd
/wb_lookupusergroups.o \
1434 winbindd
/wb_getpwsid.o \
1435 winbindd
/wb_gettoken.o \
1436 winbindd
/wb_seqnum.o \
1437 winbindd
/wb_seqnums.o \
1438 winbindd
/wb_group_members.o \
1439 winbindd
/wb_getgrsid.o \
1440 winbindd
/wb_query_user_list.o \
1441 winbindd
/wb_fill_pwent.o \
1442 winbindd
/wb_next_pwent.o \
1443 winbindd
/wb_next_grent.o \
1444 winbindd
/wb_dsgetdcname.o \
1445 winbindd
/winbindd_lookupsid.o \
1446 winbindd
/winbindd_lookupsids.o \
1447 winbindd
/winbindd_lookupname.o \
1448 winbindd
/winbindd_sid_to_uid.o \
1449 winbindd
/winbindd_sid_to_gid.o \
1450 winbindd
/winbindd_uid_to_sid.o \
1451 winbindd
/winbindd_gid_to_sid.o \
1452 winbindd
/winbindd_sids_to_xids.o \
1453 winbindd
/winbindd_allocate_uid.o \
1454 winbindd
/winbindd_allocate_gid.o \
1455 winbindd
/winbindd_getpwsid.o \
1456 winbindd
/winbindd_getpwnam.o \
1457 winbindd
/winbindd_getpwuid.o \
1458 winbindd
/winbindd_getsidaliases.o \
1459 winbindd
/winbindd_getuserdomgroups.o \
1460 winbindd
/winbindd_getgroups.o \
1461 winbindd
/winbindd_show_sequence.o \
1462 winbindd
/winbindd_getgrgid.o \
1463 winbindd
/winbindd_getgrnam.o \
1464 winbindd
/winbindd_getusersids.o \
1465 winbindd
/winbindd_lookuprids.o \
1466 winbindd
/winbindd_setpwent.o \
1467 winbindd
/winbindd_getpwent.o \
1468 winbindd
/winbindd_endpwent.o \
1469 winbindd
/winbindd_setgrent.o \
1470 winbindd
/winbindd_getgrent.o \
1471 winbindd
/winbindd_endgrent.o \
1472 winbindd
/winbindd_dsgetdcname.o \
1473 winbindd
/winbindd_getdcname.o \
1474 winbindd
/winbindd_list_users.o \
1475 winbindd
/winbindd_list_groups.o \
1476 winbindd
/winbindd_check_machine_acct.o \
1477 winbindd
/winbindd_change_machine_acct.o \
1478 winbindd
/winbindd_ping_dc.o \
1479 winbindd
/winbindd_pam_auth.o \
1480 winbindd
/winbindd_pam_auth_crap.o \
1481 winbindd
/winbindd_pam_chauthtok.o \
1482 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1483 winbindd
/winbindd_pam_logoff.o \
1487 auth
/check_samsec.o \
1488 auth
/server_info.o \
1489 auth
/server_info_sam.o \
1492 ..
/nsswitch
/wb_reqtrans.o
1495 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1496 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1497 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1498 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1499 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1500 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1501 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1502 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1503 $(NPA_TSTREAM_OBJ
) \
1504 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1505 $(LIBADS_SERVER_OBJ
) \
1506 $(TDB_VALIDATE_OBJ
) \
1507 $(LIBCLI_DSSETUP_OBJ
) \
1509 $(LIBCLI_SAMR_OBJ
) \
1510 $(LIBCLI_NETLOGON_OBJ
) \
1511 rpc_client
/init_netlogon.o \
1512 rpc_client
/init_samr.o \
1515 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1516 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1517 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1518 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1520 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1522 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1523 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1525 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1526 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1528 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1529 ..
/lib
/iniparser_build
/strlib.o
1531 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1532 $(SOCKET_WRAPPER_OBJ
)
1534 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1535 $(SOCKET_WRAPPER_OBJ
)
1537 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1538 $(SOCKET_WRAPPER_OBJ
)
1540 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1541 $(SOCKET_WRAPPER_OBJ
)
1543 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1544 $(SOCKET_WRAPPER_OBJ
)
1547 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1549 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1550 ${LIBADS_SERVER_OBJ} \
1551 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1553 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1554 $(AFS_SETTOKEN_OBJ
) \
1555 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1556 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1559 VLP_OBJ
= printing
/tests
/vlp.o \
1560 ..
/lib
/util
/util_tdb.o \
1561 $(LIBSAMBAUTIL_OBJ
) \
1564 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1568 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1569 $(LIB_NONSMBD_OBJ
) \
1574 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1576 $(LIB_NONSMBD_OBJ
) \
1580 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1582 $(LIB_NONSMBD_OBJ
) \
1586 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1588 $(LIB_NONSMBD_OBJ
) \
1592 ######################################################################
1594 ######################################################################
1595 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1596 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1597 $(EXTRA_ALL_TARGETS
)
1599 basics
:: samba3-idl mkparam
1601 nss_modules
:: $(NSS_MODULES
)
1603 pam_modules
:: $(PAM_MODULES
)
1605 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1607 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1609 gpext_modules
:: $(GPEXT_MODULES
)
1611 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1613 smbtorture
: SHOWFLAGS bin
/smbtorture
1615 masktest
: SHOWFLAGS bin
/masktest
1617 msgtest
: SHOWFLAGS bin
/msgtest
1619 locktest
: SHOWFLAGS bin
/locktest
1621 smbcacls
: SHOWFLAGS bin
/smbcacls
1623 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1625 locktest2
: SHOWFLAGS bin
/locktest2
1627 debug2html
: SHOWFLAGS bin
/debug2html
1629 smbfilter
: SHOWFLAGS bin
/smbfilter
1631 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1633 sharesec
: SHOWFLAGS bin
/sharesec
1635 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1637 replacetort
: SHOWFLAGS bin
/replacetort
1639 smbconftort
: SHOWFLAGS bin
/smbconftort
1641 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1643 timelimit
: SHOWFLAGS bin
/timelimit
1645 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1646 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1647 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1649 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1651 modules
:: SHOWFLAGS
$(MODULES
)
1654 #####################################################################
1655 ## Perl IDL Compiler
1657 IDL_FILES
= librpc
/idl
/messaging.idl \
1658 librpc
/idl
/libnetapi.idl \
1659 librpc
/idl
/wbint.idl \
1660 librpc
/idl
/perfcount.idl \
1661 librpc
/idl
/secrets.idl \
1662 librpc
/idl
/open_files.idl \
1663 librpc
/idl
/libnet_join.idl
1666 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1667 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1668 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1669 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1672 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1673 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1674 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1675 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1677 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
1679 ..
/lib
/param
/param_local.h
:
1680 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file ..
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1681 ..
/lib
/param
/param_global.h
:
1682 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1683 param
/param_global.h
:
1684 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/param
/loadparm.c
--file param
/param_global.h
--generate-scope
=GLOBAL
1685 ..
/lib
/param
/param_proto.h
:
1686 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--public ..
/lib
/param
/param_proto.h
--private ..
/lib
/param
/param_proto.h
1687 ..
/lib
/param
/s3_param.h
:
1688 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/s3_param.h
1691 #####################################################################
1694 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1695 $(EVERYTHING_PROGS
) \
1699 .SUFFIXES
: .c .o .lo
1701 .PHONY
: showflags SHOWFLAGS
1703 showflags
: SHOWFLAGS
1706 @echo
"Using CFLAGS = $(CFLAGS)"
1707 @echo
" PICFLAG = $(PICFLAG)"
1708 @echo
" LIBS = $(LIBS)"
1709 @echo
" LDFLAGS = $(LDFLAGS)"
1710 @echo
" DYNEXP = $(DYNEXP)"
1711 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1712 @echo
" SHLIBEXT = @SHLIBEXT@"
1713 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1715 # "showcflags" target for debuggin how CFLAGS are composed:
1717 .PHONY
: showcflags SHOWCFLAGS
1719 showcflags
: SHOWCFLAGS
1722 @echo
"CFLAGS = $(CFLAGS)"
1723 @echo
"FLAGS = $(FLAGS)"
1725 @echo
"FLAGS1 = @FLAGS1@"
1726 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1727 @echo
"CPPFLAGS = $(CPPFLAGS)"
1728 @echo
"ISA = $(ISA)"
1730 MAKEDIR
= || exec false
; \
1731 if
test -d
"$$dir"; then
:; else \
1732 echo mkdir
"$$dir"; \
1733 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1734 test -d
"$$dir" || \
1736 exec false
; fi || exec false
1738 # Run a static checker.
1739 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1740 # Compile a source file.
1741 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1742 # Compile a source file with the installation paths defined.
1743 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1745 COMPILE
= $(COMPILE_CC
)
1748 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1749 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1750 @if
test -n
"$(CC_CHECKER)"; then \
1751 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1754 @echo Compiling
$*.c
1755 @
$(COMPILE
) && exit
0;\
1756 echo
"The following command failed:" 1>&2;\
1757 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1758 $(COMPILE_CC) >/dev/null 2>&1
1759 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1761 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1763 # this adds support for precompiled headers. To use it, install a snapshot
1764 # of gcc-3.4 and run 'make pch' before you do the main build.
1766 rm -f $(PRECOMPILED_HEADER)
1767 $(MAKE) $(PRECOMPILED_HEADER)
1769 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1772 BINARY_PREREQS = bin/.dummy
1774 # These dependencies are only approximately correct: we want to make
1775 # sure Samba's paths are updated if ./configure is re-run. Really it
1776 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1777 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1778 # rebuild it's a bit hard.
1780 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1781 @echo Compiling $*.c
1782 @$(COMPILE_CC_PATH) && exit 0;\
1783 echo "The following command failed
:" 1>&2;\
1784 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1785 $(COMPILE_CC_PATH) >/dev/null 2>&1
1787 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1788 @echo Compiling $*.c
1789 @$(COMPILE_CC_PATH) && exit 0;\
1790 echo "The following command failed
:" 1>&2;\
1791 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1792 $(COMPILE_CC_PATH) >/dev/null 2>&1
1794 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1795 @echo Compiling $*.c
1796 @$(COMPILE_CC_PATH) && exit 0;\
1797 echo "The following command failed
:" 1>&2;\
1798 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1799 $(COMPILE_CC_PATH) >/dev/null 2>&1
1801 ### Start section of object files that require PTHREAD_CFLAGS
1802 ../nsswitch/wins.o: ../nsswitch/wins.c
1803 @echo Compiling $*.c
1804 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1805 echo "The following command failed
:" 1>&2;\
1806 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1807 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1809 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1810 @echo Compiling $*.c
1811 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1812 echo "The following command failed
:" 1>&2;\
1813 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1814 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1816 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1817 @echo Compiling $*.c
1818 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1819 echo "The following command failed
:" 1>&2;\
1820 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1821 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1823 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1824 @echo Compiling $*.c
1825 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1826 echo "The following command failed
:" 1>&2;\
1827 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1828 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1829 ### End section of object files that require PTHREAD_CFLAGS
1831 lib/pidfile.o: lib/pidfile.c
1832 @echo Compiling $*.c
1833 @$(COMPILE_CC_PATH) && exit 0;\
1834 echo "The following command failed
:" 1>&2;\
1835 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1836 $(COMPILE_CC_PATH) >/dev/null 2>&1
1838 lib/version.o: lib/version.c include/version.h
1839 @echo Compiling $*.c
1840 @$(COMPILE_CC_PATH) && exit 0;\
1841 echo "The following command failed
:" 1>&2;\
1842 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1843 $(COMPILE_CC_PATH) >/dev/null 2>&1
1845 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1846 @echo Compiling $*.c
1847 @$(COMPILE_CC_PATH) && exit 0;\
1848 echo "The following command failed
:" 1>&2;\
1849 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1850 $(COMPILE_CC_PATH) >/dev/null 2>&1
1852 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1854 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1857 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1858 dir=bin $(MAKEDIR); fi
1859 @: >> $@ || : > $@ # what a fancy emoticon!
1861 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1863 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1864 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1865 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1866 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1867 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1869 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1871 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1872 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1873 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1874 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1876 bin/swat: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1878 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1879 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1880 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1882 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1884 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1885 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1886 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1887 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1889 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1891 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1892 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1893 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1894 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1896 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1898 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1899 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1900 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1901 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1904 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1906 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1907 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1909 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1911 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1912 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1913 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1915 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1917 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1918 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1920 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1922 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1923 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1925 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1927 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1928 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1930 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1932 @$(CC) -DUSING_SMBCONTROL -o $@ \
1933 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1934 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1935 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1937 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1939 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1940 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1941 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1943 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1945 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1946 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1947 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1949 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1951 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1952 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1953 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1955 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1957 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1958 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1959 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1961 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1963 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1964 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1966 bin/smbtorture: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1968 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1969 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1970 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1972 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1974 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1975 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1976 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1978 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1980 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1981 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1983 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1985 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1986 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1987 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1989 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
1991 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1993 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1995 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1996 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1997 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1998 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2000 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2002 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2003 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2004 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2006 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2008 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2009 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2010 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2012 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2014 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2015 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2016 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2018 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
2020 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2021 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2023 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2025 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2026 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2028 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2030 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2031 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2032 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2033 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2035 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2037 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2040 bin/pdbtest: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2042 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2043 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
2044 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2046 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2048 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2049 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2050 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2051 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2052 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2054 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2056 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2057 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2059 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2061 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2062 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2063 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2064 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2066 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2068 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2069 $(LIBS) $(LIBTALLOC_LIBS)
2071 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2073 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2074 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2075 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2076 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2078 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2080 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2083 #####################################################################
2087 #####################################################################
2089 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2092 #-------------------------------------------------------------------
2096 #-------------------------------------------------------------------
2099 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2100 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2102 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
2103 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2104 LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
2105 LIBTALLOC_SHARED_TARGET_SONAME=@LIBTALLOC_SHARED_TARGET_SOVER@
2106 LIBTALLOC_SHARED_TARGET_FULLVER=@LIBTALLOC_SHARED_TARGET_FULLVER@
2107 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2108 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2109 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2111 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2112 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2114 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2115 @echo Linking shared library $@
2116 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2118 $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
2120 @mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
2121 @ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
2123 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
2125 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2127 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2128 @echo Linking non-shared library $@
2129 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2130 libtalloc: $(LIBTALLOC)
2135 $(LIBTALLOC_STATIC_TARGET) \
2136 $(LIBTALLOC_SHARED_TARGET) \
2137 $(LIBTALLOC_SHARED_TARGET_SONAME)
2139 installlibtalloc:: installdirs libtalloc
2140 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2141 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2142 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2143 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2144 -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
2145 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
2146 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
2148 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2149 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2150 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2152 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2153 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2154 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2156 uninstalllibtalloc::
2157 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2158 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2159 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2160 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2163 installlibs:: @INSTALL_LIBTALLOC@
2164 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2165 cleanlibs:: cleanlibtalloc
2166 shlibs test_shlibs: @LIBTALLOC_SHARED@
2170 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2171 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2172 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2174 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2175 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2176 @echo "LIBTALLOC_FULLVER
= $(LIBTALLOC_FULLVER
)"
2177 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2178 @echo "LIBTALLOC_SHARED TARGET_FULLVER
= $(LIBTALLOC_SHARED_TARGET_FULLVER
)"
2179 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2180 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2182 showlibs:: showlibtalloc
2184 #-------------------------------------------------------------------
2188 #-------------------------------------------------------------------
2190 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2191 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2193 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2194 LIBTDB_SOVER=@LIBTDB_SOVER@
2195 LIBTDB_FULLVER=@LIBTDB_FULLVER@
2196 LIBTDB_SHARED_TARGET_SONAME=@LIBTDB_SHARED_TARGET_SOVER@
2197 LIBTDB_SHARED_TARGET_FULLVER=@LIBTDB_SHARED_TARGET_FULLVER@
2198 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2199 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2200 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2202 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2203 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2206 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2207 @echo Linking shared library $@
2208 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2209 @SONAMEFLAG@`basename $@`
2211 $(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
2213 @mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
2214 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
2216 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
2218 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2220 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2221 @echo Linking non-shared library $@
2222 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2229 $(LIBTDB_STATIC_TARGET) \
2230 $(LIBTDB_SHARED_TARGET) \
2231 $(LIBTDB_SHARED_TARGET_SONAME)
2234 installlibtdb:: installdirs libtdb
2235 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2236 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2237 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2238 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2239 -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \
2240 ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \
2241 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \
2243 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2244 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2245 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2247 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2248 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2249 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2252 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2253 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2254 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2255 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2258 installlibs:: @INSTALL_LIBTDB@
2259 uninstalllibs:: @UNINSTALL_LIBTDB@
2260 cleanlibs:: cleanlibtdb
2261 shlibs test_shlibs: @LIBTDB_SHARED@
2265 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2266 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2267 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2269 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2270 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2271 @echo "LIBTDB_FULLVER
= $(LIBTDB_FULLVER
)"
2272 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2273 @echo "LIBTDB_SHARED TARGET_FULLVER
= $(LIBTDB_SHARED_TARGET_FULLVER
)"
2274 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2275 @echo "LIBTDB
= $(LIBTDB
)"
2277 showlibs:: showlibtdb
2279 #-------------------------------------------------------------------
2283 #-------------------------------------------------------------------
2285 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2286 ../nsswitch/libwbclient/wbc_util.o \
2287 ../nsswitch/libwbclient/wbc_pwd.o \
2288 ../nsswitch/libwbclient/wbc_idmap.o \
2289 ../nsswitch/libwbclient/wbc_sid.o \
2290 ../nsswitch/libwbclient/wbc_guid.o \
2291 ../nsswitch/libwbclient/wbc_pam.o
2293 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2296 ../lib/util/blocking.o \
2297 $(SOCKET_WRAPPER_OBJ)
2299 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2300 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2301 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2302 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2303 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2304 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2305 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2307 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2308 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2310 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2311 @echo Linking shared library $@
2312 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2313 @SONAMEFLAG@`basename $@`
2315 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2317 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2319 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2320 @echo Linking non-shared library $@
2321 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2323 libwbclient: $(LIBWBCLIENT)
2327 $(LIBWBCLIENT_SYMS) \
2328 $(LIBWBCLIENT_STATIC_TARGET) \
2329 $(LIBWBCLIENT_SHARED_TARGET) \
2330 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2332 installlibwbclient:: installdirs libwbclient
2333 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2334 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2335 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2336 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2337 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2338 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2340 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2341 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2342 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2344 uninstalllibwbclient::
2345 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2346 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2347 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2348 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2351 installlibs:: @INSTALL_LIBWBCLIENT@
2352 uninstalllibs:: uninstalllibwbclient
2353 cleanlibs:: cleanlibwbclient
2354 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2358 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2359 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2360 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2362 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2363 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2364 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2365 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2366 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2367 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2369 showlibs:: showlibwbclient
2372 #-------------------------------------------------------------------
2376 #-------------------------------------------------------------------
2379 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2380 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2381 LIBADDNS_FULLVER=@LIBADDNS_FULLVER@
2382 LIBADDNS_SHARED_TARGET_SONAME=@LIBADDNS_SHARED_TARGET_SOVER@
2383 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2384 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2385 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2387 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2388 @echo Linking shared library $@
2389 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2390 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2391 @SONAMEFLAG@`basename $@`
2393 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2395 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2397 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2398 @echo Linking non-shared library $@
2399 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2401 libaddns: $(LIBADDNS)
2405 $(LIBADDNS_SHARED_TARGET) \
2406 $(LIBADDNS_SHARED_TARGET_SONAME) \
2407 $(LIBADDNS_STATIC_TARGET)
2409 installlibaddns:: installdirs libaddns
2410 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2411 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2412 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2413 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2414 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2415 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2417 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2420 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2421 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2422 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2425 installlibs:: @INSTALL_LIBADDNS@
2426 uninstalllibs:: @UNINSTALL_LIBADDNS@
2427 cleanlibs:: cleanlibaddns
2428 shlibs test_shlibs: @LIBADDNS_SHARED@
2432 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2433 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2434 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2436 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2437 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2438 @echo "LIBADDNS_FULLVER
= $(LIBADDNS_FULLVER
)"
2439 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2440 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2441 @echo "LIBADDNS
= $(LIBADDNS
)"
2443 showlibs:: showlibaddns
2445 #-------------------------------------------------------------------
2449 #-------------------------------------------------------------------
2451 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2453 librpc/gen_ndr/ndr_libnetapi.o \
2454 lib/netapi/libnetapi.o \
2455 lib/netapi/joindomain.o \
2456 lib/netapi/serverinfo.o \
2457 lib/netapi/getdc.o \
2459 lib/netapi/group.o \
2460 lib/netapi/localgroup.o \
2463 lib/netapi/share.o \
2465 lib/netapi/shutdown.o \
2466 lib/netapi/netlogon.o
2468 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2470 $(REG_SMBCONF_OBJ) \
2471 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2472 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2473 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2474 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2475 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2477 $(LIBCLI_INITSHUTDOWN_OBJ) \
2478 $(LIBCLI_WKSSVC_OBJ) \
2479 $(LIBCLI_SRVSVC_OBJ) \
2481 $(LIBCLI_SAMR_OBJ) \
2482 $(LIBCLI_NETLOGON_OBJ) \
2483 $(RPC_CLIENT_SCHANNEL_OBJ) \
2484 rpc_client/init_netlogon.o \
2485 rpc_client/init_samr.o
2487 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2488 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2489 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2490 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2491 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2492 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2493 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2495 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2496 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2498 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2499 @echo Linking shared library $@
2500 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2501 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2502 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2503 @SONAMEFLAG@`basename $@`
2505 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2507 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2509 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2510 @echo Linking non-shared library $@
2511 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2513 libnetapi: $(LIBNETAPI)
2518 $(LIBNETAPI_STATIC_TARGET) \
2519 $(LIBNETAPI_SHARED_TARGET) \
2520 $(LIBNETAPI_SHARED_TARGET_SONAME)
2522 installlibnetapi:: installdirs libnetapi
2523 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2524 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2525 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2526 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2527 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2528 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2530 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2531 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2532 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2534 uninstalllibnetapi::
2535 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2536 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2537 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2538 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2541 installlibs:: @INSTALL_LIBNETAPI@
2542 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2543 cleanlibs:: cleanlibnetapi
2544 shlibs test_shlibs: @LIBNETAPI_SHARED@
2548 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2549 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2550 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2552 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2553 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2554 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2555 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2556 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2557 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2559 showlibs:: showlibnetapi
2561 #-------------------------------------------------------------------
2565 #-------------------------------------------------------------------
2567 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2568 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2569 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2570 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2571 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2572 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2573 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2574 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2576 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2577 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2579 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2580 @echo Linking shared library $@
2581 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2582 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2583 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2584 @SONAMEFLAG@`basename $@`
2586 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2588 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2590 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2591 @echo Linking non-shared library $@
2592 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2594 libsmbclient: $(LIBSMBCLIENT)
2598 $(LIBSMBCLIENT_SHARED_TARGET) \
2599 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2600 $(LIBSMBCLIENT_STATIC_TARGET)
2602 installlibsmbclient:: installdirs libsmbclient
2603 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2604 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2605 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2606 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2607 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2608 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2610 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2611 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2612 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2614 installclientlib:: installlibsmbclient
2616 uninstalllibsmbclient::
2617 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2618 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2619 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2620 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2622 uninstallclientlib:: uninstalllibsmbclient
2625 installlibs:: @INSTALL_LIBSMBCLIENT@
2626 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2627 cleanlibs:: cleanlibsmbclient
2628 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2632 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2633 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2634 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2636 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2637 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2638 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2639 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2640 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2641 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2643 showlibs:: showlibsmbclient
2645 #-------------------------------------------------------------------
2649 #-------------------------------------------------------------------
2651 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2653 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2655 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2656 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2657 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2658 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2659 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2660 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2661 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2662 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2664 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2665 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2667 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2668 @echo Linking shared library $@
2669 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2670 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2671 @SONAMEFLAG@`basename $@`
2673 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2675 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2677 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2678 @echo Linking non-shared library $@
2679 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2681 libsmbsharemodes: $(LIBSMBSHAREMODES)
2683 cleanlibsmbsharemodes::
2685 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2686 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2687 $(LIBSMBSHAREMODES_STATIC_TARGET)
2689 installlibsmbsharemodes:: installdirs libsmbsharemodes
2690 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2691 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2692 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2693 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2694 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2695 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2697 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2698 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2699 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2701 uninstalllibsmbsharemodes::
2702 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2703 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2704 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2705 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2707 libs:: libsmbsharemodes
2708 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2709 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2710 cleanlibs:: cleanlibsmbsharemodes
2711 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2713 showlibsmbsharemodes:
2715 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2716 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2717 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2718 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2720 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2721 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2722 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2723 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2724 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2725 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2727 showlibs:: showlibsmbsharemodes
2729 #####################################################################
2733 #####################################################################
2735 # Linker command to link our shared libraries:
2736 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2737 -o $@ @SONAMEFLAG@`basename $@`
2738 # Linker command to link samba internal plugin modules:
2739 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2740 -o $@ @SONAMEFLAG@`basename $@`
2742 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2744 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2746 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2748 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2750 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2752 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2754 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2756 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2758 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2760 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2762 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2764 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2766 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2768 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2770 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2772 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2774 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2776 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2778 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2780 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2782 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2784 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2786 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2788 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2790 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2792 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2794 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2796 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2798 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2800 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2801 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2802 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2805 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2807 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2808 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2812 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2814 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2815 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2816 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2818 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2820 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2821 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2822 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2824 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2826 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2827 @SONAMEFLAG@`basename $@`
2829 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2830 @echo "Linking shared library
$@
"
2831 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2832 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2838 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2842 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2846 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2850 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2854 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2855 @echo "Building plugin
$@
"
2856 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2858 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2862 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2866 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2870 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2874 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2875 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2876 @echo "Building plugin
$@
"
2877 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2878 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2880 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2881 @echo "Building plugin
$@
"
2882 @$(SHLD_MODULE) passdb/pdb_ads.o
2884 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2885 @echo "Building plugin
$@
"
2886 @$(SHLD_MODULE) passdb/pdb_tdb.o
2888 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2889 @echo "Building plugin
$@
"
2890 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2892 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2893 @echo "Building plugin
$@
"
2894 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2896 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2897 @echo "Building plugin
$@
"
2898 @$(SHLD_MODULE) winbindd/idmap_rid.o
2900 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2901 @echo "Building plugin
$@
"
2902 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2904 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2905 @echo "Building plugin
$@
"
2906 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2908 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2909 @echo "Building plugin
$@
"
2910 @$(SHLD_MODULE) winbindd/idmap_ad.o
2912 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2913 @echo "Building plugin
$@
"
2914 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2916 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2917 @echo "Building plugin
$@
"
2918 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2920 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2921 @echo "Building plugin
$@
"
2922 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2924 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2925 @echo "Building plugin
$@
"
2926 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2928 # NOTE, there is no build rule for a dynamic default VFS module because
2929 # this one MUST MUST MUST be built statically.
2931 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2932 @echo "Building plugin
$@
"
2933 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2935 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2936 @echo "Building plugin
$@
"
2937 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2939 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2940 @echo "Building plugin
$@
"
2941 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2943 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2944 @echo "Building plugin
$@
"
2945 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2947 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2948 @echo "Building plugin
$@
"
2949 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2951 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2952 @echo "Building plugin
$@
"
2953 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2955 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2956 @echo "Building plugin
$@
"
2957 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2959 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2960 @echo "Building plugin
$@
"
2961 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2963 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2964 @echo "Building plugin
$@
"
2965 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2967 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2968 @echo "Building plugin
$@
"
2969 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2971 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2972 @echo "Building plugin
$@
"
2973 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2975 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2976 @echo "Building plugin
$@
"
2977 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2979 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2980 @echo "Building plugin
$@
"
2981 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2983 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2984 @echo "Building plugin
$@
"
2985 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2987 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2988 @echo "Building plugin
$@
"
2989 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2991 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2992 @echo "Building plugin
$@
"
2993 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2995 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2996 @echo "Building plugin
$@
"
2997 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2999 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
3000 @echo "Building plugin
$@
"
3001 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
3003 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
3004 @echo "Building plugin
$@
"
3005 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
3007 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
3008 @echo "Building plugin
$@
"
3009 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
3011 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
3012 @echo "Building plugin
$@
"
3013 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
3015 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
3016 @echo "Building plugin
$@
"
3017 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
3019 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
3020 @echo "Building plugin
$@
"
3021 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
3023 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
3024 @echo "Building plugin
$@
"
3025 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
3027 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
3028 @echo "Building plugin
$@
"
3029 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
3031 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
3032 @echo "Building plugin
$@
"
3033 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
3035 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
3036 @echo "Building plugin
$@
"
3037 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
3039 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
3040 @echo "Building plugin
$@
"
3041 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
3043 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
3044 @echo "Building plugin
$@
"
3045 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
3047 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
3048 @echo "Building plugin
$@
"
3049 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
3051 bin/gpfs_hsm_notify.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3052 @echo "Building plugin
$@
"
3053 @$(SHLD_MODULE) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3055 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
3056 @echo "Building plugin
$@
"
3057 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
3059 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
3060 @echo "Building plugin
$@
"
3061 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
3063 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
3064 @echo "Building plugin
$@
"
3065 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
3067 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
3068 @echo "Building plugin
$@
"
3069 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
3071 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
3072 @echo "Building plugin
$@
"
3073 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
3075 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
3076 @echo "Building plugin
$@
"
3077 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
3079 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
3080 @echo "Building plugin
$@
"
3081 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
3083 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
3084 @echo "Building plugin
$@
"
3085 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
3087 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
3088 @echo "Building plugin
$@
"
3089 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
3091 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3092 @echo "Building plugin
$@
"
3093 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3095 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
3096 @echo "Building plugin
$@
"
3097 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
3099 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
3100 @echo "Building plugin
$@
"
3101 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
3103 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3104 @echo "Building plugin
$@
"
3105 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3107 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
3108 @echo "Building plugin
$@
"
3109 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
3111 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
3112 @echo "Building plugin
$@
"
3113 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
3115 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
3116 @echo "Building plugin
$@
"
3117 @$(SHLD_MODULE) libgpo/gpext/registry.o
3119 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
3120 @echo "Building plugin
$@
"
3121 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3123 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3124 @echo "Building plugin
$@
"
3125 @$(SHLD_MODULE) libgpo/gpext/security.o
3127 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3128 @echo "Building plugin
$@
"
3129 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3131 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3132 @echo "Building plugin
$@
"
3133 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3135 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3136 @echo "Building plugin
$@
"
3137 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3139 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3140 @echo "Building plugin
$@
"
3141 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3143 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3144 @echo "Building plugin
$@
"
3145 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3147 #########################################################
3148 ## IdMap NSS plugins
3150 ## None here right now
3151 #########################################################
3153 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3155 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3156 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3159 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3160 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3162 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3163 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
3164 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3165 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3167 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3168 @echo "Linking shared library
$@
"
3169 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
3170 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
3171 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3173 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3175 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3176 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3178 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3180 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3181 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3183 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3185 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3187 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3189 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3191 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3193 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3194 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3196 bin/timelimit: script/tests/timelimit.o
3198 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
3200 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3202 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3203 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3204 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3206 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3208 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3209 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3210 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3211 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3213 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3215 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3216 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3219 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3221 install-dbwrap_tool:: bin/dbwrap_tool
3222 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3224 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3226 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3227 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3230 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3232 install-dbwrap_torture:: bin/dbwrap_torture
3233 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3235 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3237 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3238 $(LDFLAGS) $(DYNEXP) \
3239 $(LIBS) $(POPT_LIBS) \
3240 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3241 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3243 install:: installservers installbin installman \
3244 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3245 @INSTALL_PAM_MODULES@ installlibs installmo
3247 install-everything:: install installmodules
3249 # DESTDIR is used here to prevent packagers wasting their time
3250 # duplicating the Makefile. Remove it and you will have the privelege
3251 # of package each samba release for muliple versions of multiple
3252 # distributions and operating systems, or at least supplying patches
3253 # to all the packaging files required for this, prior to committing
3254 # the removal of DESTDIR. Do not remove it even though you think it
3258 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3259 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3260 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3261 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3262 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3264 installservers:: all installdirs
3265 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3267 installbin:: all installdirs
3268 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3270 # Some symlinks are required for the 'probing' of modules.
3271 # This mechanism should go at some point..
3272 installmodules:: modules installdirs
3273 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3274 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3275 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3276 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3277 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3278 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3279 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3280 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3281 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3282 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3283 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3284 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3285 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3286 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3287 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3288 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3289 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3290 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3292 installscripts:: installdirs
3293 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3295 installdat:: installdirs
3296 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3298 installmsg:: installdirs
3299 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3301 installswat:: installdirs installmsg
3302 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3304 installpammodules:: $(PAM_MODULES)
3305 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3306 @for module in $(PAM_MODULES); do \
3307 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3308 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3309 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3312 # revert to the previously installed version
3314 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3315 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3317 installman:: installdirs
3318 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3320 installmo:: all installdirs
3321 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3326 @echo "Samba will be installed into
:"
3327 @echo " prefix: $(prefix)"
3328 @echo " exec_prefix: $(exec_prefix)"
3329 @echo " sysconfdir
: $(sysconfdir
)"
3330 @echo " localstatedir
: $(localstatedir
)"
3331 @echo " datarootdir
: $(datarootdir
)"
3332 @echo " BINDIR
: $(BINDIR
)"
3333 @echo " SBINDIR
: $(SBINDIR
)"
3334 @echo " LIBDIR
: $(LIBDIR
)"
3335 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3336 @echo " MANDIR
: $(MANDIR
)"
3337 @echo " DATADIR
: $(DATADIR
)"
3338 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3339 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3340 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3341 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3342 @echo " MODULESDIR
: $(MODULESDIR
)"
3343 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3344 @echo " SETUPDIR
: $(SETUPDIR
)"
3345 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3346 @echo " SWATDIR
: $(SWATDIR
)"
3347 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3348 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3349 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3350 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3351 @echo " LOCKDIR
: $(LOCKDIR
)"
3352 @echo " PIDDIR
: $(PIDDIR
)"
3353 @echo " STATEDIR
: $(STATEDIR
)"
3354 @echo " CACHEDIR
: $(CACHEDIR
)"
3355 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3356 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3357 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3358 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3359 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3360 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3361 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3362 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3363 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3364 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3365 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3368 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3371 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3374 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3377 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3380 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3383 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3384 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3385 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3386 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3387 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3388 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3389 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3392 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3395 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3398 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3400 uninstallswat:: uninstallmsg
3401 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3403 uninstallpammodules::
3404 @for module in $(PAM_MODULES); do \
3405 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3406 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3410 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3412 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3414 ../libgpo/*.o ../libgpo/*/*.o \
3415 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3418 -rm -f include/build_env.h
3419 -rm -f smbd/build_options.c
3420 -rm -f param/param_local.h
3421 -rm -f param/param_global.h
3422 -rm -f ../lib/param/param_local.h
3423 -rm -f ../lib/param/param_global.h
3424 -rm -f ../lib/param/param_proto.h
3425 -rm -f ../lib/param/s3_param.h
3426 -rm -f $(PRECOMPILED_HEADER)
3427 -rm -f core */*~ *~ \
3428 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3429 ../testsuite/*/*.o \
3430 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3432 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3433 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3434 $(MODULES) $(TORTURE_PROGS) \
3435 $(EVERYTHING_PROGS) \
3437 .headers.stamp */src/*.o
3440 include/build_env.h: script/build_env.sh
3441 @echo Building include/build_env.h
3442 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3443 > $(builddir)/include/build_env.h
3449 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3452 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3455 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3456 -rm -f script/installbin.sh script/uninstallbin.sh
3458 distclean:: realclean
3460 -rm -f include/autoconf/config.h Makefile
3461 -rm -f config.status config.cache so_locations
3464 realdistclean:: distclean
3465 -rm -f include/autoconf/config.h.in
3466 -rm -f include/version.h
3469 # this target is really just for my use. It only works on a limited
3470 # range of machines and is used to produce a list of potentially
3471 # dead (ie. unused) functions in the code. (tridge)
3473 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3474 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3475 comm -13 nmused.txt nmfns.txt
3478 # when configure.in is updated, reconfigure
3479 $(srcdir)/configure: $(srcdir)/configure.in
3480 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3482 config.status: $(srcdir)/configure
3483 @echo "WARNING
: you need to run .
/configure
"
3485 Makefile: $(srcdir)/Makefile.in config.status
3486 @echo "WARNING
: you need to run .
/config.status
"
3488 ######################################################################
3489 # Samba Testing Framework
3491 # Check shared libs for unresolved symbols
3494 @$(LIB_PATH_VAR)=./bin && \
3495 export $(LIB_PATH_VAR) && \
3496 for module in $?; do \
3497 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3501 # Check for NSS module problems.
3502 test_nss_modules:: nss_modules
3503 @echo "Testing
$(NSS_MODULES
) "
3504 @$(LIB_PATH_VAR)=./bin && \
3505 export $(LIB_PATH_VAR) && \
3506 for module in $(NSS_MODULES); do \
3507 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3511 # Check for PAM module problems. Specifically, check that every module we
3512 # built can actually be loaded by a minimal PAM-aware application.
3513 test_pam_modules:: pam_modules
3514 @echo "Testing
$(PAM_MODULES
) "
3515 @$(LIB_PATH_VAR)=./bin && \
3516 export $(LIB_PATH_VAR) && \
3517 for module in $(PAM_MODULES); do \
3518 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3524 ## Targets for 'make test'
3527 valgrindtest:: all torture timelimit
3528 @echo Running Test suite with valgrind
3530 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3531 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3532 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3533 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3535 selftestdir = ../selftest
3537 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3539 test:: all torture timelimit
3540 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3541 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3542 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3543 SOURCEDIR="$(srcdir)" \
3544 VFSLIBDIR="$(builddir
)/bin
" \
3545 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3546 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3547 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3548 $(srcdir)/selftest/s3-selftest.sh
3551 $(MAKE) test TESTS=$*
3554 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3557 $(MAKE) test SUBUNIT_FORMATTER=cat
3559 SELFTEST_TESTENV = s3dc
3562 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3565 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3566 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3567 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3568 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3572 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3573 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3574 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3575 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3579 # Check for Winbind struct 32/64bit padding
3581 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3582 @./script/tests/wb_pad.sh || exit 1;
3588 libsmbclient_examples: libsmbclient
3589 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3591 clean_libsmbclient_examples:
3592 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3594 libnetapi_examples: libnetapi
3595 $(MAKE) -C lib/netapi/examples
3597 clean_libnetapi_examples:
3598 $(MAKE) -C lib/netapi/examples clean
3600 .PHONY: bin/smbtorture4 bin/ndrdump4
3602 bin/smbtorture4: $(BINARY_PREREQS)
3603 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3605 bin/ndrdump4: $(BINARY_PREREQS)
3606 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3608 .PHONY: vfs_examples
3612 cd ../examples/VFS && \