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@
56 selftest_shrdir
=@selftest_shrdir@
57 smbtorture4_path
=@smbtorture4_path@
58 smbtorture4_option
=@smbtorture4_option@
59 selftest_custom_conf
=@selftest_custom_conf@
64 LIB_PATH_VAR
=@LIB_PATH_VAR@
66 ## Dynamic shared libraries build settings
67 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
68 DSO_EXPORTS
=@DSO_EXPORTS@
69 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
71 # The MODULE_EXPORTS variable contains the platform-specific linker flags
72 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
73 MODULE_EXPORTS
=@MODULE_EXPORTS@
75 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
76 # (GCC) warnings. This is done automatically for --enable-developer,
77 # --enable-picky-developer and --enable-krb5developer.
78 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
81 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
86 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
87 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
88 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
90 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
99 TERMLDFLAGS
=@TERMLDFLAGS@
101 PRINT_LIBS
=@PRINT_LIBS@
102 ZLIB_LIBS
=@ZLIB_LIBS@
103 AUTH_LIBS
=@AUTH_LIBS@
105 PASSDB_LIBS
=@PASSDB_LIBS@
106 IDMAP_LIBS
=@IDMAP_LIBS@
108 LDAP_LIBS
=@LDAP_LIBS@
109 NSCD_LIBS
=@NSCD_LIBS@
110 UUID_LIBS
=@UUID_LIBS@
111 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
112 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
113 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
114 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
115 DNSSD_LIBS
=@DNSSD_LIBS@
116 AVAHI_LIBS
=@AVAHI_LIBS@
118 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
119 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
120 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
121 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
122 LIBTDB_LIBS
=@LIBTDB_LIBS@
124 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
125 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
126 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
127 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
129 TALLOCTORT
= @TALLOCTORT@
131 TDBBACKUP
= @TDBBACKUP@
134 TDBRESTORE
= @TDBRESTORE@
135 TDBTORTURE
= @TDBTORTURE@
136 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
139 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
140 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
141 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
142 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
146 builddir
=@abs_builddir@
147 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
148 # will search for a POSIX-compliant shell, and that might not be
149 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
153 # See the autoconf manual "Installation Directory Variables" for a
154 # discussion of the subtle use of these variables.
156 VFSLIBDIR
= $(MODULESDIR
)/vfs
157 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
158 PDBLIBDIR
= $(MODULESDIR
)/pdb
159 RPCLIBDIR
= $(MODULESDIR
)/rpc
160 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
161 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
162 CHARSETLIBDIR
= $(MODULESDIR
)/charset
163 AUTHLIBDIR
= $(MODULESDIR
)/auth
164 CONFIGLIBDIR
= $(MODULESDIR
)/config
165 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
166 VARDIR
= @localstatedir@
168 # The permissions to give the executables and other data
169 INSTALLPERMS_BIN
= 0755
170 INSTALLPERMS_DATA
= 0644
180 -I.
/..
/lib
/ldb
/include \
183 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
184 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
185 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
186 -DSBINDIR
=\"$(SBINDIR
)\" \
187 -DBINDIR
=\"$(BINDIR
)\" \
188 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
189 -DSWATDIR
=\"$(SWATDIR
)\" \
190 -DLOCKDIR
=\"$(LOCKDIR
)\" \
191 -DPIDDIR
=\"$(PIDDIR
)\" \
192 -DLIBDIR
=\"$(LIBDIR
)\" \
193 -DMODULESDIR
=\"$(MODULESDIR
)\" \
194 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
195 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
196 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
197 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
198 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
199 -DCACHEDIR
=\"$(CACHEDIR
)\" \
200 -DSTATEDIR
=\"$(STATEDIR
)\" \
201 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
202 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
203 -DDATADIR
=\"$(DATADIR
)\" \
204 -DSETUPDIR
=\"$(SETUPDIR
)\"
206 # Note that all executable programs now provide for an optional executable suffix.
208 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
210 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
211 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
212 bin
/smbta-util@EXEEXT@
213 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
214 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
215 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool@EXEEXT@
216 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
217 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
218 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
220 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
221 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
222 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
223 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
224 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
225 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
227 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
228 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
230 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
231 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
232 bin
/log2pcap@EXEEXT@ \
234 bin
/dbwrap_tool@EXEEXT@ \
235 bin
/dbwrap_torture@EXEEXT@
237 PAM_MODULES
= @PAM_MODULES@
239 NSS_MODULES
= @NSS_MODULES@
241 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
243 VFS_MODULES
= @VFS_MODULES@
244 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
245 PDB_MODULES
= @PDB_MODULES@
246 IDMAP_MODULES
= @IDMAP_MODULES@
247 CHARSET_MODULES
= @CHARSET_MODULES@
248 AUTH_MODULES
= @AUTH_MODULES@
249 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
250 GPEXT_MODULES
= @GPEXT_MODULES@
251 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
252 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
253 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
255 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
257 ######################################################################
259 ######################################################################
261 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
262 ..
/lib
/util
/tdb_wrap.o \
263 lib
/dbwrap
/dbwrap.o \
264 lib
/dbwrap
/dbwrap_open.o \
265 lib
/dbwrap
/dbwrap_tdb.o \
266 lib
/dbwrap
/dbwrap_ctdb.o \
268 lib
/dbwrap
/dbwrap_rbt.o
270 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
272 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
274 VERSION_OBJ
= lib
/version.o
276 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
280 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
282 AVAHI_OBJ
= @AVAHI_OBJ@
284 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
286 PASSCHANGE_OBJ
= libsmb
/passchange.o
288 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
289 ..
/librpc
/ndr
/ndr_compression.o \
290 librpc
/gen_ndr
/ndr_drsuapi.o \
291 ..
/librpc
/ndr
/ndr_drsblobs.o \
292 librpc
/gen_ndr
/ndr_drsblobs.o
294 ZLIB_OBJ
= @ZLIB_OBJS@
296 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
297 ..
/lib
/compression
/lzxpress.o \
300 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
303 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
304 ..
/librpc
/ndr
/ndr_ntlmssp.o
306 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
307 ..
/librpc
/ndr
/ndr.o \
308 ..
/librpc
/ndr
/ndr_misc.o \
309 librpc
/gen_ndr
/ndr_misc.o \
310 librpc
/gen_ndr
/ndr_security.o \
311 ..
/librpc
/ndr
/ndr_sec_helper.o \
312 ..
/librpc
/ndr
/ndr_string.o \
313 ..
/librpc
/ndr
/uuid.o \
314 ..
/librpc
/ndr
/util.o \
315 librpc
/gen_ndr
/ndr_server_id.o \
316 librpc
/gen_ndr
/ndr_dcerpc.o
318 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
319 librpc
/gen_ndr
/ndr_lsa.o
321 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
322 ..
/librpc
/ndr
/ndr_netlogon.o
324 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
325 ..
/librpc
/ndr
/ndr_schannel.o
327 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
328 ..
/librpc
/ndr
/ndr_spoolss_buf.o
330 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
331 ..
/librpc
/ndr
/ndr_ntprinting.o \
333 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
334 ..
/librpc
/ndr
/ndr_preg.o
336 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
337 ..
/librpc
/ndr
/ndr_xattr.o
339 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
340 rpc_client
/cli_spoolss.o \
341 rpc_client
/init_spoolss.o \
342 rpc_client
/cli_winreg_spoolss.o \
343 printing
/nt_printing_os2.o
345 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
347 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o \
348 rpc_client
/cli_winreg.o
350 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
351 rpc_client
/cli_winreg_int.o
353 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
355 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
357 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
359 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
361 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
363 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
365 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
367 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
369 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
371 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/ndr_lsa_c.o \
372 rpc_client
/cli_lsarpc.o \
373 rpc_client
/init_lsa.o
375 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/ndr_samr_c.o \
376 rpc_client
/cli_samr.o
378 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
379 rpc_client
/cli_netlogon.o \
380 rpc_client
/util_netlogon.o
382 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
384 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
386 librpc
/gen_ndr
/ndr_dfs.o \
387 librpc
/gen_ndr
/ndr_dfsblobs.o \
388 librpc
/gen_ndr
/ndr_echo.o \
389 librpc
/gen_ndr
/ndr_winreg.o \
390 librpc
/gen_ndr
/ndr_initshutdown.o \
391 librpc
/gen_ndr
/ndr_srvsvc.o \
392 librpc
/gen_ndr
/ndr_eventlog.o \
393 $(LIBNDR_NETLOGON_OBJ
) \
394 librpc
/gen_ndr
/ndr_dssetup.o \
395 librpc
/gen_ndr
/ndr_epmapper.o \
396 librpc
/gen_ndr
/ndr_ntsvcs.o \
397 $(LIBNDR_SPOOLSS_OBJ
)
399 # this includes only the low level parse code, not stuff
400 # that requires knowledge of security contexts
401 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
403 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
405 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
406 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
407 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
411 $(SOCKET_WRAPPER_OBJ
) \
415 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
416 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
417 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
418 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
419 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
420 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
421 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
422 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
423 ..
/lib
/util
/tevent_werror.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 ..
/lib
/crypto
/md5.o \
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
434 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
435 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
436 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
438 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
442 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
445 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
446 ..
/lib
/util
/charset
/pull_push.o \
447 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
448 lib
/interface.o lib
/pidfile.o lib
/dumpcore.o \
449 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
451 ..
/libds
/common
/flag_mapping.o \
452 lib
/access.o lib
/smbrun.o \
453 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
454 lib
/wins_srv.o lib
/string_init.o \
455 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
456 ..
/lib
/util
/util_str.o \
457 ..
/lib
/util
/base64.o lib
/util_sid.o \
458 ..
/lib
/util
/charset
/util_unistr.o \
459 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
460 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
461 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
462 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o lib
/dbwrap
/dbwrap_util.o \
463 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
464 lib
/tallocmsg.o lib
/dmallocmsg.o \
465 ..
/libcli
/smb
/smb_signing.o \
466 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
467 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
468 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
469 lib
/sessionid_tdb.o \
470 ..
/lib
/util
/internal_module.o ..
/lib
/util
/samba_module.o lib
/events.o @LIBTEVENT_OBJ0@ \
472 lib
/server_contexts.o \
473 lib
/server_prefork.o \
474 lib
/server_prefork_util.o \
475 lib
/ldap_escape.o @CHARSET_STATIC@ \
476 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
477 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
478 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
479 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
481 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
482 lib
/file_id.o lib
/idmap_cache.o \
483 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
484 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
487 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
488 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
490 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
492 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
493 # Be sure to include them into your application
494 POPT_LIB_OBJ
= lib
/popt_common.o
496 PARAM_WITHOUT_REG_OBJ
= ..
/dynconfig
/dynconfig.o param
/loadparm.o param
/loadparm_ctx.o param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o ..
/lib
/param
/loadparm.o ..
/lib
/param
/util.o
497 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
498 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
500 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
502 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
503 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
504 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
506 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
508 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
509 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
512 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
514 LIBADS_OBJ
= libads
/ldap.o \
515 libads
/sasl.o libads
/sasl_wrapping.o \
516 libads
/krb5_setpw.o \
517 libads
/kerberos_util.o \
519 libads
/ads_struct.o libads
/kerberos_keytab.o \
520 libads
/disp_sec.o libads
/ldap_utils.o \
521 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
523 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
524 ..
/librpc
/ndr
/ndr_krb5pac.o \
525 librpc
/gen_ndr
/ndr_krb5pac.o
527 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
529 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
530 librpc
/gen_ndr
/ndr_secrets.o \
533 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
534 ..
/libcli
/netlogon
/netlogon.o \
535 ..
/libcli
/netlogon
/ndr_netlogon.o \
536 librpc
/gen_ndr
/ndr_nbt.o \
537 librpc
/gen_ndr
/ndr_svcctl.o \
538 ..
/librpc
/ndr
/ndr_svcctl.o
540 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
541 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
542 libads
/dns.o libads
/sitename_cache.o
544 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
545 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
546 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
547 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
549 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
551 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
553 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
557 ..
/libcli
/auth
/ntlm_check.o \
559 libsmb
/ntlmssp_wrap.o \
560 ..
/auth
/gensec
/gensec.o \
561 ..
/auth
/gensec
/gensec_start.o \
562 ..
/auth
/credentials
/credentials.o \
563 ..
/auth
/credentials
/credentials_samba3.o \
564 ..
/auth
/ntlmssp
/ntlmssp.o \
565 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
566 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
567 $(LIBNDR_NTLMSSP_OBJ
) \
568 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
569 ..
/auth
/ntlmssp
/ntlmssp_server.o
571 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
574 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
575 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
577 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
578 ..
/lib
/tsocket
/tsocket_helpers.o \
579 ..
/lib
/tsocket
/tsocket_bsd.o
581 CLDAP_OBJ
= libads
/cldap.o \
582 ..
/libcli
/cldap
/cldap.o \
583 ..
/lib
/util
/idtree.o \
584 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
586 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
588 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
589 ..
/libcli
/auth
/schannel_sign.o \
590 ..
/libcli
/auth
/schannel_state_tdb.o \
591 $(LIBNDR_SCHANNEL_OBJ
)
593 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
594 libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libsmb
/clispnego.o \
595 ..
/libcli
/auth
/spnego_parse.o \
597 libsmb
/reparse_symlink.o \
598 libsmb
/clisymlink.o \
599 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
600 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
601 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
602 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
603 libsmb
/clioplock.o libsmb
/clirap2.o \
605 libsmb
/clisigning.o \
606 ..
/libcli
/smb
/smb_seal.o \
607 ..
/libcli
/smb
/read_smb.o \
608 libsmb
/smb2cli_base.o \
609 libsmb
/smb2cli_negprot.o \
610 libsmb
/smb2cli_session.o \
611 libsmb
/smb2cli_tcon.o \
612 libsmb
/smb2cli_create.o \
613 ..
/libcli
/smb
/smb2_create_blob.o \
614 ..
/libcli
/smb
/smb2_signing.o \
615 libsmb
/smb2cli_close.o \
616 libsmb
/smb2cli_flush.o \
617 libsmb
/smb2cli_read.o \
618 libsmb
/smb2cli_write.o \
619 libsmb
/smb2cli_query_directory.o \
620 libsmb
/cli_np_tstream.o \
621 libsmb
/smbsock_connect.o \
628 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
629 rpc_client
/cli_pipe.o \
630 librpc
/crypto
/gse_krb5.o \
631 librpc
/crypto
/gse.o \
632 ..
/auth
/kerberos
/gssapi_pac.o \
633 librpc
/crypto
/cli_spnego.o \
634 librpc
/rpc
/rpc_common.o \
635 rpc_client
/rpc_transport_np.o \
636 rpc_client
/rpc_transport_sock.o \
637 rpc_client
/rpc_transport_tstream.o \
638 ..
/librpc
/rpc
/binding.o \
639 ..
/librpc
/rpc
/dcerpc_util.o \
640 ..
/librpc
/rpc
/binding_handle.o \
641 librpc
/rpc
/dcerpc_helpers.o \
642 $(LIBCLI_EPMAPPER_OBJ
)
644 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
647 # registry-related objects
649 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
651 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
652 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
653 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
655 REGFIO_OBJ
= registry
/regfio.o \
658 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
660 REGOBJS_OBJ
= registry
/reg_objects.o
662 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
664 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
666 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
667 registry
/reg_backend_shares.o \
668 registry
/reg_backend_netlogon_params.o \
669 registry
/reg_backend_prod_options.o \
670 registry
/reg_backend_tcpip_params.o \
671 registry
/reg_backend_hkpt_params.o \
672 registry
/reg_backend_current_version.o \
673 registry
/reg_backend_perflib.o
675 REG_BASE_OBJ
= registry
/reg_api.o \
676 registry
/reg_dispatcher.o \
677 registry
/reg_cachehook.o \
679 registry
/reg_util_internal.o \
681 $(REG_BACKENDS_BASE_OBJ
) \
682 $(REG_INIT_BASIC_OBJ
)
684 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
685 registry
/reg_util_token.o \
686 registry
/reg_api_util.o \
687 $(REG_BACKENDS_SMBCONF_OBJ
) \
688 $(REG_INIT_SMBCONF_OBJ
)
690 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
691 $(REG_BACKENDS_EXTRA_OBJ
) \
692 $(REG_INIT_FULL_OBJ
) \
693 registry
/reg_perfcount.o \
694 librpc
/gen_ndr
/ndr_perfcount.o
696 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
698 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
700 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
701 librpc
/gen_ndr
/srv_lsa.o \
702 rpc_client
/util_lsarpc.o
704 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
705 librpc
/gen_ndr
/srv_netlogon.o
707 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
708 rpc_server
/samr
/srv_samr_util.o \
709 rpc_server
/samr
/srv_samr_chgpasswd.o \
710 librpc
/gen_ndr
/srv_samr.o
712 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
714 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
715 librpc
/gen_ndr
/srv_winreg.o
717 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
719 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
720 librpc
/gen_ndr
/srv_srvsvc.o
722 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
723 rpc_server
/wkssvc
/srv_wkssvc_nt.o
725 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
726 rpc_server
/svcctl
/srv_svcctl_reg.o \
727 librpc
/gen_ndr
/srv_svcctl.o \
728 services
/svc_winreg_glue.o \
729 services
/svc_spoolss.o services
/svc_rcinit.o \
730 services
/svc_netlogon.o services
/svc_winreg.o \
733 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
734 librpc
/gen_ndr
/srv_ntsvcs.o
736 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
737 rpc_server
/dfs
/srv_dfs_nt.o
739 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
740 rpc_server
/spoolss
/srv_spoolss_util.o \
741 librpc
/gen_ndr
/srv_spoolss.o
743 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
744 rpc_server
/eventlog
/srv_eventlog_reg.o \
745 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
747 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
748 librpc
/gen_ndr
/ndr_named_pipe_auth.o \
749 ..
/auth
/auth_sam_reply.o librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
751 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
752 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
753 rpc_server
/srv_access_check.o
755 RPC_CONFIG
= rpc_server
/rpc_config.o
757 RPC_SERVICE
= rpc_server
/rpc_server.o
759 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
760 rpc_server
/dcesrv_gssapi.o \
761 rpc_server
/dcesrv_spnego.o
763 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
764 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
766 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
768 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o librpc
/gen_ndr
/srv_epmapper.o
770 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
772 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
773 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
774 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
775 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
776 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
777 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
778 $(LIBCLI_SPOOLSS_OBJ
) \
779 $(LIBCLI_WINREG_INT_OBJ
) \
780 $(LIBCLI_SRVSVC_OBJ
) \
783 $(LIBCLI_NETLOGON_OBJ
) \
784 $(RPC_SERVER_REGISTER_OBJ
) \
785 $(RPC_CLIENT_SCHANNEL_OBJ
) \
786 rpc_server
/rpc_sock_helper.o \
787 rpc_server
/rpc_service_setup.o \
788 rpc_client
/init_netlogon.o \
789 rpc_client
/init_samr.o
791 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
793 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
795 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
797 PRIVILEGES_OBJ
= lib
/privileges.o
799 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
801 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
802 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
803 lib
/util_unixsids.o passdb
/lookup_sid.o \
804 passdb
/login_cache.o @PDB_STATIC@ \
805 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
806 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
809 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
810 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
812 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
814 PROFILE_OBJ
= profile
/profile.o
815 PROFILES_OBJ
= utils
/profiles.o \
818 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
822 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
825 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
826 librpc
/gen_ndr
/ndr_notify.o librpc
/gen_ndr
/ndr_file_id.o
828 FNAME_UTIL_OBJ
= lib
/filename_util.o
830 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
831 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
832 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
833 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
834 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
835 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
836 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
837 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
838 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
839 VFS_CAP_OBJ
= modules
/vfs_cap.o
840 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
841 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
842 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
843 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
844 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
845 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
846 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
847 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
848 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
849 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
850 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
851 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
852 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
853 VFS_CATIA_OBJ
= modules
/vfs_catia.o
854 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
855 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
856 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
857 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
858 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
859 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
860 VFS_GPFS_HSM_NOTIFY_OBJ
= modules
/vfs_gpfs_hsm_notify.o
861 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
862 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
863 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
864 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
865 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
866 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
867 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
868 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
869 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
870 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
871 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
872 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
873 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
874 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
875 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
876 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
877 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
878 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
879 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
880 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
881 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
883 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
884 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
886 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
888 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
890 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
891 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
892 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
893 AUTH_SERVER_OBJ
= auth
/auth_server.o
894 AUTH_UNIX_OBJ
= auth
/auth_unix.o
895 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
896 AUTH_WBC_OBJ
= auth
/auth_wbc.o
897 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
898 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
900 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
902 auth
/server_info_sam.o \
906 auth
/auth_compat.o auth
/auth_ntlmssp.o \
907 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
909 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
911 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o smbd
/msg_idmap.o
913 BUILDOPT_OBJ
= smbd
/build_options.o
915 SMBD_OBJ_SRV
= smbd
/server_reload.o \
916 smbd
/files.o smbd
/connection.o \
917 smbd
/utmp.o smbd
/session.o \
918 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
919 smbd
/share_access.o smbd
/fileio.o \
920 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
921 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
922 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
923 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
924 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
925 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
926 smbd
/posix_acls.o lib
/sysacls.o \
927 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
930 printing
/printspoolss.o printing
/spoolssd.o \
931 lib
/sysquotas.o lib
/sysquotas_linux.o \
932 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
933 lib
/sysquotas_nfs.o \
936 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
937 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
938 smbd
/dmapi.o smbd
/signing.o \
940 smbd
/dnsregister.o smbd
/globals.o \
943 smbd
/smb2_negprot.o \
944 smbd
/smb2_sesssetup.o \
953 smbd
/smb2_keepalive.o \
956 smbd
/smb2_getinfo.o \
957 smbd
/smb2_setinfo.o \
959 $(MANGLE_OBJ
) @VFS_STATIC@
961 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
963 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
964 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
965 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
966 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
967 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
968 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
969 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
971 $(PRIVILEGES_BASIC_OBJ
) \
973 $(REG_API_REGF_OBJ
) \
976 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
977 printing
/print_cups.o printing
/print_generic.o \
978 printing
/lpq_parse.o printing
/load.o \
979 printing
/print_iprint.o printing
/print_standard.o \
980 printing
/printer_list.o librpc
/gen_ndr
/ndr_printcap.o
982 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
983 PRINTBACKEND_OBJ
= printing
/printing.o \
984 printing
/nt_printing.o \
985 printing
/nt_printing_tdb.o \
986 printing
/nt_printing_migrate.o \
987 printing
/nt_printing_migrate_internal.o \
988 printing
/nt_printing_ads.o \
989 librpc
/gen_ndr
/ndr_ntprinting.o \
990 ..
/librpc
/ndr
/ndr_ntprinting.o \
991 printing
/queue_process.o \
994 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
996 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
997 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
998 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
999 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1000 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1001 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1002 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1003 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1004 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1005 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1006 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1007 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1009 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1010 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1013 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1014 web
/swat.o web
/neg_lang.o
1016 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1017 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1018 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1019 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1020 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1021 $(LIBCLI_SAMR_OBJ
) \
1022 rpc_client
/init_lsa.o
1024 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1025 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1026 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1027 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1029 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1030 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1032 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1033 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1034 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1035 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1036 $(LIBMSRPC_GEN_OBJ
) \
1038 $(LIBCLI_SRVSVC_OBJ
)
1040 TESTPARM_OBJ
= utils
/testparm.o \
1041 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1044 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1045 $(LIB_NONSMBD_OBJ
) \
1046 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1048 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1049 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1050 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1052 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1054 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1055 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1056 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1057 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1058 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1059 $(LIBCLI_SAMR_OBJ
) \
1060 rpc_client
/init_lsa.o
1062 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1064 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1065 $(LIBCLI_LDAP_NDR_OBJ
) \
1066 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1067 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1069 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1071 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1073 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1074 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1075 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1076 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1077 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1078 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1079 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1080 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1081 rpcclient
/cmd_winreg.o \
1084 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1085 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1086 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1087 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1088 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1089 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1090 $(LIBCLI_SPOOLSS_OBJ
) \
1091 $(LIBCLI_EVENTLOG_OBJ
) \
1092 $(LIBCLI_NTSVCS_OBJ
) \
1093 $(LIBCLI_DRSUAPI_OBJ
) \
1095 $(LIBCLI_ECHO_OBJ
) \
1096 $(LIBCLI_DSSETUP_OBJ
) \
1097 $(LIBCLI_WKSSVC_OBJ
) \
1098 $(LIBCLI_SRVSVC_OBJ
) \
1100 $(LIBCLI_SAMR_OBJ
) \
1101 $(LIBCLI_WINREG_OBJ
) \
1102 $(LIBCLI_NETLOGON_OBJ
) \
1103 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1104 rpc_client
/init_netlogon.o \
1105 rpc_client
/init_samr.o
1107 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1108 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1110 LIBSMBCLIENT_THREAD_OBJ
= \
1111 libsmb
/libsmb_thread_impl.o \
1112 libsmb
/libsmb_thread_posix.o
1114 LIBSMBCLIENT_OBJ0
= \
1115 libsmb
/libsmb_cache.o \
1116 libsmb
/libsmb_compat.o \
1117 libsmb
/libsmb_context.o \
1118 libsmb
/libsmb_dir.o \
1119 libsmb
/libsmb_file.o \
1120 libsmb
/libsmb_misc.o \
1121 libsmb
/libsmb_path.o \
1122 libsmb
/libsmb_printjob.o \
1123 libsmb
/libsmb_server.o \
1124 libsmb
/libsmb_stat.o \
1125 libsmb
/libsmb_xattr.o \
1126 libsmb
/libsmb_setget.o
1128 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1129 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1130 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1131 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1132 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1133 $(LIBCLI_SRVSVC_OBJ
) \
1136 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1138 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1139 client
/dnsbrowse.o \
1142 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1143 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1144 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1145 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1146 $(DISPLAY_SEC_OBJ
) \
1147 $(LIBCLI_SRVSVC_OBJ
)
1149 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1150 ..
/lib
/smbconf
/smbconf_util.o \
1151 ..
/lib
/smbconf
/smbconf_txt.o \
1152 lib
/smbconf
/smbconf_reg.o \
1153 lib
/smbconf
/smbconf_init.o
1155 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1157 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1158 $(LIB_NONSMBD_OBJ
) \
1163 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1164 lib
/pthreadpool
/tests.o
1166 LIBNET_OBJ
= libnet
/libnet_join.o \
1167 libnet
/libnet_keytab.o \
1168 librpc
/gen_ndr
/ndr_libnet_join.o
1170 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1171 libnet
/libnet_dssync_passdb.o \
1172 libnet
/libnet_dssync_keytab.o \
1173 ..
/libcli
/drsuapi
/repl_decrypt.o
1175 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1176 libnet
/libnet_samsync_ldif.o \
1177 libnet
/libnet_samsync_passdb.o \
1178 libnet
/libnet_samsync_display.o \
1179 libnet
/libnet_samsync_keytab.o \
1180 ..
/libcli
/samsync
/decrypt.o
1182 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1183 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1184 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1185 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1186 utils
/net_idmap_check.o utils
/interact.o \
1187 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1188 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1189 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1190 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1191 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1192 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1193 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1194 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1195 utils
/net_g_lock.o \
1196 utils
/net_serverid.o \
1197 utils
/net_eventlog.o \
1198 utils
/net_printing.o \
1199 utils
/net_rpc_trust.o \
1200 utils
/net_rpc_conf.o\
1201 $(LIBNDR_NTPRINTING_OBJ
) \
1202 $(LIBNDR_PREG_OBJ
) \
1203 $(LIBCLI_SPOOLSS_OBJ
) \
1204 $(LIBCLI_WINREG_OBJ
) \
1205 $(LIBCLI_DRSUAPI_OBJ
) \
1206 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1207 $(LIBCLI_DSSETUP_OBJ
) \
1208 $(LIBCLI_SVCCTL_OBJ
) \
1209 $(LIBCLI_WKSSVC_OBJ
) \
1210 $(LIBCLI_SRVSVC_OBJ
) \
1212 $(LIBCLI_SAMR_OBJ
) \
1213 $(LIBCLI_NETLOGON_OBJ
) \
1214 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1215 rpc_client
/init_netlogon.o \
1216 rpc_client
/init_samr.o \
1217 registry
/reg_parse.o registry
/reg_format.o \
1218 registry
/reg_parse_internal.o registry
/reg_import.o \
1219 lib
/cbuf.o lib
/srprs.o printing
/nt_printing_migrate.o
1221 # these are not processed by make proto
1222 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1224 NET_OBJ
= $(NET_OBJ1
) \
1225 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1226 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1227 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1228 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1229 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1230 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1231 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1232 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1233 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1234 $(REG_SMBCONF_OBJ
) \
1235 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1238 $(PRIVILEGES_BASIC_OBJ
) \
1241 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1242 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1245 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1246 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1248 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1249 torture
/denytest.o torture
/mangle_test.o \
1251 torture
/test_async_echo.o \
1252 torture
/test_smbsock_any_connect.o \
1253 torture
/test_nttrans_create.o \
1254 torture
/test_nttrans_fsctl.o \
1255 torture
/test_notify_online.o \
1256 torture
/test_addrchange.o \
1257 torture
/test_case_insensitive.o \
1258 torture
/test_posix_append.o \
1259 torture
/test_smb2.o \
1260 torture
/test_authinfo_structs.o \
1261 torture
/t_strappend.o
1263 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1264 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1265 @LIBWBCLIENT_STATIC@ \
1266 torture
/wbc_async.o \
1267 ..
/nsswitch
/wb_reqtrans.o \
1268 rpc_client
/util_lsarpc.o \
1269 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1271 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1272 $(LIB_NONSMBD_OBJ
) \
1275 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1276 $(LIB_NONSMBD_OBJ
) \
1279 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1280 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1281 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1283 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1285 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1286 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1287 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1290 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1292 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1294 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1295 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1296 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1298 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1299 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1300 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1301 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1304 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1306 $(LIB_NONSMBD_OBJ
) \
1307 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1308 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1311 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1313 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1314 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1315 librpc
/gen_ndr
/ndr_eventlog.o \
1316 librpc
/gen_ndr
/ndr_lsa.o
1318 SHARESEC_OBJ0
= utils
/sharesec.o
1319 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1323 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1324 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1326 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1327 @libreplacedir@
/test/getifaddrs.o \
1328 @libreplacedir@
/test/os2_delete.o \
1329 @libreplacedir@
/test/strptime.o \
1330 @libreplacedir@
/test/main.o \
1331 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1333 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1335 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1336 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1339 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1340 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1342 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1343 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1344 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1345 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1346 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1349 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1351 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1353 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1356 winbindd
/idmap_hash
/idmap_hash.o \
1357 winbindd
/idmap_hash
/mapfile.o
1360 winbindd
/idmap_adex
/idmap_adex.o \
1361 winbindd
/idmap_adex
/cell_util.o \
1362 winbindd
/idmap_adex
/likewise_cell.o \
1363 winbindd
/idmap_adex
/provider_unified.o \
1364 winbindd
/idmap_adex
/gc_util.o \
1365 winbindd
/idmap_adex
/domain_util.o
1368 winbindd
/winbindd.o \
1369 winbindd
/winbindd_group.o \
1370 winbindd
/winbindd_util.o \
1371 winbindd
/winbindd_cache.o \
1372 winbindd
/winbindd_pam.o \
1373 winbindd
/winbindd_misc.o \
1374 winbindd
/winbindd_cm.o \
1375 winbindd
/winbindd_wins_byip.o \
1376 winbindd
/winbindd_wins_byname.o \
1377 winbindd
/winbindd_msrpc.o \
1378 winbindd
/winbindd_rpc.o \
1379 winbindd
/winbindd_reconnect.o \
1380 winbindd
/winbindd_ads.o \
1381 winbindd
/winbindd_samr.o \
1382 winbindd
/winbindd_dual.o \
1383 winbindd
/winbindd_dual_ndr.o \
1384 winbindd
/winbindd_dual_srv.o \
1385 librpc
/gen_ndr
/ndr_wbint_c.o \
1386 librpc
/gen_ndr
/srv_wbint.o \
1387 librpc
/gen_ndr
/ndr_wbint.o \
1388 librpc
/gen_ndr
/ndr_idmap.o \
1389 winbindd
/winbindd_async.o \
1390 winbindd
/winbindd_creds.o \
1391 winbindd
/winbindd_cred_cache.o \
1392 winbindd
/winbindd_ccache_access.o \
1393 winbindd
/winbindd_domain.o \
1394 winbindd
/winbindd_idmap.o \
1395 winbindd
/winbindd_locator.o \
1396 winbindd
/winbindd_ndr.o \
1397 winbindd
/wb_ping.o \
1398 winbindd
/wb_lookupsid.o \
1399 winbindd
/wb_lookupsids.o \
1400 winbindd
/wb_lookupname.o \
1401 winbindd
/wb_sid2uid.o \
1402 winbindd
/wb_sid2gid.o \
1403 winbindd
/wb_uid2sid.o \
1404 winbindd
/wb_gid2sid.o \
1405 winbindd
/wb_queryuser.o \
1406 winbindd
/wb_lookupuseraliases.o \
1407 winbindd
/wb_lookupusergroups.o \
1408 winbindd
/wb_getpwsid.o \
1409 winbindd
/wb_gettoken.o \
1410 winbindd
/wb_seqnum.o \
1411 winbindd
/wb_seqnums.o \
1412 winbindd
/wb_group_members.o \
1413 winbindd
/wb_getgrsid.o \
1414 winbindd
/wb_query_user_list.o \
1415 winbindd
/wb_fill_pwent.o \
1416 winbindd
/wb_next_pwent.o \
1417 winbindd
/wb_next_grent.o \
1418 winbindd
/wb_dsgetdcname.o \
1419 winbindd
/winbindd_lookupsid.o \
1420 winbindd
/winbindd_lookupsids.o \
1421 winbindd
/winbindd_lookupname.o \
1422 winbindd
/winbindd_sid_to_uid.o \
1423 winbindd
/winbindd_sid_to_gid.o \
1424 winbindd
/winbindd_uid_to_sid.o \
1425 winbindd
/winbindd_gid_to_sid.o \
1426 winbindd
/winbindd_sids_to_xids.o \
1427 winbindd
/winbindd_allocate_uid.o \
1428 winbindd
/winbindd_allocate_gid.o \
1429 winbindd
/winbindd_getpwsid.o \
1430 winbindd
/winbindd_getpwnam.o \
1431 winbindd
/winbindd_getpwuid.o \
1432 winbindd
/winbindd_getsidaliases.o \
1433 winbindd
/winbindd_getuserdomgroups.o \
1434 winbindd
/winbindd_getgroups.o \
1435 winbindd
/winbindd_show_sequence.o \
1436 winbindd
/winbindd_getgrgid.o \
1437 winbindd
/winbindd_getgrnam.o \
1438 winbindd
/winbindd_getusersids.o \
1439 winbindd
/winbindd_lookuprids.o \
1440 winbindd
/winbindd_setpwent.o \
1441 winbindd
/winbindd_getpwent.o \
1442 winbindd
/winbindd_endpwent.o \
1443 winbindd
/winbindd_setgrent.o \
1444 winbindd
/winbindd_getgrent.o \
1445 winbindd
/winbindd_endgrent.o \
1446 winbindd
/winbindd_dsgetdcname.o \
1447 winbindd
/winbindd_getdcname.o \
1448 winbindd
/winbindd_list_users.o \
1449 winbindd
/winbindd_list_groups.o \
1450 winbindd
/winbindd_check_machine_acct.o \
1451 winbindd
/winbindd_change_machine_acct.o \
1452 winbindd
/winbindd_ping_dc.o \
1453 winbindd
/winbindd_pam_auth.o \
1454 winbindd
/winbindd_pam_auth_crap.o \
1455 winbindd
/winbindd_pam_chauthtok.o \
1456 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1457 winbindd
/winbindd_pam_logoff.o \
1461 auth
/check_samsec.o \
1462 auth
/server_info.o \
1463 auth
/server_info_sam.o \
1466 ..
/nsswitch
/wb_reqtrans.o
1469 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1470 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1471 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1472 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1473 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1474 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1475 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1476 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1477 $(NPA_TSTREAM_OBJ
) \
1478 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1479 $(LIBADS_SERVER_OBJ
) \
1480 $(TDB_VALIDATE_OBJ
) \
1481 $(LIBCLI_DSSETUP_OBJ
) \
1483 $(LIBCLI_SAMR_OBJ
) \
1484 $(LIBCLI_NETLOGON_OBJ
) \
1485 rpc_client
/init_netlogon.o \
1486 rpc_client
/init_samr.o \
1489 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1490 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1491 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1493 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1495 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1496 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1498 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1499 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1501 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1502 ..
/lib
/iniparser_build
/strlib.o
1504 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1505 $(SOCKET_WRAPPER_OBJ
)
1507 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1508 $(SOCKET_WRAPPER_OBJ
)
1510 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1511 $(SOCKET_WRAPPER_OBJ
)
1513 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1514 $(SOCKET_WRAPPER_OBJ
)
1516 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1517 $(SOCKET_WRAPPER_OBJ
)
1520 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1522 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1523 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libads
/kerberos.o \
1524 libsmb
/samlogon_cache.o \
1525 $(LIBADS_SERVER_OBJ
) \
1526 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1527 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1532 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1535 VLP_OBJ
= printing
/tests
/vlp.o \
1536 ..
/lib
/util
/util_tdb.o \
1537 $(LIBSAMBAUTIL_OBJ
) \
1540 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1544 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1545 $(LIB_NONSMBD_OBJ
) \
1550 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1552 $(LIB_NONSMBD_OBJ
) \
1556 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1558 $(LIB_NONSMBD_OBJ
) \
1562 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1564 $(LIB_NONSMBD_OBJ
) \
1568 ######################################################################
1570 ######################################################################
1571 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1572 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1573 $(EXTRA_ALL_TARGETS
)
1575 basics
:: samba3-idl mkparam
1577 nss_modules
:: $(NSS_MODULES
)
1579 pam_modules
:: $(PAM_MODULES
)
1581 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1583 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1585 gpext_modules
:: $(GPEXT_MODULES
)
1587 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1589 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1591 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1593 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1595 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1597 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1599 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1601 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1603 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1605 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1607 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1609 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1611 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1613 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1615 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1617 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest@EXEEXT@
1619 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1621 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1622 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1623 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1625 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1627 modules
:: SHOWFLAGS
$(MODULES
)
1630 #####################################################################
1631 ## Perl IDL Compiler
1633 IDL_FILES
= librpc
/idl
/messaging.idl \
1634 librpc
/idl
/libnetapi.idl \
1635 librpc
/idl
/wbint.idl \
1636 librpc
/idl
/perfcount.idl \
1637 librpc
/idl
/secrets.idl \
1638 librpc
/idl
/libnet_join.idl
1641 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1642 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1643 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1644 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1647 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1648 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1649 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1650 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1652 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
1654 ..
/lib
/param
/param_local.h
:
1655 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file ..
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1656 ..
/lib
/param
/param_global.h
:
1657 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1658 param
/param_global.h
:
1659 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/param
/loadparm.c
--file param
/param_global.h
--generate-scope
=GLOBAL
1660 ..
/lib
/param
/param_proto.h
:
1661 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--public ..
/lib
/param
/param_proto.h
--private ..
/lib
/param
/param_proto.h
1662 ..
/lib
/param
/s3_param.h
:
1663 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/s3_param.h
1666 #####################################################################
1669 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1670 $(EVERYTHING_PROGS
) \
1674 .SUFFIXES
: .c .o .lo
1676 .PHONY
: showflags SHOWFLAGS
1678 showflags
: SHOWFLAGS
1681 @echo
"Using CFLAGS = $(CFLAGS)"
1682 @echo
" PICFLAG = $(PICFLAG)"
1683 @echo
" LIBS = $(LIBS)"
1684 @echo
" LDFLAGS = $(LDFLAGS)"
1685 @echo
" DYNEXP = $(DYNEXP)"
1686 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1687 @echo
" SHLIBEXT = @SHLIBEXT@"
1688 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1690 # "showcflags" target for debuggin how CFLAGS are composed:
1692 .PHONY
: showcflags SHOWCFLAGS
1694 showcflags
: SHOWCFLAGS
1697 @echo
"CFLAGS = $(CFLAGS)"
1698 @echo
"FLAGS = $(FLAGS)"
1700 @echo
"FLAGS1 = @FLAGS1@"
1701 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1702 @echo
"CPPFLAGS = $(CPPFLAGS)"
1703 @echo
"ISA = $(ISA)"
1705 MAKEDIR
= || exec false
; \
1706 if
test -d
"$$dir"; then
:; else \
1707 echo mkdir
"$$dir"; \
1708 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1709 test -d
"$$dir" || \
1711 exec false
; fi || exec false
1713 # Run a static checker.
1714 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1715 # Compile a source file.
1716 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1717 # Compile a source file with the installation paths defined.
1718 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1720 COMPILE
= $(COMPILE_CC
)
1723 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1724 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1725 @if
test -n
"$(CC_CHECKER)"; then \
1726 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1729 @echo Compiling
$*.c
1730 @
$(COMPILE
) && exit
0;\
1731 echo
"The following command failed:" 1>&2;\
1732 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1733 $(COMPILE_CC) >/dev/null 2>&1
1734 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1736 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1738 # this adds support for precompiled headers. To use it, install a snapshot
1739 # of gcc-3.4 and run 'make pch' before you do the main build.
1741 rm -f $(PRECOMPILED_HEADER)
1742 $(MAKE) $(PRECOMPILED_HEADER)
1744 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1747 BINARY_PREREQS = bin/.dummy
1749 # These dependencies are only approximately correct: we want to make
1750 # sure Samba's paths are updated if ./configure is re-run. Really it
1751 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1752 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1753 # rebuild it's a bit hard.
1755 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1756 @echo Compiling $*.c
1757 @$(COMPILE_CC_PATH) && exit 0;\
1758 echo "The following command failed
:" 1>&2;\
1759 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1760 $(COMPILE_CC_PATH) >/dev/null 2>&1
1762 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1763 @echo Compiling $*.c
1764 @$(COMPILE_CC_PATH) && exit 0;\
1765 echo "The following command failed
:" 1>&2;\
1766 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1767 $(COMPILE_CC_PATH) >/dev/null 2>&1
1769 ### Start section of object files that require PTHREAD_CFLAGS
1770 ../nsswitch/wins.o: ../nsswitch/wins.c
1771 @echo Compiling $*.c
1772 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1773 echo "The following command failed
:" 1>&2;\
1774 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1775 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1777 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1778 @echo Compiling $*.c
1779 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1780 echo "The following command failed
:" 1>&2;\
1781 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1782 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1784 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1785 @echo Compiling $*.c
1786 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1787 echo "The following command failed
:" 1>&2;\
1788 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1789 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1791 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1792 @echo Compiling $*.c
1793 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1794 echo "The following command failed
:" 1>&2;\
1795 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1796 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1797 ### End section of object files that require PTHREAD_CFLAGS
1799 lib/pidfile.o: lib/pidfile.c
1800 @echo Compiling $*.c
1801 @$(COMPILE_CC_PATH) && exit 0;\
1802 echo "The following command failed
:" 1>&2;\
1803 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1804 $(COMPILE_CC_PATH) >/dev/null 2>&1
1806 lib/version.o: lib/version.c include/version.h
1807 @echo Compiling $*.c
1808 @$(COMPILE_CC_PATH) && exit 0;\
1809 echo "The following command failed
:" 1>&2;\
1810 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1811 $(COMPILE_CC_PATH) >/dev/null 2>&1
1813 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1814 @echo Compiling $*.c
1815 @$(COMPILE_CC_PATH) && exit 0;\
1816 echo "The following command failed
:" 1>&2;\
1817 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1818 $(COMPILE_CC_PATH) >/dev/null 2>&1
1820 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1822 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1825 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1826 dir=bin $(MAKEDIR); fi
1827 @: >> $@ || : > $@ # what a fancy emoticon!
1829 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1831 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1832 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1833 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1834 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1835 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1837 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1839 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1840 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1841 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1842 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1844 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1846 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1847 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1848 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1850 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1852 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1853 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1854 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1855 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1857 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1859 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1860 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1861 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1862 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1864 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1866 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1867 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1868 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1869 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1872 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1874 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1875 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1877 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1879 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1880 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1881 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1883 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1885 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1886 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1888 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1890 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1891 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1893 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1895 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1896 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1898 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1900 @$(CC) -DUSING_SMBCONTROL -o $@ \
1901 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1902 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1903 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1905 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1907 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1908 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1909 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1911 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1913 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1914 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1915 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1917 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1919 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1920 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1921 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1923 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1925 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1926 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1927 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1929 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1931 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1932 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1934 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1936 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1937 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1938 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1940 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1942 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1943 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1944 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1946 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1948 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1949 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1951 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1953 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1954 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1955 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1957 bin/pthreadpooltest@EXEEXT@: $(PTHREADPOOLTEST_OBJ)
1959 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1961 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1963 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1964 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1965 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1966 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1968 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1970 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1971 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1972 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1974 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1976 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1977 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1978 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1980 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1982 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1983 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1984 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1986 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1988 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1989 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1991 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1993 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1994 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1996 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1998 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1999 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2000 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2001 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2003 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2005 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2008 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2010 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2011 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
2012 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2014 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2016 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2017 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2018 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2019 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2020 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2022 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2024 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2025 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2027 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2029 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2030 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2031 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2032 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2034 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2036 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2037 $(LIBS) $(LIBTALLOC_LIBS)
2039 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2041 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2042 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2043 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2044 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2046 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2048 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2051 #####################################################################
2055 #####################################################################
2057 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2060 #-------------------------------------------------------------------
2064 #-------------------------------------------------------------------
2067 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2068 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2070 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
2071 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2072 LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
2073 LIBTALLOC_SHARED_TARGET_SONAME=@LIBTALLOC_SHARED_TARGET_SOVER@
2074 LIBTALLOC_SHARED_TARGET_FULLVER=@LIBTALLOC_SHARED_TARGET_FULLVER@
2075 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2076 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2077 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2079 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2080 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2082 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2083 @echo Linking shared library $@
2084 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2086 $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
2088 @mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
2089 @ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
2091 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
2093 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2095 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2096 @echo Linking non-shared library $@
2097 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2098 libtalloc: $(LIBTALLOC)
2103 $(LIBTALLOC_STATIC_TARGET) \
2104 $(LIBTALLOC_SHARED_TARGET) \
2105 $(LIBTALLOC_SHARED_TARGET_SONAME)
2107 installlibtalloc:: installdirs libtalloc
2108 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2109 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2110 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2111 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2112 -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
2113 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
2114 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
2116 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2117 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2118 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2120 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2121 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2122 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2124 uninstalllibtalloc::
2125 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2126 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2127 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2128 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2131 installlibs:: @INSTALL_LIBTALLOC@
2132 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2133 cleanlibs:: cleanlibtalloc
2134 shlibs test_shlibs: @LIBTALLOC_SHARED@
2138 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2139 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2140 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2142 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2143 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2144 @echo "LIBTALLOC_FULLVER
= $(LIBTALLOC_FULLVER
)"
2145 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2146 @echo "LIBTALLOC_SHARED TARGET_FULLVER
= $(LIBTALLOC_SHARED_TARGET_FULLVER
)"
2147 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2148 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2150 showlibs:: showlibtalloc
2152 #-------------------------------------------------------------------
2156 #-------------------------------------------------------------------
2158 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2159 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2161 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2162 LIBTDB_SOVER=@LIBTDB_SOVER@
2163 LIBTDB_FULLVER=@LIBTDB_FULLVER@
2164 LIBTDB_SHARED_TARGET_SONAME=@LIBTDB_SHARED_TARGET_SOVER@
2165 LIBTDB_SHARED_TARGET_FULLVER=@LIBTDB_SHARED_TARGET_FULLVER@
2166 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2167 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2168 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2170 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2171 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2174 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2175 @echo Linking shared library $@
2176 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2177 @SONAMEFLAG@`basename $@`
2179 $(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
2181 @mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
2182 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
2184 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
2186 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2188 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2189 @echo Linking non-shared library $@
2190 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2197 $(LIBTDB_STATIC_TARGET) \
2198 $(LIBTDB_SHARED_TARGET) \
2199 $(LIBTDB_SHARED_TARGET_SONAME)
2202 installlibtdb:: installdirs libtdb
2203 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2204 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2205 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2206 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2207 -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \
2208 ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \
2209 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \
2211 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2212 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2213 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2215 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2216 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2217 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2220 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2221 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2222 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2223 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2226 installlibs:: @INSTALL_LIBTDB@
2227 uninstalllibs:: @UNINSTALL_LIBTDB@
2228 cleanlibs:: cleanlibtdb
2229 shlibs test_shlibs: @LIBTDB_SHARED@
2233 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2234 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2235 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2237 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2238 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2239 @echo "LIBTDB_FULLVER
= $(LIBTDB_FULLVER
)"
2240 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2241 @echo "LIBTDB_SHARED TARGET_FULLVER
= $(LIBTDB_SHARED_TARGET_FULLVER
)"
2242 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2243 @echo "LIBTDB
= $(LIBTDB
)"
2245 showlibs:: showlibtdb
2247 #-------------------------------------------------------------------
2251 #-------------------------------------------------------------------
2253 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2254 ../nsswitch/libwbclient/wbc_util.o \
2255 ../nsswitch/libwbclient/wbc_pwd.o \
2256 ../nsswitch/libwbclient/wbc_idmap.o \
2257 ../nsswitch/libwbclient/wbc_sid.o \
2258 ../nsswitch/libwbclient/wbc_guid.o \
2259 ../nsswitch/libwbclient/wbc_pam.o
2261 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2264 ../lib/util/blocking.o \
2265 $(SOCKET_WRAPPER_OBJ)
2267 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2268 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2269 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2270 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2271 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2272 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2273 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2275 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2276 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2278 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2279 @echo Linking shared library $@
2280 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2281 @SONAMEFLAG@`basename $@`
2283 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2285 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2287 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2288 @echo Linking non-shared library $@
2289 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2291 libwbclient: $(LIBWBCLIENT)
2295 $(LIBWBCLIENT_SYMS) \
2296 $(LIBWBCLIENT_STATIC_TARGET) \
2297 $(LIBWBCLIENT_SHARED_TARGET) \
2298 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2300 installlibwbclient:: installdirs libwbclient
2301 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2302 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2303 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2304 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2305 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2306 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2308 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2309 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2310 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2312 uninstalllibwbclient::
2313 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2314 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2315 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2316 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2319 installlibs:: @INSTALL_LIBWBCLIENT@
2320 uninstalllibs:: uninstalllibwbclient
2321 cleanlibs:: cleanlibwbclient
2322 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2326 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2327 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2328 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2330 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2331 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2332 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2333 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2334 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2335 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2337 showlibs:: showlibwbclient
2340 #-------------------------------------------------------------------
2344 #-------------------------------------------------------------------
2347 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2348 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2349 LIBADDNS_FULLVER=@LIBADDNS_FULLVER@
2350 LIBADDNS_SHARED_TARGET_SONAME=@LIBADDNS_SHARED_TARGET_SOVER@
2351 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2352 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2353 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2355 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2356 @echo Linking shared library $@
2357 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2358 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2359 @SONAMEFLAG@`basename $@`
2361 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2363 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2365 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2366 @echo Linking non-shared library $@
2367 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2369 libaddns: $(LIBADDNS)
2373 $(LIBADDNS_SHARED_TARGET) \
2374 $(LIBADDNS_SHARED_TARGET_SONAME) \
2375 $(LIBADDNS_STATIC_TARGET)
2377 installlibaddns:: installdirs libaddns
2378 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2379 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2380 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2381 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2382 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2383 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2385 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2388 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2389 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2390 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2393 installlibs:: @INSTALL_LIBADDNS@
2394 uninstalllibs:: @UNINSTALL_LIBADDNS@
2395 cleanlibs:: cleanlibaddns
2396 shlibs test_shlibs: @LIBADDNS_SHARED@
2400 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2401 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2402 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2404 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2405 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2406 @echo "LIBADDNS_FULLVER
= $(LIBADDNS_FULLVER
)"
2407 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2408 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2409 @echo "LIBADDNS
= $(LIBADDNS
)"
2411 showlibs:: showlibaddns
2413 #-------------------------------------------------------------------
2417 #-------------------------------------------------------------------
2419 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2421 librpc/gen_ndr/ndr_libnetapi.o \
2422 lib/netapi/libnetapi.o \
2423 lib/netapi/joindomain.o \
2424 lib/netapi/serverinfo.o \
2425 lib/netapi/getdc.o \
2427 lib/netapi/group.o \
2428 lib/netapi/localgroup.o \
2431 lib/netapi/share.o \
2433 lib/netapi/shutdown.o \
2434 lib/netapi/netlogon.o
2436 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2438 $(REG_SMBCONF_OBJ) \
2439 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2440 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2441 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2442 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2443 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2445 $(LIBCLI_INITSHUTDOWN_OBJ) \
2446 $(LIBCLI_WKSSVC_OBJ) \
2447 $(LIBCLI_SRVSVC_OBJ) \
2449 $(LIBCLI_SAMR_OBJ) \
2450 $(LIBCLI_NETLOGON_OBJ) \
2451 $(RPC_CLIENT_SCHANNEL_OBJ) \
2452 rpc_client/init_netlogon.o \
2453 rpc_client/init_samr.o
2455 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2456 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2457 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2458 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2459 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2460 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2461 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2463 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2464 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2466 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2467 @echo Linking shared library $@
2468 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2469 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2470 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2471 @SONAMEFLAG@`basename $@`
2473 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2475 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2477 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2478 @echo Linking non-shared library $@
2479 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2481 libnetapi: $(LIBNETAPI)
2486 $(LIBNETAPI_STATIC_TARGET) \
2487 $(LIBNETAPI_SHARED_TARGET) \
2488 $(LIBNETAPI_SHARED_TARGET_SONAME)
2490 installlibnetapi:: installdirs libnetapi
2491 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2492 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2493 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2494 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2495 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2496 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2498 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2499 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2500 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2502 uninstalllibnetapi::
2503 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2504 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2505 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2506 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2509 installlibs:: @INSTALL_LIBNETAPI@
2510 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2511 cleanlibs:: cleanlibnetapi
2512 shlibs test_shlibs: @LIBNETAPI_SHARED@
2516 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2517 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2518 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2520 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2521 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2522 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2523 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2524 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2525 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2527 showlibs:: showlibnetapi
2529 #-------------------------------------------------------------------
2533 #-------------------------------------------------------------------
2535 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2536 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2537 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2538 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2539 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2540 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2541 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2542 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2544 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2545 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2547 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2548 @echo Linking shared library $@
2549 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2550 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2551 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2552 @SONAMEFLAG@`basename $@`
2554 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2556 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2558 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2559 @echo Linking non-shared library $@
2560 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2562 libsmbclient: $(LIBSMBCLIENT)
2566 $(LIBSMBCLIENT_SHARED_TARGET) \
2567 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2568 $(LIBSMBCLIENT_STATIC_TARGET)
2570 installlibsmbclient:: installdirs libsmbclient
2571 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2572 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2573 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2574 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2575 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2576 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2578 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2579 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2580 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2582 installclientlib:: installlibsmbclient
2584 uninstalllibsmbclient::
2585 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2586 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2587 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2588 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2590 uninstallclientlib:: uninstalllibsmbclient
2593 installlibs:: @INSTALL_LIBSMBCLIENT@
2594 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2595 cleanlibs:: cleanlibsmbclient
2596 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2600 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2601 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2602 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2604 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2605 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2606 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2607 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2608 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2609 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2611 showlibs:: showlibsmbclient
2613 #-------------------------------------------------------------------
2617 #-------------------------------------------------------------------
2619 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2621 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2623 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2624 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2625 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2626 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2627 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2628 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2629 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2630 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2632 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2633 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2635 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2636 @echo Linking shared library $@
2637 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2638 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2639 @SONAMEFLAG@`basename $@`
2641 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2643 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2645 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2646 @echo Linking non-shared library $@
2647 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2649 libsmbsharemodes: $(LIBSMBSHAREMODES)
2651 cleanlibsmbsharemodes::
2653 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2654 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2655 $(LIBSMBSHAREMODES_STATIC_TARGET)
2657 installlibsmbsharemodes:: installdirs libsmbsharemodes
2658 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2659 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2660 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2661 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2662 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2663 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2665 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2666 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2667 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2669 uninstalllibsmbsharemodes::
2670 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2671 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2672 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2673 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2675 libs:: libsmbsharemodes
2676 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2677 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2678 cleanlibs:: cleanlibsmbsharemodes
2679 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2681 showlibsmbsharemodes:
2683 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2684 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2685 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2686 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2688 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2689 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2690 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2691 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2692 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2693 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2695 showlibs:: showlibsmbsharemodes
2697 #####################################################################
2701 #####################################################################
2703 # Linker command to link our shared libraries:
2704 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2705 -o $@ @SONAMEFLAG@`basename $@`
2706 # Linker command to link samba internal plugin modules:
2707 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2708 -o $@ @SONAMEFLAG@`basename $@`
2710 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2712 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2714 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2716 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2718 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2720 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2722 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2724 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2726 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2728 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2730 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2732 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2734 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2736 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2738 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2740 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2742 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2744 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2746 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2748 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2750 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2752 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2754 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2756 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2758 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2760 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2762 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2764 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2766 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2768 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2769 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2770 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2773 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2775 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2776 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2780 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2782 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2783 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2784 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2786 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2788 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2789 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2790 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2792 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2794 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2795 @SONAMEFLAG@`basename $@`
2797 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2798 @echo "Linking shared library
$@
"
2799 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2800 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2806 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2807 @echo "Building plugin
$@
"
2808 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2810 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2811 @echo "Building plugin
$@
"
2812 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2814 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2815 @echo "Building plugin
$@
"
2816 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2818 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2819 @echo "Building plugin
$@
"
2820 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2822 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2823 @echo "Building plugin
$@
"
2824 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2826 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2827 @echo "Building plugin
$@
"
2828 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2830 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2831 @echo "Building plugin
$@
"
2832 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2834 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2835 @echo "Building plugin
$@
"
2836 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2838 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2842 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2844 @echo "Building plugin
$@
"
2845 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2848 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2849 @echo "Building plugin
$@
"
2850 @$(SHLD_MODULE) passdb/pdb_ads.o
2852 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2853 @echo "Building plugin
$@
"
2854 @$(SHLD_MODULE) passdb/pdb_tdb.o
2856 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2857 @echo "Building plugin
$@
"
2858 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2860 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2861 @echo "Building plugin
$@
"
2862 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2864 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2865 @echo "Building plugin
$@
"
2866 @$(SHLD_MODULE) winbindd/idmap_rid.o
2868 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2869 @echo "Building plugin
$@
"
2870 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2872 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2873 @echo "Building plugin
$@
"
2874 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2876 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2877 @echo "Building plugin
$@
"
2878 @$(SHLD_MODULE) winbindd/idmap_ad.o
2880 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2881 @echo "Building plugin
$@
"
2882 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2884 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2885 @echo "Building plugin
$@
"
2886 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2888 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2889 @echo "Building plugin
$@
"
2890 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2892 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2893 @echo "Building plugin
$@
"
2894 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2896 # NOTE, there is no build rule for a dynamic default VFS module because
2897 # this one MUST MUST MUST be built statically.
2899 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2900 @echo "Building plugin
$@
"
2901 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2903 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2904 @echo "Building plugin
$@
"
2905 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2907 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2908 @echo "Building plugin
$@
"
2909 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2911 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2912 @echo "Building plugin
$@
"
2913 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2915 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2916 @echo "Building plugin
$@
"
2917 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2919 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2920 @echo "Building plugin
$@
"
2921 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2923 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2924 @echo "Building plugin
$@
"
2925 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2927 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2928 @echo "Building plugin
$@
"
2929 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2931 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2932 @echo "Building plugin
$@
"
2933 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2935 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2936 @echo "Building plugin
$@
"
2937 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2939 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2940 @echo "Building plugin
$@
"
2941 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2943 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2944 @echo "Building plugin
$@
"
2945 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2947 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2948 @echo "Building plugin
$@
"
2949 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2951 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2952 @echo "Building plugin
$@
"
2953 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2955 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2956 @echo "Building plugin
$@
"
2957 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2959 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2960 @echo "Building plugin
$@
"
2961 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2963 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2964 @echo "Building plugin
$@
"
2965 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2967 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2968 @echo "Building plugin
$@
"
2969 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2971 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2972 @echo "Building plugin
$@
"
2973 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2975 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2976 @echo "Building plugin
$@
"
2977 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2979 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2980 @echo "Building plugin
$@
"
2981 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2983 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2984 @echo "Building plugin
$@
"
2985 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2987 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2988 @echo "Building plugin
$@
"
2989 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2991 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2992 @echo "Building plugin
$@
"
2993 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2995 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2996 @echo "Building plugin
$@
"
2997 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2999 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
3000 @echo "Building plugin
$@
"
3001 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
3003 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
3004 @echo "Building plugin
$@
"
3005 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
3007 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
3008 @echo "Building plugin
$@
"
3009 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
3011 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
3012 @echo "Building plugin
$@
"
3013 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
3015 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
3016 @echo "Building plugin
$@
"
3017 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
3019 bin/gpfs_hsm_notify.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3020 @echo "Building plugin
$@
"
3021 @$(SHLD_MODULE) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3023 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
3024 @echo "Building plugin
$@
"
3025 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
3027 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
3028 @echo "Building plugin
$@
"
3029 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
3031 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
3032 @echo "Building plugin
$@
"
3033 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
3035 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
3036 @echo "Building plugin
$@
"
3037 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
3039 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
3040 @echo "Building plugin
$@
"
3041 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
3043 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
3044 @echo "Building plugin
$@
"
3045 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
3047 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
3048 @echo "Building plugin
$@
"
3049 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
3051 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3052 @echo "Building plugin
$@
"
3053 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3055 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
3056 @echo "Building plugin
$@
"
3057 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
3059 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
3060 @echo "Building plugin
$@
"
3061 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
3063 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3064 @echo "Building plugin
$@
"
3065 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3067 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
3068 @echo "Building plugin
$@
"
3069 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
3071 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
3072 @echo "Building plugin
$@
"
3073 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
3075 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
3076 @echo "Building plugin
$@
"
3077 @$(SHLD_MODULE) libgpo/gpext/registry.o
3079 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
3080 @echo "Building plugin
$@
"
3081 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3083 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3084 @echo "Building plugin
$@
"
3085 @$(SHLD_MODULE) libgpo/gpext/security.o
3087 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3088 @echo "Building plugin
$@
"
3089 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3091 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3092 @echo "Building plugin
$@
"
3093 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3095 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3096 @echo "Building plugin
$@
"
3097 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3099 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3100 @echo "Building plugin
$@
"
3101 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3103 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3104 @echo "Building plugin
$@
"
3105 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3107 #########################################################
3108 ## IdMap NSS plugins
3110 ## None here right now
3111 #########################################################
3113 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3115 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3116 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3119 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3120 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3122 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3123 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
3124 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3125 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3127 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3128 @echo "Linking shared library
$@
"
3129 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3130 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
3131 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3133 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3135 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3136 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3138 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3140 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3141 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3143 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3145 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3147 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3149 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3151 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3153 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3154 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3156 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3158 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3160 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3162 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3163 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3164 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3166 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3168 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3169 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3170 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3171 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3173 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3175 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3176 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3179 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3181 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3182 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3184 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3186 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3187 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3190 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3192 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3193 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3195 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3197 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3198 $(LDFLAGS) $(DYNEXP) \
3199 $(LIBS) $(POPT_LIBS) \
3200 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3201 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3203 install:: installservers installbin installman \
3204 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3205 @INSTALL_PAM_MODULES@ installlibs installmo
3207 install-everything:: install installmodules
3209 # DESTDIR is used here to prevent packagers wasting their time
3210 # duplicating the Makefile. Remove it and you will have the privelege
3211 # of package each samba release for muliple versions of multiple
3212 # distributions and operating systems, or at least supplying patches
3213 # to all the packaging files required for this, prior to committing
3214 # the removal of DESTDIR. Do not remove it even though you think it
3218 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3219 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3220 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3222 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3224 installservers:: all installdirs
3225 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3227 installbin:: all installdirs
3228 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3230 # Some symlinks are required for the 'probing' of modules.
3231 # This mechanism should go at some point..
3232 installmodules:: modules installdirs
3233 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3234 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3235 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3236 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3237 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3238 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3239 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3240 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3241 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3242 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3243 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3244 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3245 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3246 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3247 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3248 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3249 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3250 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3252 installscripts:: installdirs
3253 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3255 installdat:: installdirs
3256 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3258 installmsg:: installdirs
3259 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3261 installswat:: installdirs installmsg
3262 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3264 installpammodules:: $(PAM_MODULES)
3265 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3266 @for module in $(PAM_MODULES); do \
3267 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3268 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3269 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3272 # revert to the previously installed version
3274 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3275 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3277 installman:: installdirs
3278 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3280 installmo:: all installdirs
3281 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3286 @echo "Samba will be installed into
:"
3287 @echo " prefix: $(prefix)"
3288 @echo " exec_prefix: $(exec_prefix)"
3289 @echo " sysconfdir
: $(sysconfdir
)"
3290 @echo " localstatedir
: $(localstatedir
)"
3291 @echo " datarootdir
: $(datarootdir
)"
3292 @echo " BINDIR
: $(BINDIR
)"
3293 @echo " SBINDIR
: $(SBINDIR
)"
3294 @echo " LIBDIR
: $(LIBDIR
)"
3295 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3296 @echo " MANDIR
: $(MANDIR
)"
3297 @echo " DATADIR
: $(DATADIR
)"
3298 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3299 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3300 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3301 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3302 @echo " MODULESDIR
: $(MODULESDIR
)"
3303 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3304 @echo " SETUPDIR
: $(SETUPDIR
)"
3305 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3306 @echo " SWATDIR
: $(SWATDIR
)"
3307 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3308 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3309 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3310 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3311 @echo " LOCKDIR
: $(LOCKDIR
)"
3312 @echo " PIDDIR
: $(PIDDIR
)"
3313 @echo " STATEDIR
: $(STATEDIR
)"
3314 @echo " CACHEDIR
: $(CACHEDIR
)"
3315 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3316 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3317 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3318 # @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3319 # @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3320 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3321 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3322 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3323 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3324 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3325 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3328 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3331 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3334 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3337 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3340 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3343 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3344 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3345 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3346 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3347 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3348 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3349 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3352 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3355 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3358 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3360 uninstallswat:: uninstallmsg
3361 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3363 uninstallpammodules::
3364 @for module in $(PAM_MODULES); do \
3365 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3366 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3370 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3372 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3374 ../libgpo/*.o ../libgpo/*/*.o \
3375 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o
3378 -rm -f include/build_env.h
3379 -rm -f smbd/build_options.c
3380 -rm -f param/param_local.h
3381 -rm -f param/param_global.h
3382 -rm -f ../lib/param/param_local.h
3383 -rm -f ../lib/param/param_global.h
3384 -rm -f ../lib/param/param_proto.h
3385 -rm -f ../lib/param/s3_param.h
3386 -rm -f $(PRECOMPILED_HEADER)
3387 -rm -f core */*~ *~ \
3388 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3389 ../testsuite/*/*.o \
3390 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3392 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3393 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3394 $(MODULES) $(TORTURE_PROGS) \
3395 $(EVERYTHING_PROGS) \
3397 .headers.stamp */src/*.o
3400 include/build_env.h: script/build_env.sh
3401 @echo Building include/build_env.h
3402 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3403 > $(builddir)/include/build_env.h
3409 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3412 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3415 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3416 -rm -f script/installbin.sh script/uninstallbin.sh
3418 distclean:: realclean
3420 -rm -f include/autoconf/config.h Makefile
3421 -rm -f config.status config.cache so_locations
3424 realdistclean:: distclean
3425 -rm -f include/autoconf/config.h.in
3426 -rm -f include/version.h
3429 # this target is really just for my use. It only works on a limited
3430 # range of machines and is used to produce a list of potentially
3431 # dead (ie. unused) functions in the code. (tridge)
3433 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3434 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3435 comm -13 nmused.txt nmfns.txt
3438 # when configure.in is updated, reconfigure
3439 $(srcdir)/configure: $(srcdir)/configure.in
3440 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3442 config.status: $(srcdir)/configure
3443 @echo "WARNING
: you need to run .
/configure
"
3445 Makefile: $(srcdir)/Makefile.in config.status
3446 @echo "WARNING
: you need to run .
/config.status
"
3448 ######################################################################
3449 # Samba Testing Framework
3451 # Check shared libs for unresolved symbols
3454 @$(LIB_PATH_VAR)=./bin && \
3455 export $(LIB_PATH_VAR) && \
3456 for module in $?; do \
3457 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3461 # Check for NSS module problems.
3462 test_nss_modules:: nss_modules
3463 @echo "Testing
$(NSS_MODULES
) "
3464 @$(LIB_PATH_VAR)=./bin && \
3465 export $(LIB_PATH_VAR) && \
3466 for module in $(NSS_MODULES); do \
3467 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3471 # Check for PAM module problems. Specifically, check that every module we
3472 # built can actually be loaded by a minimal PAM-aware application.
3473 test_pam_modules:: pam_modules
3474 @echo "Testing
$(PAM_MODULES
) "
3475 @$(LIB_PATH_VAR)=./bin && \
3476 export $(LIB_PATH_VAR) && \
3477 for module in $(PAM_MODULES); do \
3478 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3484 ## Targets for 'make test'
3487 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3489 valgrindtest:: all torture timelimit
3490 @echo Running Test suite with valgrind
3492 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3493 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3494 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3495 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3497 selftestdir = ../selftest
3499 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3501 test:: all torture timelimit
3502 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3503 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3504 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3505 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3506 SOURCEDIR="$(srcdir)" \
3507 VFSLIBDIR="$(builddir
)/bin
" \
3508 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3509 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3510 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3511 $(srcdir)/selftest/s3-selftest.sh
3514 $(MAKE) test TESTS=$*
3517 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3520 $(MAKE) test SUBUNIT_FORMATTER=cat
3522 SELFTEST_TESTENV = s3dc
3525 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3528 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3529 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3530 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3531 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3535 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3536 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3537 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3538 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3542 # Check for Winbind struct 32/64bit padding
3544 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3545 @./script/tests/wb_pad.sh || exit 1;
3551 libsmbclient_examples: libsmbclient
3552 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3554 clean_libsmbclient_examples:
3555 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3557 libnetapi_examples: libnetapi
3558 $(MAKE) -C lib/netapi/examples
3560 clean_libnetapi_examples:
3561 $(MAKE) -C lib/netapi/examples clean
3563 .PHONY: bin/smbtorture4 bin/ndrdump4
3565 bin/smbtorture4: $(BINARY_PREREQS)
3566 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3568 bin/ndrdump4: $(BINARY_PREREQS)
3569 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3571 .PHONY: vfs_examples
3575 cd ../examples/VFS && \