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
/smbtorture3 bin
/msgtest \
224 bin
/locktest2 bin
/nsstest bin
/vfstest \
225 $(TALLOCTORT
) bin
/replacetort \
226 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
227 bin
/smbconftort bin
/vlp
229 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
230 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
232 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
233 $(TALLOCTORT
) bin
/replacetort \
239 PAM_MODULES
= @PAM_MODULES@
241 NSS_MODULES
= @NSS_MODULES@
243 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
245 VFS_MODULES
= @VFS_MODULES@
246 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
247 PDB_MODULES
= @PDB_MODULES@
248 IDMAP_MODULES
= @IDMAP_MODULES@
249 AUTH_MODULES
= @AUTH_MODULES@
250 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
251 GPEXT_MODULES
= @GPEXT_MODULES@
252 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
253 $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
254 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
256 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
258 ######################################################################
260 ######################################################################
262 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
263 ..
/lib
/tdb_wrap
/tdb_wrap.o \
264 ..
/lib
/dbwrap
/dbwrap.o \
265 ..
/lib
/dbwrap
/dbwrap_local_open.o \
266 lib
/dbwrap
/dbwrap_open.o \
267 ..
/lib
/dbwrap
/dbwrap_tdb.o \
268 lib
/dbwrap
/dbwrap_ctdb.o \
270 ..
/lib
/dbwrap
/dbwrap_cache.o \
271 lib
/dbwrap
/dbwrap_watch.o \
272 ..
/lib
/dbwrap
/dbwrap_rbt.o \
273 ..
/lib
/dbwrap
/dbwrap_util.o
275 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
277 SMBLDAP_OBJ
= @SMBLDAP@
279 VERSION_OBJ
= lib
/version.o
281 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
285 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
287 AVAHI_OBJ
= @AVAHI_OBJ@
289 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
291 PASSCHANGE_OBJ
= libsmb
/passchange.o
293 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
294 ..
/librpc
/ndr
/ndr_compression.o \
295 autoconf
/librpc
/gen_ndr
/ndr_drsuapi.o \
296 ..
/librpc
/ndr
/ndr_drsblobs.o \
297 autoconf
/librpc
/gen_ndr
/ndr_drsblobs.o
299 ZLIB_OBJ
= @ZLIB_OBJS@
301 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
304 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
307 LIBNDR_NTLMSSP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntlmssp.o \
308 ..
/librpc
/ndr
/ndr_ntlmssp.o
310 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
311 ..
/librpc
/ndr
/ndr.o \
312 ..
/librpc
/ndr
/ndr_misc.o \
313 autoconf
/librpc
/gen_ndr
/ndr_misc.o \
314 autoconf
/librpc
/gen_ndr
/ndr_security.o \
315 ..
/librpc
/ndr
/ndr_sec_helper.o \
316 ..
/librpc
/ndr
/ndr_string.o \
317 ..
/librpc
/ndr
/uuid.o \
318 ..
/librpc
/ndr
/util.o \
319 autoconf
/librpc
/gen_ndr
/ndr_server_id.o \
320 autoconf
/librpc
/gen_ndr
/ndr_file_id.o \
321 autoconf
/librpc
/gen_ndr
/ndr_dcerpc.o
323 LIBNDR_GEN_OBJ0
= autoconf
/librpc
/gen_ndr
/ndr_samr.o \
324 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
326 LIBNDR_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon.o \
327 ..
/librpc
/ndr
/ndr_netlogon.o
329 LIBNDR_SCHANNEL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_schannel.o \
330 ..
/librpc
/ndr
/ndr_schannel.o
332 LIBNDR_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss.o \
333 ..
/librpc
/ndr
/ndr_spoolss_buf.o
335 LIBNDR_NTPRINTING_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
336 ..
/librpc
/ndr
/ndr_ntprinting.o \
338 LIBNDR_PREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_preg.o \
339 ..
/librpc
/ndr
/ndr_preg.o
341 LIBNDR_XATTR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_xattr.o \
342 ..
/librpc
/ndr
/ndr_xattr.o
344 LIBCLI_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss_c.o \
345 rpc_client
/cli_spoolss.o \
346 rpc_client
/init_spoolss.o \
347 rpc_client
/cli_winreg_spoolss.o \
348 printing
/nt_printing_os2.o
350 LIBCLI_EVENTLOG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_eventlog_c.o
352 LIBCLI_WINREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_winreg_c.o \
353 rpc_client
/cli_winreg.o
355 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
356 rpc_client
/cli_winreg_int.o
358 LIBCLI_NTSVCS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
360 LIBCLI_DRSUAPI_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_drsuapi_c.o
362 LIBCLI_DFS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dfs_c.o
364 LIBCLI_ECHO_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_echo_c.o
366 LIBCLI_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_initshutdown_c.o
368 LIBCLI_DSSETUP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dssetup_c.o
370 LIBCLI_SVCCTL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_svcctl_c.o
372 LIBCLI_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc_c.o
374 LIBCLI_SRVSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_srvsvc_c.o
376 LIBCLI_LSA_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_lsa_c.o \
377 rpc_client
/cli_lsarpc.o \
378 rpc_client
/init_lsa.o
380 LIBCLI_SAMR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_samr_c.o \
381 rpc_client
/cli_samr.o
383 LIBCLI_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon_c.o \
384 rpc_client
/cli_netlogon.o \
385 rpc_client
/util_netlogon.o \
386 rpc_client
/init_netlogon.o
388 LIBCLI_EPMAPPER_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_epmapper_c.o
390 LIBCLI_FSRVP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_fsrvp_c.o
392 LIBNDR_GEN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc.o \
394 autoconf
/librpc
/gen_ndr
/ndr_dfs.o \
395 autoconf
/librpc
/gen_ndr
/ndr_dfsblobs.o \
396 autoconf
/librpc
/gen_ndr
/ndr_echo.o \
397 autoconf
/librpc
/gen_ndr
/ndr_winreg.o \
398 autoconf
/librpc
/gen_ndr
/ndr_initshutdown.o \
399 autoconf
/librpc
/gen_ndr
/ndr_srvsvc.o \
400 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
401 $(LIBNDR_NETLOGON_OBJ
) \
402 autoconf
/librpc
/gen_ndr
/ndr_dssetup.o \
403 autoconf
/librpc
/gen_ndr
/ndr_epmapper.o \
404 autoconf
/librpc
/gen_ndr
/ndr_ntsvcs.o \
405 $(LIBNDR_SPOOLSS_OBJ
) \
406 autoconf
/librpc
/gen_ndr
/ndr_fsrvp.o
408 # this includes only the low level parse code, not stuff
409 # that requires knowledge of security contexts
410 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
412 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
414 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
415 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
416 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
420 $(SOCKET_WRAPPER_OBJ
) \
424 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
425 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
426 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
427 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
428 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
429 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
430 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
431 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
432 ..
/lib
/util
/tevent_werror.o \
433 lib
/tevent_barrier.o \
434 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
435 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
436 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o \
437 ..
/lib
/util
/setid.o ..
/lib
/util
/pidfile.o
439 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
440 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
441 ..
/lib
/crypto
/md4.o \
442 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
443 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
444 ..
/lib
/crypto
/aes_cmac_128.o ..
/lib
/crypto
/aes_ccm_128.o
446 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
447 lib
/messages.o autoconf
/librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
448 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
452 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
456 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
459 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
460 ..
/lib
/util
/charset
/pull_push.o \
461 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
462 lib
/interface.o lib
/dumpcore.o \
463 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
465 ..
/libds
/common
/flag_mapping.o \
466 lib
/access.o lib
/smbrun.o \
467 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
469 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
470 ..
/lib
/util
/util_str.o \
471 ..
/lib
/util
/base64.o lib
/util_sid.o \
472 ..
/lib
/util
/charset
/util_unistr.o \
473 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
474 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
475 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
476 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o \
477 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
478 lib
/tallocmsg.o lib
/dmallocmsg.o \
479 ..
/libcli
/smb
/smb_signing.o \
480 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
481 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
482 lib
/adt_tree.o lib
/gencache.o \
483 ..
/lib
/util
/modules.o lib
/events.o @LIBTEVENT_OBJ0@ \
485 lib
/server_contexts.o \
486 lib
/server_prefork.o \
487 lib
/server_prefork_util.o \
489 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
490 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
491 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
492 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
494 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
495 lib
/file_id.o lib
/idmap_cache.o \
497 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
498 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
499 ..
/libcli
/smb
/util.o ..
/lib
/util
/idtree.o
501 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
502 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
504 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
506 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
507 # Be sure to include them into your application
508 POPT_LIB_OBJ
= lib
/popt_common.o
510 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
511 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
512 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
514 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
516 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
517 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
518 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
520 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
522 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
523 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
526 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
528 LIBADS_OBJ
= libads
/ldap.o \
529 libads
/sasl.o libads
/sasl_wrapping.o \
530 libads
/krb5_setpw.o \
531 libads
/kerberos_util.o \
533 libads
/ads_struct.o libads
/kerberos_keytab.o \
534 libads
/disp_sec.o libads
/ldap_utils.o \
535 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
537 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
538 ..
/librpc
/ndr
/ndr_krb5pac.o \
539 autoconf
/librpc
/gen_ndr
/ndr_krb5pac.o
541 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
543 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
544 autoconf
/librpc
/gen_ndr
/ndr_secrets.o \
547 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
548 ..
/libcli
/netlogon
/netlogon.o \
549 autoconf
/librpc
/gen_ndr
/ndr_nbt.o \
550 ..
/librpc
/ndr
/ndr_nbt.o \
551 autoconf
/librpc
/gen_ndr
/ndr_svcctl.o \
552 ..
/librpc
/ndr
/ndr_svcctl.o
554 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
555 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
556 ..
/lib
/addns
/dnsquery.o libads
/sitename_cache.o
558 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
559 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
560 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
561 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
563 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
565 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
567 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
572 ..
/libcli
/auth
/spnego_parse.o \
573 ..
/libcli
/auth
/ntlm_check.o \
575 libsmb
/ntlmssp_wrap.o \
576 libsmb
/auth_generic.o \
577 ..
/lib
/krb5_wrap
/krb5_samba.o \
579 ..
/auth
/gensec
/gensec.o \
580 ..
/auth
/gensec
/gensec_start.o \
581 ..
/auth
/gensec
/gensec_util.o \
582 ..
/auth
/gensec
/spnego.o \
583 ..
/auth
/credentials
/credentials.o \
584 ..
/auth
/credentials
/credentials_ntlm.o \
585 ..
/auth
/credentials
/credentials_samba3.o \
586 ..
/auth
/ntlmssp
/ntlmssp.o \
587 ..
/auth
/ntlmssp
/ntlmssp_util.o \
588 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
589 ..
/auth
/ntlmssp
/ntlmssp_client.o \
590 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
591 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
592 $(LIBNDR_NTLMSSP_OBJ
) \
593 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
594 ..
/auth
/ntlmssp
/ntlmssp_server.o
596 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
599 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
600 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
602 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
603 ..
/lib
/tsocket
/tsocket_helpers.o \
604 ..
/lib
/tsocket
/tsocket_bsd.o
606 CLDAP_OBJ
= libads
/cldap.o \
607 ..
/libcli
/cldap
/cldap.o \
608 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
610 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
612 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
613 ..
/libcli
/auth
/schannel_sign.o \
614 ..
/libcli
/auth
/schannel_state_tdb.o \
615 $(LIBNDR_SCHANNEL_OBJ
)
617 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
618 libsmb
/reparse_symlink.o \
619 libsmb
/clisymlink.o \
620 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
621 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
622 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
623 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
624 libsmb
/clioplock.o libsmb
/clirap2.o \
626 ..
/libcli
/smb
/smb_seal.o \
627 ..
/libcli
/smb
/read_smb.o \
628 ..
/libcli
/smb
/smbXcli_base.o \
629 ..
/libcli
/smb
/smb1cli_trans.o \
630 ..
/libcli
/smb
/smb2cli_session.o \
631 libsmb
/smb2cli_tcon.o \
632 ..
/libcli
/smb
/smb2cli_create.o \
633 ..
/libcli
/smb
/smb2_create_blob.o \
634 ..
/libcli
/smb
/smb2_signing.o \
635 ..
/libcli
/smb
/smb2cli_close.o \
636 ..
/libcli
/smb
/smb2cli_flush.o \
637 ..
/libcli
/smb
/smb2cli_read.o \
638 ..
/libcli
/smb
/smb2cli_write.o \
639 ..
/libcli
/smb
/smb2cli_query_directory.o \
640 ..
/libcli
/smb
/smb2cli_ioctl.o \
641 ..
/libcli
/smb
/smb2cli_query_info.o \
642 ..
/libcli
/smb
/smb2cli_set_info.o \
643 libsmb
/cli_np_tstream.o \
644 libsmb
/smbsock_connect.o \
651 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
652 rpc_client
/cli_pipe.o \
653 $(LIBCLI_NETLOGON_OBJ
) \
654 librpc
/crypto
/gse_krb5.o \
655 librpc
/crypto
/gse.o \
656 ..
/auth
/kerberos
/gssapi_pac.o \
657 ..
/lib
/krb5_wrap
/gss_samba.o \
658 librpc
/rpc
/rpc_common.o \
659 rpc_client
/rpc_transport_np.o \
660 rpc_client
/rpc_transport_sock.o \
661 rpc_client
/rpc_transport_tstream.o \
662 ..
/librpc
/rpc
/binding.o \
663 ..
/librpc
/rpc
/dcerpc_util.o \
664 ..
/librpc
/rpc
/binding_handle.o \
665 librpc
/rpc
/dcerpc_helpers.o \
666 $(LIBCLI_EPMAPPER_OBJ
)
668 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
671 # registry-related objects
673 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
675 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
676 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
677 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
679 REGFIO_OBJ
= registry
/regfio.o \
682 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
684 REGOBJS_OBJ
= registry
/reg_objects.o
686 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
688 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
690 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
691 registry
/reg_backend_shares.o \
692 registry
/reg_backend_netlogon_params.o \
693 registry
/reg_backend_prod_options.o \
694 registry
/reg_backend_tcpip_params.o \
695 registry
/reg_backend_hkpt_params.o \
696 registry
/reg_backend_current_version.o \
697 registry
/reg_backend_perflib.o
699 REG_BASE_OBJ
= registry
/reg_api.o \
700 registry
/reg_dispatcher.o \
701 registry
/reg_cachehook.o \
703 registry
/reg_util_internal.o \
705 $(REG_BACKENDS_BASE_OBJ
) \
706 registry
/reg_parse_internal.o \
707 lib
/cbuf.o lib
/srprs.o \
708 $(REG_INIT_BASIC_OBJ
)
710 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
711 registry
/reg_util_token.o \
712 registry
/reg_api_util.o \
713 $(REG_BACKENDS_SMBCONF_OBJ
) \
714 $(REG_INIT_SMBCONF_OBJ
)
716 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
717 $(REG_BACKENDS_EXTRA_OBJ
) \
718 $(REG_INIT_FULL_OBJ
) \
719 registry
/reg_perfcount.o \
720 autoconf
/librpc
/gen_ndr
/ndr_perfcount.o
722 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
724 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
726 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
727 autoconf
/librpc
/gen_ndr
/srv_lsa.o \
728 ..
/libcli
/lsarpc
/util_lsarpc.o
730 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
731 autoconf
/librpc
/gen_ndr
/srv_netlogon.o
733 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
734 rpc_server
/samr
/srv_samr_util.o \
735 rpc_server
/samr
/srv_samr_chgpasswd.o \
736 autoconf
/librpc
/gen_ndr
/srv_samr.o
738 RPC_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
740 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
741 autoconf
/librpc
/gen_ndr
/srv_winreg.o
743 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o autoconf
/librpc
/gen_ndr
/srv_dssetup.o
745 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
746 autoconf
/librpc
/gen_ndr
/srv_srvsvc.o
748 RPC_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/srv_wkssvc.o \
749 rpc_server
/wkssvc
/srv_wkssvc_nt.o
751 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
752 rpc_server
/svcctl
/srv_svcctl_reg.o \
753 autoconf
/librpc
/gen_ndr
/srv_svcctl.o \
754 services
/svc_winreg_glue.o \
755 services
/svc_spoolss.o services
/svc_rcinit.o \
756 services
/svc_netlogon.o services
/svc_winreg.o \
759 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
760 autoconf
/librpc
/gen_ndr
/srv_ntsvcs.o
762 RPC_NETDFS_OBJ
= autoconf
/librpc
/gen_ndr
/srv_dfs.o \
763 rpc_server
/dfs
/srv_dfs_nt.o
765 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
766 rpc_server
/spoolss
/srv_spoolss_util.o \
767 autoconf
/librpc
/gen_ndr
/srv_spoolss.o
769 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
770 rpc_server
/eventlog
/srv_eventlog_reg.o \
771 $(LIB_EVENTLOG_OBJ
) autoconf
/librpc
/gen_ndr
/srv_eventlog.o
773 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
774 autoconf
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
775 ..
/auth
/auth_sam_reply.o autoconf
/librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
777 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
778 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
779 rpc_server
/srv_access_check.o
781 RPC_CONFIG
= rpc_server
/rpc_config.o
783 RPC_SERVICE
= rpc_server
/rpc_server.o
785 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
787 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
788 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
790 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o autoconf
/librpc
/gen_ndr
/srv_echo.o
792 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o autoconf
/librpc
/gen_ndr
/srv_epmapper.o
794 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
796 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
797 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
798 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
799 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
800 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
801 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
802 $(LIBCLI_SPOOLSS_OBJ
) \
803 $(LIBCLI_WINREG_INT_OBJ
) \
804 $(LIBCLI_SRVSVC_OBJ
) \
807 $(RPC_SERVER_REGISTER_OBJ
) \
808 $(RPC_CLIENT_SCHANNEL_OBJ
) \
809 rpc_server
/rpc_sock_helper.o \
810 rpc_server
/rpc_service_setup.o \
811 rpc_client
/init_samr.o
813 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
815 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
816 autoconf
/librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
818 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
820 PRIVILEGES_OBJ
= lib
/privileges.o
822 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
824 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
825 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
826 lib
/util_sid_passdb.o \
827 lib
/util_unixsids.o passdb
/lookup_sid.o \
828 passdb
/login_cache.o @PDB_STATIC@ \
829 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
830 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
831 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
834 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
835 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
837 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
839 PROFILE_OBJ
= profile
/profile.o
840 PROFILES_OBJ
= utils
/profiles.o \
843 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
847 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
849 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
850 autoconf
/librpc
/gen_ndr
/ndr_notify.o
852 FNAME_UTIL_OBJ
= lib
/filename_util.o
854 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
855 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
856 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
857 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
858 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
859 VFS_FAKE_ACLS_OBJ
= modules
/vfs_fake_acls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o
860 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
861 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
862 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
863 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
864 VFS_CAP_OBJ
= modules
/vfs_cap.o
865 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
866 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
867 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
868 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
869 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
870 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
871 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
872 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
873 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
874 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
875 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
876 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
877 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
878 VFS_CATIA_OBJ
= modules
/vfs_catia.o
879 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
880 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
881 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
882 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
883 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
884 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
885 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
886 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
887 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
888 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
889 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
890 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
891 VFS_AIO_POSIX_OBJ
= modules
/vfs_aio_posix.o
892 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
893 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
894 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
895 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
896 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
897 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
898 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
899 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
900 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
901 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
902 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
903 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
904 VFS_MEDIA_HARMONY_OBJ
= modules
/vfs_media_harmony.o
906 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
907 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
909 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
911 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
913 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
914 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
915 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
916 AUTH_UNIX_OBJ
= auth
/auth_unix.o
917 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
918 AUTH_WBC_OBJ
= auth
/auth_wbc.o
919 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
921 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
923 auth
/server_info_sam.o \
927 auth
/auth_ntlmssp.o auth
/auth_generic.o \
928 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
930 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
932 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
934 BUILDOPT_OBJ
= smbd
/build_options.o
936 SMBD_OBJ_SRV
= smbd
/server_reload.o \
937 smbd
/files.o smbd
/connection.o \
938 smbd
/utmp.o smbd
/session.o \
939 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
940 smbd
/share_access.o smbd
/fileio.o \
941 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
942 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
943 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
944 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
945 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
946 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
947 smbd
/posix_acls.o lib
/sysacls.o \
948 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
951 printing
/printspoolss.o printing
/spoolssd.o \
952 lib
/sysquotas.o lib
/sysquotas_linux.o \
953 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o lib
/sysquotas_4B.o \
954 lib
/sysquotas_nfs.o \
958 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
959 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
960 smbd
/dmapi.o smbd
/signing.o \
962 smbd
/dnsregister.o smbd
/globals.o \
965 smbd
/smb2_negprot.o \
966 smbd
/smb2_sesssetup.o \
975 smbd
/smb2_keepalive.o \
978 smbd
/smb2_getinfo.o \
979 smbd
/smb2_setinfo.o \
981 autoconf
/librpc
/gen_ndr
/ndr_smbXsrv.o \
982 smbd
/smbXsrv_version.o \
983 smbd
/smbXsrv_session.o \
984 smbd
/smbXsrv_tcon.o \
985 smbd
/smbXsrv_open.o \
987 $(MANGLE_OBJ
) @VFS_STATIC@
989 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
991 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
992 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
993 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
994 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
995 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
996 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
997 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
999 $(PRIVILEGES_BASIC_OBJ
) \
1001 $(REG_API_REGF_OBJ
) \
1002 $(LIBNDR_XATTR_OBJ
) \
1003 lib
/conn_tdb.o lib
/sessionid_tdb.o
1006 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
1007 printing
/print_cups.o printing
/print_generic.o \
1008 printing
/lpq_parse.o printing
/load.o \
1009 printing
/print_iprint.o printing
/print_standard.o \
1010 printing
/printer_list.o autoconf
/librpc
/gen_ndr
/ndr_printcap.o
1012 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
1013 PRINTBACKEND_OBJ
= printing
/printing.o \
1014 printing
/nt_printing.o \
1015 printing
/nt_printing_tdb.o \
1016 printing
/nt_printing_migrate.o \
1017 printing
/nt_printing_migrate_internal.o \
1018 printing
/nt_printing_ads.o \
1019 autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
1020 ..
/librpc
/ndr
/ndr_ntprinting.o \
1021 printing
/queue_process.o \
1024 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1026 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1027 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1028 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1029 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1030 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1031 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1032 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1033 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1034 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1035 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1036 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1037 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1039 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1040 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1041 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1043 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1044 web
/swat.o web
/neg_lang.o
1046 SWAT_OBJ
= $(SWAT_OBJ1
) $(SMBD_OBJ_BASE
) $(PASSCHANGE_OBJ
)
1048 STATUS_OBJ
= utils
/status.o utils
/status_profile.o
$(SMBD_OBJ_BASE
)
1051 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1052 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1054 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1055 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1056 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1057 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1058 $(LIBMSRPC_GEN_OBJ
) \
1060 $(LIBCLI_SRVSVC_OBJ
)
1062 TESTPARM_OBJ
= utils
/testparm.o \
1063 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1066 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1067 $(LIB_NONSMBD_OBJ
) \
1068 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1070 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1071 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1072 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1074 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1076 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1077 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1078 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1079 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1080 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1081 $(LIBCLI_SAMR_OBJ
) \
1082 rpc_client
/init_lsa.o
1084 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1085 $(AFS_SETTOKEN_OBJ
) \
1086 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1087 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1088 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1089 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1090 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1092 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1094 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1096 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1097 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1098 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1099 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1100 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1101 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1102 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1103 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1104 rpcclient
/cmd_winreg.o rpcclient
/cmd_fss.o \
1107 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1108 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1109 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1110 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1111 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1112 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1113 $(LIBCLI_SPOOLSS_OBJ
) \
1114 $(LIBCLI_EVENTLOG_OBJ
) \
1115 $(LIBCLI_NTSVCS_OBJ
) \
1116 $(LIBCLI_DRSUAPI_OBJ
) \
1118 $(LIBCLI_ECHO_OBJ
) \
1119 $(LIBCLI_DSSETUP_OBJ
) \
1120 $(LIBCLI_WKSSVC_OBJ
) \
1121 $(LIBCLI_SRVSVC_OBJ
) \
1123 $(LIBCLI_SAMR_OBJ
) \
1124 $(LIBCLI_WINREG_OBJ
) \
1125 $(LIBCLI_FSRVP_OBJ
) \
1126 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1127 rpc_client
/init_samr.o
1129 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1130 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1132 LIBSMBCLIENT_THREAD_OBJ
= \
1133 libsmb
/libsmb_thread_impl.o \
1134 libsmb
/libsmb_thread_posix.o
1136 LIBSMBCLIENT_OBJ0
= \
1137 libsmb
/libsmb_cache.o \
1138 libsmb
/libsmb_compat.o \
1139 libsmb
/libsmb_context.o \
1140 libsmb
/libsmb_dir.o \
1141 libsmb
/libsmb_file.o \
1142 libsmb
/libsmb_misc.o \
1143 libsmb
/libsmb_path.o \
1144 libsmb
/libsmb_printjob.o \
1145 libsmb
/libsmb_server.o \
1146 libsmb
/libsmb_stat.o \
1147 libsmb
/libsmb_xattr.o \
1148 libsmb
/libsmb_setget.o
1150 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1151 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1152 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1153 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1154 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1155 $(LIBCLI_SRVSVC_OBJ
) \
1158 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1160 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1161 client
/dnsbrowse.o \
1164 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1165 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1166 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1167 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1168 $(DISPLAY_SEC_OBJ
) \
1169 $(LIBCLI_SRVSVC_OBJ
)
1171 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1172 ..
/lib
/smbconf
/smbconf_util.o \
1173 ..
/lib
/smbconf
/smbconf_txt.o \
1174 lib
/smbconf
/smbconf_reg.o \
1175 lib
/smbconf
/smbconf_init.o
1177 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1179 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1180 $(LIB_NONSMBD_OBJ
) \
1185 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1186 lib
/pthreadpool
/tests.o
$(LIBREPLACE_OBJ
)
1188 LIBNET_OBJ
= libnet
/libnet_join.o \
1189 libnet
/libnet_keytab.o \
1190 autoconf
/librpc
/gen_ndr
/ndr_libnet_join.o
1192 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1193 libnet
/libnet_dssync_passdb.o \
1194 libnet
/libnet_dssync_keytab.o \
1195 ..
/libcli
/drsuapi
/repl_decrypt.o
1197 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1198 libnet
/libnet_samsync_ldif.o \
1199 libnet
/libnet_samsync_passdb.o \
1200 libnet
/libnet_samsync_display.o \
1201 libnet
/libnet_samsync_keytab.o \
1202 ..
/libcli
/samsync
/decrypt.o
1204 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1205 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1206 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1207 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1208 utils
/net_idmap_check.o utils
/interact.o \
1209 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1210 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1211 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1212 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1213 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1214 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1215 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1216 utils
/net_dom.o utils
/net_share.o \
1217 utils
/net_g_lock.o \
1218 utils
/net_serverid.o \
1219 utils
/net_eventlog.o \
1220 utils
/net_printing.o \
1221 utils
/net_rpc_trust.o \
1222 utils
/net_rpc_conf.o\
1223 $(LIBNDR_PREG_OBJ
) \
1224 $(LIBCLI_DRSUAPI_OBJ
) \
1225 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1226 $(LIBCLI_DSSETUP_OBJ
) \
1227 $(LIBCLI_SVCCTL_OBJ
) \
1228 $(LIBCLI_WKSSVC_OBJ
) \
1229 registry
/reg_parse.o registry
/reg_format.o \
1230 registry
/reg_import.o
1232 # these are not processed by make proto
1233 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1235 NET_OBJ
= $(NET_OBJ1
) \
1239 $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
) \
1240 $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1243 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1244 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1245 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1247 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1248 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1250 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1251 torture
/denytest.o torture
/mangle_test.o \
1253 torture
/test_async_echo.o \
1254 torture
/test_smbsock_any_connect.o \
1255 torture
/test_nttrans_create.o \
1256 torture
/test_nttrans_fsctl.o \
1257 torture
/test_notify_online.o \
1258 torture
/test_addrchange.o \
1259 torture
/test_case_insensitive.o \
1260 torture
/test_posix_append.o \
1261 torture
/test_smb2.o \
1262 torture
/test_chain3.o \
1263 torture
/test_authinfo_structs.o \
1264 torture
/test_cleanup.o \
1265 torture
/test_ctdbconn.o \
1266 torture
/test_msg.o \
1267 torture
/test_notify.o \
1268 torture
/test_dbwrap_watch.o \
1269 torture
/test_idmap_tdb_common.o \
1270 torture
/t_strappend.o
1272 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1273 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LOCKING_OBJ
) \
1274 @LIBWBCLIENT_STATIC@ \
1275 torture
/wbc_async.o \
1276 ..
/nsswitch
/wb_reqtrans.o \
1277 ..
/libcli
/lsarpc
/util_lsarpc.o \
1278 lib
/filename_util.o \
1279 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1281 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1282 $(LIB_NONSMBD_OBJ
) \
1285 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o ..
/lib
/util
/setid.o
$(LIBSAMBAUTIL_OBJ
)
1287 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1288 torture
/vfstest_chain.o
1290 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1292 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1293 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1294 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1296 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1297 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1298 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1299 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1302 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1304 $(LIB_NONSMBD_OBJ
) \
1305 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1306 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1309 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1311 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1312 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1313 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
1314 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
1316 SHARESEC_OBJ0
= utils
/sharesec.o
1317 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1321 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1322 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1324 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1325 @libreplacedir@
/test/getifaddrs.o \
1326 @libreplacedir@
/test/os2_delete.o \
1327 @libreplacedir@
/test/strptime.o \
1328 @libreplacedir@
/test/main.o \
1329 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1331 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1333 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1334 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1335 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1337 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1338 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1340 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1341 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1342 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1344 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1345 $(AFS_SETTOKEN_OBJ
) \
1346 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1349 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1351 IDMAP_TDB_COMMON_OBJ
= winbindd
/idmap_tdb_common.o
1353 IDMAP_UTIL_OBJ
= winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) \
1354 $(IDMAP_TDB_COMMON_OBJ
)
1356 IDMAP_OBJ
= winbindd
/idmap.o
$(IDMAP_UTIL_OBJ
) @IDMAP_STATIC@
1358 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1361 winbindd
/idmap_hash
/idmap_hash.o \
1362 winbindd
/idmap_hash
/mapfile.o
1365 winbindd
/winbindd.o \
1366 winbindd
/winbindd_group.o \
1367 winbindd
/winbindd_util.o \
1368 winbindd
/winbindd_cache.o \
1369 winbindd
/winbindd_pam.o \
1370 winbindd
/winbindd_misc.o \
1371 winbindd
/winbindd_cm.o \
1372 winbindd
/winbindd_wins_byip.o \
1373 winbindd
/winbindd_wins_byname.o \
1374 winbindd
/winbindd_msrpc.o \
1375 winbindd
/winbindd_rpc.o \
1376 winbindd
/winbindd_reconnect.o \
1377 winbindd
/winbindd_ads.o \
1378 winbindd
/winbindd_samr.o \
1379 winbindd
/winbindd_dual.o \
1380 winbindd
/winbindd_dual_ndr.o \
1381 winbindd
/winbindd_dual_srv.o \
1382 autoconf
/librpc
/gen_ndr
/ndr_wbint_c.o \
1383 autoconf
/librpc
/gen_ndr
/srv_wbint.o \
1384 autoconf
/librpc
/gen_ndr
/ndr_wbint.o \
1385 autoconf
/librpc
/gen_ndr
/ndr_idmap.o \
1386 winbindd
/winbindd_async.o \
1387 winbindd
/winbindd_creds.o \
1388 winbindd
/winbindd_cred_cache.o \
1389 winbindd
/winbindd_ccache_access.o \
1390 winbindd
/winbindd_domain.o \
1391 winbindd
/winbindd_idmap.o \
1392 winbindd
/winbindd_locator.o \
1393 winbindd
/winbindd_ndr.o \
1394 winbindd
/wb_ping.o \
1395 winbindd
/wb_lookupsid.o \
1396 winbindd
/wb_lookupsids.o \
1397 winbindd
/wb_lookupname.o \
1398 winbindd
/wb_uid2sid.o \
1399 winbindd
/wb_gid2sid.o \
1400 winbindd
/wb_sids2xids.o \
1401 winbindd
/wb_queryuser.o \
1402 winbindd
/wb_lookupuseraliases.o \
1403 winbindd
/wb_lookupusergroups.o \
1404 winbindd
/wb_getpwsid.o \
1405 winbindd
/wb_gettoken.o \
1406 winbindd
/wb_seqnum.o \
1407 winbindd
/wb_seqnums.o \
1408 winbindd
/wb_group_members.o \
1409 winbindd
/wb_getgrsid.o \
1410 winbindd
/wb_query_user_list.o \
1411 winbindd
/wb_fill_pwent.o \
1412 winbindd
/wb_next_pwent.o \
1413 winbindd
/wb_next_grent.o \
1414 winbindd
/wb_dsgetdcname.o \
1415 winbindd
/winbindd_lookupsid.o \
1416 winbindd
/winbindd_lookupsids.o \
1417 winbindd
/winbindd_lookupname.o \
1418 winbindd
/winbindd_sid_to_uid.o \
1419 winbindd
/winbindd_sid_to_gid.o \
1420 winbindd
/winbindd_uid_to_sid.o \
1421 winbindd
/winbindd_gid_to_sid.o \
1422 winbindd
/winbindd_sids_to_xids.o \
1423 winbindd
/winbindd_allocate_uid.o \
1424 winbindd
/winbindd_allocate_gid.o \
1425 winbindd
/winbindd_getpwsid.o \
1426 winbindd
/winbindd_getpwnam.o \
1427 winbindd
/winbindd_getpwuid.o \
1428 winbindd
/winbindd_getsidaliases.o \
1429 winbindd
/winbindd_getuserdomgroups.o \
1430 winbindd
/winbindd_getgroups.o \
1431 winbindd
/winbindd_show_sequence.o \
1432 winbindd
/winbindd_getgrgid.o \
1433 winbindd
/winbindd_getgrnam.o \
1434 winbindd
/winbindd_getusersids.o \
1435 winbindd
/winbindd_lookuprids.o \
1436 winbindd
/winbindd_setpwent.o \
1437 winbindd
/winbindd_getpwent.o \
1438 winbindd
/winbindd_endpwent.o \
1439 winbindd
/winbindd_setgrent.o \
1440 winbindd
/winbindd_getgrent.o \
1441 winbindd
/winbindd_endgrent.o \
1442 winbindd
/winbindd_dsgetdcname.o \
1443 winbindd
/winbindd_getdcname.o \
1444 winbindd
/winbindd_list_users.o \
1445 winbindd
/winbindd_list_groups.o \
1446 winbindd
/winbindd_check_machine_acct.o \
1447 winbindd
/winbindd_change_machine_acct.o \
1448 winbindd
/winbindd_ping_dc.o \
1449 winbindd
/winbindd_pam_auth.o \
1450 winbindd
/winbindd_pam_auth_crap.o \
1451 winbindd
/winbindd_pam_chauthtok.o \
1452 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1453 winbindd
/winbindd_pam_logoff.o \
1457 auth
/check_samsec.o \
1458 auth
/server_info.o \
1459 auth
/server_info_sam.o \
1462 ..
/nsswitch
/wb_reqtrans.o
1465 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1466 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1467 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1468 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1469 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1470 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1471 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1472 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1473 $(NPA_TSTREAM_OBJ
) \
1474 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1475 $(LIBADS_SERVER_OBJ
) \
1476 $(TDB_VALIDATE_OBJ
) \
1477 $(LIBCLI_DSSETUP_OBJ
) \
1479 $(LIBCLI_SAMR_OBJ
) \
1480 rpc_client
/init_samr.o \
1483 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1484 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1485 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1486 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1488 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1490 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1491 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1493 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1494 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1496 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1497 ..
/lib
/iniparser_build
/strlib.o
1499 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1500 $(SOCKET_WRAPPER_OBJ
)
1502 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1503 $(SOCKET_WRAPPER_OBJ
)
1505 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1506 $(SOCKET_WRAPPER_OBJ
)
1508 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1509 $(SOCKET_WRAPPER_OBJ
)
1511 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1512 $(SOCKET_WRAPPER_OBJ
)
1515 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1517 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1518 ${LIBADS_SERVER_OBJ} \
1519 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1521 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1522 $(AFS_SETTOKEN_OBJ
) \
1523 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1524 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1527 VLP_OBJ
= printing
/tests
/vlp.o \
1528 ..
/lib
/util
/util_tdb.o \
1529 ..
/lib
/util
/signal.o \
1530 ..
/lib
/util
/debug.o \
1531 ..
/lib
/util
/util_strlist.o \
1532 ..
/lib
/util
/fault.o \
1533 ..
/lib
/util
/become_daemon.o \
1534 ..
/lib
/util
/substitute.o \
1536 ..
/lib
/util
/time.o \
1537 ..
/lib
/util
/charset
/util_str.o \
1538 ..
/lib
/util
/charset
/pull_push.o \
1539 ..
/lib
/util
/charset
/util_unistr_w.o \
1540 ..
/lib
/util
/charset
/codepoints.o \
1541 ..
/lib
/util
/charset
/iconv.o \
1542 ..
/lib
/util
/charset
/weird.o \
1543 ..
/lib
/util
/charset
/convert_string.o \
1544 $(CHARSET_MACOSXFS_OBJ
) \
1545 ..
/lib
/util
/talloc_stack.o \
1546 ..
/lib
/util
/smb_threads.o \
1547 ..
/lib
/util
/xfile.o \
1548 ..
/lib
/util
/util_file.o \
1549 ..
/lib
/util
/util.o \
1550 ..
/lib
/util
/util_str_common.o \
1551 ..
/lib
/util
/data_blob.o \
1552 ..
/dynconfig
/dynconfig.o \
1553 ..
/lib
/util
/setid.o \
1554 $(LIBSAMBAUTIL_OBJ
) \
1557 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1561 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1562 $(LIB_NONSMBD_OBJ
) \
1567 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1569 $(LIB_NONSMBD_OBJ
) \
1573 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1575 $(LIB_NONSMBD_OBJ
) \
1579 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1581 $(LIB_NONSMBD_OBJ
) \
1585 ######################################################################
1587 ######################################################################
1588 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1589 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1590 $(EXTRA_ALL_TARGETS
)
1592 basics
:: samba3-idl mkparam
1594 nss_modules
:: $(NSS_MODULES
)
1596 pam_modules
:: $(PAM_MODULES
)
1598 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1600 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1602 gpext_modules
:: $(GPEXT_MODULES
)
1604 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1606 smbtorture3
: SHOWFLAGS bin
/smbtorture3
1608 masktest
: SHOWFLAGS bin
/masktest
1610 msgtest
: SHOWFLAGS bin
/msgtest
1612 locktest
: SHOWFLAGS bin
/locktest
1614 smbcacls
: SHOWFLAGS bin
/smbcacls
1616 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1618 locktest2
: SHOWFLAGS bin
/locktest2
1620 debug2html
: SHOWFLAGS bin
/debug2html
1622 smbfilter
: SHOWFLAGS bin
/smbfilter
1624 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1626 sharesec
: SHOWFLAGS bin
/sharesec
1628 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1630 replacetort
: SHOWFLAGS bin
/replacetort
1632 smbconftort
: SHOWFLAGS bin
/smbconftort
1634 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1636 timelimit
: SHOWFLAGS bin
/timelimit
1638 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1639 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1640 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1642 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1644 modules
:: SHOWFLAGS
$(MODULES
)
1647 #####################################################################
1648 ## Perl IDL Compiler
1650 IDL_FILES
= librpc
/idl
/messaging.idl \
1651 librpc
/idl
/libnetapi.idl \
1652 librpc
/idl
/wbint.idl \
1653 librpc
/idl
/perfcount.idl \
1654 librpc
/idl
/secrets.idl \
1655 librpc
/idl
/open_files.idl \
1656 librpc
/idl
/libnet_join.idl
1659 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1660 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1661 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1662 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1665 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1666 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1667 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1668 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1670 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
1672 autoconf
/lib
/param
/param_local.h
:
1673 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file autoconf
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1674 autoconf
/lib
/param
/param_global.h
:
1675 $(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
1676 autoconf
/source3
/param
/param_global.h
:
1677 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/param
/loadparm.c
--file autoconf
/source3
/param
/param_global.h
--generate-scope
=GLOBAL
1678 autoconf
/lib
/param
/param_proto.h
:
1679 $(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
1680 autoconf
/lib
/param
/s3_param.h
:
1681 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/s3_param.h
1684 #####################################################################
1687 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1688 $(EVERYTHING_PROGS
) \
1692 .SUFFIXES
: .c .o .lo
1694 .PHONY
: showflags SHOWFLAGS
1696 showflags
: SHOWFLAGS
1699 @echo
"Using CFLAGS = $(CFLAGS)"
1700 @echo
" PICFLAG = $(PICFLAG)"
1701 @echo
" LIBS = $(LIBS)"
1702 @echo
" LDFLAGS = $(LDFLAGS)"
1703 @echo
" DYNEXP = $(DYNEXP)"
1704 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1705 @echo
" SHLIBEXT = @SHLIBEXT@"
1706 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1708 # "showcflags" target for debuggin how CFLAGS are composed:
1710 .PHONY
: showcflags SHOWCFLAGS
1712 showcflags
: SHOWCFLAGS
1715 @echo
"CFLAGS = $(CFLAGS)"
1716 @echo
"FLAGS = $(FLAGS)"
1718 @echo
"FLAGS1 = @FLAGS1@"
1719 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1720 @echo
"CPPFLAGS = $(CPPFLAGS)"
1721 @echo
"ISA = $(ISA)"
1723 MAKEDIR
= || exec false
; \
1724 if
test -d
"$$dir"; then
:; else \
1725 echo mkdir
"$$dir"; \
1726 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1727 test -d
"$$dir" || \
1729 exec false
; fi || exec false
1731 # Run a static checker.
1732 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1733 # Compile a source file.
1734 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1735 # Compile a source file with the installation paths defined.
1736 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1738 COMPILE
= $(COMPILE_CC
)
1741 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1742 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1743 @if
test -n
"$(CC_CHECKER)"; then \
1744 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1747 @echo Compiling
$*.c
1748 @
$(COMPILE
) && exit
0;\
1749 echo
"The following command failed:" 1>&2;\
1750 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1751 $(COMPILE_CC) >/dev/null 2>&1
1752 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1754 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1756 # this adds support for precompiled headers. To use it, install a snapshot
1757 # of gcc-3.4 and run 'make pch' before you do the main build.
1759 rm -f $(PRECOMPILED_HEADER)
1760 $(MAKE) $(PRECOMPILED_HEADER)
1762 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1765 BINARY_PREREQS = bin/.dummy
1767 # These dependencies are only approximately correct: we want to make
1768 # sure Samba's paths are updated if ./configure is re-run. Really it
1769 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1770 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1771 # rebuild it's a bit hard.
1773 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1774 @echo Compiling $*.c
1775 @$(COMPILE_CC_PATH) && exit 0;\
1776 echo "The following command failed
:" 1>&2;\
1777 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1778 $(COMPILE_CC_PATH) >/dev/null 2>&1
1780 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1781 @echo Compiling $*.c
1782 @$(COMPILE_CC_PATH) && exit 0;\
1783 echo "The following command failed
:" 1>&2;\
1784 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1785 $(COMPILE_CC_PATH) >/dev/null 2>&1
1787 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1788 @echo Compiling $*.c
1789 @$(COMPILE_CC_PATH) && exit 0;\
1790 echo "The following command failed
:" 1>&2;\
1791 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1792 $(COMPILE_CC_PATH) >/dev/null 2>&1
1794 ### Start section of object files that require PTHREAD_CFLAGS
1795 ../nsswitch/wins.o: ../nsswitch/wins.c
1796 @echo Compiling $*.c
1797 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1798 echo "The following command failed
:" 1>&2;\
1799 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1800 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1802 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1803 @echo Compiling $*.c
1804 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1805 echo "The following command failed
:" 1>&2;\
1806 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1807 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1809 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1810 @echo Compiling $*.c
1811 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1812 echo "The following command failed
:" 1>&2;\
1813 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1814 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1816 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1817 @echo Compiling $*.c
1818 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1819 echo "The following command failed
:" 1>&2;\
1820 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1821 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1822 ### End section of object files that require PTHREAD_CFLAGS
1824 lib/version.o: lib/version.c include/autoconf/version.h
1825 @echo Compiling $*.c
1826 @$(COMPILE_CC_PATH) && exit 0;\
1827 echo "The following command failed
:" 1>&2;\
1828 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1829 $(COMPILE_CC_PATH) >/dev/null 2>&1
1831 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1832 @echo Compiling $*.c
1833 @$(COMPILE_CC_PATH) && exit 0;\
1834 echo "The following command failed
:" 1>&2;\
1835 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1836 $(COMPILE_CC_PATH) >/dev/null 2>&1
1838 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1840 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1843 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1844 dir=bin $(MAKEDIR); fi
1845 @: >> $@ || : > $@ # what a fancy emoticon!
1847 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1849 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1850 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1851 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1852 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1853 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1855 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1857 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1858 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1859 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1860 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1862 bin/swat: $(BINARY_PREREQS) $(SWAT_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1864 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1865 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1866 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1867 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1868 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1870 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1872 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1873 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1874 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1875 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1877 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1879 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1880 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1881 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1882 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1884 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1886 @$(CC) -o $@ $(NET_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1887 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1888 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1889 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1890 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(LIBNETAPI_LIBS) $(TERMLDFLAGS) $(TERMLIBS)
1892 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1894 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1895 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1897 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1899 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1900 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1901 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1903 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1905 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1906 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1908 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1910 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1911 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1913 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1915 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1916 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1917 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1918 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1919 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1921 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1923 @$(CC) -DUSING_SMBCONTROL -o $@ \
1924 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1925 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1926 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1928 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1930 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1931 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1932 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1934 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1936 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1937 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1938 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1940 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1942 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1943 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1944 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1946 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1948 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1949 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1950 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1952 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1954 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1955 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1957 bin/smbtorture3: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(IDMAP_UTIL_OBJ)
1959 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
1960 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1961 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1963 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1965 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1966 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1967 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1969 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1971 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1972 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1974 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1976 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1977 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1978 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1980 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
1982 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1984 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1986 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1987 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1988 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1989 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1991 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1993 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1994 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1995 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1997 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1999 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2000 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2001 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2003 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2005 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2006 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2007 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2009 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
2011 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2012 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2014 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2016 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2017 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2019 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2021 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2022 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2023 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2024 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2026 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2028 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2031 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2033 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2034 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2035 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2036 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2037 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2039 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2041 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2042 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2044 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2046 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2047 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2048 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2049 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2051 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2053 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2054 $(LIBS) $(LIBTALLOC_LIBS)
2056 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2058 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2059 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2060 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2061 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2063 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2065 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2068 #####################################################################
2072 #####################################################################
2074 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2077 #-------------------------------------------------------------------
2081 #-------------------------------------------------------------------
2084 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2085 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2087 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2089 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2090 @echo Linking non-shared library $@
2091 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2092 libtalloc: $(LIBTALLOC)
2096 $(LIBTALLOC_STATIC_TARGET)
2099 cleanlibs:: cleanlibtalloc
2103 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2104 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2105 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2107 showlibs:: showlibtalloc
2109 #-------------------------------------------------------------------
2113 #-------------------------------------------------------------------
2115 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2116 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2118 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2120 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2121 @echo Linking non-shared library $@
2122 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2128 $(LIBTDB_STATIC_TARGET)
2131 cleanlibs:: cleanlibtdb
2135 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2136 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2137 @echo "LIBTDB
= $(LIBTDB
)"
2139 showlibs:: showlibtdb
2141 #-------------------------------------------------------------------
2145 #-------------------------------------------------------------------
2147 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2148 ../nsswitch/libwbclient/wbc_util.o \
2149 ../nsswitch/libwbclient/wbc_pwd.o \
2150 ../nsswitch/libwbclient/wbc_idmap.o \
2151 ../nsswitch/libwbclient/wbc_sid.o \
2152 ../nsswitch/libwbclient/wbc_guid.o \
2153 ../nsswitch/libwbclient/wbc_pam.o
2155 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2158 ../lib/util/blocking.o \
2159 $(SOCKET_WRAPPER_OBJ)
2161 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2162 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2163 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2164 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2165 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2166 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2167 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2169 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2170 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2172 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2173 @echo Linking shared library $@
2174 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2175 @SONAMEFLAG@`basename $@`
2177 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2179 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2181 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2182 @echo Linking non-shared library $@
2183 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2185 libwbclient: $(LIBWBCLIENT)
2189 $(LIBWBCLIENT_SYMS) \
2190 $(LIBWBCLIENT_STATIC_TARGET) \
2191 $(LIBWBCLIENT_SHARED_TARGET) \
2192 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2194 installlibwbclient:: installdirs libwbclient
2195 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2196 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2197 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2198 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2199 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2200 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2202 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2203 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2204 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2206 uninstalllibwbclient::
2207 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2208 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2209 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2210 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2213 installlibs:: @INSTALL_LIBWBCLIENT@
2214 uninstalllibs:: uninstalllibwbclient
2215 cleanlibs:: cleanlibwbclient
2216 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2220 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2221 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2222 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2224 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2225 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2226 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2227 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2228 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2229 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2231 showlibs:: showlibwbclient
2234 #-------------------------------------------------------------------
2238 #-------------------------------------------------------------------
2240 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2242 autoconf/librpc/gen_ndr/ndr_libnetapi.o \
2243 lib/netapi/libnetapi.o \
2244 lib/netapi/joindomain.o \
2245 lib/netapi/serverinfo.o \
2246 lib/netapi/getdc.o \
2248 lib/netapi/group.o \
2249 lib/netapi/localgroup.o \
2252 lib/netapi/share.o \
2254 lib/netapi/shutdown.o \
2255 lib/netapi/netlogon.o
2257 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2259 $(REG_SMBCONF_OBJ) \
2260 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2261 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2262 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2263 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2264 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2266 $(LIBCLI_INITSHUTDOWN_OBJ) \
2267 $(LIBCLI_WKSSVC_OBJ) \
2268 $(LIBCLI_SRVSVC_OBJ) \
2270 $(LIBCLI_SAMR_OBJ) \
2271 $(RPC_CLIENT_SCHANNEL_OBJ) \
2272 rpc_client/init_samr.o
2274 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2275 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2276 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2277 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2278 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2279 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2280 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2282 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2283 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2285 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2286 @echo Linking shared library $@
2287 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2288 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2289 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2290 @SONAMEFLAG@`basename $@`
2292 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2294 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2296 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2297 @echo Linking non-shared library $@
2298 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2300 libnetapi: $(LIBNETAPI)
2305 $(LIBNETAPI_STATIC_TARGET) \
2306 $(LIBNETAPI_SHARED_TARGET) \
2307 $(LIBNETAPI_SHARED_TARGET_SONAME)
2309 installlibnetapi:: installdirs libnetapi
2310 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2311 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2312 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2313 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2314 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2315 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2317 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2318 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2319 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2321 uninstalllibnetapi::
2322 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2323 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2324 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2325 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2328 installlibs:: @INSTALL_LIBNETAPI@
2329 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2330 cleanlibs:: cleanlibnetapi
2331 shlibs test_shlibs: @LIBNETAPI_SHARED@
2335 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2336 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2337 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2339 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2340 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2341 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2342 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2343 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2344 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2346 showlibs:: showlibnetapi
2348 #-------------------------------------------------------------------
2352 #-------------------------------------------------------------------
2354 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2355 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2356 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2357 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2358 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2359 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2360 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2361 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2363 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2364 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2366 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2367 @echo Linking shared library $@
2368 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2369 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2370 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2371 @SONAMEFLAG@`basename $@`
2373 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2375 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2377 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2378 @echo Linking non-shared library $@
2379 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2381 libsmbclient: $(LIBSMBCLIENT)
2385 $(LIBSMBCLIENT_SHARED_TARGET) \
2386 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2387 $(LIBSMBCLIENT_STATIC_TARGET)
2389 installlibsmbclient:: installdirs libsmbclient
2390 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2391 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2392 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2393 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2394 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2395 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2397 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2398 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2399 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2401 installclientlib:: installlibsmbclient
2403 uninstalllibsmbclient::
2404 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2405 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2406 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2407 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2409 uninstallclientlib:: uninstalllibsmbclient
2412 installlibs:: @INSTALL_LIBSMBCLIENT@
2413 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2414 cleanlibs:: cleanlibsmbclient
2415 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2419 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2420 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2421 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2423 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2424 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2425 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2426 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2427 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2428 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2430 showlibs:: showlibsmbclient
2432 #-------------------------------------------------------------------
2436 #-------------------------------------------------------------------
2438 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2440 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2442 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2443 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2444 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2445 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2446 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2447 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2448 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2449 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2451 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2452 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2454 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2455 @echo Linking shared library $@
2456 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2457 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2458 @SONAMEFLAG@`basename $@`
2460 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2462 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2464 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2465 @echo Linking non-shared library $@
2466 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2468 libsmbsharemodes: $(LIBSMBSHAREMODES)
2470 cleanlibsmbsharemodes::
2472 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2473 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2474 $(LIBSMBSHAREMODES_STATIC_TARGET)
2476 installlibsmbsharemodes:: installdirs libsmbsharemodes
2477 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2478 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2479 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2480 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2481 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2482 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2484 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2485 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2486 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2488 uninstalllibsmbsharemodes::
2489 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2490 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2491 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2492 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2494 libs:: libsmbsharemodes
2495 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2496 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2497 cleanlibs:: cleanlibsmbsharemodes
2498 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2500 showlibsmbsharemodes:
2502 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2503 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2504 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2505 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2507 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2508 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2509 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2510 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2511 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2512 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2514 showlibs:: showlibsmbsharemodes
2516 #####################################################################
2520 #####################################################################
2522 # Linker command to link our shared libraries:
2523 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2524 -o $@ @SONAMEFLAG@`basename $@`
2525 # Linker command to link samba internal plugin modules:
2526 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2527 -o $@ @SONAMEFLAG@`basename $@`
2529 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2531 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2533 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2535 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2537 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2539 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2541 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2543 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2545 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2547 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2549 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2551 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2553 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2555 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2557 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2559 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2561 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2563 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2565 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2567 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2569 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2571 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2573 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2575 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2577 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2579 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2581 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2583 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2585 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2587 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2588 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2589 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2592 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2594 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2595 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2599 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2601 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2602 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2603 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2605 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2607 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2608 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2609 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2611 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2613 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2614 $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2616 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2617 @echo "Linking shared library
$@
"
2618 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2619 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2625 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2626 @echo "Building plugin
$@
"
2627 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2629 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2630 @echo "Building plugin
$@
"
2631 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2633 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2634 @echo "Building plugin
$@
"
2635 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2637 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2638 @echo "Building plugin
$@
"
2639 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2641 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2642 @echo "Building plugin
$@
"
2643 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2645 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2646 @echo "Building plugin
$@
"
2647 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2649 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2650 @echo "Building plugin
$@
"
2651 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2653 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2654 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2655 @echo "Building plugin
$@
"
2656 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2657 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2659 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2660 @echo "Building plugin
$@
"
2661 @$(SHLD_MODULE) passdb/pdb_tdb.o
2663 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2664 @echo "Building plugin
$@
"
2665 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2667 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2668 @echo "Building plugin
$@
"
2669 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2671 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2672 @echo "Building plugin
$@
"
2673 @$(SHLD_MODULE) winbindd/idmap_rid.o
2675 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2676 @echo "Building plugin
$@
"
2677 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2679 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2680 @echo "Building plugin
$@
"
2681 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2683 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2684 @echo "Building plugin
$@
"
2685 @$(SHLD_MODULE) winbindd/idmap_ad.o
2687 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2688 @echo "Building plugin
$@
"
2689 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2691 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2692 @echo "Building plugin
$@
"
2693 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2695 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2696 @echo "Building plugin
$@
"
2697 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2699 # NOTE, there is no build rule for a dynamic default VFS module because
2700 # this one MUST MUST MUST be built statically.
2702 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2703 @echo "Building plugin
$@
"
2704 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2706 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2707 @echo "Building plugin
$@
"
2708 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2710 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2711 @echo "Building plugin
$@
"
2712 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2714 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2715 @echo "Building plugin
$@
"
2716 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2718 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2719 @echo "Building plugin
$@
"
2720 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2722 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2723 @echo "Building plugin
$@
"
2724 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2726 bin/fake_acls.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_ACLS_OBJ)
2727 @echo "Building plugin
$@
"
2728 @$(SHLD_MODULE) $(VFS_FAKE_ACLS_OBJ)
2730 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2731 @echo "Building plugin
$@
"
2732 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2734 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2735 @echo "Building plugin
$@
"
2736 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2738 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2739 @echo "Building plugin
$@
"
2740 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2742 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2743 @echo "Building plugin
$@
"
2744 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2746 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2747 @echo "Building plugin
$@
"
2748 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2750 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2751 @echo "Building plugin
$@
"
2752 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2754 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2755 @echo "Building plugin
$@
"
2756 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2758 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2759 @echo "Building plugin
$@
"
2760 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2762 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2763 @echo "Building plugin
$@
"
2764 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2766 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2767 @echo "Building plugin
$@
"
2768 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2770 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2771 @echo "Building plugin
$@
"
2772 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2774 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2775 @echo "Building plugin
$@
"
2776 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2778 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2779 @echo "Building plugin
$@
"
2780 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2782 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2783 @echo "Building plugin
$@
"
2784 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2786 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2787 @echo "Building plugin
$@
"
2788 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2790 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2791 @echo "Building plugin
$@
"
2792 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2794 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2795 @echo "Building plugin
$@
"
2796 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2798 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2799 @echo "Building plugin
$@
"
2800 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2802 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2803 @echo "Building plugin
$@
"
2804 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2806 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2807 @echo "Building plugin
$@
"
2808 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2810 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2811 @echo "Building plugin
$@
"
2812 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2814 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2815 @echo "Building plugin
$@
"
2816 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2818 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2819 @echo "Building plugin
$@
"
2820 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2822 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2823 @echo "Building plugin
$@
"
2824 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2826 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2827 @echo "Building plugin
$@
"
2828 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2830 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2831 @echo "Building plugin
$@
"
2832 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2834 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2835 @echo "Building plugin
$@
"
2836 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2838 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2842 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2846 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
2850 bin/aio_posix.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_POSIX_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) $(VFS_AIO_POSIX_OBJ)
2854 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
2855 @echo "Building plugin
$@
"
2856 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
2858 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2862 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2866 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2870 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2874 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2875 @echo "Building plugin
$@
"
2876 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2878 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2879 @echo "Building plugin
$@
"
2880 @$(SHLD_MODULE) libgpo/gpext/registry.o
2882 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2883 @echo "Building plugin
$@
"
2884 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2886 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2887 @echo "Building plugin
$@
"
2888 @$(SHLD_MODULE) libgpo/gpext/security.o
2890 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2891 @echo "Building plugin
$@
"
2892 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2894 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
2895 @echo "Building plugin
$@
"
2896 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
2898 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
2899 @echo "Building plugin
$@
"
2900 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
2902 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
2903 @echo "Building plugin
$@
"
2904 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
2906 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
2907 @echo "Building plugin
$@
"
2908 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
2910 bin/media_harmony.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_MEDIA_HARMONY_OBJ)
2911 @echo "Building plugin
$@
"
2912 @$(SHLD_MODULE) $(VFS_MEDIA_HARMONY_OBJ)
2914 #########################################################
2915 ## IdMap NSS plugins
2917 ## None here right now
2918 #########################################################
2920 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2922 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2923 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2926 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2927 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2929 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2930 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
2931 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2932 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
2934 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
2935 @echo "Linking shared library
$@
"
2936 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2937 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
2938 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
2940 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
2942 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2943 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2945 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
2947 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2948 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2950 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
2952 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
2954 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
2956 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
2958 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
2960 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2961 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2963 bin/timelimit: script/tests/timelimit.o
2965 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
2967 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2969 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
2970 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
2971 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
2973 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2975 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
2976 $(LDFLAGS) $(DYNEXP) $(LIBS) \
2977 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
2978 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2980 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
2982 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
2983 $(LDFLAGS) $(DYNEXP) $(LIBS) \
2986 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2988 install-dbwrap_tool:: bin/dbwrap_tool
2989 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
2991 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB) $(POPT_LIBS)
2993 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
2994 $(LDFLAGS) $(DYNEXP) $(LIBS) \
2997 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2999 install-dbwrap_torture:: bin/dbwrap_torture
3000 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3002 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3004 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3005 $(LDFLAGS) $(DYNEXP) \
3006 $(LIBS) $(POPT_LIBS) \
3007 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3008 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3010 install:: installservers installbin installman \
3011 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3012 @INSTALL_PAM_MODULES@ installlibs installmo
3014 install-everything:: install installmodules
3016 # DESTDIR is used here to prevent packagers wasting their time
3017 # duplicating the Makefile. Remove it and you will have the privelege
3018 # of package each samba release for muliple versions of multiple
3019 # distributions and operating systems, or at least supplying patches
3020 # to all the packaging files required for this, prior to committing
3021 # the removal of DESTDIR. Do not remove it even though you think it
3025 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3026 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3027 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3028 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3029 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3031 installservers:: all installdirs
3032 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3034 installbin:: all installdirs
3035 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3037 # Some symlinks are required for the 'probing' of modules.
3038 # This mechanism should go at some point..
3039 installmodules:: modules installdirs
3040 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3041 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3042 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3043 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3044 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3045 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3046 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3047 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3048 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3049 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3050 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3051 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3052 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3053 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3055 installscripts:: installdirs
3056 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3058 installdat:: installdirs
3059 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3061 installmsg:: installdirs
3062 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3064 installswat:: installdirs installmsg
3065 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3067 installpammodules:: $(PAM_MODULES)
3068 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3069 @for module in $(PAM_MODULES); do \
3070 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3071 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3072 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3075 # revert to the previously installed version
3077 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3078 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3080 installman:: installdirs
3081 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3083 installmo:: all installdirs
3084 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3089 @echo "Samba will be installed into
:"
3090 @echo " prefix: $(prefix)"
3091 @echo " exec_prefix: $(exec_prefix)"
3092 @echo " sysconfdir
: $(sysconfdir
)"
3093 @echo " localstatedir
: $(localstatedir
)"
3094 @echo " datarootdir
: $(datarootdir
)"
3095 @echo " BINDIR
: $(BINDIR
)"
3096 @echo " SBINDIR
: $(SBINDIR
)"
3097 @echo " LIBDIR
: $(LIBDIR
)"
3098 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3099 @echo " MANDIR
: $(MANDIR
)"
3100 @echo " DATADIR
: $(DATADIR
)"
3101 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3102 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3103 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3104 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3105 @echo " MODULESDIR
: $(MODULESDIR
)"
3106 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3107 @echo " SETUPDIR
: $(SETUPDIR
)"
3108 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3109 @echo " SWATDIR
: $(SWATDIR
)"
3110 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3111 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3112 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3113 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3114 @echo " LOCKDIR
: $(LOCKDIR
)"
3115 @echo " PIDDIR
: $(PIDDIR
)"
3116 @echo " STATEDIR
: $(STATEDIR
)"
3117 @echo " CACHEDIR
: $(CACHEDIR
)"
3118 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3119 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3120 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3121 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3122 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3123 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3124 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3125 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3126 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3127 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3128 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3131 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3134 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3137 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3140 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3143 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3146 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3147 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3148 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3149 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3150 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3151 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3154 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3157 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3160 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3162 uninstallswat:: uninstallmsg
3163 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3165 uninstallpammodules::
3166 @for module in $(PAM_MODULES); do \
3167 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3168 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3172 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3174 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3176 ../libgpo/*.o ../libgpo/*/*.o \
3177 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3180 -rm -f include/build_env.h
3181 -rm -f smbd/build_options.c
3182 -rm -f autoconf/lib/param/param_local.h
3183 -rm -f autoconf/lib/param/param_global.h
3184 -rm -f autoconf/lib/param/param_proto.h
3185 -rm -f autoconf/lib/param/s3_param.h
3186 -rm -f autoconf/source3/param/param_global.h
3187 -rm -f $(PRECOMPILED_HEADER)
3188 -rm -f core */*~ *~ \
3189 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3190 ../testsuite/*/*.o \
3191 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3193 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3194 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3195 $(MODULES) $(TORTURE_PROGS) \
3196 $(EVERYTHING_PROGS) \
3198 .headers.stamp */src/*.o
3201 include/build_env.h: script/build_env.sh
3202 @echo Building include/build_env.h
3203 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3204 > $(builddir)/include/build_env.h
3210 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3213 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3216 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3217 -rm -f script/installbin.sh script/uninstallbin.sh
3219 distclean:: realclean
3221 -rm -f include/autoconf/config.h Makefile
3222 -rm -f config.status config.cache so_locations
3225 realdistclean:: distclean
3226 -rm -f include/autoconf/config.h.in
3227 -rm -f include/autoconf/version.h
3228 -rm -f autoconf/librpc/gen_ndr/*.[ch]
3231 # when configure.in is updated, reconfigure
3232 $(srcdir)/configure: $(srcdir)/configure.in
3233 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3235 config.status: $(srcdir)/configure
3236 @echo "WARNING
: you need to run .
/configure
"
3238 Makefile: $(srcdir)/Makefile.in config.status
3239 @echo "WARNING
: you need to run .
/config.status
"
3241 ######################################################################
3242 # Samba Testing Framework
3244 # Check shared libs for unresolved symbols
3247 @$(LIB_PATH_VAR)=./bin && \
3248 export $(LIB_PATH_VAR) && \
3249 for module in $?; do \
3250 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3254 # Check for NSS module problems.
3255 test_nss_modules:: nss_modules
3256 @echo "Testing
$(NSS_MODULES
) "
3257 @$(LIB_PATH_VAR)=./bin && \
3258 export $(LIB_PATH_VAR) && \
3259 for module in $(NSS_MODULES); do \
3260 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3264 # Check for PAM module problems. Specifically, check that every module we
3265 # built can actually be loaded by a minimal PAM-aware application.
3266 test_pam_modules:: pam_modules
3267 @echo "Testing
$(PAM_MODULES
) "
3268 @$(LIB_PATH_VAR)=./bin && \
3269 export $(LIB_PATH_VAR) && \
3270 for module in $(PAM_MODULES); do \
3271 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3277 ## Targets for 'make test'
3280 valgrindtest:: all torture timelimit bin/smbtorture
3281 @echo Running Test suite with valgrind
3283 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3284 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3285 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3286 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3288 selftestdir = ../selftest
3290 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3292 test:: all torture timelimit bin/smbtorture
3293 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3294 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3295 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3296 SOURCEDIR="$(srcdir)" \
3297 VFSLIBDIR="$(builddir
)/bin
" \
3298 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3299 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3300 PERL="$(PERL
)" PYTHON="$(PYTHON
)" PYTHONPATH="$(srcdir)/..
/bin
/python
" \
3301 $(srcdir)/selftest/s3-selftest.sh
3304 $(MAKE) test TESTS=$*
3307 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3310 $(MAKE) test SUBUNIT_FORMATTER=cat
3312 SELFTEST_TESTENV = s3dc
3315 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3318 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3319 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3320 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3321 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3325 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3326 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3327 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3328 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3332 # Check for Winbind struct 32/64bit padding
3334 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3335 @./script/tests/wb_pad.sh || exit 1;
3341 libsmbclient_examples: libsmbclient
3342 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3344 clean_libsmbclient_examples:
3345 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3347 libnetapi_examples: libnetapi
3348 $(MAKE) -C lib/netapi/examples
3350 clean_libnetapi_examples:
3351 $(MAKE) -C lib/netapi/examples clean
3353 .PHONY: bin/smbtorture
3355 bin/smbtorture: $(BINARY_PREREQS)
3356 $(MAKE) -f Makefile-smbtorture bin/smbtorture
3358 .PHONY: vfs_examples
3362 cd ../examples/VFS && \