1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 # the following vars come from ../dynconfig/config.m4
23 #LIBEXECDIR=@LIBEXECDIR@
27 #SCRIPTSBINDIR=@SCRIPTSBINDIR@
28 #PYTHONDIR=@PYTHONDIR@
29 #PYTHONARCHDIR=@PYTHONARCHDIR@
30 MODULESDIR
=@MODULESDIR@
31 INCLUDEDIR
=@INCLUDEDIR@
33 #PKGCONFIGDIR=@PKGCONFIGDIR@
35 CODEPAGEDIR
=@CODEPAGEDIR@
36 PAMMODULESDIR
=@PAMMODULESDIR@
38 PRIVATE_DIR
=@PRIVATE_DIR@
43 LOGFILEBASE
=@LOGFILEBASE@
44 SOCKET_DIR
=@SOCKET_DIR@
45 PRIVILEGED_SOCKET_DIR
=@PRIVILEGED_SOCKET_DIR@
46 WINBINDD_SOCKET_DIR
=@WINBINDD_SOCKET_DIR@
47 WINBINDD_PRIVILEGED_SOCKET_DIR
=@WINBINDD_PRIVILEGED_SOCKET_DIR@
48 NMBDSOCKETDIR
=@NMBDSOCKETDIR@
49 #NTP_SIGND_SOCKET_DIR=@NTP_SIGND_SOCKET_DIR@
50 NCALRPCDIR
=@NCALRPCDIR@
51 CONFIGFILE
=@CONFIGFILE@
52 LMHOSTSFILE
=@LMHOSTSFILE@
53 SMB_PASSWD_FILE
=@SMB_PASSWD_FILE@
55 selftest_prefix
=@selftest_prefix@
60 LIB_PATH_VAR
=@LIB_PATH_VAR@
62 ## Dynamic shared libraries build settings
63 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
64 DSO_EXPORTS
=@DSO_EXPORTS@
65 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
67 # The MODULE_EXPORTS variable contains the platform-specific linker flags
68 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
69 MODULE_EXPORTS
=@MODULE_EXPORTS@
71 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
72 # (GCC) warnings. This is done automatically for --enable-developer,
73 # --enable-picky-developer and --enable-krb5developer.
74 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
77 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
81 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
82 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
83 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
85 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
94 TERMLDFLAGS
=@TERMLDFLAGS@
96 PRINT_LIBS
=@PRINT_LIBS@
100 PASSDB_LIBS
=@PASSDB_LIBS@
101 IDMAP_LIBS
=@IDMAP_LIBS@
103 LDAP_LIBS
=@LDAP_LIBS@
104 NSCD_LIBS
=@NSCD_LIBS@
105 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
106 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
107 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
108 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
109 DNSSD_LIBS
=@DNSSD_LIBS@
110 AVAHI_LIBS
=@AVAHI_LIBS@
112 LIBTALLOC
=@LIBTALLOC_STATIC@
113 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
114 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
115 LIBTDB
=@LIBTDB_STATIC@
116 LIBTDB_LIBS
=@LIBTDB_LIBS@
118 LIBNTDB
=@LIBNTDB_STATIC@
119 LIBNTDB_LIBS
=@LIBNTDB_LIBS@
120 NTDB_DEPS
=@NTDB_DEPS@
121 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
122 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
123 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
124 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
126 TALLOCTORT
= @TALLOCTORT@
128 TDBBACKUP
= @TDBBACKUP@
131 TDBRESTORE
= @TDBRESTORE@
132 TDBTORTURE
= @TDBTORTURE@
133 NTDBBACKUP
= @NTDBBACKUP@
134 NTDBTOOL
= @NTDBTOOL@
135 NTDBDUMP
= @NTDBDUMP@
136 NTDBRESTORE
= @NTDBRESTORE@
137 NTDBTORTURE
= @NTDBTORTURE@
138 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
141 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
142 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
143 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
144 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
148 builddir
=@abs_builddir@
149 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
150 # will search for a POSIX-compliant shell, and that might not be
151 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
155 # See the autoconf manual "Installation Directory Variables" for a
156 # discussion of the subtle use of these variables.
158 VFSLIBDIR
= $(MODULESDIR
)/vfs
159 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
160 PDBLIBDIR
= $(MODULESDIR
)/pdb
161 RPCLIBDIR
= $(MODULESDIR
)/rpc
162 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
163 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
164 AUTHLIBDIR
= $(MODULESDIR
)/auth
165 CONFIGLIBDIR
= $(MODULESDIR
)/config
166 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
167 VARDIR
= @localstatedir@
169 # The permissions to give the executables and other data
170 INSTALLPERMS_BIN
= 0755
171 INSTALLPERMS_DATA
= 0644
181 -I.
/..
/lib
/ldb
/include \
184 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
185 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
186 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
187 -DSBINDIR
=\"$(SBINDIR
)\" \
188 -DBINDIR
=\"$(BINDIR
)\" \
189 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
190 -DSWATDIR
=\"$(SWATDIR
)\" \
191 -DLOCKDIR
=\"$(LOCKDIR
)\" \
192 -DPIDDIR
=\"$(PIDDIR
)\" \
193 -DLIBDIR
=\"$(LIBDIR
)\" \
194 -DMODULESDIR
=\"$(MODULESDIR
)\" \
195 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
196 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
197 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
198 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
199 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
200 -DCACHEDIR
=\"$(CACHEDIR
)\" \
201 -DSTATEDIR
=\"$(STATEDIR
)\" \
202 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
203 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
204 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
205 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
206 -DDATADIR
=\"$(DATADIR
)\" \
207 -DSETUPDIR
=\"$(SETUPDIR
)\"
209 # Note that all executable programs now provide for an optional executable suffix.
211 SBIN_PROGS
= bin
/smbd bin
/nmbd @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
213 BIN_PROGS1
= bin
/smbclient bin
/net bin
/smbspool \
214 bin
/testparm bin
/smbstatus bin
/smbget \
216 BIN_PROGS2
= bin
/smbcontrol bin
/smbtree
$(TDBBACKUP
) \
217 bin
/nmblookup bin
/pdbedit
$(TDBDUMP
) \
218 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool
219 BIN_PROGS3
= bin
/smbpasswd bin
/rpcclient bin
/smbcacls \
220 bin
/profiles bin
/ntlm_auth bin
/sharesec \
221 bin
/smbcquotas bin
/eventlogadm
223 TORTURE_PROGS
= bin
/smbtorture bin
/msgtest \
224 bin
/masktest bin
/locktest \
225 bin
/locktest2 bin
/nsstest bin
/vfstest \
226 $(TALLOCTORT
) bin
/replacetort \
227 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
228 bin
/smbconftort bin
/vlp
230 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
231 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
233 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
234 $(TALLOCTORT
) bin
/replacetort \
240 PAM_MODULES
= @PAM_MODULES@
242 NSS_MODULES
= @NSS_MODULES@
244 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
246 VFS_MODULES
= @VFS_MODULES@
247 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
248 PDB_MODULES
= @PDB_MODULES@
249 IDMAP_MODULES
= @IDMAP_MODULES@
250 AUTH_MODULES
= @AUTH_MODULES@
251 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
252 GPEXT_MODULES
= @GPEXT_MODULES@
253 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
254 $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
255 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
257 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
259 ######################################################################
261 ######################################################################
263 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
264 ..
/lib
/tdb_wrap
/tdb_wrap.o \
265 ..
/lib
/dbwrap
/dbwrap.o \
266 ..
/lib
/dbwrap
/dbwrap_local_open.o \
267 lib
/dbwrap
/dbwrap_open.o \
268 ..
/lib
/dbwrap
/dbwrap_tdb.o \
269 lib
/dbwrap
/dbwrap_ctdb.o \
271 ..
/lib
/dbwrap
/dbwrap_cache.o \
272 lib
/dbwrap
/dbwrap_watch.o \
273 ..
/lib
/dbwrap
/dbwrap_rbt.o \
274 ..
/lib
/dbwrap
/dbwrap_util.o
276 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
278 SMBLDAP_OBJ
= @SMBLDAP@
280 VERSION_OBJ
= lib
/version.o
282 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
286 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
288 AVAHI_OBJ
= @AVAHI_OBJ@
290 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
292 PASSCHANGE_OBJ
= libsmb
/passchange.o
294 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
295 ..
/librpc
/ndr
/ndr_compression.o \
296 autoconf
/librpc
/gen_ndr
/ndr_drsuapi.o \
297 ..
/librpc
/ndr
/ndr_drsblobs.o \
298 autoconf
/librpc
/gen_ndr
/ndr_drsblobs.o
300 ZLIB_OBJ
= @ZLIB_OBJS@
302 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
305 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
308 LIBNDR_NTLMSSP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntlmssp.o \
309 ..
/librpc
/ndr
/ndr_ntlmssp.o
311 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
312 ..
/librpc
/ndr
/ndr.o \
313 ..
/librpc
/ndr
/ndr_misc.o \
314 autoconf
/librpc
/gen_ndr
/ndr_misc.o \
315 autoconf
/librpc
/gen_ndr
/ndr_security.o \
316 ..
/librpc
/ndr
/ndr_sec_helper.o \
317 ..
/librpc
/ndr
/ndr_string.o \
318 ..
/librpc
/ndr
/uuid.o \
319 ..
/librpc
/ndr
/util.o \
320 autoconf
/librpc
/gen_ndr
/ndr_server_id.o \
321 autoconf
/librpc
/gen_ndr
/ndr_file_id.o \
322 autoconf
/librpc
/gen_ndr
/ndr_dcerpc.o
324 LIBNDR_GEN_OBJ0
= autoconf
/librpc
/gen_ndr
/ndr_samr.o \
325 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
327 LIBNDR_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon.o \
328 ..
/librpc
/ndr
/ndr_netlogon.o
330 LIBNDR_SCHANNEL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_schannel.o \
331 ..
/librpc
/ndr
/ndr_schannel.o
333 LIBNDR_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss.o \
334 ..
/librpc
/ndr
/ndr_spoolss_buf.o
336 LIBNDR_NTPRINTING_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
337 ..
/librpc
/ndr
/ndr_ntprinting.o \
339 LIBNDR_PREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_preg.o \
340 ..
/librpc
/ndr
/ndr_preg.o
342 LIBNDR_XATTR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_xattr.o \
343 ..
/librpc
/ndr
/ndr_xattr.o
345 LIBCLI_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss_c.o \
346 rpc_client
/cli_spoolss.o \
347 rpc_client
/init_spoolss.o \
348 rpc_client
/cli_winreg_spoolss.o \
349 printing
/nt_printing_os2.o
351 LIBCLI_EVENTLOG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_eventlog_c.o
353 LIBCLI_WINREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_winreg_c.o \
354 rpc_client
/cli_winreg.o
356 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
357 rpc_client
/cli_winreg_int.o
359 LIBCLI_NTSVCS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
361 LIBCLI_DRSUAPI_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_drsuapi_c.o
363 LIBCLI_DFS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dfs_c.o
365 LIBCLI_ECHO_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_echo_c.o
367 LIBCLI_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_initshutdown_c.o
369 LIBCLI_DSSETUP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dssetup_c.o
371 LIBCLI_SVCCTL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_svcctl_c.o
373 LIBCLI_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc_c.o
375 LIBCLI_SRVSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_srvsvc_c.o
377 LIBCLI_LSA_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_lsa_c.o \
378 rpc_client
/cli_lsarpc.o \
379 rpc_client
/init_lsa.o
381 LIBCLI_SAMR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_samr_c.o \
382 rpc_client
/cli_samr.o
384 LIBCLI_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon_c.o \
385 rpc_client
/cli_netlogon.o \
386 rpc_client
/util_netlogon.o \
387 rpc_client
/init_netlogon.o
389 LIBCLI_EPMAPPER_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_epmapper_c.o
391 LIBCLI_FSRVP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_fsrvp_c.o
393 LIBNDR_GEN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc.o \
395 autoconf
/librpc
/gen_ndr
/ndr_dfs.o \
396 autoconf
/librpc
/gen_ndr
/ndr_dfsblobs.o \
397 autoconf
/librpc
/gen_ndr
/ndr_echo.o \
398 autoconf
/librpc
/gen_ndr
/ndr_winreg.o \
399 autoconf
/librpc
/gen_ndr
/ndr_initshutdown.o \
400 autoconf
/librpc
/gen_ndr
/ndr_srvsvc.o \
401 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
402 $(LIBNDR_NETLOGON_OBJ
) \
403 autoconf
/librpc
/gen_ndr
/ndr_dssetup.o \
404 autoconf
/librpc
/gen_ndr
/ndr_epmapper.o \
405 autoconf
/librpc
/gen_ndr
/ndr_ntsvcs.o \
406 $(LIBNDR_SPOOLSS_OBJ
) \
407 autoconf
/librpc
/gen_ndr
/ndr_fsrvp.o
409 # this includes only the low level parse code, not stuff
410 # that requires knowledge of security contexts
411 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
413 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
415 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
416 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
417 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
421 $(SOCKET_WRAPPER_OBJ
) \
425 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
426 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
427 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
428 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
429 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
430 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
431 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
432 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
433 ..
/lib
/util
/tevent_werror.o \
434 lib
/tevent_barrier.o \
435 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
436 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
437 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o \
438 ..
/lib
/util
/setid.o ..
/lib
/util
/pidfile.o
440 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
441 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
442 ..
/lib
/crypto
/md4.o \
443 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
444 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
445 ..
/lib
/crypto
/aes_cmac_128.o ..
/lib
/crypto
/aes_ccm_128.o
447 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
448 lib
/messages.o autoconf
/librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
449 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
453 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
457 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
460 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
461 ..
/lib
/util
/charset
/pull_push.o \
462 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
463 lib
/interface.o lib
/dumpcore.o \
464 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
466 ..
/libds
/common
/flag_mapping.o \
467 lib
/access.o lib
/smbrun.o \
468 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
470 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
471 ..
/lib
/util
/util_str.o \
472 ..
/lib
/util
/base64.o lib
/util_sid.o \
473 ..
/lib
/util
/charset
/util_unistr.o \
474 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
475 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
476 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
477 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o \
478 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
479 lib
/tallocmsg.o lib
/dmallocmsg.o \
480 ..
/libcli
/smb
/smb_signing.o \
481 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
482 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
483 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
484 lib
/sessionid_tdb.o \
485 ..
/lib
/util
/modules.o lib
/events.o @LIBTEVENT_OBJ0@ \
487 lib
/server_contexts.o \
488 lib
/server_prefork.o \
489 lib
/server_prefork_util.o \
491 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
492 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
493 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
494 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
496 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
497 lib
/file_id.o lib
/idmap_cache.o \
499 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
500 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
501 ..
/libcli
/smb
/util.o ..
/lib
/util
/idtree.o
503 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
504 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
506 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
508 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
509 # Be sure to include them into your application
510 POPT_LIB_OBJ
= lib
/popt_common.o
512 PARAM_WITHOUT_REG_OBJ
= ..
/dynconfig
/dynconfig.o param
/loadparm.o param
/loadparm_ctx.o ..
/lib
/param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o ..
/lib
/param
/loadparm.o ..
/lib
/param
/util.o
513 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
514 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
516 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
518 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
519 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
520 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
522 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
524 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
525 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
528 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
530 LIBADS_OBJ
= libads
/ldap.o \
531 libads
/sasl.o libads
/sasl_wrapping.o \
532 libads
/krb5_setpw.o \
533 libads
/kerberos_util.o \
535 libads
/ads_struct.o libads
/kerberos_keytab.o \
536 libads
/disp_sec.o libads
/ldap_utils.o \
537 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
539 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
540 ..
/librpc
/ndr
/ndr_krb5pac.o \
541 autoconf
/librpc
/gen_ndr
/ndr_krb5pac.o
543 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
545 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
546 autoconf
/librpc
/gen_ndr
/ndr_secrets.o \
549 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
550 ..
/libcli
/netlogon
/netlogon.o \
551 autoconf
/librpc
/gen_ndr
/ndr_nbt.o \
552 ..
/librpc
/ndr
/ndr_nbt.o \
553 autoconf
/librpc
/gen_ndr
/ndr_svcctl.o \
554 ..
/librpc
/ndr
/ndr_svcctl.o
556 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
557 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
558 ..
/lib
/addns
/dnsquery.o libads
/sitename_cache.o
560 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
561 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
562 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
563 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
565 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
567 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
569 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
574 ..
/libcli
/auth
/spnego_parse.o \
575 ..
/libcli
/auth
/ntlm_check.o \
577 libsmb
/ntlmssp_wrap.o \
578 libsmb
/auth_generic.o \
579 ..
/lib
/krb5_wrap
/krb5_samba.o \
581 ..
/auth
/gensec
/gensec.o \
582 ..
/auth
/gensec
/gensec_start.o \
583 ..
/auth
/gensec
/gensec_util.o \
584 ..
/auth
/gensec
/spnego.o \
585 ..
/auth
/credentials
/credentials.o \
586 ..
/auth
/credentials
/credentials_ntlm.o \
587 ..
/auth
/credentials
/credentials_samba3.o \
588 ..
/auth
/ntlmssp
/ntlmssp.o \
589 ..
/auth
/ntlmssp
/ntlmssp_util.o \
590 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
591 ..
/auth
/ntlmssp
/ntlmssp_client.o \
592 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
593 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
594 $(LIBNDR_NTLMSSP_OBJ
) \
595 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
596 ..
/auth
/ntlmssp
/ntlmssp_server.o
598 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
601 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
602 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
604 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
605 ..
/lib
/tsocket
/tsocket_helpers.o \
606 ..
/lib
/tsocket
/tsocket_bsd.o
608 CLDAP_OBJ
= libads
/cldap.o \
609 ..
/libcli
/cldap
/cldap.o \
610 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
612 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
614 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
615 ..
/libcli
/auth
/schannel_sign.o \
616 ..
/libcli
/auth
/schannel_state_tdb.o \
617 $(LIBNDR_SCHANNEL_OBJ
)
619 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
620 libsmb
/reparse_symlink.o \
621 libsmb
/clisymlink.o \
622 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
623 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
624 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
625 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
626 libsmb
/clioplock.o libsmb
/clirap2.o \
628 ..
/libcli
/smb
/smb_seal.o \
629 ..
/libcli
/smb
/read_smb.o \
630 ..
/libcli
/smb
/smbXcli_base.o \
631 ..
/libcli
/smb
/smb1cli_trans.o \
632 ..
/libcli
/smb
/smb1cli_echo.o \
633 ..
/libcli
/smb
/smb2cli_session.o \
634 libsmb
/smb2cli_tcon.o \
635 ..
/libcli
/smb
/smb2cli_create.o \
636 ..
/libcli
/smb
/smb2_create_blob.o \
637 ..
/libcli
/smb
/smb2_signing.o \
638 ..
/libcli
/smb
/smb2cli_close.o \
639 ..
/libcli
/smb
/smb2cli_flush.o \
640 ..
/libcli
/smb
/smb2cli_read.o \
641 ..
/libcli
/smb
/smb2cli_write.o \
642 ..
/libcli
/smb
/smb2cli_query_directory.o \
643 ..
/libcli
/smb
/smb2cli_ioctl.o \
644 ..
/libcli
/smb
/smb2cli_query_info.o \
645 ..
/libcli
/smb
/smb2cli_set_info.o \
646 ..
/libcli
/smb
/smb2cli_echo.o \
647 libsmb
/cli_np_tstream.o \
648 libsmb
/smbsock_connect.o \
655 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
656 rpc_client
/cli_pipe.o \
657 $(LIBCLI_NETLOGON_OBJ
) \
658 librpc
/crypto
/gse_krb5.o \
659 librpc
/crypto
/gse.o \
660 ..
/auth
/kerberos
/gssapi_pac.o \
661 ..
/lib
/krb5_wrap
/gss_samba.o \
662 librpc
/rpc
/rpc_common.o \
663 rpc_client
/rpc_transport_np.o \
664 rpc_client
/rpc_transport_sock.o \
665 rpc_client
/rpc_transport_tstream.o \
666 ..
/librpc
/rpc
/binding.o \
667 ..
/librpc
/rpc
/dcerpc_util.o \
668 ..
/librpc
/rpc
/binding_handle.o \
669 librpc
/rpc
/dcerpc_helpers.o \
670 $(LIBCLI_EPMAPPER_OBJ
)
672 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
675 # registry-related objects
677 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
679 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
680 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
681 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
683 REGFIO_OBJ
= registry
/regfio.o \
686 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
688 REGOBJS_OBJ
= registry
/reg_objects.o
690 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
692 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
694 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
695 registry
/reg_backend_shares.o \
696 registry
/reg_backend_netlogon_params.o \
697 registry
/reg_backend_prod_options.o \
698 registry
/reg_backend_tcpip_params.o \
699 registry
/reg_backend_hkpt_params.o \
700 registry
/reg_backend_current_version.o \
701 registry
/reg_backend_perflib.o
703 REG_BASE_OBJ
= registry
/reg_api.o \
704 registry
/reg_dispatcher.o \
705 registry
/reg_cachehook.o \
707 registry
/reg_util_internal.o \
709 $(REG_BACKENDS_BASE_OBJ
) \
710 registry
/reg_parse_internal.o \
711 lib
/cbuf.o lib
/srprs.o \
712 $(REG_INIT_BASIC_OBJ
)
714 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
715 registry
/reg_util_token.o \
716 registry
/reg_api_util.o \
717 $(REG_BACKENDS_SMBCONF_OBJ
) \
718 $(REG_INIT_SMBCONF_OBJ
)
720 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
721 $(REG_BACKENDS_EXTRA_OBJ
) \
722 $(REG_INIT_FULL_OBJ
) \
723 registry
/reg_perfcount.o \
724 autoconf
/librpc
/gen_ndr
/ndr_perfcount.o
726 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
728 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
730 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
731 autoconf
/librpc
/gen_ndr
/srv_lsa.o \
732 ..
/libcli
/lsarpc
/util_lsarpc.o
734 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
735 autoconf
/librpc
/gen_ndr
/srv_netlogon.o
737 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
738 rpc_server
/samr
/srv_samr_util.o \
739 rpc_server
/samr
/srv_samr_chgpasswd.o \
740 autoconf
/librpc
/gen_ndr
/srv_samr.o
742 RPC_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
744 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
745 autoconf
/librpc
/gen_ndr
/srv_winreg.o
747 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o autoconf
/librpc
/gen_ndr
/srv_dssetup.o
749 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
750 autoconf
/librpc
/gen_ndr
/srv_srvsvc.o
752 RPC_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/srv_wkssvc.o \
753 rpc_server
/wkssvc
/srv_wkssvc_nt.o
755 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
756 rpc_server
/svcctl
/srv_svcctl_reg.o \
757 autoconf
/librpc
/gen_ndr
/srv_svcctl.o \
758 services
/svc_winreg_glue.o \
759 services
/svc_spoolss.o services
/svc_rcinit.o \
760 services
/svc_netlogon.o services
/svc_winreg.o \
763 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
764 autoconf
/librpc
/gen_ndr
/srv_ntsvcs.o
766 RPC_NETDFS_OBJ
= autoconf
/librpc
/gen_ndr
/srv_dfs.o \
767 rpc_server
/dfs
/srv_dfs_nt.o
769 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
770 rpc_server
/spoolss
/srv_spoolss_util.o \
771 autoconf
/librpc
/gen_ndr
/srv_spoolss.o
773 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
774 rpc_server
/eventlog
/srv_eventlog_reg.o \
775 $(LIB_EVENTLOG_OBJ
) autoconf
/librpc
/gen_ndr
/srv_eventlog.o
777 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
778 autoconf
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
779 ..
/auth
/auth_sam_reply.o autoconf
/librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
781 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
782 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
783 rpc_server
/srv_access_check.o
785 RPC_CONFIG
= rpc_server
/rpc_config.o
787 RPC_SERVICE
= rpc_server
/rpc_server.o
789 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
791 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
792 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
794 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o autoconf
/librpc
/gen_ndr
/srv_echo.o
796 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o autoconf
/librpc
/gen_ndr
/srv_epmapper.o
798 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
800 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
801 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
802 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
803 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
804 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
805 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
806 $(LIBCLI_SPOOLSS_OBJ
) \
807 $(LIBCLI_WINREG_INT_OBJ
) \
808 $(LIBCLI_SRVSVC_OBJ
) \
811 $(RPC_SERVER_REGISTER_OBJ
) \
812 $(RPC_CLIENT_SCHANNEL_OBJ
) \
813 rpc_server
/rpc_sock_helper.o \
814 rpc_server
/rpc_service_setup.o \
815 rpc_client
/init_samr.o
817 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
819 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
820 autoconf
/librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
822 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
824 PRIVILEGES_OBJ
= lib
/privileges.o
826 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
828 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
829 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
830 lib
/util_unixsids.o passdb
/lookup_sid.o \
831 passdb
/login_cache.o @PDB_STATIC@ \
832 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
833 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
834 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
837 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
838 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
840 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
842 PROFILE_OBJ
= profile
/profile.o
843 PROFILES_OBJ
= utils
/profiles.o \
846 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
850 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
852 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
853 autoconf
/librpc
/gen_ndr
/ndr_notify.o
855 FNAME_UTIL_OBJ
= lib
/filename_util.o
857 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
858 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
859 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
860 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
861 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
862 VFS_FAKE_ACLS_OBJ
= modules
/vfs_fake_acls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o
863 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
864 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
865 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
866 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
867 VFS_CAP_OBJ
= modules
/vfs_cap.o
868 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
869 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
870 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
871 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
872 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
873 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
874 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
875 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
876 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
877 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
878 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
879 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
880 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
881 VFS_CATIA_OBJ
= modules
/vfs_catia.o
882 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
883 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
884 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
885 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
886 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
887 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
888 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
889 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
890 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
891 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
892 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
893 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
894 VFS_AIO_POSIX_OBJ
= modules
/vfs_aio_posix.o
895 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
896 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
897 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
898 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
899 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
900 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
901 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
902 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
903 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
904 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
905 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
906 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
907 VFS_MEDIA_HARMONY_OBJ
= modules
/vfs_media_harmony.o
909 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
910 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
912 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
914 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
916 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
917 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
918 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
919 AUTH_UNIX_OBJ
= auth
/auth_unix.o
920 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
921 AUTH_WBC_OBJ
= auth
/auth_wbc.o
922 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
924 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
926 auth
/server_info_sam.o \
930 auth
/auth_ntlmssp.o auth
/auth_generic.o \
931 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
933 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
935 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
937 BUILDOPT_OBJ
= smbd
/build_options.o
939 SMBD_OBJ_SRV
= smbd
/server_reload.o \
940 smbd
/files.o smbd
/connection.o \
941 smbd
/utmp.o smbd
/session.o \
942 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
943 smbd
/share_access.o smbd
/fileio.o \
944 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
945 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
946 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
947 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
948 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
949 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
950 smbd
/posix_acls.o lib
/sysacls.o \
951 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
954 printing
/printspoolss.o printing
/spoolssd.o \
955 lib
/sysquotas.o lib
/sysquotas_linux.o \
956 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o lib
/sysquotas_4B.o \
957 lib
/sysquotas_nfs.o \
961 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
962 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
963 smbd
/dmapi.o smbd
/signing.o \
965 smbd
/dnsregister.o smbd
/globals.o \
968 smbd
/smb2_negprot.o \
969 smbd
/smb2_sesssetup.o \
978 smbd
/smb2_keepalive.o \
981 smbd
/smb2_getinfo.o \
982 smbd
/smb2_setinfo.o \
984 autoconf
/librpc
/gen_ndr
/ndr_smbXsrv.o \
985 smbd
/smbXsrv_version.o \
986 smbd
/smbXsrv_session.o \
987 smbd
/smbXsrv_tcon.o \
988 smbd
/smbXsrv_open.o \
990 $(MANGLE_OBJ
) @VFS_STATIC@
992 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
994 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
995 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
996 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
997 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
998 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
999 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
1000 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
1002 $(PRIVILEGES_BASIC_OBJ
) \
1004 $(REG_API_REGF_OBJ
) \
1007 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
1008 printing
/print_cups.o printing
/print_generic.o \
1009 printing
/lpq_parse.o printing
/load.o \
1010 printing
/print_iprint.o printing
/print_standard.o \
1011 printing
/printer_list.o autoconf
/librpc
/gen_ndr
/ndr_printcap.o
1013 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
1014 PRINTBACKEND_OBJ
= printing
/printing.o \
1015 printing
/nt_printing.o \
1016 printing
/nt_printing_tdb.o \
1017 printing
/nt_printing_migrate.o \
1018 printing
/nt_printing_migrate_internal.o \
1019 printing
/nt_printing_ads.o \
1020 autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
1021 ..
/librpc
/ndr
/ndr_ntprinting.o \
1022 printing
/queue_process.o \
1025 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1027 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1028 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1029 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1030 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1031 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1032 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1033 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1034 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1035 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1036 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1037 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1038 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1040 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1041 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1042 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1044 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1045 web
/swat.o web
/neg_lang.o
1047 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1048 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1049 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1050 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1051 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1052 $(LIBCLI_SAMR_OBJ
) \
1053 rpc_client
/init_lsa.o
1055 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1056 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1057 smbd
/notify_internal.o autoconf
/librpc
/gen_ndr
/ndr_notify.o \
1058 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1059 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1062 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1063 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1065 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1066 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1067 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1068 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1069 $(LIBMSRPC_GEN_OBJ
) \
1071 $(LIBCLI_SRVSVC_OBJ
)
1073 TESTPARM_OBJ
= utils
/testparm.o \
1074 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1077 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1078 $(LIB_NONSMBD_OBJ
) \
1079 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1081 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1082 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1083 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1085 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1087 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1088 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1089 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1090 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1091 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1092 $(LIBCLI_SAMR_OBJ
) \
1093 rpc_client
/init_lsa.o
1095 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1096 $(AFS_SETTOKEN_OBJ
) \
1097 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1098 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1099 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1100 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1101 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1103 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1105 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1107 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1108 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1109 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1110 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1111 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1112 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1113 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1114 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1115 rpcclient
/cmd_winreg.o rpcclient
/cmd_fss.o \
1118 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1119 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1120 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1121 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1122 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1123 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1124 $(LIBCLI_SPOOLSS_OBJ
) \
1125 $(LIBCLI_EVENTLOG_OBJ
) \
1126 $(LIBCLI_NTSVCS_OBJ
) \
1127 $(LIBCLI_DRSUAPI_OBJ
) \
1129 $(LIBCLI_ECHO_OBJ
) \
1130 $(LIBCLI_DSSETUP_OBJ
) \
1131 $(LIBCLI_WKSSVC_OBJ
) \
1132 $(LIBCLI_SRVSVC_OBJ
) \
1134 $(LIBCLI_SAMR_OBJ
) \
1135 $(LIBCLI_WINREG_OBJ
) \
1136 $(LIBCLI_FSRVP_OBJ
) \
1137 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1138 rpc_client
/init_samr.o
1140 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1141 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1143 LIBSMBCLIENT_THREAD_OBJ
= \
1144 libsmb
/libsmb_thread_impl.o \
1145 libsmb
/libsmb_thread_posix.o
1147 LIBSMBCLIENT_OBJ0
= \
1148 libsmb
/libsmb_cache.o \
1149 libsmb
/libsmb_compat.o \
1150 libsmb
/libsmb_context.o \
1151 libsmb
/libsmb_dir.o \
1152 libsmb
/libsmb_file.o \
1153 libsmb
/libsmb_misc.o \
1154 libsmb
/libsmb_path.o \
1155 libsmb
/libsmb_printjob.o \
1156 libsmb
/libsmb_server.o \
1157 libsmb
/libsmb_stat.o \
1158 libsmb
/libsmb_xattr.o \
1159 libsmb
/libsmb_setget.o
1161 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1162 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1163 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1164 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1165 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1166 $(LIBCLI_SRVSVC_OBJ
) \
1169 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1171 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1172 client
/dnsbrowse.o \
1175 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1176 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1177 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1178 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1179 $(DISPLAY_SEC_OBJ
) \
1180 $(LIBCLI_SRVSVC_OBJ
)
1182 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1183 ..
/lib
/smbconf
/smbconf_util.o \
1184 ..
/lib
/smbconf
/smbconf_txt.o \
1185 lib
/smbconf
/smbconf_reg.o \
1186 lib
/smbconf
/smbconf_init.o
1188 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1190 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1191 $(LIB_NONSMBD_OBJ
) \
1196 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1197 lib
/pthreadpool
/tests.o
$(LIBREPLACE_OBJ
)
1199 LIBNET_OBJ
= libnet
/libnet_join.o \
1200 libnet
/libnet_keytab.o \
1201 autoconf
/librpc
/gen_ndr
/ndr_libnet_join.o
1203 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1204 libnet
/libnet_dssync_passdb.o \
1205 libnet
/libnet_dssync_keytab.o \
1206 ..
/libcli
/drsuapi
/repl_decrypt.o
1208 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1209 libnet
/libnet_samsync_ldif.o \
1210 libnet
/libnet_samsync_passdb.o \
1211 libnet
/libnet_samsync_display.o \
1212 libnet
/libnet_samsync_keytab.o \
1213 ..
/libcli
/samsync
/decrypt.o
1215 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1216 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1217 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1218 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1219 utils
/net_idmap_check.o utils
/interact.o \
1220 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1221 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1222 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1223 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1224 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1225 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1226 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1227 auth
/token_util.o utils
/net_dom.o utils
/net_share.o utils
/net_connections.o\
1228 utils
/net_g_lock.o \
1229 utils
/net_serverid.o \
1230 utils
/net_eventlog.o \
1231 utils
/net_printing.o \
1232 utils
/net_rpc_trust.o \
1233 utils
/net_rpc_conf.o\
1234 $(LIBNDR_NTPRINTING_OBJ
) \
1235 $(LIBNDR_PREG_OBJ
) \
1236 $(LIBCLI_SPOOLSS_OBJ
) \
1237 $(LIBCLI_WINREG_OBJ
) \
1238 $(LIBCLI_DRSUAPI_OBJ
) \
1239 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1240 $(LIBCLI_DSSETUP_OBJ
) \
1241 $(LIBCLI_SVCCTL_OBJ
) \
1242 $(LIBCLI_WKSSVC_OBJ
) \
1243 $(LIBCLI_SRVSVC_OBJ
) \
1245 $(LIBCLI_SAMR_OBJ
) \
1246 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1247 rpc_client
/init_samr.o \
1248 registry
/reg_parse.o registry
/reg_format.o \
1249 registry
/reg_import.o \
1250 printing
/nt_printing_migrate.o
1252 # these are not processed by make proto
1253 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1255 NET_OBJ
= $(NET_OBJ1
) \
1256 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1257 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1258 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1259 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1260 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1261 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1262 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1263 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1264 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1265 $(REG_SMBCONF_OBJ
) \
1266 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1269 $(PRIVILEGES_BASIC_OBJ
) \
1272 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1273 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1274 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1276 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1277 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1279 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1280 torture
/denytest.o torture
/mangle_test.o \
1282 torture
/test_async_echo.o \
1283 torture
/test_smbsock_any_connect.o \
1284 torture
/test_nttrans_create.o \
1285 torture
/test_nttrans_fsctl.o \
1286 torture
/test_notify_online.o \
1287 torture
/test_addrchange.o \
1288 torture
/test_case_insensitive.o \
1289 torture
/test_posix_append.o \
1290 torture
/test_smb2.o \
1291 torture
/test_chain3.o \
1292 torture
/test_authinfo_structs.o \
1293 torture
/test_cleanup.o \
1294 torture
/test_ctdbconn.o \
1295 torture
/test_msg.o \
1296 torture
/test_notify.o \
1297 torture
/test_dbwrap_watch.o \
1298 torture
/test_idmap_tdb_common.o \
1299 torture
/t_strappend.o
1301 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1302 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LOCKING_OBJ
) \
1303 @LIBWBCLIENT_STATIC@ \
1304 torture
/wbc_async.o \
1305 ..
/nsswitch
/wb_reqtrans.o \
1306 ..
/libcli
/lsarpc
/util_lsarpc.o \
1307 lib
/filename_util.o \
1308 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1310 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1311 $(LIB_NONSMBD_OBJ
) \
1312 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1314 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1315 $(LIB_NONSMBD_OBJ
) \
1318 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1319 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1320 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1322 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o ..
/lib
/util
/setid.o
$(LIBSAMBAUTIL_OBJ
)
1324 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1325 torture
/vfstest_chain.o
1327 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1329 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1330 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1331 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1333 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1334 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1335 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1336 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1339 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1341 $(LIB_NONSMBD_OBJ
) \
1342 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1343 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1346 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1348 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1349 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1350 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
1351 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
1353 SHARESEC_OBJ0
= utils
/sharesec.o
1354 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1358 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1359 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1361 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1362 @libreplacedir@
/test/getifaddrs.o \
1363 @libreplacedir@
/test/os2_delete.o \
1364 @libreplacedir@
/test/strptime.o \
1365 @libreplacedir@
/test/main.o \
1366 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1368 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1370 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1371 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1372 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1374 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1375 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1377 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1378 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1379 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1381 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1382 $(AFS_SETTOKEN_OBJ
) \
1383 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1386 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1388 IDMAP_TDB_COMMON_OBJ
= winbindd
/idmap_tdb_common.o
1390 IDMAP_UTIL_OBJ
= winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) \
1391 $(IDMAP_TDB_COMMON_OBJ
)
1393 IDMAP_OBJ
= winbindd
/idmap.o
$(IDMAP_UTIL_OBJ
) @IDMAP_STATIC@
1395 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1398 winbindd
/idmap_hash
/idmap_hash.o \
1399 winbindd
/idmap_hash
/mapfile.o
1402 winbindd
/winbindd.o \
1403 winbindd
/winbindd_group.o \
1404 winbindd
/winbindd_util.o \
1405 winbindd
/winbindd_cache.o \
1406 winbindd
/winbindd_pam.o \
1407 winbindd
/winbindd_misc.o \
1408 winbindd
/winbindd_cm.o \
1409 winbindd
/winbindd_wins_byip.o \
1410 winbindd
/winbindd_wins_byname.o \
1411 winbindd
/winbindd_msrpc.o \
1412 winbindd
/winbindd_rpc.o \
1413 winbindd
/winbindd_reconnect.o \
1414 winbindd
/winbindd_ads.o \
1415 winbindd
/winbindd_samr.o \
1416 winbindd
/winbindd_dual.o \
1417 winbindd
/winbindd_dual_ndr.o \
1418 winbindd
/winbindd_dual_srv.o \
1419 autoconf
/librpc
/gen_ndr
/ndr_wbint_c.o \
1420 autoconf
/librpc
/gen_ndr
/srv_wbint.o \
1421 autoconf
/librpc
/gen_ndr
/ndr_wbint.o \
1422 autoconf
/librpc
/gen_ndr
/ndr_idmap.o \
1423 winbindd
/winbindd_async.o \
1424 winbindd
/winbindd_creds.o \
1425 winbindd
/winbindd_cred_cache.o \
1426 winbindd
/winbindd_ccache_access.o \
1427 winbindd
/winbindd_domain.o \
1428 winbindd
/winbindd_idmap.o \
1429 winbindd
/winbindd_locator.o \
1430 winbindd
/winbindd_ndr.o \
1431 winbindd
/wb_ping.o \
1432 winbindd
/wb_lookupsid.o \
1433 winbindd
/wb_lookupsids.o \
1434 winbindd
/wb_lookupname.o \
1435 winbindd
/wb_sid2uid.o \
1436 winbindd
/wb_sid2gid.o \
1437 winbindd
/wb_uid2sid.o \
1438 winbindd
/wb_gid2sid.o \
1439 winbindd
/wb_queryuser.o \
1440 winbindd
/wb_lookupuseraliases.o \
1441 winbindd
/wb_lookupusergroups.o \
1442 winbindd
/wb_getpwsid.o \
1443 winbindd
/wb_gettoken.o \
1444 winbindd
/wb_seqnum.o \
1445 winbindd
/wb_seqnums.o \
1446 winbindd
/wb_group_members.o \
1447 winbindd
/wb_getgrsid.o \
1448 winbindd
/wb_query_user_list.o \
1449 winbindd
/wb_fill_pwent.o \
1450 winbindd
/wb_next_pwent.o \
1451 winbindd
/wb_next_grent.o \
1452 winbindd
/wb_dsgetdcname.o \
1453 winbindd
/winbindd_lookupsid.o \
1454 winbindd
/winbindd_lookupsids.o \
1455 winbindd
/winbindd_lookupname.o \
1456 winbindd
/winbindd_sid_to_uid.o \
1457 winbindd
/winbindd_sid_to_gid.o \
1458 winbindd
/winbindd_uid_to_sid.o \
1459 winbindd
/winbindd_gid_to_sid.o \
1460 winbindd
/winbindd_sids_to_xids.o \
1461 winbindd
/winbindd_allocate_uid.o \
1462 winbindd
/winbindd_allocate_gid.o \
1463 winbindd
/winbindd_getpwsid.o \
1464 winbindd
/winbindd_getpwnam.o \
1465 winbindd
/winbindd_getpwuid.o \
1466 winbindd
/winbindd_getsidaliases.o \
1467 winbindd
/winbindd_getuserdomgroups.o \
1468 winbindd
/winbindd_getgroups.o \
1469 winbindd
/winbindd_show_sequence.o \
1470 winbindd
/winbindd_getgrgid.o \
1471 winbindd
/winbindd_getgrnam.o \
1472 winbindd
/winbindd_getusersids.o \
1473 winbindd
/winbindd_lookuprids.o \
1474 winbindd
/winbindd_setpwent.o \
1475 winbindd
/winbindd_getpwent.o \
1476 winbindd
/winbindd_endpwent.o \
1477 winbindd
/winbindd_setgrent.o \
1478 winbindd
/winbindd_getgrent.o \
1479 winbindd
/winbindd_endgrent.o \
1480 winbindd
/winbindd_dsgetdcname.o \
1481 winbindd
/winbindd_getdcname.o \
1482 winbindd
/winbindd_list_users.o \
1483 winbindd
/winbindd_list_groups.o \
1484 winbindd
/winbindd_check_machine_acct.o \
1485 winbindd
/winbindd_change_machine_acct.o \
1486 winbindd
/winbindd_ping_dc.o \
1487 winbindd
/winbindd_pam_auth.o \
1488 winbindd
/winbindd_pam_auth_crap.o \
1489 winbindd
/winbindd_pam_chauthtok.o \
1490 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1491 winbindd
/winbindd_pam_logoff.o \
1495 auth
/check_samsec.o \
1496 auth
/server_info.o \
1497 auth
/server_info_sam.o \
1500 ..
/nsswitch
/wb_reqtrans.o
1503 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1504 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1505 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1506 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1507 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1508 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1509 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1510 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1511 $(NPA_TSTREAM_OBJ
) \
1512 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1513 $(LIBADS_SERVER_OBJ
) \
1514 $(TDB_VALIDATE_OBJ
) \
1515 $(LIBCLI_DSSETUP_OBJ
) \
1517 $(LIBCLI_SAMR_OBJ
) \
1518 rpc_client
/init_samr.o \
1521 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1522 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1523 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1524 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1526 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1528 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1529 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1531 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1532 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1534 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1535 ..
/lib
/iniparser_build
/strlib.o
1537 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1538 $(SOCKET_WRAPPER_OBJ
)
1540 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1541 $(SOCKET_WRAPPER_OBJ
)
1543 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1544 $(SOCKET_WRAPPER_OBJ
)
1546 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1547 $(SOCKET_WRAPPER_OBJ
)
1549 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1550 $(SOCKET_WRAPPER_OBJ
)
1553 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1555 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1556 ${LIBADS_SERVER_OBJ} \
1557 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1559 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1560 $(AFS_SETTOKEN_OBJ
) \
1561 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1562 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1565 VLP_OBJ
= printing
/tests
/vlp.o \
1566 ..
/lib
/util
/util_tdb.o \
1567 ..
/lib
/util
/signal.o \
1568 ..
/lib
/util
/debug.o \
1569 ..
/lib
/util
/util_strlist.o \
1570 ..
/lib
/util
/fault.o \
1571 ..
/lib
/util
/become_daemon.o \
1572 ..
/lib
/util
/substitute.o \
1574 ..
/lib
/util
/time.o \
1575 ..
/lib
/util
/charset
/util_str.o \
1576 ..
/lib
/util
/charset
/pull_push.o \
1577 ..
/lib
/util
/charset
/util_unistr_w.o \
1578 ..
/lib
/util
/charset
/codepoints.o \
1579 ..
/lib
/util
/charset
/iconv.o \
1580 ..
/lib
/util
/charset
/weird.o \
1581 ..
/lib
/util
/charset
/convert_string.o \
1582 $(CHARSET_MACOSXFS_OBJ
) \
1583 ..
/lib
/util
/talloc_stack.o \
1584 ..
/lib
/util
/smb_threads.o \
1585 ..
/lib
/util
/xfile.o \
1586 ..
/lib
/util
/util_file.o \
1587 ..
/lib
/util
/util.o \
1588 ..
/lib
/util
/util_str_common.o \
1589 ..
/lib
/util
/data_blob.o \
1590 ..
/dynconfig
/dynconfig.o \
1591 ..
/lib
/util
/setid.o \
1592 $(LIBSAMBAUTIL_OBJ
) \
1595 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1599 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1600 $(LIB_NONSMBD_OBJ
) \
1605 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1607 $(LIB_NONSMBD_OBJ
) \
1611 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1613 $(LIB_NONSMBD_OBJ
) \
1617 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1619 $(LIB_NONSMBD_OBJ
) \
1623 ######################################################################
1625 ######################################################################
1626 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1627 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1628 $(EXTRA_ALL_TARGETS
)
1630 basics
:: samba3-idl mkparam
1632 nss_modules
:: $(NSS_MODULES
)
1634 pam_modules
:: $(PAM_MODULES
)
1636 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1638 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1640 gpext_modules
:: $(GPEXT_MODULES
)
1642 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1644 smbtorture
: SHOWFLAGS bin
/smbtorture
1646 masktest
: SHOWFLAGS bin
/masktest
1648 msgtest
: SHOWFLAGS bin
/msgtest
1650 locktest
: SHOWFLAGS bin
/locktest
1652 smbcacls
: SHOWFLAGS bin
/smbcacls
1654 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1656 locktest2
: SHOWFLAGS bin
/locktest2
1658 debug2html
: SHOWFLAGS bin
/debug2html
1660 smbfilter
: SHOWFLAGS bin
/smbfilter
1662 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1664 sharesec
: SHOWFLAGS bin
/sharesec
1666 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1668 replacetort
: SHOWFLAGS bin
/replacetort
1670 smbconftort
: SHOWFLAGS bin
/smbconftort
1672 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1674 timelimit
: SHOWFLAGS bin
/timelimit
1676 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1677 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1678 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1680 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1682 modules
:: SHOWFLAGS
$(MODULES
)
1685 #####################################################################
1686 ## Perl IDL Compiler
1688 IDL_FILES
= librpc
/idl
/messaging.idl \
1689 librpc
/idl
/libnetapi.idl \
1690 librpc
/idl
/wbint.idl \
1691 librpc
/idl
/perfcount.idl \
1692 librpc
/idl
/secrets.idl \
1693 librpc
/idl
/open_files.idl \
1694 librpc
/idl
/libnet_join.idl
1697 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1698 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1699 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1700 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1703 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1704 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1705 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1706 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1708 mkparam
: autoconf
/lib
/param
/param_local.h autoconf
/lib
/param
/param_global.h autoconf
/source3
/param
/param_global.h autoconf
/lib
/param
/param_proto.h autoconf
/lib
/param
/s3_param.h
1710 autoconf
/lib
/param
/param_local.h
:
1711 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file autoconf
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1712 autoconf
/lib
/param
/param_global.h
:
1713 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1714 autoconf
/source3
/param
/param_global.h
:
1715 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/param
/loadparm.c
--file autoconf
/source3
/param
/param_global.h
--generate-scope
=GLOBAL
1716 autoconf
/lib
/param
/param_proto.h
:
1717 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--public autoconf
/lib
/param
/param_proto.h
--private autoconf
/lib
/param
/param_proto.h
1718 autoconf
/lib
/param
/s3_param.h
:
1719 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/s3_param.h
1722 #####################################################################
1725 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1726 $(EVERYTHING_PROGS
) \
1730 .SUFFIXES
: .c .o .lo
1732 .PHONY
: showflags SHOWFLAGS
1734 showflags
: SHOWFLAGS
1737 @echo
"Using CFLAGS = $(CFLAGS)"
1738 @echo
" PICFLAG = $(PICFLAG)"
1739 @echo
" LIBS = $(LIBS)"
1740 @echo
" LDFLAGS = $(LDFLAGS)"
1741 @echo
" DYNEXP = $(DYNEXP)"
1742 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1743 @echo
" SHLIBEXT = @SHLIBEXT@"
1744 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1746 # "showcflags" target for debuggin how CFLAGS are composed:
1748 .PHONY
: showcflags SHOWCFLAGS
1750 showcflags
: SHOWCFLAGS
1753 @echo
"CFLAGS = $(CFLAGS)"
1754 @echo
"FLAGS = $(FLAGS)"
1756 @echo
"FLAGS1 = @FLAGS1@"
1757 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1758 @echo
"CPPFLAGS = $(CPPFLAGS)"
1759 @echo
"ISA = $(ISA)"
1761 MAKEDIR
= || exec false
; \
1762 if
test -d
"$$dir"; then
:; else \
1763 echo mkdir
"$$dir"; \
1764 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1765 test -d
"$$dir" || \
1767 exec false
; fi || exec false
1769 # Run a static checker.
1770 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1771 # Compile a source file.
1772 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1773 # Compile a source file with the installation paths defined.
1774 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1776 COMPILE
= $(COMPILE_CC
)
1779 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1780 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1781 @if
test -n
"$(CC_CHECKER)"; then \
1782 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1785 @echo Compiling
$*.c
1786 @
$(COMPILE
) && exit
0;\
1787 echo
"The following command failed:" 1>&2;\
1788 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1789 $(COMPILE_CC) >/dev/null 2>&1
1790 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1792 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1794 # this adds support for precompiled headers. To use it, install a snapshot
1795 # of gcc-3.4 and run 'make pch' before you do the main build.
1797 rm -f $(PRECOMPILED_HEADER)
1798 $(MAKE) $(PRECOMPILED_HEADER)
1800 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1803 BINARY_PREREQS = bin/.dummy
1805 # These dependencies are only approximately correct: we want to make
1806 # sure Samba's paths are updated if ./configure is re-run. Really it
1807 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1808 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1809 # rebuild it's a bit hard.
1811 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1812 @echo Compiling $*.c
1813 @$(COMPILE_CC_PATH) && exit 0;\
1814 echo "The following command failed
:" 1>&2;\
1815 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1816 $(COMPILE_CC_PATH) >/dev/null 2>&1
1818 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1819 @echo Compiling $*.c
1820 @$(COMPILE_CC_PATH) && exit 0;\
1821 echo "The following command failed
:" 1>&2;\
1822 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1823 $(COMPILE_CC_PATH) >/dev/null 2>&1
1825 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1826 @echo Compiling $*.c
1827 @$(COMPILE_CC_PATH) && exit 0;\
1828 echo "The following command failed
:" 1>&2;\
1829 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1830 $(COMPILE_CC_PATH) >/dev/null 2>&1
1832 ### Start section of object files that require PTHREAD_CFLAGS
1833 ../nsswitch/wins.o: ../nsswitch/wins.c
1834 @echo Compiling $*.c
1835 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1836 echo "The following command failed
:" 1>&2;\
1837 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1838 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1840 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1841 @echo Compiling $*.c
1842 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1843 echo "The following command failed
:" 1>&2;\
1844 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1845 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1847 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1848 @echo Compiling $*.c
1849 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1850 echo "The following command failed
:" 1>&2;\
1851 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1852 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1854 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1855 @echo Compiling $*.c
1856 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1857 echo "The following command failed
:" 1>&2;\
1858 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1859 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1860 ### End section of object files that require PTHREAD_CFLAGS
1862 lib/version.o: lib/version.c include/autoconf/version.h
1863 @echo Compiling $*.c
1864 @$(COMPILE_CC_PATH) && exit 0;\
1865 echo "The following command failed
:" 1>&2;\
1866 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1867 $(COMPILE_CC_PATH) >/dev/null 2>&1
1869 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1870 @echo Compiling $*.c
1871 @$(COMPILE_CC_PATH) && exit 0;\
1872 echo "The following command failed
:" 1>&2;\
1873 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1874 $(COMPILE_CC_PATH) >/dev/null 2>&1
1876 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1878 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1881 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1882 dir=bin $(MAKEDIR); fi
1883 @: >> $@ || : > $@ # what a fancy emoticon!
1885 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1887 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1888 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1889 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1890 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1891 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1893 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1895 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1896 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1897 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1898 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1900 bin/swat: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1902 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1903 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1904 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1906 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1908 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1909 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1910 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1911 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1913 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1915 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1916 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1917 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1918 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1920 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1922 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1923 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1924 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1925 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1928 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1930 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1931 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1933 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1935 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1936 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1937 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1939 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1941 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1942 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1944 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1946 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1947 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1949 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1951 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1952 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1954 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1956 @$(CC) -DUSING_SMBCONTROL -o $@ \
1957 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1958 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1959 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1961 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1963 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1964 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1965 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1967 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1969 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1970 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1971 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1973 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1975 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1976 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1977 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1979 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1981 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1982 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1983 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1985 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1987 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1988 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1990 bin/smbtorture: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(IDMAP_UTIL_OBJ)
1992 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
1993 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1994 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1996 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1998 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1999 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2000 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2002 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2004 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
2005 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
2007 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2009 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
2010 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2011 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2013 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
2015 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
2017 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2019 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2020 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2021 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2022 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2024 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2026 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2027 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2028 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2030 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2032 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2033 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2034 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2036 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2038 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2039 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2040 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2042 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
2044 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2045 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2047 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2049 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2050 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2052 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2054 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2055 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2056 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2057 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2059 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2061 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2064 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2066 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2067 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2068 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2069 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2070 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2072 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2074 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2075 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2077 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2079 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2080 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2081 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2082 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2084 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2086 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2087 $(LIBS) $(LIBTALLOC_LIBS)
2089 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2091 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2092 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2093 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2094 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2096 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2098 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2101 #####################################################################
2105 #####################################################################
2107 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2110 #-------------------------------------------------------------------
2114 #-------------------------------------------------------------------
2117 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2118 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2120 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2122 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2123 @echo Linking non-shared library $@
2124 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2125 libtalloc: $(LIBTALLOC)
2129 $(LIBTALLOC_STATIC_TARGET)
2132 cleanlibs:: cleanlibtalloc
2136 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2137 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2138 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2140 showlibs:: showlibtalloc
2142 #-------------------------------------------------------------------
2146 #-------------------------------------------------------------------
2148 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2149 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2151 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2153 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2154 @echo Linking non-shared library $@
2155 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2161 $(LIBTDB_STATIC_TARGET)
2164 cleanlibs:: cleanlibtdb
2168 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2169 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2170 @echo "LIBTDB
= $(LIBTDB
)"
2172 showlibs:: showlibtdb
2174 #-------------------------------------------------------------------
2178 #-------------------------------------------------------------------
2180 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2181 ../nsswitch/libwbclient/wbc_util.o \
2182 ../nsswitch/libwbclient/wbc_pwd.o \
2183 ../nsswitch/libwbclient/wbc_idmap.o \
2184 ../nsswitch/libwbclient/wbc_sid.o \
2185 ../nsswitch/libwbclient/wbc_guid.o \
2186 ../nsswitch/libwbclient/wbc_pam.o
2188 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2191 ../lib/util/blocking.o \
2192 $(SOCKET_WRAPPER_OBJ)
2194 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2195 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2196 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2197 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2198 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2199 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2200 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2202 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2203 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2205 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2206 @echo Linking shared library $@
2207 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2208 @SONAMEFLAG@`basename $@`
2210 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2212 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2214 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2215 @echo Linking non-shared library $@
2216 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2218 libwbclient: $(LIBWBCLIENT)
2222 $(LIBWBCLIENT_SYMS) \
2223 $(LIBWBCLIENT_STATIC_TARGET) \
2224 $(LIBWBCLIENT_SHARED_TARGET) \
2225 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2227 installlibwbclient:: installdirs libwbclient
2228 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2229 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2230 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2231 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2232 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2233 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2235 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2236 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2237 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2239 uninstalllibwbclient::
2240 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2241 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2242 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2243 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2246 installlibs:: @INSTALL_LIBWBCLIENT@
2247 uninstalllibs:: uninstalllibwbclient
2248 cleanlibs:: cleanlibwbclient
2249 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2253 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2254 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2255 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2257 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2258 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2259 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2260 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2261 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2262 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2264 showlibs:: showlibwbclient
2267 #-------------------------------------------------------------------
2271 #-------------------------------------------------------------------
2273 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2275 autoconf/librpc/gen_ndr/ndr_libnetapi.o \
2276 lib/netapi/libnetapi.o \
2277 lib/netapi/joindomain.o \
2278 lib/netapi/serverinfo.o \
2279 lib/netapi/getdc.o \
2281 lib/netapi/group.o \
2282 lib/netapi/localgroup.o \
2285 lib/netapi/share.o \
2287 lib/netapi/shutdown.o \
2288 lib/netapi/netlogon.o
2290 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2292 $(REG_SMBCONF_OBJ) \
2293 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2294 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2295 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2296 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2297 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2299 $(LIBCLI_INITSHUTDOWN_OBJ) \
2300 $(LIBCLI_WKSSVC_OBJ) \
2301 $(LIBCLI_SRVSVC_OBJ) \
2303 $(LIBCLI_SAMR_OBJ) \
2304 $(RPC_CLIENT_SCHANNEL_OBJ) \
2305 rpc_client/init_samr.o
2307 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2308 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2309 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2310 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2311 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2312 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2313 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2315 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2316 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2318 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2319 @echo Linking shared library $@
2320 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2321 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2322 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2323 @SONAMEFLAG@`basename $@`
2325 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2327 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2329 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2330 @echo Linking non-shared library $@
2331 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2333 libnetapi: $(LIBNETAPI)
2338 $(LIBNETAPI_STATIC_TARGET) \
2339 $(LIBNETAPI_SHARED_TARGET) \
2340 $(LIBNETAPI_SHARED_TARGET_SONAME)
2342 installlibnetapi:: installdirs libnetapi
2343 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2344 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2345 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2346 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2347 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2348 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2350 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2351 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2352 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2354 uninstalllibnetapi::
2355 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2356 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2357 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2358 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2361 installlibs:: @INSTALL_LIBNETAPI@
2362 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2363 cleanlibs:: cleanlibnetapi
2364 shlibs test_shlibs: @LIBNETAPI_SHARED@
2368 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2369 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2370 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2372 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2373 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2374 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2375 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2376 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2377 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2379 showlibs:: showlibnetapi
2381 #-------------------------------------------------------------------
2385 #-------------------------------------------------------------------
2387 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2388 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2389 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2390 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2391 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2392 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2393 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2394 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2396 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2397 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2399 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2400 @echo Linking shared library $@
2401 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2402 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2403 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2404 @SONAMEFLAG@`basename $@`
2406 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2408 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2410 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2411 @echo Linking non-shared library $@
2412 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2414 libsmbclient: $(LIBSMBCLIENT)
2418 $(LIBSMBCLIENT_SHARED_TARGET) \
2419 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2420 $(LIBSMBCLIENT_STATIC_TARGET)
2422 installlibsmbclient:: installdirs libsmbclient
2423 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2424 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2425 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2426 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2427 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2428 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2430 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2431 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2432 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2434 installclientlib:: installlibsmbclient
2436 uninstalllibsmbclient::
2437 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2438 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2439 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2440 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2442 uninstallclientlib:: uninstalllibsmbclient
2445 installlibs:: @INSTALL_LIBSMBCLIENT@
2446 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2447 cleanlibs:: cleanlibsmbclient
2448 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2452 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2453 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2454 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2456 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2457 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2458 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2459 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2460 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2461 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2463 showlibs:: showlibsmbclient
2465 #-------------------------------------------------------------------
2469 #-------------------------------------------------------------------
2471 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2473 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2475 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2476 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2477 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2478 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2479 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2480 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2481 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2482 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2484 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2485 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2487 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2488 @echo Linking shared library $@
2489 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2490 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2491 @SONAMEFLAG@`basename $@`
2493 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2495 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2497 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2498 @echo Linking non-shared library $@
2499 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2501 libsmbsharemodes: $(LIBSMBSHAREMODES)
2503 cleanlibsmbsharemodes::
2505 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2506 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2507 $(LIBSMBSHAREMODES_STATIC_TARGET)
2509 installlibsmbsharemodes:: installdirs libsmbsharemodes
2510 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2511 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2512 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2513 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2514 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2515 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2517 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2518 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2519 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2521 uninstalllibsmbsharemodes::
2522 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2523 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2524 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2525 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2527 libs:: libsmbsharemodes
2528 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2529 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2530 cleanlibs:: cleanlibsmbsharemodes
2531 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2533 showlibsmbsharemodes:
2535 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2536 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2537 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2538 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2540 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2541 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2542 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2543 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2544 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2545 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2547 showlibs:: showlibsmbsharemodes
2549 #####################################################################
2553 #####################################################################
2555 # Linker command to link our shared libraries:
2556 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2557 -o $@ @SONAMEFLAG@`basename $@`
2558 # Linker command to link samba internal plugin modules:
2559 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2560 -o $@ @SONAMEFLAG@`basename $@`
2562 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2564 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2566 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2568 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2570 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2572 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2574 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2576 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2578 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2580 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2582 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2584 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2586 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2588 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2590 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2592 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2594 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2596 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2598 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2600 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2602 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2604 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2606 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2608 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2610 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2612 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2614 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2616 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2618 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2620 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2621 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2622 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2625 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2627 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2628 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2632 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2634 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2635 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2636 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2638 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2640 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2641 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2642 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2644 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2646 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2647 $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2649 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2650 @echo "Linking shared library
$@
"
2651 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2652 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2658 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2659 @echo "Building plugin
$@
"
2660 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2662 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2663 @echo "Building plugin
$@
"
2664 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2666 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2667 @echo "Building plugin
$@
"
2668 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2670 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2671 @echo "Building plugin
$@
"
2672 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2674 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2675 @echo "Building plugin
$@
"
2676 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2678 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2679 @echo "Building plugin
$@
"
2680 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2682 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2683 @echo "Building plugin
$@
"
2684 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2686 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2687 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2688 @echo "Building plugin
$@
"
2689 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2690 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2692 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2693 @echo "Building plugin
$@
"
2694 @$(SHLD_MODULE) passdb/pdb_tdb.o
2696 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2697 @echo "Building plugin
$@
"
2698 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2700 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2701 @echo "Building plugin
$@
"
2702 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2704 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2705 @echo "Building plugin
$@
"
2706 @$(SHLD_MODULE) winbindd/idmap_rid.o
2708 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2709 @echo "Building plugin
$@
"
2710 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2712 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2713 @echo "Building plugin
$@
"
2714 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2716 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2717 @echo "Building plugin
$@
"
2718 @$(SHLD_MODULE) winbindd/idmap_ad.o
2720 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2721 @echo "Building plugin
$@
"
2722 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2724 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2725 @echo "Building plugin
$@
"
2726 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2728 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2729 @echo "Building plugin
$@
"
2730 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2732 # NOTE, there is no build rule for a dynamic default VFS module because
2733 # this one MUST MUST MUST be built statically.
2735 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2736 @echo "Building plugin
$@
"
2737 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2739 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2740 @echo "Building plugin
$@
"
2741 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2743 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2744 @echo "Building plugin
$@
"
2745 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2747 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2748 @echo "Building plugin
$@
"
2749 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2751 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2752 @echo "Building plugin
$@
"
2753 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2755 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2756 @echo "Building plugin
$@
"
2757 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2759 bin/fake_acls.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_ACLS_OBJ)
2760 @echo "Building plugin
$@
"
2761 @$(SHLD_MODULE) $(VFS_FAKE_ACLS_OBJ)
2763 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2764 @echo "Building plugin
$@
"
2765 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2767 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2768 @echo "Building plugin
$@
"
2769 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2771 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2772 @echo "Building plugin
$@
"
2773 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2775 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2776 @echo "Building plugin
$@
"
2777 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2779 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2780 @echo "Building plugin
$@
"
2781 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2783 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2784 @echo "Building plugin
$@
"
2785 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2787 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2788 @echo "Building plugin
$@
"
2789 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2791 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2792 @echo "Building plugin
$@
"
2793 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2795 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2796 @echo "Building plugin
$@
"
2797 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2799 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2800 @echo "Building plugin
$@
"
2801 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2803 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2804 @echo "Building plugin
$@
"
2805 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2807 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2808 @echo "Building plugin
$@
"
2809 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2811 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2812 @echo "Building plugin
$@
"
2813 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2815 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2816 @echo "Building plugin
$@
"
2817 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2819 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2820 @echo "Building plugin
$@
"
2821 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2823 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2824 @echo "Building plugin
$@
"
2825 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2827 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2828 @echo "Building plugin
$@
"
2829 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2831 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2832 @echo "Building plugin
$@
"
2833 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2835 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2836 @echo "Building plugin
$@
"
2837 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2839 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2840 @echo "Building plugin
$@
"
2841 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2843 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2844 @echo "Building plugin
$@
"
2845 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2847 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2848 @echo "Building plugin
$@
"
2849 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2851 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2852 @echo "Building plugin
$@
"
2853 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2855 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2856 @echo "Building plugin
$@
"
2857 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2859 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2860 @echo "Building plugin
$@
"
2861 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2863 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2864 @echo "Building plugin
$@
"
2865 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2867 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2868 @echo "Building plugin
$@
"
2869 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2871 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2872 @echo "Building plugin
$@
"
2873 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2875 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2876 @echo "Building plugin
$@
"
2877 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2879 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
2880 @echo "Building plugin
$@
"
2881 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
2883 bin/aio_posix.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_POSIX_OBJ)
2884 @echo "Building plugin
$@
"
2885 @$(SHLD_MODULE) $(VFS_AIO_POSIX_OBJ)
2887 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
2888 @echo "Building plugin
$@
"
2889 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
2891 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2892 @echo "Building plugin
$@
"
2893 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2895 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2896 @echo "Building plugin
$@
"
2897 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2899 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2900 @echo "Building plugin
$@
"
2901 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2903 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2904 @echo "Building plugin
$@
"
2905 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2907 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2908 @echo "Building plugin
$@
"
2909 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2911 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2912 @echo "Building plugin
$@
"
2913 @$(SHLD_MODULE) libgpo/gpext/registry.o
2915 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2916 @echo "Building plugin
$@
"
2917 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2919 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2920 @echo "Building plugin
$@
"
2921 @$(SHLD_MODULE) libgpo/gpext/security.o
2923 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2924 @echo "Building plugin
$@
"
2925 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2927 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
2928 @echo "Building plugin
$@
"
2929 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
2931 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
2932 @echo "Building plugin
$@
"
2933 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
2935 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
2936 @echo "Building plugin
$@
"
2937 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
2939 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
2940 @echo "Building plugin
$@
"
2941 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
2943 bin/media_harmony.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_MEDIA_HARMONY_OBJ)
2944 @echo "Building plugin
$@
"
2945 @$(SHLD_MODULE) $(VFS_MEDIA_HARMONY_OBJ)
2947 #########################################################
2948 ## IdMap NSS plugins
2950 ## None here right now
2951 #########################################################
2953 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2955 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2956 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2959 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2960 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2962 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2963 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
2964 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2965 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
2967 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
2968 @echo "Linking shared library
$@
"
2969 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2970 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
2971 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
2973 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
2975 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2976 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2978 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
2980 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2981 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2983 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
2985 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
2987 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
2989 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
2991 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
2993 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2994 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2996 bin/timelimit: script/tests/timelimit.o
2998 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
3000 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3002 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3003 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3004 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3006 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3008 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3009 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3010 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3011 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3013 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3015 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3016 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3019 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3021 install-dbwrap_tool:: bin/dbwrap_tool
3022 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3024 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB) $(POPT_LIBS)
3026 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3027 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3030 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3032 install-dbwrap_torture:: bin/dbwrap_torture
3033 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3035 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3037 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3038 $(LDFLAGS) $(DYNEXP) \
3039 $(LIBS) $(POPT_LIBS) \
3040 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3041 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3043 install:: installservers installbin installman \
3044 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3045 @INSTALL_PAM_MODULES@ installlibs installmo
3047 install-everything:: install installmodules
3049 # DESTDIR is used here to prevent packagers wasting their time
3050 # duplicating the Makefile. Remove it and you will have the privelege
3051 # of package each samba release for muliple versions of multiple
3052 # distributions and operating systems, or at least supplying patches
3053 # to all the packaging files required for this, prior to committing
3054 # the removal of DESTDIR. Do not remove it even though you think it
3058 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3059 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3060 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3061 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3062 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3064 installservers:: all installdirs
3065 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3067 installbin:: all installdirs
3068 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3070 # Some symlinks are required for the 'probing' of modules.
3071 # This mechanism should go at some point..
3072 installmodules:: modules installdirs
3073 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3074 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3075 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3076 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3077 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3078 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3079 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3080 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3081 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3082 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3083 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3084 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3085 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3086 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3088 installscripts:: installdirs
3089 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3091 installdat:: installdirs
3092 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3094 installmsg:: installdirs
3095 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3097 installswat:: installdirs installmsg
3098 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3100 installpammodules:: $(PAM_MODULES)
3101 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3102 @for module in $(PAM_MODULES); do \
3103 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3104 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3105 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3108 # revert to the previously installed version
3110 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3111 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3113 installman:: installdirs
3114 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3116 installmo:: all installdirs
3117 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3122 @echo "Samba will be installed into
:"
3123 @echo " prefix: $(prefix)"
3124 @echo " exec_prefix: $(exec_prefix)"
3125 @echo " sysconfdir
: $(sysconfdir
)"
3126 @echo " localstatedir
: $(localstatedir
)"
3127 @echo " datarootdir
: $(datarootdir
)"
3128 @echo " BINDIR
: $(BINDIR
)"
3129 @echo " SBINDIR
: $(SBINDIR
)"
3130 @echo " LIBDIR
: $(LIBDIR
)"
3131 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3132 @echo " MANDIR
: $(MANDIR
)"
3133 @echo " DATADIR
: $(DATADIR
)"
3134 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3135 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3136 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3137 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3138 @echo " MODULESDIR
: $(MODULESDIR
)"
3139 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3140 @echo " SETUPDIR
: $(SETUPDIR
)"
3141 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3142 @echo " SWATDIR
: $(SWATDIR
)"
3143 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3144 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3145 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3146 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3147 @echo " LOCKDIR
: $(LOCKDIR
)"
3148 @echo " PIDDIR
: $(PIDDIR
)"
3149 @echo " STATEDIR
: $(STATEDIR
)"
3150 @echo " CACHEDIR
: $(CACHEDIR
)"
3151 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3152 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3153 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3154 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3155 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3156 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3157 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3158 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3159 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3160 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3161 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3164 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3167 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3170 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3173 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3176 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3179 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3180 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3181 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3182 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3183 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3184 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3187 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3190 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3193 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3195 uninstallswat:: uninstallmsg
3196 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3198 uninstallpammodules::
3199 @for module in $(PAM_MODULES); do \
3200 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3201 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3205 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3207 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3209 ../libgpo/*.o ../libgpo/*/*.o \
3210 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3213 -rm -f include/build_env.h
3214 -rm -f smbd/build_options.c
3215 -rm -f autoconf/lib/param/param_local.h
3216 -rm -f autoconf/lib/param/param_global.h
3217 -rm -f autoconf/lib/param/param_proto.h
3218 -rm -f autoconf/lib/param/s3_param.h
3219 -rm -f autoconf/source3/param/param_global.h
3220 -rm -f $(PRECOMPILED_HEADER)
3221 -rm -f core */*~ *~ \
3222 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3223 ../testsuite/*/*.o \
3224 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3226 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3227 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3228 $(MODULES) $(TORTURE_PROGS) \
3229 $(EVERYTHING_PROGS) \
3231 .headers.stamp */src/*.o
3234 include/build_env.h: script/build_env.sh
3235 @echo Building include/build_env.h
3236 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3237 > $(builddir)/include/build_env.h
3243 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3246 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3249 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3250 -rm -f script/installbin.sh script/uninstallbin.sh
3252 distclean:: realclean
3254 -rm -f include/autoconf/config.h Makefile
3255 -rm -f config.status config.cache so_locations
3258 realdistclean:: distclean
3259 -rm -f include/autoconf/config.h.in
3260 -rm -f include/autoconf/version.h
3261 -rm -f autoconf/librpc/gen_ndr/*.[ch]
3264 # when configure.in is updated, reconfigure
3265 $(srcdir)/configure: $(srcdir)/configure.in
3266 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3268 config.status: $(srcdir)/configure
3269 @echo "WARNING
: you need to run .
/configure
"
3271 Makefile: $(srcdir)/Makefile.in config.status
3272 @echo "WARNING
: you need to run .
/config.status
"
3274 ######################################################################
3275 # Samba Testing Framework
3277 # Check shared libs for unresolved symbols
3280 @$(LIB_PATH_VAR)=./bin && \
3281 export $(LIB_PATH_VAR) && \
3282 for module in $?; do \
3283 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3287 # Check for NSS module problems.
3288 test_nss_modules:: nss_modules
3289 @echo "Testing
$(NSS_MODULES
) "
3290 @$(LIB_PATH_VAR)=./bin && \
3291 export $(LIB_PATH_VAR) && \
3292 for module in $(NSS_MODULES); do \
3293 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3297 # Check for PAM module problems. Specifically, check that every module we
3298 # built can actually be loaded by a minimal PAM-aware application.
3299 test_pam_modules:: pam_modules
3300 @echo "Testing
$(PAM_MODULES
) "
3301 @$(LIB_PATH_VAR)=./bin && \
3302 export $(LIB_PATH_VAR) && \
3303 for module in $(PAM_MODULES); do \
3304 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3310 ## Targets for 'make test'
3313 valgrindtest:: all torture timelimit
3314 @echo Running Test suite with valgrind
3316 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3317 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3318 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3319 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3321 selftestdir = ../selftest
3323 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3325 test:: all torture timelimit
3326 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3327 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3328 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3329 SOURCEDIR="$(srcdir)" \
3330 VFSLIBDIR="$(builddir
)/bin
" \
3331 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3332 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3333 PERL="$(PERL
)" PYTHON="$(PYTHON
)" PYTHONPATH="$(srcdir)/..
/bin
/python
" \
3334 $(srcdir)/selftest/s3-selftest.sh
3337 $(MAKE) test TESTS=$*
3340 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3343 $(MAKE) test SUBUNIT_FORMATTER=cat
3345 SELFTEST_TESTENV = s3dc
3348 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3351 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3352 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3353 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3354 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3358 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3359 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3360 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3361 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3365 # Check for Winbind struct 32/64bit padding
3367 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3368 @./script/tests/wb_pad.sh || exit 1;
3374 libsmbclient_examples: libsmbclient
3375 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3377 clean_libsmbclient_examples:
3378 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3380 libnetapi_examples: libnetapi
3381 $(MAKE) -C lib/netapi/examples
3383 clean_libnetapi_examples:
3384 $(MAKE) -C lib/netapi/examples clean
3386 .PHONY: bin/smbtorture4 bin/ndrdump4
3388 bin/smbtorture4: $(BINARY_PREREQS)
3389 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3391 bin/ndrdump4: $(BINARY_PREREQS)
3392 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3394 .PHONY: vfs_examples
3398 cd ../examples/VFS && \