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 LIBTEVENT
=@LIBTEVENT_STATIC@
115 LIBTEVENT_LIBS
=@LIBTEVENT_LIBS@
116 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
117 LIBTDB
=@LIBTDB_STATIC@
118 LIBTDB_LIBS
=@LIBTDB_LIBS@
120 LIBNTDB
=@LIBNTDB_STATIC@
121 LIBNTDB_LIBS
=@LIBNTDB_LIBS@
122 NTDB_DEPS
=@NTDB_DEPS@
123 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
124 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
125 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
126 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
128 TALLOCTORT
= @TALLOCTORT@
130 TDBBACKUP
= @TDBBACKUP@
133 TDBRESTORE
= @TDBRESTORE@
134 TDBTORTURE
= @TDBTORTURE@
135 NTDBBACKUP
= @NTDBBACKUP@
136 NTDBTOOL
= @NTDBTOOL@
137 NTDBDUMP
= @NTDBDUMP@
138 NTDBRESTORE
= @NTDBRESTORE@
139 NTDBTORTURE
= @NTDBTORTURE@
140 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
143 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
144 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
145 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
146 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
150 builddir
=@abs_builddir@
151 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
152 # will search for a POSIX-compliant shell, and that might not be
153 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
157 # See the autoconf manual "Installation Directory Variables" for a
158 # discussion of the subtle use of these variables.
160 VFSLIBDIR
= $(MODULESDIR
)/vfs
161 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
162 PDBLIBDIR
= $(MODULESDIR
)/pdb
163 RPCLIBDIR
= $(MODULESDIR
)/rpc
164 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
165 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
166 AUTHLIBDIR
= $(MODULESDIR
)/auth
167 CONFIGLIBDIR
= $(MODULESDIR
)/config
168 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
169 VARDIR
= @localstatedir@
171 # The permissions to give the executables and other data
172 INSTALLPERMS_BIN
= 0755
173 INSTALLPERMS_DATA
= 0644
183 -I.
/..
/lib
/ldb
/include \
186 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
187 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
188 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
189 -DSBINDIR
=\"$(SBINDIR
)\" \
190 -DBINDIR
=\"$(BINDIR
)\" \
191 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
192 -DSWATDIR
=\"$(SWATDIR
)\" \
193 -DLOCKDIR
=\"$(LOCKDIR
)\" \
194 -DPIDDIR
=\"$(PIDDIR
)\" \
195 -DLIBDIR
=\"$(LIBDIR
)\" \
196 -DMODULESDIR
=\"$(MODULESDIR
)\" \
197 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
198 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
199 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
200 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
201 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
202 -DCACHEDIR
=\"$(CACHEDIR
)\" \
203 -DSTATEDIR
=\"$(STATEDIR
)\" \
204 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
205 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
206 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
207 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
208 -DDATADIR
=\"$(DATADIR
)\" \
209 -DSETUPDIR
=\"$(SETUPDIR
)\"
211 # Note that all executable programs now provide for an optional executable suffix.
213 SBIN_PROGS
= bin
/smbd bin
/nmbd @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
215 BIN_PROGS1
= bin
/smbclient bin
/net bin
/smbspool \
216 bin
/testparm bin
/smbstatus bin
/smbget \
218 BIN_PROGS2
= bin
/smbcontrol bin
/smbtree
$(TDBBACKUP
) \
219 bin
/nmblookup bin
/pdbedit
$(TDBDUMP
) \
220 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool
221 BIN_PROGS3
= bin
/smbpasswd bin
/rpcclient bin
/smbcacls \
222 bin
/profiles bin
/ntlm_auth bin
/sharesec \
223 bin
/smbcquotas bin
/eventlogadm
225 TORTURE_PROGS
= bin
/smbtorture3 bin
/msgtest \
226 bin
/locktest2 bin
/nsstest bin
/vfstest \
227 $(TALLOCTORT
) bin
/replacetort \
228 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
229 bin
/smbconftort bin
/vlp
231 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
232 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
234 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
235 $(TALLOCTORT
) bin
/replacetort \
241 PAM_MODULES
= @PAM_MODULES@
243 NSS_MODULES
= @NSS_MODULES@
245 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
247 VFS_MODULES
= @VFS_MODULES@
248 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
249 PDB_MODULES
= @PDB_MODULES@
250 IDMAP_MODULES
= @IDMAP_MODULES@
251 AUTH_MODULES
= @AUTH_MODULES@
252 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
253 GPEXT_MODULES
= @GPEXT_MODULES@
254 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
255 $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
256 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
258 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
260 ######################################################################
262 ######################################################################
264 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
265 ..
/lib
/tdb_wrap
/tdb_wrap.o \
266 ..
/lib
/dbwrap
/dbwrap.o \
267 ..
/lib
/dbwrap
/dbwrap_local_open.o \
268 lib
/dbwrap
/dbwrap_open.o \
269 ..
/lib
/dbwrap
/dbwrap_tdb.o \
270 lib
/dbwrap
/dbwrap_ctdb.o \
272 ..
/lib
/dbwrap
/dbwrap_cache.o \
273 lib
/dbwrap
/dbwrap_watch.o \
274 ..
/lib
/dbwrap
/dbwrap_rbt.o \
275 ..
/lib
/dbwrap
/dbwrap_util.o
277 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
279 SMBLDAP_OBJ
= @SMBLDAP@
281 VERSION_OBJ
= lib
/version.o
283 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
287 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
289 AVAHI_OBJ
= @AVAHI_OBJ@
291 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
293 PASSCHANGE_OBJ
= libsmb
/passchange.o
295 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
296 ..
/librpc
/ndr
/ndr_compression.o \
297 autoconf
/librpc
/gen_ndr
/ndr_drsuapi.o \
298 ..
/librpc
/ndr
/ndr_drsblobs.o \
299 autoconf
/librpc
/gen_ndr
/ndr_drsblobs.o
301 ZLIB_OBJ
= @ZLIB_OBJS@
303 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
306 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
309 LIBNDR_NTLMSSP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntlmssp.o \
310 ..
/librpc
/ndr
/ndr_ntlmssp.o
312 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
313 ..
/librpc
/ndr
/ndr.o \
314 ..
/librpc
/ndr
/ndr_misc.o \
315 autoconf
/librpc
/gen_ndr
/ndr_misc.o \
316 autoconf
/librpc
/gen_ndr
/ndr_security.o \
317 ..
/librpc
/ndr
/ndr_sec_helper.o \
318 ..
/librpc
/ndr
/ndr_string.o \
319 ..
/librpc
/ndr
/uuid.o \
320 ..
/librpc
/ndr
/util.o \
321 autoconf
/librpc
/gen_ndr
/ndr_server_id.o \
322 autoconf
/librpc
/gen_ndr
/ndr_file_id.o \
323 autoconf
/librpc
/gen_ndr
/ndr_dcerpc.o
325 LIBNDR_GEN_OBJ0
= autoconf
/librpc
/gen_ndr
/ndr_samr.o \
326 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
328 LIBNDR_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon.o \
329 ..
/librpc
/ndr
/ndr_netlogon.o
331 LIBNDR_SCHANNEL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_schannel.o \
332 ..
/librpc
/ndr
/ndr_schannel.o
334 LIBNDR_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss.o \
335 ..
/librpc
/ndr
/ndr_spoolss_buf.o
337 LIBNDR_NTPRINTING_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
338 ..
/librpc
/ndr
/ndr_ntprinting.o
340 LIBNDR_PREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_preg.o \
341 ..
/librpc
/ndr
/ndr_preg.o
343 LIBNDR_XATTR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_xattr.o \
344 ..
/librpc
/ndr
/ndr_xattr.o
346 LIBCLI_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss_c.o \
347 rpc_client
/cli_spoolss.o \
348 rpc_client
/init_spoolss.o \
349 rpc_client
/cli_winreg_spoolss.o \
350 printing
/nt_printing_os2.o
352 LIBCLI_EVENTLOG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_eventlog_c.o
354 LIBCLI_WINREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_winreg_c.o \
355 rpc_client
/cli_winreg.o
357 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
358 rpc_client
/cli_winreg_int.o
360 LIBCLI_NTSVCS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
362 LIBCLI_DRSUAPI_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_drsuapi_c.o
364 LIBCLI_DFS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dfs_c.o
366 LIBCLI_ECHO_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_echo_c.o
368 LIBCLI_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_initshutdown_c.o
370 LIBCLI_DSSETUP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dssetup_c.o
372 LIBCLI_SVCCTL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_svcctl_c.o
374 LIBCLI_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc_c.o
376 LIBCLI_SRVSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_srvsvc_c.o
378 LIBCLI_LSA_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_lsa_c.o \
379 rpc_client
/cli_lsarpc.o \
380 rpc_client
/init_lsa.o
382 LIBCLI_SAMR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_samr_c.o \
383 rpc_client
/cli_samr.o
385 LIBCLI_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon_c.o \
386 rpc_client
/cli_netlogon.o \
387 rpc_client
/util_netlogon.o \
388 rpc_client
/init_netlogon.o
390 LIBCLI_EPMAPPER_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_epmapper_c.o
392 LIBCLI_FSRVP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_fsrvp_c.o
394 LIBNDR_GEN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc.o \
396 autoconf
/librpc
/gen_ndr
/ndr_dfs.o \
397 autoconf
/librpc
/gen_ndr
/ndr_dfsblobs.o \
398 autoconf
/librpc
/gen_ndr
/ndr_echo.o \
399 autoconf
/librpc
/gen_ndr
/ndr_winreg.o \
400 autoconf
/librpc
/gen_ndr
/ndr_initshutdown.o \
401 autoconf
/librpc
/gen_ndr
/ndr_srvsvc.o \
402 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
403 $(LIBNDR_NETLOGON_OBJ
) \
404 autoconf
/librpc
/gen_ndr
/ndr_dssetup.o \
405 autoconf
/librpc
/gen_ndr
/ndr_epmapper.o \
406 autoconf
/librpc
/gen_ndr
/ndr_ntsvcs.o \
407 $(LIBNDR_SPOOLSS_OBJ
) \
408 autoconf
/librpc
/gen_ndr
/ndr_fsrvp.o
410 # this includes only the low level parse code, not stuff
411 # that requires knowledge of security contexts
412 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
414 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
416 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
417 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
418 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
422 $(SOCKET_WRAPPER_OBJ
) \
426 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
427 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
428 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
429 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
430 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
431 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
432 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
433 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
434 ..
/lib
/util
/tevent_werror.o ..
/lib
/util
/util_process.o\
435 lib
/tevent_barrier.o \
436 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
437 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
438 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o \
439 ..
/lib
/util
/setid.o ..
/lib
/util
/pidfile.o
441 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
442 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
443 ..
/lib
/crypto
/md4.o \
444 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
445 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
446 ..
/lib
/crypto
/aes_cmac_128.o ..
/lib
/crypto
/aes_ccm_128.o
448 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
449 lib
/messages.o autoconf
/librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
450 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
454 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
458 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
461 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
462 ..
/lib
/util
/charset
/pull_push.o \
463 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
464 lib
/interface.o lib
/dumpcore.o \
465 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
467 ..
/libds
/common
/flag_mapping.o \
468 lib
/access.o lib
/smbrun.o \
469 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
471 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
472 ..
/lib
/util
/util_str.o \
473 ..
/lib
/util
/base64.o lib
/util_sid.o \
474 ..
/lib
/util
/charset
/util_unistr.o \
475 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
476 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
477 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
478 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o \
479 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
480 lib
/tallocmsg.o lib
/dmallocmsg.o \
481 ..
/libcli
/smb
/smb_signing.o \
482 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
483 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
484 lib
/adt_tree.o lib
/gencache.o \
485 ..
/lib
/util
/modules.o lib
/events.o \
487 lib
/server_contexts.o \
488 lib
/server_prefork.o \
489 lib
/server_prefork_util.o \
491 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
492 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
493 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
494 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
496 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
497 lib
/file_id.o lib
/idmap_cache.o \
499 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
500 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
501 ..
/libcli
/smb
/util.o ..
/lib
/util
/idtree.o
503 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
504 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
506 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
508 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
509 # Be sure to include them into your application
510 POPT_LIB_OBJ
= lib
/popt_common.o
512 PARAM_WITHOUT_REG_OBJ
= ..
/dynconfig
/dynconfig.o param
/loadparm.o param
/loadparm_ctx.o ..
/lib
/param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o ..
/lib
/param
/loadparm.o ..
/lib
/param
/util.o
513 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
514 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
516 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
518 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
519 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
520 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
522 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
524 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
525 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
528 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
530 LIBADS_OBJ
= libads
/ldap.o \
531 libads
/sasl.o libads
/sasl_wrapping.o \
532 libads
/krb5_setpw.o \
533 libads
/kerberos_util.o \
535 libads
/ads_struct.o libads
/kerberos_keytab.o \
536 libads
/disp_sec.o libads
/ldap_utils.o \
537 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
539 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
540 ..
/librpc
/ndr
/ndr_krb5pac.o \
541 autoconf
/librpc
/gen_ndr
/ndr_krb5pac.o
543 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
545 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
546 autoconf
/librpc
/gen_ndr
/ndr_secrets.o \
549 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
550 ..
/libcli
/netlogon
/netlogon.o \
551 autoconf
/librpc
/gen_ndr
/ndr_nbt.o \
552 ..
/librpc
/ndr
/ndr_nbt.o \
553 autoconf
/librpc
/gen_ndr
/ndr_svcctl.o \
554 ..
/librpc
/ndr
/ndr_svcctl.o
556 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
557 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
558 ..
/lib
/addns
/dnsquery.o libads
/sitename_cache.o
560 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
561 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
562 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
563 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
565 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
567 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
569 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
574 ..
/libcli
/auth
/spnego_parse.o \
575 ..
/libcli
/auth
/ntlm_check.o \
577 libsmb
/ntlmssp_wrap.o \
578 libsmb
/auth_generic.o \
579 ..
/lib
/krb5_wrap
/krb5_samba.o \
581 ..
/auth
/gensec
/gensec.o \
582 ..
/auth
/gensec
/gensec_start.o \
583 ..
/auth
/gensec
/gensec_util.o \
584 ..
/auth
/gensec
/spnego.o \
585 ..
/auth
/credentials
/credentials.o \
586 ..
/auth
/credentials
/credentials_ntlm.o \
587 ..
/auth
/credentials
/credentials_samba3.o \
588 ..
/auth
/ntlmssp
/ntlmssp.o \
589 ..
/auth
/ntlmssp
/ntlmssp_util.o \
590 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
591 ..
/auth
/ntlmssp
/ntlmssp_client.o \
592 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
593 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
594 $(LIBNDR_NTLMSSP_OBJ
) \
595 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
596 ..
/auth
/ntlmssp
/ntlmssp_server.o
598 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
601 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
602 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
604 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
605 ..
/lib
/tsocket
/tsocket_helpers.o \
606 ..
/lib
/tsocket
/tsocket_bsd.o
608 CLDAP_OBJ
= libads
/cldap.o \
609 ..
/libcli
/cldap
/cldap.o \
610 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
612 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
614 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
615 ..
/libcli
/auth
/schannel_sign.o \
616 ..
/libcli
/auth
/schannel_state_tdb.o \
617 $(LIBNDR_SCHANNEL_OBJ
)
619 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
620 libsmb
/reparse_symlink.o \
621 libsmb
/clisymlink.o \
622 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
623 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
624 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
625 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
626 libsmb
/clioplock.o libsmb
/clirap2.o \
628 ..
/libcli
/smb
/smb_seal.o \
629 ..
/libcli
/smb
/read_smb.o \
630 ..
/libcli
/smb
/smbXcli_base.o \
631 ..
/libcli
/smb
/smb1cli_trans.o \
632 ..
/libcli
/smb
/smb2cli_session.o \
633 libsmb
/smb2cli_tcon.o \
634 ..
/libcli
/smb
/smb2cli_create.o \
635 ..
/libcli
/smb
/smb2_create_blob.o \
636 ..
/libcli
/smb
/smb2_signing.o \
637 ..
/libcli
/smb
/smb2cli_close.o \
638 ..
/libcli
/smb
/smb2cli_flush.o \
639 ..
/libcli
/smb
/smb2cli_read.o \
640 ..
/libcli
/smb
/smb2cli_write.o \
641 ..
/libcli
/smb
/smb2cli_query_directory.o \
642 ..
/libcli
/smb
/smb2cli_ioctl.o \
643 ..
/libcli
/smb
/smb2cli_query_info.o \
644 ..
/libcli
/smb
/smb2cli_set_info.o \
645 libsmb
/cli_np_tstream.o \
646 libsmb
/smbsock_connect.o \
653 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
654 rpc_client
/cli_pipe.o \
655 $(LIBCLI_NETLOGON_OBJ
) \
656 librpc
/crypto
/gse_krb5.o \
657 librpc
/crypto
/gse.o \
658 ..
/auth
/kerberos
/gssapi_pac.o \
659 ..
/lib
/krb5_wrap
/gss_samba.o \
660 librpc
/rpc
/rpc_common.o \
661 rpc_client
/rpc_transport_np.o \
662 rpc_client
/rpc_transport_sock.o \
663 rpc_client
/rpc_transport_tstream.o \
664 ..
/librpc
/rpc
/binding.o \
665 ..
/librpc
/rpc
/dcerpc_util.o \
666 ..
/librpc
/rpc
/binding_handle.o \
667 librpc
/rpc
/dcerpc_helpers.o \
668 $(LIBCLI_EPMAPPER_OBJ
)
670 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
673 # registry-related objects
675 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
677 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
678 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
679 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
681 REGFIO_OBJ
= registry
/regfio.o \
684 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
686 REGOBJS_OBJ
= registry
/reg_objects.o
688 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
690 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
692 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
693 registry
/reg_backend_shares.o \
694 registry
/reg_backend_netlogon_params.o \
695 registry
/reg_backend_prod_options.o \
696 registry
/reg_backend_tcpip_params.o \
697 registry
/reg_backend_hkpt_params.o \
698 registry
/reg_backend_current_version.o \
699 registry
/reg_backend_perflib.o
701 REG_BASE_OBJ
= registry
/reg_api.o \
702 registry
/reg_dispatcher.o \
703 registry
/reg_cachehook.o \
705 registry
/reg_util_internal.o \
707 $(REG_BACKENDS_BASE_OBJ
) \
708 registry
/reg_parse_internal.o \
709 lib
/cbuf.o lib
/srprs.o \
710 $(REG_INIT_BASIC_OBJ
)
712 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
713 registry
/reg_util_token.o \
714 registry
/reg_api_util.o \
715 $(REG_BACKENDS_SMBCONF_OBJ
) \
716 $(REG_INIT_SMBCONF_OBJ
)
718 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
719 $(REG_BACKENDS_EXTRA_OBJ
) \
720 $(REG_INIT_FULL_OBJ
) \
721 registry
/reg_perfcount.o \
722 autoconf
/librpc
/gen_ndr
/ndr_perfcount.o
724 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
726 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
728 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
729 autoconf
/librpc
/gen_ndr
/srv_lsa.o \
730 ..
/libcli
/lsarpc
/util_lsarpc.o
732 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
733 autoconf
/librpc
/gen_ndr
/srv_netlogon.o
735 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
736 rpc_server
/samr
/srv_samr_util.o \
737 rpc_server
/samr
/srv_samr_chgpasswd.o \
738 autoconf
/librpc
/gen_ndr
/srv_samr.o
740 RPC_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
742 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
743 autoconf
/librpc
/gen_ndr
/srv_winreg.o
745 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o autoconf
/librpc
/gen_ndr
/srv_dssetup.o
747 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
748 autoconf
/librpc
/gen_ndr
/srv_srvsvc.o
750 RPC_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/srv_wkssvc.o \
751 rpc_server
/wkssvc
/srv_wkssvc_nt.o
753 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
754 rpc_server
/svcctl
/srv_svcctl_reg.o \
755 autoconf
/librpc
/gen_ndr
/srv_svcctl.o \
756 services
/svc_winreg_glue.o \
757 services
/svc_spoolss.o services
/svc_rcinit.o \
758 services
/svc_netlogon.o services
/svc_winreg.o \
761 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
762 autoconf
/librpc
/gen_ndr
/srv_ntsvcs.o
764 RPC_NETDFS_OBJ
= autoconf
/librpc
/gen_ndr
/srv_dfs.o \
765 rpc_server
/dfs
/srv_dfs_nt.o
767 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
768 rpc_server
/spoolss
/srv_spoolss_util.o \
769 autoconf
/librpc
/gen_ndr
/srv_spoolss.o
771 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
772 rpc_server
/eventlog
/srv_eventlog_reg.o \
773 $(LIB_EVENTLOG_OBJ
) autoconf
/librpc
/gen_ndr
/srv_eventlog.o
775 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
776 autoconf
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
777 ..
/auth
/auth_sam_reply.o autoconf
/librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
779 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
780 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
781 rpc_server
/srv_access_check.o
783 RPC_CONFIG
= rpc_server
/rpc_config.o
785 RPC_SERVICE
= rpc_server
/rpc_server.o
787 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
789 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
790 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
792 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o autoconf
/librpc
/gen_ndr
/srv_echo.o
794 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o autoconf
/librpc
/gen_ndr
/srv_epmapper.o
796 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
798 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
799 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
800 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
801 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
802 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
803 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
804 $(LIBCLI_SPOOLSS_OBJ
) \
805 $(LIBCLI_WINREG_INT_OBJ
) \
806 $(LIBCLI_SRVSVC_OBJ
) \
809 $(RPC_SERVER_REGISTER_OBJ
) \
810 $(RPC_CLIENT_SCHANNEL_OBJ
) \
811 rpc_server
/rpc_sock_helper.o \
812 rpc_server
/rpc_service_setup.o \
813 rpc_client
/init_samr.o
815 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
817 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
818 autoconf
/librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
820 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
822 PRIVILEGES_OBJ
= lib
/privileges.o
824 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
826 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
827 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
828 lib
/util_sid_passdb.o \
829 lib
/util_unixsids.o passdb
/lookup_sid.o \
830 passdb
/login_cache.o @PDB_STATIC@ \
831 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
832 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
833 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
836 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
837 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
839 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
841 PROFILE_OBJ
= profile
/profile.o
842 PROFILES_OBJ
= utils
/profiles.o \
845 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
849 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
851 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
852 autoconf
/librpc
/gen_ndr
/ndr_notify.o
854 FNAME_UTIL_OBJ
= lib
/filename_util.o
856 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
857 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
858 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
859 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
860 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
861 VFS_FAKE_ACLS_OBJ
= modules
/vfs_fake_acls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o
862 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
863 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
864 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
865 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
866 VFS_CAP_OBJ
= modules
/vfs_cap.o
867 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
868 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
869 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
870 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
871 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
872 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
873 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
874 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
875 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
876 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
877 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
878 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
879 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
880 VFS_CATIA_OBJ
= modules
/vfs_catia.o
881 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
882 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
883 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
884 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
885 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
886 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
887 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
888 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
889 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
890 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
891 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
892 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
893 VFS_AIO_POSIX_OBJ
= modules
/vfs_aio_posix.o
894 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
895 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
896 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
897 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
898 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
899 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
900 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
901 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
902 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
903 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
904 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
905 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
906 VFS_MEDIA_HARMONY_OBJ
= modules
/vfs_media_harmony.o
908 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
909 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
911 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
913 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
915 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
916 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
917 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
918 AUTH_UNIX_OBJ
= auth
/auth_unix.o
919 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
920 AUTH_WBC_OBJ
= auth
/auth_wbc.o
921 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
923 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
925 auth
/server_info_sam.o \
929 auth
/auth_ntlmssp.o auth
/auth_generic.o \
930 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
932 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
934 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
936 BUILDOPT_OBJ
= smbd
/build_options.o
938 SMBD_OBJ_SRV
= smbd
/server_reload.o \
939 smbd
/files.o smbd
/connection.o \
940 smbd
/utmp.o smbd
/session.o \
941 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
942 smbd
/share_access.o smbd
/fileio.o \
943 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
944 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
945 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
946 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
947 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
948 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
949 smbd
/posix_acls.o lib
/sysacls.o \
950 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
953 printing
/printspoolss.o printing
/spoolssd.o \
954 lib
/sysquotas.o lib
/sysquotas_linux.o \
955 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o lib
/sysquotas_4B.o \
956 lib
/sysquotas_nfs.o \
960 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
961 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
962 smbd
/dmapi.o smbd
/signing.o \
964 smbd
/dnsregister.o smbd
/globals.o \
967 smbd
/smb2_negprot.o \
968 smbd
/smb2_sesssetup.o \
977 smbd
/smb2_keepalive.o \
980 smbd
/smb2_getinfo.o \
981 smbd
/smb2_setinfo.o \
983 autoconf
/librpc
/gen_ndr
/ndr_smbXsrv.o \
984 smbd
/smbXsrv_version.o \
985 smbd
/smbXsrv_session.o \
986 smbd
/smbXsrv_tcon.o \
987 smbd
/smbXsrv_open.o \
990 $(MANGLE_OBJ
) @VFS_STATIC@
992 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
994 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
995 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
996 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
997 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
998 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
999 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
1000 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
1002 $(PRIVILEGES_BASIC_OBJ
) \
1004 $(REG_API_REGF_OBJ
) \
1005 $(LIBNDR_XATTR_OBJ
) \
1006 lib
/conn_tdb.o lib
/sessionid_tdb.o
1009 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
1010 printing
/print_cups.o printing
/print_generic.o \
1011 printing
/lpq_parse.o printing
/load.o \
1012 printing
/print_iprint.o printing
/print_standard.o \
1013 printing
/printer_list.o autoconf
/librpc
/gen_ndr
/ndr_printcap.o
1015 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
1016 PRINTBACKEND_OBJ
= printing
/printing.o \
1017 printing
/nt_printing.o \
1018 printing
/nt_printing_tdb.o \
1019 printing
/nt_printing_migrate.o \
1020 printing
/nt_printing_migrate_internal.o \
1021 printing
/nt_printing_ads.o \
1022 autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
1023 ..
/librpc
/ndr
/ndr_ntprinting.o \
1024 printing
/queue_process.o \
1027 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1029 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1030 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1031 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1032 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1033 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1034 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1035 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1036 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1037 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1038 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1039 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1040 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1042 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1043 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1044 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1046 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1047 web
/swat.o web
/neg_lang.o
1049 SWAT_OBJ
= $(SWAT_OBJ1
) $(SMBD_OBJ_BASE
) $(PASSCHANGE_OBJ
)
1051 STATUS_OBJ
= utils
/status.o utils
/status_profile.o
$(SMBD_OBJ_BASE
)
1054 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1055 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1057 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1058 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1059 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1060 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1061 $(LIBMSRPC_GEN_OBJ
) \
1063 $(LIBCLI_SRVSVC_OBJ
)
1065 TESTPARM_OBJ
= utils
/testparm.o \
1066 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1069 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1070 $(LIB_NONSMBD_OBJ
) \
1071 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1073 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1074 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1075 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1077 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1079 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1080 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1081 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1082 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1083 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1084 $(LIBCLI_SAMR_OBJ
) \
1085 rpc_client
/init_lsa.o
1087 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1088 $(AFS_SETTOKEN_OBJ
) \
1089 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1090 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1091 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1092 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1093 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1095 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1097 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1099 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1100 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1101 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1102 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1103 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1104 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1105 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1106 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1107 rpcclient
/cmd_winreg.o rpcclient
/cmd_fss.o \
1110 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1111 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1112 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1113 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1114 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1115 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1116 $(LIBCLI_SPOOLSS_OBJ
) \
1117 $(LIBCLI_EVENTLOG_OBJ
) \
1118 $(LIBCLI_NTSVCS_OBJ
) \
1119 $(LIBCLI_DRSUAPI_OBJ
) \
1121 $(LIBCLI_ECHO_OBJ
) \
1122 $(LIBCLI_DSSETUP_OBJ
) \
1123 $(LIBCLI_WKSSVC_OBJ
) \
1124 $(LIBCLI_SRVSVC_OBJ
) \
1126 $(LIBCLI_SAMR_OBJ
) \
1127 $(LIBCLI_WINREG_OBJ
) \
1128 $(LIBCLI_FSRVP_OBJ
) \
1129 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1130 rpc_client
/init_samr.o
1132 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1133 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1135 LIBSMBCLIENT_THREAD_OBJ
= \
1136 libsmb
/libsmb_thread_impl.o \
1137 libsmb
/libsmb_thread_posix.o
1139 LIBSMBCLIENT_OBJ0
= \
1140 libsmb
/libsmb_cache.o \
1141 libsmb
/libsmb_compat.o \
1142 libsmb
/libsmb_context.o \
1143 libsmb
/libsmb_dir.o \
1144 libsmb
/libsmb_file.o \
1145 libsmb
/libsmb_misc.o \
1146 libsmb
/libsmb_path.o \
1147 libsmb
/libsmb_printjob.o \
1148 libsmb
/libsmb_server.o \
1149 libsmb
/libsmb_stat.o \
1150 libsmb
/libsmb_xattr.o \
1151 libsmb
/libsmb_setget.o
1153 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1154 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1155 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1156 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1157 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1158 $(LIBCLI_SRVSVC_OBJ
) \
1161 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1163 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1164 client
/dnsbrowse.o \
1167 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1168 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1169 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1170 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1171 $(DISPLAY_SEC_OBJ
) \
1172 $(LIBCLI_SRVSVC_OBJ
)
1174 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1175 ..
/lib
/smbconf
/smbconf_util.o \
1176 ..
/lib
/smbconf
/smbconf_txt.o \
1177 lib
/smbconf
/smbconf_reg.o \
1178 lib
/smbconf
/smbconf_init.o
1180 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1182 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1183 $(LIB_NONSMBD_OBJ
) \
1188 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1189 lib
/pthreadpool
/tests.o
$(LIBREPLACE_OBJ
)
1191 LIBNET_OBJ
= libnet
/libnet_join.o \
1192 libnet
/libnet_keytab.o \
1193 autoconf
/librpc
/gen_ndr
/ndr_libnet_join.o
1195 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1196 libnet
/libnet_dssync_passdb.o \
1197 libnet
/libnet_dssync_keytab.o \
1198 ..
/libcli
/drsuapi
/repl_decrypt.o
1200 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1201 libnet
/libnet_samsync_ldif.o \
1202 libnet
/libnet_samsync_passdb.o \
1203 libnet
/libnet_samsync_display.o \
1204 libnet
/libnet_samsync_keytab.o \
1205 ..
/libcli
/samsync
/decrypt.o
1207 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1208 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1209 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1210 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1211 utils
/net_idmap_check.o utils
/interact.o \
1212 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1213 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1214 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1215 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1216 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1217 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1218 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1219 utils
/net_dom.o utils
/net_share.o \
1220 utils
/net_g_lock.o \
1221 utils
/net_serverid.o \
1222 utils
/net_eventlog.o \
1223 utils
/net_printing.o \
1224 utils
/net_rpc_trust.o \
1225 utils
/net_rpc_conf.o\
1226 $(LIBNDR_PREG_OBJ
) \
1227 $(LIBCLI_DRSUAPI_OBJ
) \
1228 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1229 $(LIBCLI_DSSETUP_OBJ
) \
1230 $(LIBCLI_SVCCTL_OBJ
) \
1231 $(LIBCLI_WKSSVC_OBJ
) \
1232 registry
/reg_parse.o registry
/reg_format.o \
1233 registry
/reg_import.o
1235 # these are not processed by make proto
1236 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1238 NET_OBJ
= $(NET_OBJ1
) \
1239 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@ \
1242 $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
) \
1243 $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1246 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1247 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1248 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1250 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1251 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1253 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1254 torture
/denytest.o torture
/mangle_test.o \
1256 torture
/test_async_echo.o \
1257 torture
/test_smbsock_any_connect.o \
1258 torture
/test_nttrans_create.o \
1259 torture
/test_nttrans_fsctl.o \
1260 torture
/test_notify_online.o \
1261 torture
/test_addrchange.o \
1262 torture
/test_case_insensitive.o \
1263 torture
/test_posix_append.o \
1264 torture
/test_smb2.o \
1265 torture
/test_chain3.o \
1266 torture
/test_authinfo_structs.o \
1267 torture
/test_cleanup.o \
1268 torture
/test_ctdbconn.o \
1269 torture
/test_msg.o \
1270 torture
/test_notify.o \
1271 torture
/test_dbwrap_watch.o \
1272 torture
/test_idmap_tdb_common.o \
1273 torture
/t_strappend.o
1275 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1276 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LOCKING_OBJ
) \
1277 @LIBWBCLIENT_STATIC@ \
1278 torture
/wbc_async.o \
1279 ..
/nsswitch
/wb_reqtrans.o \
1280 ..
/libcli
/lsarpc
/util_lsarpc.o \
1281 lib
/filename_util.o \
1282 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1284 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1285 $(LIB_NONSMBD_OBJ
) \
1288 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o ..
/lib
/util
/setid.o
$(LIBSAMBAUTIL_OBJ
)
1290 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1291 torture
/vfstest_chain.o
1293 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1295 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1296 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1297 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1299 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1300 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1301 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1302 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1305 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1307 $(LIB_NONSMBD_OBJ
) \
1308 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1309 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1312 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1314 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1315 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1316 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
1317 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
1319 SHARESEC_OBJ0
= utils
/sharesec.o
1320 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1324 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1325 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1327 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1328 @libreplacedir@
/test/getifaddrs.o \
1329 @libreplacedir@
/test/os2_delete.o \
1330 @libreplacedir@
/test/strptime.o \
1331 @libreplacedir@
/test/main.o \
1332 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1334 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1336 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1337 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1338 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1340 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1341 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1343 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1344 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1345 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1347 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1348 $(AFS_SETTOKEN_OBJ
) \
1349 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1352 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1354 IDMAP_TDB_COMMON_OBJ
= winbindd
/idmap_tdb_common.o
1356 IDMAP_UTIL_OBJ
= winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) \
1357 $(IDMAP_TDB_COMMON_OBJ
)
1359 IDMAP_OBJ
= winbindd
/idmap.o
$(IDMAP_UTIL_OBJ
) @IDMAP_STATIC@
1361 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1364 winbindd
/idmap_hash
/idmap_hash.o \
1365 winbindd
/idmap_hash
/mapfile.o
1368 winbindd
/winbindd.o \
1369 winbindd
/winbindd_group.o \
1370 winbindd
/winbindd_util.o \
1371 winbindd
/winbindd_cache.o \
1372 winbindd
/winbindd_pam.o \
1373 winbindd
/winbindd_misc.o \
1374 winbindd
/winbindd_cm.o \
1375 winbindd
/winbindd_wins_byip.o \
1376 winbindd
/winbindd_wins_byname.o \
1377 winbindd
/winbindd_msrpc.o \
1378 winbindd
/winbindd_rpc.o \
1379 winbindd
/winbindd_reconnect.o \
1380 winbindd
/winbindd_ads.o \
1381 winbindd
/winbindd_samr.o \
1382 winbindd
/winbindd_dual.o \
1383 winbindd
/winbindd_dual_ndr.o \
1384 winbindd
/winbindd_dual_srv.o \
1385 autoconf
/librpc
/gen_ndr
/ndr_wbint_c.o \
1386 autoconf
/librpc
/gen_ndr
/srv_wbint.o \
1387 autoconf
/librpc
/gen_ndr
/ndr_wbint.o \
1388 autoconf
/librpc
/gen_ndr
/ndr_idmap.o \
1389 winbindd
/winbindd_async.o \
1390 winbindd
/winbindd_creds.o \
1391 winbindd
/winbindd_cred_cache.o \
1392 winbindd
/winbindd_ccache_access.o \
1393 winbindd
/winbindd_domain.o \
1394 winbindd
/winbindd_idmap.o \
1395 winbindd
/winbindd_locator.o \
1396 winbindd
/winbindd_ndr.o \
1397 winbindd
/wb_ping.o \
1398 winbindd
/wb_lookupsid.o \
1399 winbindd
/wb_lookupsids.o \
1400 winbindd
/wb_lookupname.o \
1401 winbindd
/wb_uid2sid.o \
1402 winbindd
/wb_gid2sid.o \
1403 winbindd
/wb_sids2xids.o \
1404 winbindd
/wb_queryuser.o \
1405 winbindd
/wb_lookupuseraliases.o \
1406 winbindd
/wb_lookupusergroups.o \
1407 winbindd
/wb_getpwsid.o \
1408 winbindd
/wb_gettoken.o \
1409 winbindd
/wb_seqnum.o \
1410 winbindd
/wb_seqnums.o \
1411 winbindd
/wb_group_members.o \
1412 winbindd
/wb_getgrsid.o \
1413 winbindd
/wb_query_user_list.o \
1414 winbindd
/wb_fill_pwent.o \
1415 winbindd
/wb_next_pwent.o \
1416 winbindd
/wb_next_grent.o \
1417 winbindd
/wb_dsgetdcname.o \
1418 winbindd
/winbindd_lookupsid.o \
1419 winbindd
/winbindd_lookupsids.o \
1420 winbindd
/winbindd_lookupname.o \
1421 winbindd
/winbindd_sid_to_uid.o \
1422 winbindd
/winbindd_sid_to_gid.o \
1423 winbindd
/winbindd_uid_to_sid.o \
1424 winbindd
/winbindd_gid_to_sid.o \
1425 winbindd
/winbindd_sids_to_xids.o \
1426 winbindd
/winbindd_allocate_uid.o \
1427 winbindd
/winbindd_allocate_gid.o \
1428 winbindd
/winbindd_getpwsid.o \
1429 winbindd
/winbindd_getpwnam.o \
1430 winbindd
/winbindd_getpwuid.o \
1431 winbindd
/winbindd_getsidaliases.o \
1432 winbindd
/winbindd_getuserdomgroups.o \
1433 winbindd
/winbindd_getgroups.o \
1434 winbindd
/winbindd_show_sequence.o \
1435 winbindd
/winbindd_getgrgid.o \
1436 winbindd
/winbindd_getgrnam.o \
1437 winbindd
/winbindd_getusersids.o \
1438 winbindd
/winbindd_lookuprids.o \
1439 winbindd
/winbindd_setpwent.o \
1440 winbindd
/winbindd_getpwent.o \
1441 winbindd
/winbindd_endpwent.o \
1442 winbindd
/winbindd_setgrent.o \
1443 winbindd
/winbindd_getgrent.o \
1444 winbindd
/winbindd_endgrent.o \
1445 winbindd
/winbindd_dsgetdcname.o \
1446 winbindd
/winbindd_getdcname.o \
1447 winbindd
/winbindd_list_users.o \
1448 winbindd
/winbindd_list_groups.o \
1449 winbindd
/winbindd_check_machine_acct.o \
1450 winbindd
/winbindd_change_machine_acct.o \
1451 winbindd
/winbindd_ping_dc.o \
1452 winbindd
/winbindd_pam_auth.o \
1453 winbindd
/winbindd_pam_auth_crap.o \
1454 winbindd
/winbindd_pam_chauthtok.o \
1455 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1456 winbindd
/winbindd_pam_logoff.o \
1460 auth
/check_samsec.o \
1461 auth
/server_info.o \
1462 auth
/server_info_sam.o \
1465 ..
/nsswitch
/wb_reqtrans.o
1468 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1469 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1470 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1471 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1472 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1473 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1474 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1475 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1476 $(NPA_TSTREAM_OBJ
) \
1477 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1478 $(LIBADS_SERVER_OBJ
) \
1479 $(TDB_VALIDATE_OBJ
) \
1480 $(LIBCLI_DSSETUP_OBJ
) \
1482 $(LIBCLI_SAMR_OBJ
) \
1483 rpc_client
/init_samr.o \
1486 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1487 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1488 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1489 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1491 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1493 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1494 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1496 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1497 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1499 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1500 ..
/lib
/iniparser_build
/strlib.o
1502 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1503 $(SOCKET_WRAPPER_OBJ
)
1505 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1506 $(SOCKET_WRAPPER_OBJ
)
1508 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1509 $(SOCKET_WRAPPER_OBJ
)
1511 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1512 $(SOCKET_WRAPPER_OBJ
)
1514 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1515 $(SOCKET_WRAPPER_OBJ
)
1518 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1520 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1521 ${LIBADS_SERVER_OBJ} \
1522 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1524 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1525 $(AFS_SETTOKEN_OBJ
) \
1526 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1527 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1530 VLP_OBJ
= printing
/tests
/vlp.o \
1531 ..
/lib
/util
/util_tdb.o \
1532 ..
/lib
/util
/signal.o \
1533 ..
/lib
/util
/debug.o \
1534 ..
/lib
/util
/util_strlist.o \
1535 ..
/lib
/util
/fault.o \
1536 ..
/lib
/util
/become_daemon.o \
1537 ..
/lib
/util
/substitute.o \
1539 ..
/lib
/util
/time.o \
1540 ..
/lib
/util
/charset
/util_str.o \
1541 ..
/lib
/util
/charset
/pull_push.o \
1542 ..
/lib
/util
/charset
/util_unistr_w.o \
1543 ..
/lib
/util
/charset
/codepoints.o \
1544 ..
/lib
/util
/charset
/iconv.o \
1545 ..
/lib
/util
/charset
/weird.o \
1546 ..
/lib
/util
/charset
/convert_string.o \
1547 $(CHARSET_MACOSXFS_OBJ
) \
1548 ..
/lib
/util
/talloc_stack.o \
1549 ..
/lib
/util
/smb_threads.o \
1550 ..
/lib
/util
/xfile.o \
1551 ..
/lib
/util
/util_file.o \
1552 ..
/lib
/util
/util.o \
1553 ..
/lib
/util
/util_str_common.o \
1554 ..
/lib
/util
/data_blob.o \
1555 ..
/dynconfig
/dynconfig.o \
1556 ..
/lib
/util
/setid.o \
1557 $(LIBSAMBAUTIL_OBJ
) \
1560 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1564 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1565 $(LIB_NONSMBD_OBJ
) \
1570 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1572 $(LIB_NONSMBD_OBJ
) \
1576 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1578 $(LIB_NONSMBD_OBJ
) \
1582 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1584 $(LIB_NONSMBD_OBJ
) \
1588 ######################################################################
1590 ######################################################################
1591 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1592 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1593 $(EXTRA_ALL_TARGETS
)
1595 basics
:: samba3-idl mkparam
1597 nss_modules
:: $(NSS_MODULES
)
1599 pam_modules
:: $(PAM_MODULES
)
1601 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1603 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1605 gpext_modules
:: $(GPEXT_MODULES
)
1607 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1609 smbtorture3
: SHOWFLAGS bin
/smbtorture3
1611 masktest
: SHOWFLAGS bin
/masktest
1613 msgtest
: SHOWFLAGS bin
/msgtest
1615 locktest
: SHOWFLAGS bin
/locktest
1617 smbcacls
: SHOWFLAGS bin
/smbcacls
1619 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1621 locktest2
: SHOWFLAGS bin
/locktest2
1623 debug2html
: SHOWFLAGS bin
/debug2html
1625 smbfilter
: SHOWFLAGS bin
/smbfilter
1627 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1629 sharesec
: SHOWFLAGS bin
/sharesec
1631 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1633 replacetort
: SHOWFLAGS bin
/replacetort
1635 smbconftort
: SHOWFLAGS bin
/smbconftort
1637 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1639 timelimit
: SHOWFLAGS bin
/timelimit
1641 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1642 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1643 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1645 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1647 modules
:: SHOWFLAGS
$(MODULES
)
1650 #####################################################################
1651 ## Perl IDL Compiler
1653 IDL_FILES
= librpc
/idl
/messaging.idl \
1654 librpc
/idl
/libnetapi.idl \
1655 librpc
/idl
/wbint.idl \
1656 librpc
/idl
/perfcount.idl \
1657 librpc
/idl
/secrets.idl \
1658 librpc
/idl
/open_files.idl \
1659 librpc
/idl
/libnet_join.idl
1662 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1663 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1664 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1665 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1668 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1669 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1670 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1671 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1673 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
1675 autoconf
/lib
/param
/param_local.h
:
1676 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file autoconf
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1677 autoconf
/lib
/param
/param_global.h
:
1678 $(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
1679 autoconf
/source3
/param
/param_global.h
:
1680 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/param
/loadparm.c
--file autoconf
/source3
/param
/param_global.h
--generate-scope
=GLOBAL
1681 autoconf
/lib
/param
/param_proto.h
:
1682 $(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
1683 autoconf
/lib
/param
/s3_param.h
:
1684 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/s3_param.h
1687 #####################################################################
1690 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1691 $(EVERYTHING_PROGS
) \
1695 .SUFFIXES
: .c .o .lo
1697 .PHONY
: showflags SHOWFLAGS
1699 showflags
: SHOWFLAGS
1702 @echo
"Using CFLAGS = $(CFLAGS)"
1703 @echo
" PICFLAG = $(PICFLAG)"
1704 @echo
" LIBS = $(LIBS)"
1705 @echo
" LDFLAGS = $(LDFLAGS)"
1706 @echo
" DYNEXP = $(DYNEXP)"
1707 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1708 @echo
" SHLIBEXT = @SHLIBEXT@"
1709 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1711 # "showcflags" target for debuggin how CFLAGS are composed:
1713 .PHONY
: showcflags SHOWCFLAGS
1715 showcflags
: SHOWCFLAGS
1718 @echo
"CFLAGS = $(CFLAGS)"
1719 @echo
"FLAGS = $(FLAGS)"
1721 @echo
"FLAGS1 = @FLAGS1@"
1722 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1723 @echo
"CPPFLAGS = $(CPPFLAGS)"
1724 @echo
"ISA = $(ISA)"
1726 MAKEDIR
= || exec false
; \
1727 if
test -d
"$$dir"; then
:; else \
1728 echo mkdir
"$$dir"; \
1729 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1730 test -d
"$$dir" || \
1732 exec false
; fi || exec false
1734 # Run a static checker.
1735 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1736 # Compile a source file.
1737 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1738 # Compile a source file with the installation paths defined.
1739 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1741 COMPILE
= $(COMPILE_CC
)
1744 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1745 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1746 @if
test -n
"$(CC_CHECKER)"; then \
1747 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1750 @echo Compiling
$*.c
1751 @
$(COMPILE
) && exit
0;\
1752 echo
"The following command failed:" 1>&2;\
1753 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1754 $(COMPILE_CC) >/dev/null 2>&1
1755 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1757 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1759 # this adds support for precompiled headers. To use it, install a snapshot
1760 # of gcc-3.4 and run 'make pch' before you do the main build.
1762 rm -f $(PRECOMPILED_HEADER)
1763 $(MAKE) $(PRECOMPILED_HEADER)
1765 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1768 BINARY_PREREQS = bin/.dummy
1770 # These dependencies are only approximately correct: we want to make
1771 # sure Samba's paths are updated if ./configure is re-run. Really it
1772 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1773 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1774 # rebuild it's a bit hard.
1776 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1777 @echo Compiling $*.c
1778 @$(COMPILE_CC_PATH) && exit 0;\
1779 echo "The following command failed
:" 1>&2;\
1780 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1781 $(COMPILE_CC_PATH) >/dev/null 2>&1
1783 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1784 @echo Compiling $*.c
1785 @$(COMPILE_CC_PATH) && exit 0;\
1786 echo "The following command failed
:" 1>&2;\
1787 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1788 $(COMPILE_CC_PATH) >/dev/null 2>&1
1790 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1791 @echo Compiling $*.c
1792 @$(COMPILE_CC_PATH) && exit 0;\
1793 echo "The following command failed
:" 1>&2;\
1794 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1795 $(COMPILE_CC_PATH) >/dev/null 2>&1
1797 ### Start section of object files that require PTHREAD_CFLAGS
1798 ../nsswitch/wins.o: ../nsswitch/wins.c
1799 @echo Compiling $*.c
1800 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1801 echo "The following command failed
:" 1>&2;\
1802 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1803 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1805 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1806 @echo Compiling $*.c
1807 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1808 echo "The following command failed
:" 1>&2;\
1809 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1810 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1812 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1813 @echo Compiling $*.c
1814 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1815 echo "The following command failed
:" 1>&2;\
1816 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1817 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1819 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1820 @echo Compiling $*.c
1821 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1822 echo "The following command failed
:" 1>&2;\
1823 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1824 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1825 ### End section of object files that require PTHREAD_CFLAGS
1827 lib/version.o: lib/version.c include/autoconf/version.h
1828 @echo Compiling $*.c
1829 @$(COMPILE_CC_PATH) && exit 0;\
1830 echo "The following command failed
:" 1>&2;\
1831 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1832 $(COMPILE_CC_PATH) >/dev/null 2>&1
1834 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1835 @echo Compiling $*.c
1836 @$(COMPILE_CC_PATH) && exit 0;\
1837 echo "The following command failed
:" 1>&2;\
1838 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1839 $(COMPILE_CC_PATH) >/dev/null 2>&1
1841 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1843 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1846 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1847 dir=bin $(MAKEDIR); fi
1848 @: >> $@ || : > $@ # what a fancy emoticon!
1850 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1852 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1853 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1854 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1855 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
1856 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1858 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1860 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1861 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1862 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1863 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1865 bin/swat: $(BINARY_PREREQS) $(SWAT_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1867 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1868 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1869 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1870 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
1871 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1873 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1875 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1876 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1877 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
1878 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1880 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1882 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1883 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1884 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1885 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1887 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1889 @$(CC) -o $@ $(NET_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1890 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1891 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1892 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
1893 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(LIBNETAPI_LIBS) $(TERMLDFLAGS) $(TERMLIBS)
1895 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1897 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1898 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1900 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1902 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1903 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1904 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1906 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1908 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1909 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1911 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1913 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1914 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1916 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1918 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1919 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1920 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1921 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
1922 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1924 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1926 @$(CC) -DUSING_SMBCONTROL -o $@ \
1927 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1928 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1929 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1931 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1933 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1934 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1935 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1937 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1939 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1940 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1941 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1943 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1945 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1946 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1947 $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1949 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1951 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1952 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1953 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1955 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1957 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1958 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1960 bin/smbtorture3: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT) $(IDMAP_UTIL_OBJ)
1962 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
1963 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1964 $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1966 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1968 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1969 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1970 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1972 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1974 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1975 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1977 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1979 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1980 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1981 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
1983 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
1985 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1987 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
1989 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1990 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1991 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1992 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1994 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
1996 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1997 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1998 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2000 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2002 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2003 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2004 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2006 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2008 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2009 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2010 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2012 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
2014 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2015 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
2017 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
2019 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2020 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
2022 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2024 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2025 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2026 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2027 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2029 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2031 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2034 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2036 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2037 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2038 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2039 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
2040 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2042 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2044 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2045 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2047 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2049 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2050 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2051 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2052 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2054 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2056 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2057 $(LIBS) $(LIBTALLOC_LIBS)
2059 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2061 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2062 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2063 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2064 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2066 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2068 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2071 #####################################################################
2075 #####################################################################
2077 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2080 #-------------------------------------------------------------------
2084 #-------------------------------------------------------------------
2087 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2088 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2090 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2092 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2093 @echo Linking non-shared library $@
2094 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2095 libtalloc: $(LIBTALLOC)
2099 $(LIBTALLOC_STATIC_TARGET)
2102 cleanlibs:: cleanlibtalloc
2106 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2107 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2108 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2110 showlibs:: showlibtalloc
2112 #-------------------------------------------------------------------
2116 #-------------------------------------------------------------------
2118 LIBTEVENT_OBJ0 = @LIBTEVENT_OBJ0@
2119 LIBTEVENT_OBJ = $(LIBTEVENT_OBJ0) $(LIBREPLACE_OBJ)
2121 LIBTEVENT_STATIC_TARGET=@LIBTEVENT_STATIC_TARGET@
2123 $(LIBTEVENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTEVENT_OBJ0)
2124 @echo Linking non-shared library $@
2125 @-$(AR) -rc $@ $(LIBTEVENT_OBJ0)
2127 libtevent: $(LIBTEVENT)
2131 $(LIBTEVENT_STATIC_TARGET)
2134 cleanlibs:: cleanlibtevent
2138 @echo "LIBTEVENT_STATIC
= @LIBTEVENT_STATIC@
"
2139 @echo "LIBTEVENT_STATIC_TARGET
= $(LIBTEVENT_STATIC_TARGET
)"
2140 @echo "LIBTEVENT
= $(LIBTEVENT
)"
2142 showlibs:: showlibtevent
2144 #-------------------------------------------------------------------
2148 #-------------------------------------------------------------------
2150 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2151 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2153 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2155 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2156 @echo Linking non-shared library $@
2157 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2163 $(LIBTDB_STATIC_TARGET)
2166 cleanlibs:: cleanlibtdb
2170 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2171 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2172 @echo "LIBTDB
= $(LIBTDB
)"
2174 showlibs:: showlibtdb
2176 #-------------------------------------------------------------------
2180 #-------------------------------------------------------------------
2182 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2183 ../nsswitch/libwbclient/wbc_util.o \
2184 ../nsswitch/libwbclient/wbc_pwd.o \
2185 ../nsswitch/libwbclient/wbc_idmap.o \
2186 ../nsswitch/libwbclient/wbc_sid.o \
2187 ../nsswitch/libwbclient/wbc_guid.o \
2188 ../nsswitch/libwbclient/wbc_pam.o
2190 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2193 ../lib/util/blocking.o \
2194 $(SOCKET_WRAPPER_OBJ)
2196 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2197 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2198 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2199 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2200 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2201 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2202 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2204 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2205 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2207 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2208 @echo Linking shared library $@
2209 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2210 @SONAMEFLAG@`basename $@`
2212 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2214 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2216 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2217 @echo Linking non-shared library $@
2218 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2220 libwbclient: $(LIBWBCLIENT)
2224 $(LIBWBCLIENT_SYMS) \
2225 $(LIBWBCLIENT_STATIC_TARGET) \
2226 $(LIBWBCLIENT_SHARED_TARGET) \
2227 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2229 installlibwbclient:: installdirs libwbclient
2230 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2231 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2232 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2233 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2234 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2235 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2237 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2238 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2239 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2241 uninstalllibwbclient::
2242 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2243 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2244 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2245 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2248 installlibs:: @INSTALL_LIBWBCLIENT@
2249 uninstalllibs:: uninstalllibwbclient
2250 cleanlibs:: cleanlibwbclient
2251 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2255 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2256 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2257 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2259 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2260 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2261 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2262 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2263 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2264 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2266 showlibs:: showlibwbclient
2269 #-------------------------------------------------------------------
2273 #-------------------------------------------------------------------
2275 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2277 autoconf/librpc/gen_ndr/ndr_libnetapi.o \
2278 lib/netapi/libnetapi.o \
2279 lib/netapi/joindomain.o \
2280 lib/netapi/serverinfo.o \
2281 lib/netapi/getdc.o \
2283 lib/netapi/group.o \
2284 lib/netapi/localgroup.o \
2287 lib/netapi/share.o \
2289 lib/netapi/shutdown.o \
2290 lib/netapi/netlogon.o
2292 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2294 $(REG_SMBCONF_OBJ) \
2295 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2296 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2297 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2298 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2299 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2301 $(LIBCLI_INITSHUTDOWN_OBJ) \
2302 $(LIBCLI_WKSSVC_OBJ) \
2303 $(LIBCLI_SRVSVC_OBJ) \
2305 $(LIBCLI_SAMR_OBJ) \
2306 $(RPC_CLIENT_SCHANNEL_OBJ) \
2307 rpc_client/init_samr.o
2309 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2310 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2311 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2312 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2313 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2314 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2315 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2317 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2318 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2320 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2321 @echo Linking shared library $@
2322 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2323 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2324 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2325 @SONAMEFLAG@`basename $@`
2327 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2329 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2331 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2332 @echo Linking non-shared library $@
2333 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2335 libnetapi: $(LIBNETAPI)
2340 $(LIBNETAPI_STATIC_TARGET) \
2341 $(LIBNETAPI_SHARED_TARGET) \
2342 $(LIBNETAPI_SHARED_TARGET_SONAME)
2344 installlibnetapi:: installdirs libnetapi
2345 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2346 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2347 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2348 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2349 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2350 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2352 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2353 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2354 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2356 uninstalllibnetapi::
2357 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2358 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2359 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2360 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2363 installlibs:: @INSTALL_LIBNETAPI@
2364 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2365 cleanlibs:: cleanlibnetapi
2366 shlibs test_shlibs: @LIBNETAPI_SHARED@
2370 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2371 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2372 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2374 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2375 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2376 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2377 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2378 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2379 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2381 showlibs:: showlibnetapi
2383 #-------------------------------------------------------------------
2387 #-------------------------------------------------------------------
2389 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2390 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2391 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2392 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2393 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2394 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2395 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2396 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2398 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2399 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2401 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2402 @echo Linking shared library $@
2403 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2404 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2405 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2406 @SONAMEFLAG@`basename $@`
2408 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2410 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2412 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2413 @echo Linking non-shared library $@
2414 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2416 libsmbclient: $(LIBSMBCLIENT)
2420 $(LIBSMBCLIENT_SHARED_TARGET) \
2421 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2422 $(LIBSMBCLIENT_STATIC_TARGET)
2424 installlibsmbclient:: installdirs libsmbclient
2425 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2426 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2427 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2428 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2429 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2430 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2432 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2433 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2434 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2436 installclientlib:: installlibsmbclient
2438 uninstalllibsmbclient::
2439 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2440 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2441 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2442 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2444 uninstallclientlib:: uninstalllibsmbclient
2447 installlibs:: @INSTALL_LIBSMBCLIENT@
2448 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2449 cleanlibs:: cleanlibsmbclient
2450 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2454 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2455 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2456 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2458 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2459 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2460 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2461 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2462 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2463 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2465 showlibs:: showlibsmbclient
2467 #-------------------------------------------------------------------
2471 #-------------------------------------------------------------------
2473 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2475 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2477 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2478 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2479 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2480 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2481 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2482 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2483 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2484 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2486 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2487 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2489 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2490 @echo Linking shared library $@
2491 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2492 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2493 @SONAMEFLAG@`basename $@`
2495 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2497 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2499 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2500 @echo Linking non-shared library $@
2501 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2503 libsmbsharemodes: $(LIBSMBSHAREMODES)
2505 cleanlibsmbsharemodes::
2507 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2508 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2509 $(LIBSMBSHAREMODES_STATIC_TARGET)
2511 installlibsmbsharemodes:: installdirs libsmbsharemodes
2512 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2513 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2514 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2515 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2516 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2517 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2519 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2520 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2521 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2523 uninstalllibsmbsharemodes::
2524 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2525 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2526 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2527 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2529 libs:: libsmbsharemodes
2530 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2531 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2532 cleanlibs:: cleanlibsmbsharemodes
2533 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2535 showlibsmbsharemodes:
2537 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2538 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2539 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2540 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2542 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2543 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2544 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2545 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2546 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2547 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2549 showlibs:: showlibsmbsharemodes
2551 #####################################################################
2555 #####################################################################
2557 # Linker command to link our shared libraries:
2558 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2559 -o $@ @SONAMEFLAG@`basename $@`
2560 # Linker command to link samba internal plugin modules:
2561 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2562 -o $@ @SONAMEFLAG@`basename $@`
2564 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2566 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2568 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2570 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2572 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2574 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2576 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2578 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2580 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2582 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2584 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2586 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2588 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2590 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2592 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2594 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2596 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2598 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2600 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2602 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2604 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2606 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2608 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2610 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2612 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2614 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2616 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2618 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2620 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2622 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2623 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2624 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2627 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2629 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2630 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2634 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2636 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2637 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2638 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2640 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
2642 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2643 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2644 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2646 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2648 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2649 $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2651 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBWBCLIENT)
2652 @echo "Linking shared library
$@
"
2653 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2654 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2660 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2661 @echo "Building plugin
$@
"
2662 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2664 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2665 @echo "Building plugin
$@
"
2666 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2668 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2669 @echo "Building plugin
$@
"
2670 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2672 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2673 @echo "Building plugin
$@
"
2674 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2676 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2677 @echo "Building plugin
$@
"
2678 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2680 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2681 @echo "Building plugin
$@
"
2682 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2684 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2685 @echo "Building plugin
$@
"
2686 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2688 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2689 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2690 @echo "Building plugin
$@
"
2691 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2692 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2694 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2695 @echo "Building plugin
$@
"
2696 @$(SHLD_MODULE) passdb/pdb_tdb.o
2698 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2699 @echo "Building plugin
$@
"
2700 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2702 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2703 @echo "Building plugin
$@
"
2704 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2706 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2707 @echo "Building plugin
$@
"
2708 @$(SHLD_MODULE) winbindd/idmap_rid.o
2710 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2711 @echo "Building plugin
$@
"
2712 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2714 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2715 @echo "Building plugin
$@
"
2716 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2718 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2719 @echo "Building plugin
$@
"
2720 @$(SHLD_MODULE) winbindd/idmap_ad.o
2722 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2723 @echo "Building plugin
$@
"
2724 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2726 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2727 @echo "Building plugin
$@
"
2728 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2730 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2731 @echo "Building plugin
$@
"
2732 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2734 # NOTE, there is no build rule for a dynamic default VFS module because
2735 # this one MUST MUST MUST be built statically.
2737 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2738 @echo "Building plugin
$@
"
2739 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2741 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2742 @echo "Building plugin
$@
"
2743 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2745 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2746 @echo "Building plugin
$@
"
2747 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2749 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2750 @echo "Building plugin
$@
"
2751 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2753 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2754 @echo "Building plugin
$@
"
2755 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2757 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2758 @echo "Building plugin
$@
"
2759 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2761 bin/fake_acls.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_ACLS_OBJ)
2762 @echo "Building plugin
$@
"
2763 @$(SHLD_MODULE) $(VFS_FAKE_ACLS_OBJ)
2765 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2766 @echo "Building plugin
$@
"
2767 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2769 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2770 @echo "Building plugin
$@
"
2771 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2773 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2774 @echo "Building plugin
$@
"
2775 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2777 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2778 @echo "Building plugin
$@
"
2779 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2781 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2782 @echo "Building plugin
$@
"
2783 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2785 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2786 @echo "Building plugin
$@
"
2787 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2789 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2790 @echo "Building plugin
$@
"
2791 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2793 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2794 @echo "Building plugin
$@
"
2795 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2797 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2798 @echo "Building plugin
$@
"
2799 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2801 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2802 @echo "Building plugin
$@
"
2803 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2805 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2806 @echo "Building plugin
$@
"
2807 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2809 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2810 @echo "Building plugin
$@
"
2811 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2813 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2814 @echo "Building plugin
$@
"
2815 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2817 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2818 @echo "Building plugin
$@
"
2819 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2821 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2822 @echo "Building plugin
$@
"
2823 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2825 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2826 @echo "Building plugin
$@
"
2827 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2829 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2830 @echo "Building plugin
$@
"
2831 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2833 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2834 @echo "Building plugin
$@
"
2835 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2837 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2838 @echo "Building plugin
$@
"
2839 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2841 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2842 @echo "Building plugin
$@
"
2843 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2845 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2846 @echo "Building plugin
$@
"
2847 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2849 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2850 @echo "Building plugin
$@
"
2851 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2853 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2854 @echo "Building plugin
$@
"
2855 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2857 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2858 @echo "Building plugin
$@
"
2859 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2861 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2862 @echo "Building plugin
$@
"
2863 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2865 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2866 @echo "Building plugin
$@
"
2867 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2869 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2870 @echo "Building plugin
$@
"
2871 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2873 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2874 @echo "Building plugin
$@
"
2875 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2877 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2878 @echo "Building plugin
$@
"
2879 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2881 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
2882 @echo "Building plugin
$@
"
2883 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
2885 bin/aio_posix.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_POSIX_OBJ)
2886 @echo "Building plugin
$@
"
2887 @$(SHLD_MODULE) $(VFS_AIO_POSIX_OBJ)
2889 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
2890 @echo "Building plugin
$@
"
2891 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
2893 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2894 @echo "Building plugin
$@
"
2895 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2897 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2898 @echo "Building plugin
$@
"
2899 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2901 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2902 @echo "Building plugin
$@
"
2903 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2905 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2906 @echo "Building plugin
$@
"
2907 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2909 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2910 @echo "Building plugin
$@
"
2911 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2913 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2914 @echo "Building plugin
$@
"
2915 @$(SHLD_MODULE) libgpo/gpext/registry.o
2917 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2918 @echo "Building plugin
$@
"
2919 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2921 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2922 @echo "Building plugin
$@
"
2923 @$(SHLD_MODULE) libgpo/gpext/security.o
2925 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2926 @echo "Building plugin
$@
"
2927 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2929 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
2930 @echo "Building plugin
$@
"
2931 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
2933 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
2934 @echo "Building plugin
$@
"
2935 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
2937 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
2938 @echo "Building plugin
$@
"
2939 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
2941 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
2942 @echo "Building plugin
$@
"
2943 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
2945 bin/media_harmony.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_MEDIA_HARMONY_OBJ)
2946 @echo "Building plugin
$@
"
2947 @$(SHLD_MODULE) $(VFS_MEDIA_HARMONY_OBJ)
2949 #########################################################
2950 ## IdMap NSS plugins
2952 ## None here right now
2953 #########################################################
2955 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2957 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2958 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) \
2961 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2962 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
2964 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2965 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
2966 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2967 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
2969 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBWBCLIENT) $(LIBTDB)
2970 @echo "Linking shared library
$@
"
2971 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2972 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
2973 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
2975 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
2977 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2978 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2980 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
2982 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2983 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2985 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
2987 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
2989 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
2991 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
2993 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
2995 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2996 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2998 bin/timelimit: script/tests/timelimit.o
3000 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
3002 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
3004 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3005 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBWBCLIENT_LIBS) \
3006 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3008 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
3010 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3011 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3012 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3013 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
3015 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB)
3017 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3018 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3021 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
3023 install-dbwrap_tool:: bin/dbwrap_tool
3024 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3026 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(POPT_LIBS)
3028 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3029 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3032 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
3034 install-dbwrap_torture:: bin/dbwrap_torture
3035 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3037 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTEVENT) $(LIBTDB) $(LIBWBCLIENT)
3039 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3040 $(LDFLAGS) $(DYNEXP) \
3041 $(LIBS) $(POPT_LIBS) \
3042 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3043 $(LIBTALLOC_LIBS) $(LIBTEVENT_LIBS) $(LIBTDB_LIBS)
3045 install:: installservers installbin installman \
3046 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3047 @INSTALL_PAM_MODULES@ installlibs installmo
3049 install-everything:: install installmodules
3051 # DESTDIR is used here to prevent packagers wasting their time
3052 # duplicating the Makefile. Remove it and you will have the privelege
3053 # of package each samba release for muliple versions of multiple
3054 # distributions and operating systems, or at least supplying patches
3055 # to all the packaging files required for this, prior to committing
3056 # the removal of DESTDIR. Do not remove it even though you think it
3060 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3061 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3062 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3063 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3064 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3066 installservers:: all installdirs
3067 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3069 installbin:: all installdirs
3070 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3072 # Some symlinks are required for the 'probing' of modules.
3073 # This mechanism should go at some point..
3074 installmodules:: modules installdirs
3075 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3076 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3077 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3078 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3079 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3080 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3081 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3082 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3083 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3084 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3085 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3086 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3087 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3088 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3090 installscripts:: installdirs
3091 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3093 installdat:: installdirs
3094 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3096 installmsg:: installdirs
3097 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3099 installswat:: installdirs installmsg
3100 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3102 installpammodules:: $(PAM_MODULES)
3103 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3104 @for module in $(PAM_MODULES); do \
3105 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3106 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3107 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3110 # revert to the previously installed version
3112 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3113 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3115 installman:: installdirs
3116 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3118 installmo:: all installdirs
3119 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3124 @echo "Samba will be installed into
:"
3125 @echo " prefix: $(prefix)"
3126 @echo " exec_prefix: $(exec_prefix)"
3127 @echo " sysconfdir
: $(sysconfdir
)"
3128 @echo " localstatedir
: $(localstatedir
)"
3129 @echo " datarootdir
: $(datarootdir
)"
3130 @echo " BINDIR
: $(BINDIR
)"
3131 @echo " SBINDIR
: $(SBINDIR
)"
3132 @echo " LIBDIR
: $(LIBDIR
)"
3133 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3134 @echo " MANDIR
: $(MANDIR
)"
3135 @echo " DATADIR
: $(DATADIR
)"
3136 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3137 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3138 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3139 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3140 @echo " MODULESDIR
: $(MODULESDIR
)"
3141 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3142 @echo " SETUPDIR
: $(SETUPDIR
)"
3143 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3144 @echo " SWATDIR
: $(SWATDIR
)"
3145 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3146 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3147 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3148 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3149 @echo " LOCKDIR
: $(LOCKDIR
)"
3150 @echo " PIDDIR
: $(PIDDIR
)"
3151 @echo " STATEDIR
: $(STATEDIR
)"
3152 @echo " CACHEDIR
: $(CACHEDIR
)"
3153 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3154 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3155 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3156 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3157 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3158 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3159 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3160 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3161 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3162 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3163 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3166 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3169 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3172 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3175 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3178 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3181 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3182 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3183 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3184 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3185 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3186 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3189 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3192 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3195 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3197 uninstallswat:: uninstallmsg
3198 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3200 uninstallpammodules::
3201 @for module in $(PAM_MODULES); do \
3202 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3203 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3207 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3209 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3211 ../libgpo/*.o ../libgpo/*/*.o \
3212 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3215 -rm -f include/build_env.h
3216 -rm -f smbd/build_options.c
3217 -rm -f autoconf/lib/param/param_local.h
3218 -rm -f autoconf/lib/param/param_global.h
3219 -rm -f autoconf/lib/param/param_proto.h
3220 -rm -f autoconf/lib/param/s3_param.h
3221 -rm -f autoconf/source3/param/param_global.h
3222 -rm -f $(PRECOMPILED_HEADER)
3223 -rm -f core */*~ *~ \
3224 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3225 ../testsuite/*/*.o \
3226 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3228 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3229 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3230 $(MODULES) $(TORTURE_PROGS) \
3231 $(EVERYTHING_PROGS) \
3233 .headers.stamp */src/*.o
3236 include/build_env.h: script/build_env.sh
3237 @echo Building include/build_env.h
3238 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3239 > $(builddir)/include/build_env.h
3245 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3248 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3251 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3252 -rm -f script/installbin.sh script/uninstallbin.sh
3254 distclean:: realclean
3256 -rm -f include/autoconf/config.h Makefile
3257 -rm -f config.status config.cache so_locations
3260 realdistclean:: distclean
3261 -rm -f include/autoconf/config.h.in
3262 -rm -f include/autoconf/version.h
3263 -rm -f autoconf/librpc/gen_ndr/*.[ch]
3266 # when configure.in is updated, reconfigure
3267 $(srcdir)/configure: $(srcdir)/configure.in
3268 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3270 config.status: $(srcdir)/configure
3271 @echo "WARNING
: you need to run .
/configure
"
3273 Makefile: $(srcdir)/Makefile.in config.status
3274 @echo "WARNING
: you need to run .
/config.status
"
3276 ######################################################################
3277 # Samba Testing Framework
3279 # Check shared libs for unresolved symbols
3282 @$(LIB_PATH_VAR)=./bin && \
3283 export $(LIB_PATH_VAR) && \
3284 for module in $?; do \
3285 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3289 # Check for NSS module problems.
3290 test_nss_modules:: nss_modules
3291 @echo "Testing
$(NSS_MODULES
) "
3292 @$(LIB_PATH_VAR)=./bin && \
3293 export $(LIB_PATH_VAR) && \
3294 for module in $(NSS_MODULES); do \
3295 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3299 # Check for PAM module problems. Specifically, check that every module we
3300 # built can actually be loaded by a minimal PAM-aware application.
3301 test_pam_modules:: pam_modules
3302 @echo "Testing
$(PAM_MODULES
) "
3303 @$(LIB_PATH_VAR)=./bin && \
3304 export $(LIB_PATH_VAR) && \
3305 for module in $(PAM_MODULES); do \
3306 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3312 ## Targets for 'make test'
3315 valgrindtest:: all torture timelimit bin/smbtorture
3316 @echo Running Test suite with valgrind
3318 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3319 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3320 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3321 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3323 selftestdir = ../selftest
3325 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3327 test:: all torture timelimit bin/smbtorture
3328 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3329 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3330 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3331 SOURCEDIR="$(srcdir)" \
3332 VFSLIBDIR="$(builddir
)/bin
" \
3333 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3334 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3335 PERL="$(PERL
)" PYTHON="$(PYTHON
)" PYTHONPATH="$(srcdir)/..
/bin
/python
" \
3336 $(srcdir)/selftest/s3-selftest.sh
3339 $(MAKE) test TESTS=$*
3342 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3345 $(MAKE) test SUBUNIT_FORMATTER=cat
3347 SELFTEST_TESTENV = s3dc
3350 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3353 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3354 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3355 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3356 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3360 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3361 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3362 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3363 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3367 # Check for Winbind struct 32/64bit padding
3369 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3370 @./script/tests/wb_pad.sh || exit 1;
3376 libsmbclient_examples: libsmbclient
3377 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3379 clean_libsmbclient_examples:
3380 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3382 libnetapi_examples: libnetapi
3383 $(MAKE) -C lib/netapi/examples
3385 clean_libnetapi_examples:
3386 $(MAKE) -C lib/netapi/examples clean
3388 .PHONY: bin/smbtorture
3390 bin/smbtorture: $(BINARY_PREREQS)
3391 $(MAKE) -f Makefile-smbtorture bin/smbtorture
3393 .PHONY: vfs_examples
3397 cd ../examples/VFS && \