1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 # the following vars come from ../dynconfig/config.m4
23 #LIBEXECDIR=@LIBEXECDIR@
27 #SCRIPTSBINDIR=@SCRIPTSBINDIR@
28 #PYTHONDIR=@PYTHONDIR@
29 #PYTHONARCHDIR=@PYTHONARCHDIR@
30 MODULESDIR
=@MODULESDIR@
31 INCLUDEDIR
=@INCLUDEDIR@
33 #PKGCONFIGDIR=@PKGCONFIGDIR@
35 CODEPAGEDIR
=@CODEPAGEDIR@
36 PAMMODULESDIR
=@PAMMODULESDIR@
38 PRIVATE_DIR
=@PRIVATE_DIR@
43 LOGFILEBASE
=@LOGFILEBASE@
44 SOCKET_DIR
=@SOCKET_DIR@
45 PRIVILEGED_SOCKET_DIR
=@PRIVILEGED_SOCKET_DIR@
46 WINBINDD_SOCKET_DIR
=@WINBINDD_SOCKET_DIR@
47 WINBINDD_PRIVILEGED_SOCKET_DIR
=@WINBINDD_PRIVILEGED_SOCKET_DIR@
48 NMBDSOCKETDIR
=@NMBDSOCKETDIR@
49 #NTP_SIGND_SOCKET_DIR=@NTP_SIGND_SOCKET_DIR@
50 NCALRPCDIR
=@NCALRPCDIR@
51 CONFIGFILE
=@CONFIGFILE@
52 LMHOSTSFILE
=@LMHOSTSFILE@
53 SMB_PASSWD_FILE
=@SMB_PASSWD_FILE@
55 selftest_prefix
=@selftest_prefix@
60 LIB_PATH_VAR
=@LIB_PATH_VAR@
62 ## Dynamic shared libraries build settings
63 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
64 DSO_EXPORTS
=@DSO_EXPORTS@
65 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
67 # The MODULE_EXPORTS variable contains the platform-specific linker flags
68 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
69 MODULE_EXPORTS
=@MODULE_EXPORTS@
71 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
72 # (GCC) warnings. This is done automatically for --enable-developer,
73 # --enable-picky-developer and --enable-krb5developer.
74 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
77 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
81 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
82 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
83 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
85 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
94 TERMLDFLAGS
=@TERMLDFLAGS@
96 PRINT_LIBS
=@PRINT_LIBS@
100 PASSDB_LIBS
=@PASSDB_LIBS@
101 IDMAP_LIBS
=@IDMAP_LIBS@
103 LDAP_LIBS
=@LDAP_LIBS@
104 NSCD_LIBS
=@NSCD_LIBS@
105 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
106 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
107 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
108 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
109 DNSSD_LIBS
=@DNSSD_LIBS@
110 AVAHI_LIBS
=@AVAHI_LIBS@
112 LIBTALLOC
=@LIBTALLOC_STATIC@
113 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
114 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
115 LIBTDB
=@LIBTDB_STATIC@
116 LIBTDB_LIBS
=@LIBTDB_LIBS@
118 LIBNTDB
=@LIBNTDB_STATIC@
119 LIBNTDB_LIBS
=@LIBNTDB_LIBS@
120 NTDB_DEPS
=@NTDB_DEPS@
121 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
122 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
123 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
124 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
126 TALLOCTORT
= @TALLOCTORT@
128 TDBBACKUP
= @TDBBACKUP@
131 TDBRESTORE
= @TDBRESTORE@
132 TDBTORTURE
= @TDBTORTURE@
133 NTDBBACKUP
= @NTDBBACKUP@
134 NTDBTOOL
= @NTDBTOOL@
135 NTDBDUMP
= @NTDBDUMP@
136 NTDBRESTORE
= @NTDBRESTORE@
137 NTDBTORTURE
= @NTDBTORTURE@
138 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
141 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
142 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
143 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
144 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
148 builddir
=@abs_builddir@
149 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
150 # will search for a POSIX-compliant shell, and that might not be
151 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
155 # See the autoconf manual "Installation Directory Variables" for a
156 # discussion of the subtle use of these variables.
158 VFSLIBDIR
= $(MODULESDIR
)/vfs
159 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
160 PDBLIBDIR
= $(MODULESDIR
)/pdb
161 RPCLIBDIR
= $(MODULESDIR
)/rpc
162 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
163 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
164 AUTHLIBDIR
= $(MODULESDIR
)/auth
165 CONFIGLIBDIR
= $(MODULESDIR
)/config
166 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
167 VARDIR
= @localstatedir@
169 # The permissions to give the executables and other data
170 INSTALLPERMS_BIN
= 0755
171 INSTALLPERMS_DATA
= 0644
181 -I.
/..
/lib
/ldb
/include \
184 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
185 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
186 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
187 -DSBINDIR
=\"$(SBINDIR
)\" \
188 -DBINDIR
=\"$(BINDIR
)\" \
189 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
190 -DSWATDIR
=\"$(SWATDIR
)\" \
191 -DLOCKDIR
=\"$(LOCKDIR
)\" \
192 -DPIDDIR
=\"$(PIDDIR
)\" \
193 -DLIBDIR
=\"$(LIBDIR
)\" \
194 -DMODULESDIR
=\"$(MODULESDIR
)\" \
195 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
196 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
197 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
198 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
199 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
200 -DCACHEDIR
=\"$(CACHEDIR
)\" \
201 -DSTATEDIR
=\"$(STATEDIR
)\" \
202 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
203 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
204 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
205 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
206 -DDATADIR
=\"$(DATADIR
)\" \
207 -DSETUPDIR
=\"$(SETUPDIR
)\"
209 # You usually want both TDB and NTDB.
210 LIBTDBS
=$(LIBTDB
) $(LIBNTDB
)
211 LIBTDBS_LIBS
=$(LIBTDB_LIBS
) $(LIBNTDB_LIBS
)
212 TDBS_DEPS
=$(TDB_DEPS
) $(NTDB_DEPS
)
214 # Note that all executable programs now provide for an optional executable suffix.
216 SBIN_PROGS
= bin
/smbd bin
/nmbd @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
218 BIN_PROGS1
= bin
/smbclient bin
/net bin
/smbspool \
219 bin
/testparm bin
/smbstatus bin
/smbget \
221 BIN_PROGS2
= bin
/smbcontrol bin
/smbtree
$(TDBBACKUP
) \
222 bin
/nmblookup bin
/pdbedit
$(TDBDUMP
) \
223 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool
224 BIN_PROGS3
= bin
/smbpasswd bin
/rpcclient bin
/smbcacls \
225 bin
/profiles bin
/ntlm_auth bin
/sharesec \
226 bin
/smbcquotas bin
/eventlogadm
228 TORTURE_PROGS
= bin
/smbtorture3 bin
/msgtest \
229 bin
/locktest2 bin
/nsstest bin
/vfstest \
230 $(TALLOCTORT
) bin
/replacetort \
231 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
232 bin
/smbconftort bin
/vlp
234 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
235 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
237 EVERYTHING_PROGS
= bin
/debug2html bin
/smbfilter \
238 $(TALLOCTORT
) bin
/replacetort \
244 PAM_MODULES
= @PAM_MODULES@
246 NSS_MODULES
= @NSS_MODULES@
248 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
250 VFS_MODULES
= @VFS_MODULES@
251 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
252 PDB_MODULES
= @PDB_MODULES@
253 IDMAP_MODULES
= @IDMAP_MODULES@
254 AUTH_MODULES
= @AUTH_MODULES@
255 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
256 GPEXT_MODULES
= @GPEXT_MODULES@
257 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
258 $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
259 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
261 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
263 ######################################################################
265 ######################################################################
267 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
268 ..
/lib
/tdb_wrap
/tdb_wrap.o \
269 ..
/lib
/dbwrap
/dbwrap.o \
270 ..
/lib
/dbwrap
/dbwrap_local_open.o \
271 lib
/dbwrap
/dbwrap_open.o \
272 ..
/lib
/dbwrap
/dbwrap_tdb.o \
273 ..
/lib
/util
/util_ntdb.o \
274 ..
/lib
/dbwrap
/dbwrap_ntdb.o \
275 lib
/dbwrap
/dbwrap_ctdb.o \
277 ..
/lib
/dbwrap
/dbwrap_cache.o \
278 lib
/dbwrap
/dbwrap_watch.o \
279 ..
/lib
/dbwrap
/dbwrap_rbt.o \
280 ..
/lib
/dbwrap
/dbwrap_util.o
282 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
284 SMBLDAP_OBJ
= @SMBLDAP@
286 VERSION_OBJ
= lib
/version.o
288 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
292 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
294 AVAHI_OBJ
= @AVAHI_OBJ@
296 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
298 PASSCHANGE_OBJ
= libsmb
/passchange.o
300 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
301 ..
/librpc
/ndr
/ndr_compression.o \
302 autoconf
/librpc
/gen_ndr
/ndr_drsuapi.o \
303 ..
/librpc
/ndr
/ndr_drsblobs.o \
304 autoconf
/librpc
/gen_ndr
/ndr_drsblobs.o
306 ZLIB_OBJ
= @ZLIB_OBJS@
308 COMPRESSION_OBJ
= ..
/lib
/compression
/lzxpress.o \
311 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
314 LIBNDR_NTLMSSP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntlmssp.o \
315 ..
/librpc
/ndr
/ndr_ntlmssp.o
317 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
318 ..
/librpc
/ndr
/ndr.o \
319 ..
/librpc
/ndr
/ndr_misc.o \
320 autoconf
/librpc
/gen_ndr
/ndr_misc.o \
321 autoconf
/librpc
/gen_ndr
/ndr_security.o \
322 ..
/librpc
/ndr
/ndr_sec_helper.o \
323 ..
/librpc
/ndr
/ndr_string.o \
324 ..
/librpc
/ndr
/uuid.o \
325 ..
/librpc
/ndr
/util.o \
326 autoconf
/librpc
/gen_ndr
/ndr_server_id.o \
327 autoconf
/librpc
/gen_ndr
/ndr_file_id.o \
328 autoconf
/librpc
/gen_ndr
/ndr_dcerpc.o
330 LIBNDR_GEN_OBJ0
= autoconf
/librpc
/gen_ndr
/ndr_samr.o \
331 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
333 LIBNDR_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon.o \
334 ..
/librpc
/ndr
/ndr_netlogon.o
336 LIBNDR_SCHANNEL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_schannel.o \
337 ..
/librpc
/ndr
/ndr_schannel.o
339 LIBNDR_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss.o \
340 ..
/librpc
/ndr
/ndr_spoolss_buf.o
342 LIBNDR_NTPRINTING_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
343 ..
/librpc
/ndr
/ndr_ntprinting.o \
345 LIBNDR_PREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_preg.o \
346 ..
/librpc
/ndr
/ndr_preg.o
348 LIBNDR_XATTR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_xattr.o \
349 ..
/librpc
/ndr
/ndr_xattr.o
351 LIBCLI_SPOOLSS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_spoolss_c.o \
352 rpc_client
/cli_spoolss.o \
353 rpc_client
/init_spoolss.o \
354 rpc_client
/cli_winreg_spoolss.o \
355 printing
/nt_printing_os2.o
357 LIBCLI_EVENTLOG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_eventlog_c.o
359 LIBCLI_WINREG_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_winreg_c.o \
360 rpc_client
/cli_winreg.o
362 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
363 rpc_client
/cli_winreg_int.o
365 LIBCLI_NTSVCS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_ntsvcs_c.o
367 LIBCLI_DRSUAPI_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_drsuapi_c.o
369 LIBCLI_DFS_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dfs_c.o
371 LIBCLI_ECHO_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_echo_c.o
373 LIBCLI_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_initshutdown_c.o
375 LIBCLI_DSSETUP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_dssetup_c.o
377 LIBCLI_SVCCTL_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_svcctl_c.o
379 LIBCLI_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc_c.o
381 LIBCLI_SRVSVC_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_srvsvc_c.o
383 LIBCLI_LSA_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_lsa_c.o \
384 rpc_client
/cli_lsarpc.o \
385 rpc_client
/init_lsa.o
387 LIBCLI_SAMR_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_samr_c.o \
388 rpc_client
/cli_samr.o
390 LIBCLI_NETLOGON_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_netlogon_c.o \
391 rpc_client
/cli_netlogon.o \
392 rpc_client
/util_netlogon.o \
393 rpc_client
/init_netlogon.o
395 LIBCLI_EPMAPPER_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_epmapper_c.o
397 LIBCLI_FSRVP_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_fsrvp_c.o
399 LIBNDR_GEN_OBJ
= autoconf
/librpc
/gen_ndr
/ndr_wkssvc.o \
401 autoconf
/librpc
/gen_ndr
/ndr_dfs.o \
402 autoconf
/librpc
/gen_ndr
/ndr_dfsblobs.o \
403 autoconf
/librpc
/gen_ndr
/ndr_echo.o \
404 autoconf
/librpc
/gen_ndr
/ndr_winreg.o \
405 autoconf
/librpc
/gen_ndr
/ndr_initshutdown.o \
406 autoconf
/librpc
/gen_ndr
/ndr_srvsvc.o \
407 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
408 $(LIBNDR_NETLOGON_OBJ
) \
409 autoconf
/librpc
/gen_ndr
/ndr_dssetup.o \
410 autoconf
/librpc
/gen_ndr
/ndr_epmapper.o \
411 autoconf
/librpc
/gen_ndr
/ndr_ntsvcs.o \
412 $(LIBNDR_SPOOLSS_OBJ
) \
413 autoconf
/librpc
/gen_ndr
/ndr_fsrvp.o
415 # this includes only the low level parse code, not stuff
416 # that requires knowledge of security contexts
417 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
419 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
421 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
422 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
423 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
427 $(SOCKET_WRAPPER_OBJ
) \
431 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
432 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
433 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
434 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
435 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
436 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
437 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
438 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
439 ..
/lib
/util
/tevent_werror.o ..
/lib
/util
/util_process.o\
440 lib
/tevent_barrier.o \
441 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
442 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
443 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o \
444 ..
/lib
/util
/setid.o ..
/lib
/util
/pidfile.o ..
/lib
/util
/getpass.o
446 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o @CRYPTO_MD5_OBJ@ \
447 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
448 ..
/lib
/crypto
/md4.o \
449 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
450 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o \
451 ..
/lib
/crypto
/aes_cmac_128.o ..
/lib
/crypto
/aes_ccm_128.o
453 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
454 lib
/messages.o autoconf
/librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
455 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
459 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
463 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
466 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
467 ..
/lib
/util
/charset
/pull_push.o \
468 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
469 lib
/interface.o lib
/dumpcore.o \
470 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
472 ..
/libds
/common
/flag_mapping.o \
473 lib
/access.o lib
/smbrun.o \
474 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
476 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
477 ..
/lib
/util
/util_str.o \
478 ..
/lib
/util
/base64.o lib
/util_sid.o \
479 ..
/lib
/util
/charset
/util_unistr.o \
480 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
481 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
482 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
483 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o \
484 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
485 lib
/tallocmsg.o lib
/dmallocmsg.o \
486 ..
/libcli
/smb
/smb_signing.o \
487 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
488 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
489 lib
/adt_tree.o lib
/gencache.o \
490 ..
/lib
/util
/modules.o lib
/events.o ..
/lib
/util
/tevent_debug.o @LIBTEVENT_OBJ0@ \
492 lib
/server_contexts.o \
493 lib
/server_prefork.o \
494 lib
/server_prefork_util.o \
496 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
497 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
498 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
499 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
501 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
502 lib
/file_id.o lib
/idmap_cache.o \
504 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
505 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
506 ..
/libcli
/smb
/util.o ..
/lib
/util
/idtree.o
508 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
509 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
511 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
513 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
514 # Be sure to include them into your application
515 POPT_LIB_OBJ
= lib
/popt_common.o
517 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
518 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
519 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
521 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
523 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
524 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
525 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
527 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
529 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
530 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
533 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
535 LIBADS_OBJ
= libads
/ldap.o \
536 libads
/sasl.o libads
/sasl_wrapping.o \
537 libads
/krb5_setpw.o \
538 libads
/kerberos_util.o \
540 libads
/ads_struct.o libads
/kerberos_keytab.o \
541 libads
/disp_sec.o libads
/ldap_utils.o \
542 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
544 LIBADS_SERVER_OBJ
= libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
545 ..
/librpc
/ndr
/ndr_krb5pac.o \
546 autoconf
/librpc
/gen_ndr
/ndr_krb5pac.o
548 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
550 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
551 autoconf
/librpc
/gen_ndr
/ndr_secrets.o \
554 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
555 ..
/libcli
/netlogon
/netlogon.o \
556 autoconf
/librpc
/gen_ndr
/ndr_nbt.o \
557 ..
/librpc
/ndr
/ndr_nbt.o \
558 autoconf
/librpc
/gen_ndr
/ndr_svcctl.o \
559 ..
/librpc
/ndr
/ndr_svcctl.o
561 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
562 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
563 ..
/lib
/addns
/dnsquery.o libads
/sitename_cache.o
565 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
566 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
567 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
568 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
570 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
572 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
574 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
579 ..
/libcli
/auth
/spnego_parse.o \
580 ..
/libcli
/auth
/ntlm_check.o \
582 libsmb
/ntlmssp_wrap.o \
583 libsmb
/auth_generic.o \
584 ..
/lib
/krb5_wrap
/krb5_samba.o \
586 ..
/auth
/gensec
/gensec.o \
587 ..
/auth
/gensec
/gensec_start.o \
588 ..
/auth
/gensec
/gensec_util.o \
589 ..
/auth
/gensec
/spnego.o \
590 ..
/auth
/credentials
/credentials.o \
591 ..
/auth
/credentials
/credentials_ntlm.o \
592 ..
/auth
/credentials
/credentials_samba3.o \
593 ..
/auth
/ntlmssp
/ntlmssp.o \
594 ..
/auth
/ntlmssp
/ntlmssp_util.o \
595 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
596 ..
/auth
/ntlmssp
/ntlmssp_client.o \
597 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
598 ..
/auth
/ntlmssp
/gensec_ntlmssp_server.o \
599 $(LIBNDR_NTLMSSP_OBJ
) \
600 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
601 ..
/auth
/ntlmssp
/ntlmssp_server.o
603 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
606 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
607 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
609 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
610 ..
/lib
/tsocket
/tsocket_helpers.o \
611 ..
/lib
/tsocket
/tsocket_bsd.o
613 CLDAP_OBJ
= libads
/cldap.o \
614 ..
/libcli
/cldap
/cldap.o \
615 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
617 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
619 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
620 ..
/libcli
/auth
/schannel_sign.o \
621 ..
/libcli
/auth
/schannel_state_tdb.o \
622 $(LIBNDR_SCHANNEL_OBJ
)
624 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
625 libsmb
/reparse_symlink.o \
626 libsmb
/clisymlink.o \
627 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
628 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
629 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
630 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
631 libsmb
/clioplock.o libsmb
/clirap2.o \
633 ..
/libcli
/smb
/smb_seal.o \
634 ..
/libcli
/smb
/read_smb.o \
635 ..
/libcli
/smb
/smbXcli_base.o \
636 ..
/libcli
/smb
/smb1cli_trans.o \
637 ..
/libcli
/smb
/smb1cli_echo.o \
638 ..
/libcli
/smb
/smb2cli_session.o \
639 libsmb
/smb2cli_tcon.o \
640 ..
/libcli
/smb
/smb2cli_create.o \
641 ..
/libcli
/smb
/smb2_create_blob.o \
642 ..
/libcli
/smb
/smb2_signing.o \
643 ..
/libcli
/smb
/smb2cli_close.o \
644 ..
/libcli
/smb
/smb2cli_flush.o \
645 ..
/libcli
/smb
/smb2cli_read.o \
646 ..
/libcli
/smb
/smb2cli_write.o \
647 ..
/libcli
/smb
/smb2cli_query_directory.o \
648 ..
/libcli
/smb
/smb2cli_ioctl.o \
649 ..
/libcli
/smb
/smb2cli_query_info.o \
650 ..
/libcli
/smb
/smb2cli_set_info.o \
651 ..
/libcli
/smb
/smb2cli_echo.o \
652 libsmb
/cli_np_tstream.o \
653 libsmb
/smbsock_connect.o \
660 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
661 rpc_client
/cli_pipe.o \
662 $(LIBCLI_NETLOGON_OBJ
) \
663 librpc
/crypto
/gse_krb5.o \
664 librpc
/crypto
/gse.o \
665 ..
/auth
/kerberos
/gssapi_pac.o \
666 ..
/lib
/krb5_wrap
/gss_samba.o \
667 librpc
/rpc
/rpc_common.o \
668 rpc_client
/rpc_transport_np.o \
669 rpc_client
/rpc_transport_sock.o \
670 rpc_client
/rpc_transport_tstream.o \
671 ..
/librpc
/rpc
/binding.o \
672 ..
/librpc
/rpc
/dcerpc_util.o \
673 ..
/librpc
/rpc
/binding_handle.o \
674 librpc
/rpc
/dcerpc_helpers.o \
675 $(LIBCLI_EPMAPPER_OBJ
)
677 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
680 # registry-related objects
682 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
684 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
685 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
686 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
688 REGFIO_OBJ
= registry
/regfio.o \
691 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
693 REGOBJS_OBJ
= registry
/reg_objects.o
695 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
697 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
699 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
700 registry
/reg_backend_shares.o \
701 registry
/reg_backend_netlogon_params.o \
702 registry
/reg_backend_prod_options.o \
703 registry
/reg_backend_tcpip_params.o \
704 registry
/reg_backend_hkpt_params.o \
705 registry
/reg_backend_current_version.o \
706 registry
/reg_backend_perflib.o
708 REG_BASE_OBJ
= registry
/reg_api.o \
709 registry
/reg_dispatcher.o \
710 registry
/reg_cachehook.o \
712 registry
/reg_util_internal.o \
714 $(REG_BACKENDS_BASE_OBJ
) \
715 registry
/reg_parse_internal.o \
716 lib
/cbuf.o lib
/srprs.o \
717 $(REG_INIT_BASIC_OBJ
)
719 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
720 registry
/reg_util_token.o \
721 registry
/reg_api_util.o \
722 $(REG_BACKENDS_SMBCONF_OBJ
) \
723 $(REG_INIT_SMBCONF_OBJ
)
725 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
726 $(REG_BACKENDS_EXTRA_OBJ
) \
727 $(REG_INIT_FULL_OBJ
) \
728 registry
/reg_perfcount.o \
729 autoconf
/librpc
/gen_ndr
/ndr_perfcount.o
731 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
733 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
735 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
736 autoconf
/librpc
/gen_ndr
/srv_lsa.o \
737 ..
/libcli
/lsarpc
/util_lsarpc.o
739 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
740 autoconf
/librpc
/gen_ndr
/srv_netlogon.o
742 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
743 rpc_server
/samr
/srv_samr_util.o \
744 rpc_server
/samr
/srv_samr_chgpasswd.o \
745 autoconf
/librpc
/gen_ndr
/srv_samr.o
747 RPC_INITSHUTDOWN_OBJ
= autoconf
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
749 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
750 autoconf
/librpc
/gen_ndr
/srv_winreg.o
752 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o autoconf
/librpc
/gen_ndr
/srv_dssetup.o
754 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
755 autoconf
/librpc
/gen_ndr
/srv_srvsvc.o
757 RPC_WKSSVC_OBJ
= autoconf
/librpc
/gen_ndr
/srv_wkssvc.o \
758 rpc_server
/wkssvc
/srv_wkssvc_nt.o
760 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
761 rpc_server
/svcctl
/srv_svcctl_reg.o \
762 autoconf
/librpc
/gen_ndr
/srv_svcctl.o \
763 services
/svc_winreg_glue.o \
764 services
/svc_spoolss.o services
/svc_rcinit.o \
765 services
/svc_netlogon.o services
/svc_winreg.o \
768 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
769 autoconf
/librpc
/gen_ndr
/srv_ntsvcs.o
771 RPC_NETDFS_OBJ
= autoconf
/librpc
/gen_ndr
/srv_dfs.o \
772 rpc_server
/dfs
/srv_dfs_nt.o
774 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
775 rpc_server
/spoolss
/srv_spoolss_util.o \
776 autoconf
/librpc
/gen_ndr
/srv_spoolss.o
778 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
779 rpc_server
/eventlog
/srv_eventlog_reg.o \
780 $(LIB_EVENTLOG_OBJ
) autoconf
/librpc
/gen_ndr
/srv_eventlog.o
782 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
783 autoconf
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
784 ..
/auth
/auth_sam_reply.o autoconf
/librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
786 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
787 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
788 rpc_server
/srv_access_check.o
790 RPC_CONFIG
= rpc_server
/rpc_config.o
792 RPC_SERVICE
= rpc_server
/rpc_server.o
794 RPC_CRYPTO
= rpc_server
/dcesrv_auth_generic.o
796 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
797 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
799 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o autoconf
/librpc
/gen_ndr
/srv_echo.o
801 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o autoconf
/librpc
/gen_ndr
/srv_epmapper.o
803 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
805 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
806 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
807 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
808 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
809 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
810 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
811 $(LIBCLI_SPOOLSS_OBJ
) \
812 $(LIBCLI_WINREG_INT_OBJ
) \
813 $(LIBCLI_SRVSVC_OBJ
) \
816 $(RPC_SERVER_REGISTER_OBJ
) \
817 $(RPC_CLIENT_SCHANNEL_OBJ
) \
818 rpc_server
/rpc_sock_helper.o \
819 rpc_server
/rpc_service_setup.o \
820 rpc_client
/init_samr.o
822 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
824 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o \
825 autoconf
/librpc
/gen_ndr
/ndr_open_files.o locking
/share_mode_lock.o
827 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
829 PRIVILEGES_OBJ
= lib
/privileges.o
831 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
833 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
834 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
835 lib
/util_sid_passdb.o \
836 lib
/util_unixsids.o passdb
/lookup_sid.o \
837 passdb
/login_cache.o @PDB_STATIC@ \
838 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
839 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
840 passdb
/pdb_util.o passdb
/pdb_ldap_schema.o \
843 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
844 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
846 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
848 PROFILE_OBJ
= profile
/profile.o
849 PROFILES_OBJ
= utils
/profiles.o \
852 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
856 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
858 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
859 autoconf
/librpc
/gen_ndr
/ndr_notify.o
861 FNAME_UTIL_OBJ
= lib
/filename_util.o
863 NFS4ACL_OBJ
= modules
/nfs4_acls.o modules
/non_posix_acls.o
865 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
866 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
867 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
868 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
869 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
870 VFS_FAKE_ACLS_OBJ
= modules
/vfs_fake_acls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o
871 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
872 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
873 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
874 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
875 VFS_CAP_OBJ
= modules
/vfs_cap.o
876 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
877 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
878 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
879 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
880 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o lib
/xattr_tdb.o
881 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
882 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
883 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o
$(NFS4ACL_OBJ
)
884 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
885 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o
$(NFS4ACL_OBJ
)
886 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
887 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
888 VFS_CATIA_OBJ
= modules
/vfs_catia.o
889 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
890 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
891 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
892 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
893 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
894 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o
$(NFS4ACL_OBJ
)
895 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
896 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
897 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
898 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
899 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
900 VFS_AIO_PTHREAD_OBJ
= modules
/vfs_aio_pthread.o
901 VFS_AIO_POSIX_OBJ
= modules
/vfs_aio_posix.o
902 VFS_AIO_LINUX_OBJ
= modules
/vfs_aio_linux.o
903 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
904 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
905 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
906 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
907 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
908 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
909 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
910 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
911 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
912 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
913 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
914 VFS_MEDIA_HARMONY_OBJ
= modules
/vfs_media_harmony.o
915 VFS_BTRFS_OBJ
= modules
/vfs_btrfs.o
917 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
918 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
920 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
922 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
924 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
925 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
926 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
927 AUTH_UNIX_OBJ
= auth
/auth_unix.o
928 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
929 AUTH_WBC_OBJ
= auth
/auth_wbc.o
930 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
932 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
934 auth
/server_info_sam.o \
938 auth
/auth_ntlmssp.o auth
/auth_generic.o \
939 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
941 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
943 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
945 BUILDOPT_OBJ
= smbd
/build_options.o
947 SMBD_OBJ_SRV
= smbd
/server_reload.o \
948 smbd
/files.o smbd
/connection.o \
949 smbd
/utmp.o smbd
/session.o \
950 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
951 smbd
/share_access.o smbd
/fileio.o \
952 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
953 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
954 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
955 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
956 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
957 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
958 smbd
/posix_acls.o lib
/sysacls.o autoconf
/librpc
/gen_ndr
/ndr_smb_acl.o\
959 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
962 printing
/printspoolss.o printing
/spoolssd.o \
963 lib
/sysquotas.o lib
/sysquotas_linux.o \
964 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o lib
/sysquotas_4B.o \
965 lib
/sysquotas_nfs.o \
969 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
970 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
971 smbd
/dmapi.o smbd
/signing.o \
973 smbd
/dnsregister.o smbd
/globals.o \
976 smbd
/smb2_negprot.o \
977 smbd
/smb2_sesssetup.o \
986 smbd
/smb2_ioctl_dfs.o \
987 smbd
/smb2_ioctl_filesys.o \
988 smbd
/smb2_ioctl_named_pipe.o \
989 smbd
/smb2_ioctl_network_fs.o \
990 smbd
/smb2_keepalive.o \
993 smbd
/smb2_getinfo.o \
994 smbd
/smb2_setinfo.o \
996 autoconf
/librpc
/gen_ndr
/ndr_smbXsrv.o \
997 smbd
/smbXsrv_version.o \
998 smbd
/smbXsrv_session.o \
999 smbd
/smbXsrv_tcon.o \
1000 smbd
/smbXsrv_open.o \
1002 autoconf
/librpc
/gen_ndr
/ndr_ioctl.o \
1003 $(MANGLE_OBJ
) @VFS_STATIC@
1005 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
1007 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
1008 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
1009 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
1010 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
1011 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
1012 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
1013 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
1015 $(PRIVILEGES_BASIC_OBJ
) \
1017 $(REG_API_REGF_OBJ
) \
1018 $(LIBNDR_XATTR_OBJ
) \
1019 lib
/conn_tdb.o lib
/sessionid_tdb.o
1022 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
1023 printing
/print_cups.o printing
/print_generic.o \
1024 printing
/lpq_parse.o printing
/load.o \
1025 printing
/print_iprint.o printing
/print_standard.o \
1026 printing
/printer_list.o autoconf
/librpc
/gen_ndr
/ndr_printcap.o
1028 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
1029 PRINTBACKEND_OBJ
= printing
/printing.o \
1030 printing
/nt_printing.o \
1031 printing
/nt_printing_tdb.o \
1032 printing
/nt_printing_migrate.o \
1033 printing
/nt_printing_migrate_internal.o \
1034 printing
/nt_printing_ads.o \
1035 autoconf
/librpc
/gen_ndr
/ndr_ntprinting.o \
1036 ..
/librpc
/ndr
/ndr_ntprinting.o \
1037 printing
/queue_process.o \
1040 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
1042 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
1043 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1044 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1045 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1046 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1047 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1048 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1049 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1050 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1051 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1052 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1053 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1055 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1056 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1057 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1059 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1060 web
/swat.o web
/neg_lang.o
1062 SWAT_OBJ
= $(SWAT_OBJ1
) $(SMBD_OBJ_BASE
) $(PASSCHANGE_OBJ
)
1064 STATUS_OBJ
= utils
/status.o utils
/status_profile.o
$(SMBD_OBJ_BASE
)
1067 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1068 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1070 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1071 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1072 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1073 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1074 $(LIBMSRPC_GEN_OBJ
) \
1076 $(LIBCLI_SRVSVC_OBJ
)
1078 TESTPARM_OBJ
= utils
/testparm.o \
1079 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1082 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1083 $(LIB_NONSMBD_OBJ
) \
1084 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1086 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1087 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1088 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1090 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1092 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1093 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1094 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1095 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1096 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1097 $(LIBCLI_SAMR_OBJ
) \
1098 rpc_client
/init_lsa.o
1100 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1101 $(AFS_SETTOKEN_OBJ
) \
1102 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1103 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
) \
1104 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1105 ..
/lib
/util
/asn1.o
$(LIBCLI_LDAP_NDR_OBJ
) \
1106 $(LIBNDR_DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) $(COMPRESSION_OBJ
)
1108 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1110 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1112 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1113 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1114 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1115 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1116 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1117 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1118 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1119 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1120 rpcclient
/cmd_winreg.o rpcclient
/cmd_fss.o \
1123 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1124 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1125 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1126 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1127 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1128 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1129 $(LIBCLI_SPOOLSS_OBJ
) \
1130 $(LIBCLI_EVENTLOG_OBJ
) \
1131 $(LIBCLI_NTSVCS_OBJ
) \
1132 $(LIBCLI_DRSUAPI_OBJ
) \
1134 $(LIBCLI_ECHO_OBJ
) \
1135 $(LIBCLI_DSSETUP_OBJ
) \
1136 $(LIBCLI_WKSSVC_OBJ
) \
1137 $(LIBCLI_SRVSVC_OBJ
) \
1139 $(LIBCLI_SAMR_OBJ
) \
1140 $(LIBCLI_WINREG_OBJ
) \
1141 $(LIBCLI_FSRVP_OBJ
) \
1142 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1143 rpc_client
/init_samr.o
1145 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1146 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1148 LIBSMBCLIENT_THREAD_OBJ
= \
1149 libsmb
/libsmb_thread_impl.o \
1150 libsmb
/libsmb_thread_posix.o
1152 LIBSMBCLIENT_OBJ0
= \
1153 libsmb
/libsmb_cache.o \
1154 libsmb
/libsmb_compat.o \
1155 libsmb
/libsmb_context.o \
1156 libsmb
/libsmb_dir.o \
1157 libsmb
/libsmb_file.o \
1158 libsmb
/libsmb_misc.o \
1159 libsmb
/libsmb_path.o \
1160 libsmb
/libsmb_printjob.o \
1161 libsmb
/libsmb_server.o \
1162 libsmb
/libsmb_stat.o \
1163 libsmb
/libsmb_xattr.o \
1164 libsmb
/libsmb_setget.o
1166 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1167 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1168 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1169 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1170 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1171 $(LIBCLI_SRVSVC_OBJ
) \
1174 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1176 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1177 client
/dnsbrowse.o \
1180 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1181 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1182 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1183 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1184 $(DISPLAY_SEC_OBJ
) \
1185 $(LIBCLI_SRVSVC_OBJ
)
1187 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1188 ..
/lib
/smbconf
/smbconf_util.o \
1189 ..
/lib
/smbconf
/smbconf_txt.o \
1190 lib
/smbconf
/smbconf_reg.o \
1191 lib
/smbconf
/smbconf_init.o
1193 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1195 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1196 $(LIB_NONSMBD_OBJ
) \
1201 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1202 lib
/pthreadpool
/tests.o
$(LIBREPLACE_OBJ
)
1204 LIBNET_OBJ
= libnet
/libnet_join.o \
1205 libnet
/libnet_keytab.o \
1206 autoconf
/librpc
/gen_ndr
/ndr_libnet_join.o
1208 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1209 libnet
/libnet_dssync_passdb.o \
1210 libnet
/libnet_dssync_keytab.o \
1211 ..
/libcli
/drsuapi
/repl_decrypt.o
1213 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1214 libnet
/libnet_samsync_ldif.o \
1215 libnet
/libnet_samsync_passdb.o \
1216 libnet
/libnet_samsync_display.o \
1217 libnet
/libnet_samsync_keytab.o \
1218 ..
/libcli
/samsync
/decrypt.o
1220 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1221 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1222 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1223 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1224 utils
/net_idmap_check.o utils
/interact.o \
1225 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1226 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1227 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1228 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1229 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1230 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1231 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1232 utils
/net_dom.o utils
/net_share.o \
1233 utils
/net_g_lock.o \
1234 utils
/net_serverid.o \
1235 utils
/net_eventlog.o \
1236 utils
/net_printing.o \
1237 utils
/net_rpc_trust.o \
1238 utils
/net_rpc_conf.o\
1239 $(LIBNDR_PREG_OBJ
) \
1240 $(LIBCLI_DRSUAPI_OBJ
) \
1241 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1242 $(LIBCLI_DSSETUP_OBJ
) \
1243 $(LIBCLI_SVCCTL_OBJ
) \
1244 $(LIBCLI_WKSSVC_OBJ
) \
1245 registry
/reg_parse.o registry
/reg_format.o \
1246 registry
/reg_import.o
1248 # these are not processed by make proto
1249 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1251 NET_OBJ
= $(NET_OBJ1
) \
1252 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@ \
1255 $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
) \
1256 $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1259 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1260 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1261 $(AFS_SETTOKEN_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1263 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1264 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1266 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1267 torture
/denytest.o torture
/mangle_test.o \
1269 torture
/test_async_echo.o \
1270 torture
/test_smbsock_any_connect.o \
1271 torture
/test_nttrans_create.o \
1272 torture
/test_nttrans_fsctl.o \
1273 torture
/test_notify_online.o \
1274 torture
/test_addrchange.o \
1275 torture
/test_case_insensitive.o \
1276 torture
/test_posix_append.o \
1277 torture
/test_smb2.o \
1278 torture
/test_chain3.o \
1279 torture
/test_authinfo_structs.o \
1280 torture
/test_cleanup.o \
1281 torture
/test_ctdbconn.o \
1282 torture
/test_msg.o \
1283 torture
/test_notify.o \
1284 torture
/test_dbwrap_watch.o \
1285 torture
/test_idmap_tdb_common.o \
1286 torture
/test_dbwrap_ctdb.o \
1287 torture
/t_strappend.o
1289 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1290 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LOCKING_OBJ
) \
1291 @LIBWBCLIENT_STATIC@ \
1292 torture
/wbc_async.o \
1293 ..
/nsswitch
/wb_reqtrans.o \
1294 ..
/libcli
/lsarpc
/util_lsarpc.o \
1295 lib
/filename_util.o \
1296 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1298 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1299 $(LIB_NONSMBD_OBJ
) \
1302 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o ..
/lib
/util
/setid.o
$(LIBSAMBAUTIL_OBJ
)
1304 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
) \
1305 torture
/vfstest_chain.o
1307 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1309 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1310 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1311 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(FNAME_UTIL_OBJ
)
1313 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1314 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1315 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1316 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1319 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1321 $(LIB_NONSMBD_OBJ
) \
1322 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1323 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1326 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1328 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1329 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1330 autoconf
/librpc
/gen_ndr
/ndr_eventlog.o \
1331 autoconf
/librpc
/gen_ndr
/ndr_lsa.o
1333 SHARESEC_OBJ0
= utils
/sharesec.o
1334 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1338 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1339 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1341 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1342 @libreplacedir@
/test/getifaddrs.o \
1343 @libreplacedir@
/test/os2_delete.o \
1344 @libreplacedir@
/test/strptime.o \
1345 @libreplacedir@
/test/main.o \
1346 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1348 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1350 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1351 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1352 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
)
1354 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1355 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1357 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1358 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1359 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1361 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1362 $(AFS_SETTOKEN_OBJ
) \
1363 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1366 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1368 IDMAP_TDB_COMMON_OBJ
= winbindd
/idmap_tdb_common.o
1370 IDMAP_UTIL_OBJ
= winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) \
1371 $(IDMAP_TDB_COMMON_OBJ
)
1373 IDMAP_OBJ
= winbindd
/idmap.o
$(IDMAP_UTIL_OBJ
) @IDMAP_STATIC@
1375 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1378 winbindd
/idmap_hash
/idmap_hash.o \
1379 winbindd
/idmap_hash
/mapfile.o
1382 winbindd
/winbindd.o \
1383 winbindd
/winbindd_group.o \
1384 winbindd
/winbindd_util.o \
1385 winbindd
/winbindd_cache.o \
1386 winbindd
/winbindd_pam.o \
1387 winbindd
/winbindd_misc.o \
1388 winbindd
/winbindd_cm.o \
1389 winbindd
/winbindd_wins_byip.o \
1390 winbindd
/winbindd_wins_byname.o \
1391 winbindd
/winbindd_msrpc.o \
1392 winbindd
/winbindd_rpc.o \
1393 winbindd
/winbindd_reconnect.o \
1394 winbindd
/winbindd_ads.o \
1395 winbindd
/winbindd_samr.o \
1396 winbindd
/winbindd_dual.o \
1397 winbindd
/winbindd_dual_ndr.o \
1398 winbindd
/winbindd_dual_srv.o \
1399 autoconf
/librpc
/gen_ndr
/ndr_wbint_c.o \
1400 autoconf
/librpc
/gen_ndr
/srv_wbint.o \
1401 autoconf
/librpc
/gen_ndr
/ndr_wbint.o \
1402 autoconf
/librpc
/gen_ndr
/ndr_idmap.o \
1403 winbindd
/winbindd_async.o \
1404 winbindd
/winbindd_creds.o \
1405 winbindd
/winbindd_cred_cache.o \
1406 winbindd
/winbindd_ccache_access.o \
1407 winbindd
/winbindd_domain.o \
1408 winbindd
/winbindd_idmap.o \
1409 winbindd
/winbindd_locator.o \
1410 winbindd
/winbindd_ndr.o \
1411 winbindd
/wb_ping.o \
1412 winbindd
/wb_lookupsid.o \
1413 winbindd
/wb_lookupsids.o \
1414 winbindd
/wb_lookupname.o \
1415 winbindd
/wb_uid2sid.o \
1416 winbindd
/wb_gid2sid.o \
1417 winbindd
/wb_sids2xids.o \
1418 winbindd
/wb_queryuser.o \
1419 winbindd
/wb_lookupuseraliases.o \
1420 winbindd
/wb_lookupusergroups.o \
1421 winbindd
/wb_getpwsid.o \
1422 winbindd
/wb_gettoken.o \
1423 winbindd
/wb_seqnum.o \
1424 winbindd
/wb_seqnums.o \
1425 winbindd
/wb_group_members.o \
1426 winbindd
/wb_getgrsid.o \
1427 winbindd
/wb_query_user_list.o \
1428 winbindd
/wb_fill_pwent.o \
1429 winbindd
/wb_next_pwent.o \
1430 winbindd
/wb_next_grent.o \
1431 winbindd
/wb_dsgetdcname.o \
1432 winbindd
/winbindd_lookupsid.o \
1433 winbindd
/winbindd_lookupsids.o \
1434 winbindd
/winbindd_lookupname.o \
1435 winbindd
/winbindd_sid_to_uid.o \
1436 winbindd
/winbindd_sid_to_gid.o \
1437 winbindd
/winbindd_uid_to_sid.o \
1438 winbindd
/winbindd_gid_to_sid.o \
1439 winbindd
/winbindd_sids_to_xids.o \
1440 winbindd
/winbindd_allocate_uid.o \
1441 winbindd
/winbindd_allocate_gid.o \
1442 winbindd
/winbindd_getpwsid.o \
1443 winbindd
/winbindd_getpwnam.o \
1444 winbindd
/winbindd_getpwuid.o \
1445 winbindd
/winbindd_getsidaliases.o \
1446 winbindd
/winbindd_getuserdomgroups.o \
1447 winbindd
/winbindd_getgroups.o \
1448 winbindd
/winbindd_show_sequence.o \
1449 winbindd
/winbindd_getgrgid.o \
1450 winbindd
/winbindd_getgrnam.o \
1451 winbindd
/winbindd_getusersids.o \
1452 winbindd
/winbindd_lookuprids.o \
1453 winbindd
/winbindd_setpwent.o \
1454 winbindd
/winbindd_getpwent.o \
1455 winbindd
/winbindd_endpwent.o \
1456 winbindd
/winbindd_setgrent.o \
1457 winbindd
/winbindd_getgrent.o \
1458 winbindd
/winbindd_endgrent.o \
1459 winbindd
/winbindd_dsgetdcname.o \
1460 winbindd
/winbindd_getdcname.o \
1461 winbindd
/winbindd_list_users.o \
1462 winbindd
/winbindd_list_groups.o \
1463 winbindd
/winbindd_check_machine_acct.o \
1464 winbindd
/winbindd_change_machine_acct.o \
1465 winbindd
/winbindd_ping_dc.o \
1466 winbindd
/winbindd_pam_auth.o \
1467 winbindd
/winbindd_pam_auth_crap.o \
1468 winbindd
/winbindd_pam_chauthtok.o \
1469 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1470 winbindd
/winbindd_pam_logoff.o \
1474 auth
/check_samsec.o \
1475 auth
/server_info.o \
1476 auth
/server_info_sam.o \
1479 ..
/nsswitch
/wb_reqtrans.o
1482 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1483 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1484 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1485 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1486 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1487 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1488 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1489 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1490 $(NPA_TSTREAM_OBJ
) \
1491 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1492 $(LIBADS_SERVER_OBJ
) \
1493 $(TDB_VALIDATE_OBJ
) \
1494 $(LIBCLI_DSSETUP_OBJ
) \
1496 $(LIBCLI_SAMR_OBJ
) \
1497 rpc_client
/init_samr.o \
1500 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1501 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1502 lib
/winbind_util.o
$(WBCOMMON_OBJ
) \
1503 $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) $(SECRETS_OBJ
)
1505 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1507 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1508 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1510 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1511 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1513 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1514 ..
/lib
/iniparser_build
/strlib.o
1516 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1517 $(SOCKET_WRAPPER_OBJ
)
1519 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1520 $(SOCKET_WRAPPER_OBJ
)
1522 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1523 $(SOCKET_WRAPPER_OBJ
)
1525 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1526 $(SOCKET_WRAPPER_OBJ
)
1528 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1529 $(SOCKET_WRAPPER_OBJ
)
1532 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1534 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} \
1535 ${LIBADS_SERVER_OBJ} \
1536 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1538 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1539 $(AFS_SETTOKEN_OBJ
) \
1540 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1541 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) @BUILD_INIPARSER@
1544 VLP_OBJ
= printing
/tests
/vlp.o \
1545 ..
/lib
/util
/util_tdb.o \
1546 ..
/lib
/util
/signal.o \
1547 ..
/lib
/util
/debug.o \
1548 ..
/lib
/util
/util_strlist.o \
1549 ..
/lib
/util
/fault.o \
1550 ..
/lib
/util
/become_daemon.o \
1551 ..
/lib
/util
/substitute.o \
1553 ..
/lib
/util
/time.o \
1554 ..
/lib
/util
/charset
/util_str.o \
1555 ..
/lib
/util
/charset
/pull_push.o \
1556 ..
/lib
/util
/charset
/util_unistr_w.o \
1557 ..
/lib
/util
/charset
/codepoints.o \
1558 ..
/lib
/util
/charset
/iconv.o \
1559 ..
/lib
/util
/charset
/weird.o \
1560 ..
/lib
/util
/charset
/convert_string.o \
1561 $(CHARSET_MACOSXFS_OBJ
) \
1562 ..
/lib
/util
/talloc_stack.o \
1563 ..
/lib
/util
/smb_threads.o \
1564 ..
/lib
/util
/xfile.o \
1565 ..
/lib
/util
/util_file.o \
1566 ..
/lib
/util
/util.o \
1567 ..
/lib
/util
/util_str_common.o \
1568 ..
/lib
/util
/data_blob.o \
1569 ..
/dynconfig
/dynconfig.o \
1570 ..
/lib
/util
/setid.o \
1571 $(LIBSAMBAUTIL_OBJ
) \
1574 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1578 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1579 $(LIB_NONSMBD_OBJ
) \
1584 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1586 $(LIB_NONSMBD_OBJ
) \
1590 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1592 $(LIB_NONSMBD_OBJ
) \
1596 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1598 $(LIB_NONSMBD_OBJ
) \
1602 ######################################################################
1604 ######################################################################
1605 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1606 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1607 $(EXTRA_ALL_TARGETS
)
1609 basics
:: samba3-idl mkparam
1611 nss_modules
:: $(NSS_MODULES
)
1613 pam_modules
:: $(PAM_MODULES
)
1615 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1617 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1619 gpext_modules
:: $(GPEXT_MODULES
)
1621 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1623 smbtorture3
: SHOWFLAGS bin
/smbtorture3
1625 masktest
: SHOWFLAGS bin
/masktest
1627 msgtest
: SHOWFLAGS bin
/msgtest
1629 locktest
: SHOWFLAGS bin
/locktest
1631 smbcacls
: SHOWFLAGS bin
/smbcacls
1633 smbcquotas
: SHOWFLAGS bin
/smbcquotas
1635 locktest2
: SHOWFLAGS bin
/locktest2
1637 debug2html
: SHOWFLAGS bin
/debug2html
1639 smbfilter
: SHOWFLAGS bin
/smbfilter
1641 eventlogadm
: SHOWFLAGS bin
/eventlogadm
1643 sharesec
: SHOWFLAGS bin
/sharesec
1645 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1647 replacetort
: SHOWFLAGS bin
/replacetort
1649 smbconftort
: SHOWFLAGS bin
/smbconftort
1651 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest
1653 timelimit
: SHOWFLAGS bin
/timelimit
1655 nsswitch
: SHOWFLAGS bin
/winbindd bin
/wbinfo @WINBIND_NSS@ \
1656 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1657 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol
1659 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1661 modules
:: SHOWFLAGS
$(MODULES
)
1664 #####################################################################
1665 ## Perl IDL Compiler
1667 IDL_FILES
= librpc
/idl
/messaging.idl \
1668 librpc
/idl
/libnetapi.idl \
1669 librpc
/idl
/wbint.idl \
1670 librpc
/idl
/perfcount.idl \
1671 librpc
/idl
/secrets.idl \
1672 librpc
/idl
/open_files.idl \
1673 librpc
/idl
/libnet_join.idl
1676 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1677 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1678 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1679 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1682 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1683 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1684 @PIDL_OUTPUTDIR
="autoconf/librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1685 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1687 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
1689 autoconf
/lib
/param
/param_local.h
:
1690 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file autoconf
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1691 autoconf
/lib
/param
/param_global.h
:
1692 $(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
1693 autoconf
/source3
/param
/param_global.h
:
1694 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/param
/loadparm.c
--file autoconf
/source3
/param
/param_global.h
--generate-scope
=GLOBAL
1695 autoconf
/lib
/param
/param_proto.h
:
1696 $(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
1697 autoconf
/lib
/param
/s3_param.h
:
1698 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/param_functions.c
$(srcdir)/..
/lib
/param
/loadparm.c
--file autoconf
/lib
/param
/s3_param.h
1701 #####################################################################
1704 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1705 $(EVERYTHING_PROGS
) \
1709 .SUFFIXES
: .c .o .lo
1711 .PHONY
: showflags SHOWFLAGS
1713 showflags
: SHOWFLAGS
1716 @echo
"Using CFLAGS = $(CFLAGS)"
1717 @echo
" PICFLAG = $(PICFLAG)"
1718 @echo
" LIBS = $(LIBS)"
1719 @echo
" LDFLAGS = $(LDFLAGS)"
1720 @echo
" DYNEXP = $(DYNEXP)"
1721 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1722 @echo
" SHLIBEXT = @SHLIBEXT@"
1723 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1725 # "showcflags" target for debuggin how CFLAGS are composed:
1727 .PHONY
: showcflags SHOWCFLAGS
1729 showcflags
: SHOWCFLAGS
1732 @echo
"CFLAGS = $(CFLAGS)"
1733 @echo
"FLAGS = $(FLAGS)"
1735 @echo
"FLAGS1 = @FLAGS1@"
1736 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1737 @echo
"CPPFLAGS = $(CPPFLAGS)"
1738 @echo
"ISA = $(ISA)"
1740 MAKEDIR
= || exec false
; \
1741 if
test -d
"$$dir"; then
:; else \
1742 echo mkdir
"$$dir"; \
1743 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1744 test -d
"$$dir" || \
1746 exec false
; fi || exec false
1748 # Run a static checker.
1749 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1750 # Compile a source file.
1751 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1752 # Compile a source file with the installation paths defined.
1753 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1755 COMPILE
= $(COMPILE_CC
)
1758 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1759 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1760 @if
test -n
"$(CC_CHECKER)"; then \
1761 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1764 @echo Compiling
$*.c
1765 @
$(COMPILE
) && exit
0;\
1766 echo
"The following command failed:" 1>&2;\
1767 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1768 $(COMPILE_CC) >/dev/null 2>&1
1769 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1771 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1773 # this adds support for precompiled headers. To use it, install a snapshot
1774 # of gcc-3.4 and run 'make pch' before you do the main build.
1776 rm -f $(PRECOMPILED_HEADER)
1777 $(MAKE) $(PRECOMPILED_HEADER)
1779 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1782 BINARY_PREREQS = bin/.dummy
1784 # These dependencies are only approximately correct: we want to make
1785 # sure Samba's paths are updated if ./configure is re-run. Really it
1786 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1787 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1788 # rebuild it's a bit hard.
1790 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.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 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1798 @echo Compiling $*.c
1799 @$(COMPILE_CC_PATH) && exit 0;\
1800 echo "The following command failed
:" 1>&2;\
1801 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1802 $(COMPILE_CC_PATH) >/dev/null 2>&1
1804 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1805 @echo Compiling $*.c
1806 @$(COMPILE_CC_PATH) && exit 0;\
1807 echo "The following command failed
:" 1>&2;\
1808 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1809 $(COMPILE_CC_PATH) >/dev/null 2>&1
1811 ### Start section of object files that require PTHREAD_CFLAGS
1812 ../nsswitch/wins.o: ../nsswitch/wins.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 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1820 @echo Compiling $*.c
1821 @$(COMPILE_CC) $(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
1826 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1827 @echo Compiling $*.c
1828 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1829 echo "The following command failed
:" 1>&2;\
1830 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1831 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1833 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1834 @echo Compiling $*.c
1835 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1836 echo "The following command failed
:" 1>&2;\
1837 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1838 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1839 ### End section of object files that require PTHREAD_CFLAGS
1841 lib/version.o: lib/version.c include/autoconf/version.h
1842 @echo Compiling $*.c
1843 @$(COMPILE_CC_PATH) && exit 0;\
1844 echo "The following command failed
:" 1>&2;\
1845 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1846 $(COMPILE_CC_PATH) >/dev/null 2>&1
1848 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1849 @echo Compiling $*.c
1850 @$(COMPILE_CC_PATH) && exit 0;\
1851 echo "The following command failed
:" 1>&2;\
1852 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1853 $(COMPILE_CC_PATH) >/dev/null 2>&1
1855 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1857 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1860 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1861 dir=bin $(MAKEDIR); fi
1862 @: >> $@ || : > $@ # what a fancy emoticon!
1864 bin/smbd: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) @BUILD_POPT@
1866 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1867 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1868 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1869 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1870 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1872 bin/nmbd: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1874 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1875 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1876 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(POPT_LIBS) \
1877 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1879 bin/swat: $(BINARY_PREREQS) $(SWAT_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) @BUILD_POPT@
1881 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1882 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1883 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1884 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1885 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1887 bin/rpcclient: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1889 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1890 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1891 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1892 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1894 bin/smbclient: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1896 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1897 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1898 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1899 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1901 bin/net: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) $(LIBNETAPI)
1903 @$(CC) -o $@ $(NET_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1904 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1905 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1906 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1907 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(LIBNETAPI_LIBS) $(TERMLDFLAGS) $(TERMLIBS)
1909 bin/profiles: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1911 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1912 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1914 bin/smbspool: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1916 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1917 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1918 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
1920 bin/testparm: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1922 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1923 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1925 bin/smbta-util: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1927 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1928 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1930 bin/smbstatus: $(BINARY_PREREQS) $(STATUS_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) @BUILD_POPT@
1932 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1933 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1934 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1935 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
1936 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1938 bin/smbcontrol: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1940 @$(CC) -DUSING_SMBCONTROL -o $@ \
1941 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1942 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1943 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1945 bin/smbtree: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1947 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1948 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1949 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1951 bin/smbpasswd: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1953 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1954 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1955 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1957 bin/pdbedit: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1959 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1960 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1961 $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1963 bin/smbget: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
1965 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1966 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1967 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1969 bin/nmblookup: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1971 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1972 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1974 bin/smbtorture3: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT) $(IDMAP_UTIL_OBJ)
1976 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(IDMAP_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) \
1977 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1978 $(LIBTDBS_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1980 bin/talloctort: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1982 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1983 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1984 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1986 bin/replacetort: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1988 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1989 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1991 bin/smbconftort: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
1993 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1994 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1995 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
1997 bin/pthreadpooltest: $(PTHREADPOOLTEST_OBJ)
1999 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
2001 bin/masktest: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2003 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2004 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2005 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2006 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2008 bin/msgtest: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
2010 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2011 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2012 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2014 bin/smbcacls: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2016 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
2017 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2018 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2020 bin/smbcquotas: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2022 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
2023 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2024 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2026 bin/eventlogadm: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDBS)
2028 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
2029 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
2031 bin/sharesec: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS)
2033 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2034 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
2036 bin/locktest: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2038 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2039 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2040 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2041 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2043 bin/nsstest: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2045 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2048 bin/vfstest: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2050 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2051 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2052 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2053 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
2054 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2056 bin/log2pcap: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2058 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2059 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2061 bin/locktest2: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2063 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2064 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2065 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2066 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2068 bin/debug2html: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2070 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2071 $(LIBS) $(LIBTALLOC_LIBS)
2073 bin/smbfilter: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2075 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2076 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2077 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2078 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS)
2080 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2082 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2085 #####################################################################
2089 #####################################################################
2091 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2094 #-------------------------------------------------------------------
2098 #-------------------------------------------------------------------
2101 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2102 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2104 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2106 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2107 @echo Linking non-shared library $@
2108 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2109 libtalloc: $(LIBTALLOC)
2113 $(LIBTALLOC_STATIC_TARGET)
2116 cleanlibs:: cleanlibtalloc
2120 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2121 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2122 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2124 showlibs:: showlibtalloc
2126 #-------------------------------------------------------------------
2130 #-------------------------------------------------------------------
2132 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2133 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2135 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2137 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2138 @echo Linking non-shared library $@
2139 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2145 $(LIBTDB_STATIC_TARGET)
2148 cleanlibs:: cleanlibtdb
2152 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2153 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2154 @echo "LIBTDB
= $(LIBTDB
)"
2156 showlibs:: showlibtdb
2158 #-------------------------------------------------------------------
2162 #-------------------------------------------------------------------
2164 LIBNTDB_OBJ0 = @LIBNTDB_OBJ0@
2165 LIBNTDB_OBJ = $(LIBNTDB_OBJ0) $(LIBREPLACE_OBJ)
2167 LIBNTDB_STATIC_TARGET=@LIBNTDB_STATIC_TARGET@
2169 $(LIBNTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNTDB_OBJ0)
2170 @echo Linking non-shared library $@
2171 @-$(AR) -rc $@ $(LIBNTDB_OBJ0)
2177 $(LIBNTDB_STATIC_TARGET)
2180 cleanlibs:: cleanlibntdb
2184 @echo "LIBNTDB_STATIC
= @LIBNTDB_STATIC@
"
2185 @echo "LIBNTDB_STATIC_TARGET
= $(LIBNTDB_STATIC_TARGET
)"
2186 @echo "LIBNTDB
= $(LIBNTDB
)"
2188 showlibs:: showlibntdb
2190 #-------------------------------------------------------------------
2194 #-------------------------------------------------------------------
2196 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2197 ../nsswitch/libwbclient/wbc_util.o \
2198 ../nsswitch/libwbclient/wbc_pwd.o \
2199 ../nsswitch/libwbclient/wbc_idmap.o \
2200 ../nsswitch/libwbclient/wbc_sid.o \
2201 ../nsswitch/libwbclient/wbc_guid.o \
2202 ../nsswitch/libwbclient/wbc_pam.o
2204 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2207 ../lib/util/blocking.o \
2208 $(SOCKET_WRAPPER_OBJ)
2210 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2211 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2212 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2213 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2214 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2215 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2216 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2218 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2219 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2221 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2222 @echo Linking shared library $@
2223 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2224 @SONAMEFLAG@`basename $@`
2226 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2228 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2230 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2231 @echo Linking non-shared library $@
2232 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2234 libwbclient: $(LIBWBCLIENT)
2238 $(LIBWBCLIENT_SYMS) \
2239 $(LIBWBCLIENT_STATIC_TARGET) \
2240 $(LIBWBCLIENT_SHARED_TARGET) \
2241 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2243 installlibwbclient:: installdirs libwbclient
2244 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2245 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2246 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2247 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2248 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2249 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2251 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2252 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2253 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2255 uninstalllibwbclient::
2256 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2257 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2258 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2259 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2262 installlibs:: @INSTALL_LIBWBCLIENT@
2263 uninstalllibs:: uninstalllibwbclient
2264 cleanlibs:: cleanlibwbclient
2265 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2269 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2270 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2271 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2273 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2274 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2275 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2276 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2277 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2278 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2280 showlibs:: showlibwbclient
2283 #-------------------------------------------------------------------
2287 #-------------------------------------------------------------------
2289 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2291 autoconf/librpc/gen_ndr/ndr_libnetapi.o \
2292 lib/netapi/libnetapi.o \
2293 lib/netapi/joindomain.o \
2294 lib/netapi/serverinfo.o \
2295 lib/netapi/getdc.o \
2297 lib/netapi/group.o \
2298 lib/netapi/localgroup.o \
2301 lib/netapi/share.o \
2303 lib/netapi/shutdown.o \
2304 lib/netapi/netlogon.o
2306 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2308 $(REG_SMBCONF_OBJ) \
2309 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2310 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2311 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2312 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2313 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2315 $(LIBCLI_INITSHUTDOWN_OBJ) \
2316 $(LIBCLI_WKSSVC_OBJ) \
2317 $(LIBCLI_SRVSVC_OBJ) \
2319 $(LIBCLI_SAMR_OBJ) \
2320 $(RPC_CLIENT_SCHANNEL_OBJ) \
2321 rpc_client/init_samr.o
2323 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2324 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2325 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2326 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2327 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2328 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2329 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2331 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2332 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2334 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2335 @echo Linking shared library $@
2336 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2337 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2338 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2339 @SONAMEFLAG@`basename $@`
2341 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2343 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2345 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2346 @echo Linking non-shared library $@
2347 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2349 libnetapi: $(LIBNETAPI)
2354 $(LIBNETAPI_STATIC_TARGET) \
2355 $(LIBNETAPI_SHARED_TARGET) \
2356 $(LIBNETAPI_SHARED_TARGET_SONAME)
2358 installlibnetapi:: installdirs libnetapi
2359 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2360 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2361 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2362 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2363 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2364 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2366 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2367 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2368 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2370 uninstalllibnetapi::
2371 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2372 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2373 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2374 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2377 installlibs:: @INSTALL_LIBNETAPI@
2378 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2379 cleanlibs:: cleanlibnetapi
2380 shlibs test_shlibs: @LIBNETAPI_SHARED@
2384 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2385 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2386 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2388 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2389 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2390 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2391 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2392 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2393 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2395 showlibs:: showlibnetapi
2397 #-------------------------------------------------------------------
2401 #-------------------------------------------------------------------
2403 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2404 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2405 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2406 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2407 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2408 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2409 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2410 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2412 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2413 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2415 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2416 @echo Linking shared library $@
2417 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2418 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2419 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2420 @SONAMEFLAG@`basename $@`
2422 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2424 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2426 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2427 @echo Linking non-shared library $@
2428 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2430 libsmbclient: $(LIBSMBCLIENT)
2434 $(LIBSMBCLIENT_SHARED_TARGET) \
2435 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2436 $(LIBSMBCLIENT_STATIC_TARGET)
2438 installlibsmbclient:: installdirs libsmbclient
2439 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2440 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2441 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2442 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2443 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2444 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2446 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2447 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2448 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2450 installclientlib:: installlibsmbclient
2452 uninstalllibsmbclient::
2453 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2454 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2455 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2456 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2458 uninstallclientlib:: uninstalllibsmbclient
2461 installlibs:: @INSTALL_LIBSMBCLIENT@
2462 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2463 cleanlibs:: cleanlibsmbclient
2464 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2468 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2469 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2470 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2472 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2473 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2474 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2475 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2476 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2477 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2479 showlibs:: showlibsmbclient
2481 #-------------------------------------------------------------------
2485 #-------------------------------------------------------------------
2487 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2489 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2491 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2492 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2493 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2494 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2495 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2496 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2497 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2498 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2500 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2501 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2503 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDBS)
2504 @echo Linking shared library $@
2505 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2506 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
2507 @SONAMEFLAG@`basename $@`
2509 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2511 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2513 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2514 @echo Linking non-shared library $@
2515 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2517 libsmbsharemodes: $(LIBSMBSHAREMODES)
2519 cleanlibsmbsharemodes::
2521 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2522 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2523 $(LIBSMBSHAREMODES_STATIC_TARGET)
2525 installlibsmbsharemodes:: installdirs libsmbsharemodes
2526 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2527 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2528 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2529 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2530 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2531 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2533 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2534 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2535 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2537 uninstalllibsmbsharemodes::
2538 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2539 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2540 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2541 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2543 libs:: libsmbsharemodes
2544 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2545 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2546 cleanlibs:: cleanlibsmbsharemodes
2547 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2549 showlibsmbsharemodes:
2551 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2552 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2553 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2554 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2556 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2557 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2558 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2559 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2560 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2561 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2563 showlibs:: showlibsmbsharemodes
2565 #####################################################################
2569 #####################################################################
2571 # Linker command to link our shared libraries:
2572 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2573 -o $@ @SONAMEFLAG@`basename $@`
2574 # Linker command to link samba internal plugin modules:
2575 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2576 -o $@ @SONAMEFLAG@`basename $@`
2578 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2580 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2582 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2584 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2586 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2588 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2590 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2592 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2594 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2596 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2598 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2600 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2602 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2604 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2606 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2608 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2610 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2612 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2614 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2616 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2618 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2620 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2622 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2624 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2626 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2628 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2630 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2632 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2634 bin/winbindd: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2636 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2637 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2638 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) \
2641 bin/vlp: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDBS) $(LIBTALLOC)
2643 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2644 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2648 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2650 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2651 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2652 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2654 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDBS)
2656 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2657 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(ZLIB_LIBS) \
2658 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2660 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2662 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2663 $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2665 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2666 @echo "Linking shared library
$@
"
2667 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2668 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2674 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2675 @echo "Building plugin
$@
"
2676 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2678 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2679 @echo "Building plugin
$@
"
2680 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2682 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2683 @echo "Building plugin
$@
"
2684 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2686 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2687 @echo "Building plugin
$@
"
2688 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2690 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2691 @echo "Building plugin
$@
"
2692 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2694 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2695 @echo "Building plugin
$@
"
2696 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2698 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2699 @echo "Building plugin
$@
"
2700 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2702 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2703 passdb/pdb_ipa.o passdb/pdb_ldap_util.o
2704 @echo "Building plugin
$@
"
2705 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2706 passdb/pdb_ldap_util.o $(LDAP_LIBS)
2708 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2709 @echo "Building plugin
$@
"
2710 @$(SHLD_MODULE) passdb/pdb_tdb.o
2712 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2713 @echo "Building plugin
$@
"
2714 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2716 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2717 @echo "Building plugin
$@
"
2718 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2720 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2721 @echo "Building plugin
$@
"
2722 @$(SHLD_MODULE) winbindd/idmap_rid.o
2724 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2725 @echo "Building plugin
$@
"
2726 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2728 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2729 @echo "Building plugin
$@
"
2730 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2732 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2733 @echo "Building plugin
$@
"
2734 @$(SHLD_MODULE) winbindd/idmap_ad.o
2736 bin/rfc2307.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rfc2307.o
2737 @echo "Building plugin
$@
"
2738 @$(SHLD_MODULE) winbindd/idmap_rfc2307.o
2740 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2741 @echo "Building plugin
$@
"
2742 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2744 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2745 @echo "Building plugin
$@
"
2746 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2748 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2749 @echo "Building plugin
$@
"
2750 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2752 # NOTE, there is no build rule for a dynamic default VFS module because
2753 # this one MUST MUST MUST be built statically.
2755 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2756 @echo "Building plugin
$@
"
2757 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2759 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2760 @echo "Building plugin
$@
"
2761 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2763 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2764 @echo "Building plugin
$@
"
2765 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2767 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2768 @echo "Building plugin
$@
"
2769 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2771 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2772 @echo "Building plugin
$@
"
2773 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2775 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2776 @echo "Building plugin
$@
"
2777 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2779 bin/fake_acls.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_ACLS_OBJ)
2780 @echo "Building plugin
$@
"
2781 @$(SHLD_MODULE) $(VFS_FAKE_ACLS_OBJ)
2783 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2784 @echo "Building plugin
$@
"
2785 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2787 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2788 @echo "Building plugin
$@
"
2789 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2791 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2792 @echo "Building plugin
$@
"
2793 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2795 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2796 @echo "Building plugin
$@
"
2797 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2799 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2800 @echo "Building plugin
$@
"
2801 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2803 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2804 @echo "Building plugin
$@
"
2805 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2807 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2808 @echo "Building plugin
$@
"
2809 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2811 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2812 @echo "Building plugin
$@
"
2813 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2815 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2816 @echo "Building plugin
$@
"
2817 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2819 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2820 @echo "Building plugin
$@
"
2821 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2823 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2824 @echo "Building plugin
$@
"
2825 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2827 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2828 @echo "Building plugin
$@
"
2829 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2831 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2832 @echo "Building plugin
$@
"
2833 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2835 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2836 @echo "Building plugin
$@
"
2837 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2839 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2840 @echo "Building plugin
$@
"
2841 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2843 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2844 @echo "Building plugin
$@
"
2845 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2847 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2848 @echo "Building plugin
$@
"
2849 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2851 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2852 @echo "Building plugin
$@
"
2853 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2855 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2856 @echo "Building plugin
$@
"
2857 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2859 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2860 @echo "Building plugin
$@
"
2861 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2863 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2864 @echo "Building plugin
$@
"
2865 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2867 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2868 @echo "Building plugin
$@
"
2869 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2871 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2872 @echo "Building plugin
$@
"
2873 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2875 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2876 @echo "Building plugin
$@
"
2877 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2879 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2880 @echo "Building plugin
$@
"
2881 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2883 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2884 @echo "Building plugin
$@
"
2885 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2887 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2888 @echo "Building plugin
$@
"
2889 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2891 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2892 @echo "Building plugin
$@
"
2893 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2895 bin/aio_pthread.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_PTHREAD_OBJ)
2896 @echo "Building plugin
$@
"
2897 @$(SHLD_MODULE) $(VFS_AIO_PTHREAD_OBJ)
2899 bin/aio_posix.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_POSIX_OBJ)
2900 @echo "Building plugin
$@
"
2901 @$(SHLD_MODULE) $(VFS_AIO_POSIX_OBJ)
2903 bin/aio_linux.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_LINUX_OBJ)
2904 @echo "Building plugin
$@
"
2905 @$(SHLD_MODULE) $(VFS_AIO_LINUX_OBJ)
2907 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2908 @echo "Building plugin
$@
"
2909 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2911 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2912 @echo "Building plugin
$@
"
2913 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2915 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2916 @echo "Building plugin
$@
"
2917 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2919 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2920 @echo "Building plugin
$@
"
2921 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2923 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2924 @echo "Building plugin
$@
"
2925 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2927 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2928 @echo "Building plugin
$@
"
2929 @$(SHLD_MODULE) libgpo/gpext/registry.o
2931 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2932 @echo "Building plugin
$@
"
2933 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2935 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2936 @echo "Building plugin
$@
"
2937 @$(SHLD_MODULE) libgpo/gpext/security.o
2939 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2940 @echo "Building plugin
$@
"
2941 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2943 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
2944 @echo "Building plugin
$@
"
2945 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
2947 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
2948 @echo "Building plugin
$@
"
2949 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
2951 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
2952 @echo "Building plugin
$@
"
2953 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
2955 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
2956 @echo "Building plugin
$@
"
2957 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
2959 bin/media_harmony.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_MEDIA_HARMONY_OBJ)
2960 @echo "Building plugin
$@
"
2961 @$(SHLD_MODULE) $(VFS_MEDIA_HARMONY_OBJ)
2963 bin/btrfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_BTRFS_OBJ)
2964 @echo "Building plugin
$@
"
2965 @$(SHLD_MODULE) $(VFS_BTRFS_OBJ)
2967 #########################################################
2968 ## IdMap NSS plugins
2970 ## None here right now
2971 #########################################################
2973 bin/wbinfo: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2975 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2976 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) \
2979 bin/ntlm_auth: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2980 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
2982 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2983 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
2984 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2985 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
2987 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDBS)
2988 @echo "Linking shared library
$@
"
2989 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2990 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(KRB5LIBS) $(ZLIB_LIBS) \
2991 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS) $(LIBWBCLIENT_LIBS)
2993 bin/tdbbackup: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDBS)
2995 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2996 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
2998 bin/tdbtool: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDBS)
3000 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3001 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3003 bin/tdbdump: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDBS)
3005 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDBS_LIBS) $(LIBREPLACE_LIBS)
3007 bin/tdbrestore: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDBS)
3009 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDBS_LIBS) $(LIBREPLACE_LIBS)
3011 bin/tdbtorture: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDBS)
3013 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3014 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3016 bin/timelimit: script/tests/timelimit.o
3018 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o $(LDFLAGS)
3020 bin/rpc_open_tcp: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
3022 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3023 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3024 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3026 bin/test_lp_load: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
3028 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3029 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3030 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3031 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3033 bin/dbwrap_tool: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDBS)
3035 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3036 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3039 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3041 install-dbwrap_tool:: bin/dbwrap_tool
3042 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3044 bin/dbwrap_torture: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDBS) $(POPT_LIBS)
3046 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3047 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3050 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3052 install-dbwrap_torture:: bin/dbwrap_torture
3053 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3055 bin/split_tokens: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDBS) $(LIBWBCLIENT)
3057 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3058 $(LDFLAGS) $(DYNEXP) \
3059 $(LIBS) $(POPT_LIBS) \
3060 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3061 $(LIBTALLOC_LIBS) $(LIBTDBS_LIBS)
3063 install:: installservers installbin installman \
3064 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3065 @INSTALL_PAM_MODULES@ installlibs installmo
3067 install-everything:: install installmodules
3069 # DESTDIR is used here to prevent packagers wasting their time
3070 # duplicating the Makefile. Remove it and you will have the privelege
3071 # of package each samba release for muliple versions of multiple
3072 # distributions and operating systems, or at least supplying patches
3073 # to all the packaging files required for this, prior to committing
3074 # the removal of DESTDIR. Do not remove it even though you think it
3078 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3079 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3080 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3081 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3082 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3084 installservers:: all installdirs
3085 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3087 installbin:: all installdirs
3088 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3090 # Some symlinks are required for the 'probing' of modules.
3091 # This mechanism should go at some point..
3092 installmodules:: modules installdirs
3093 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3094 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3095 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3096 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3097 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3098 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3099 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3100 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3101 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3102 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3103 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3104 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3105 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3106 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3108 installscripts:: installdirs
3109 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3111 installdat:: installdirs
3112 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3114 installmsg:: installdirs
3115 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3117 installswat:: installdirs installmsg
3118 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3120 installpammodules:: $(PAM_MODULES)
3121 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3122 @for module in $(PAM_MODULES); do \
3123 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3124 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3125 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3128 # revert to the previously installed version
3130 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3131 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3133 installman:: installdirs
3134 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3136 installmo:: all installdirs
3137 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3142 @echo "Samba will be installed into
:"
3143 @echo " prefix: $(prefix)"
3144 @echo " exec_prefix: $(exec_prefix)"
3145 @echo " sysconfdir
: $(sysconfdir
)"
3146 @echo " localstatedir
: $(localstatedir
)"
3147 @echo " datarootdir
: $(datarootdir
)"
3148 @echo " BINDIR
: $(BINDIR
)"
3149 @echo " SBINDIR
: $(SBINDIR
)"
3150 @echo " LIBDIR
: $(LIBDIR
)"
3151 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3152 @echo " MANDIR
: $(MANDIR
)"
3153 @echo " DATADIR
: $(DATADIR
)"
3154 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3155 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3156 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3157 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3158 @echo " MODULESDIR
: $(MODULESDIR
)"
3159 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3160 @echo " SETUPDIR
: $(SETUPDIR
)"
3161 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3162 @echo " SWATDIR
: $(SWATDIR
)"
3163 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3164 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3165 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3166 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3167 @echo " LOCKDIR
: $(LOCKDIR
)"
3168 @echo " PIDDIR
: $(PIDDIR
)"
3169 @echo " STATEDIR
: $(STATEDIR
)"
3170 @echo " CACHEDIR
: $(CACHEDIR
)"
3171 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3172 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3173 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3174 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3175 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3176 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3177 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3178 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3179 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3180 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3181 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3184 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3187 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3190 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3193 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3196 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3199 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3200 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3201 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3202 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3203 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3204 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3207 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3210 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3213 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3215 uninstallswat:: uninstallmsg
3216 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3218 uninstallpammodules::
3219 @for module in $(PAM_MODULES); do \
3220 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3221 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3225 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3227 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3229 ../libgpo/*.o ../libgpo/*/*.o \
3230 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o ../auth/*.o ../auth/*/*.o
3233 -rm -f include/build_env.h
3234 -rm -f smbd/build_options.c
3235 -rm -f autoconf/lib/param/param_local.h
3236 -rm -f autoconf/lib/param/param_global.h
3237 -rm -f autoconf/lib/param/param_proto.h
3238 -rm -f autoconf/lib/param/s3_param.h
3239 -rm -f autoconf/source3/param/param_global.h
3240 -rm -f $(PRECOMPILED_HEADER)
3241 -rm -f core */*~ *~ \
3242 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3243 ../testsuite/*/*.o \
3244 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3246 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3247 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3248 $(MODULES) $(TORTURE_PROGS) \
3249 $(EVERYTHING_PROGS) \
3251 .headers.stamp */src/*.o
3254 include/build_env.h: script/build_env.sh
3255 @echo Building include/build_env.h
3256 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3257 > $(builddir)/include/build_env.h
3263 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3266 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3269 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3270 -rm -f script/installbin.sh script/uninstallbin.sh
3272 distclean:: realclean
3274 -rm -f include/autoconf/config.h Makefile
3275 -rm -f config.status config.cache so_locations
3278 realdistclean:: distclean
3279 -rm -f include/autoconf/config.h.in
3280 -rm -f include/autoconf/version.h
3281 -rm -f autoconf/librpc/gen_ndr/*.[ch]
3284 # when configure.in is updated, reconfigure
3285 $(srcdir)/configure: $(srcdir)/configure.in
3286 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3288 config.status: $(srcdir)/configure
3289 @echo "WARNING
: you need to run .
/configure
"
3291 Makefile: $(srcdir)/Makefile.in config.status
3292 @echo "WARNING
: you need to run .
/config.status
"
3294 ######################################################################
3295 # Samba Testing Framework
3297 # Check shared libs for unresolved symbols
3300 @$(LIB_PATH_VAR)=./bin && \
3301 export $(LIB_PATH_VAR) && \
3302 for module in $?; do \
3303 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3307 # Check for NSS module problems.
3308 test_nss_modules:: nss_modules
3309 @echo "Testing
$(NSS_MODULES
) "
3310 @$(LIB_PATH_VAR)=./bin && \
3311 export $(LIB_PATH_VAR) && \
3312 for module in $(NSS_MODULES); do \
3313 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3317 # Check for PAM module problems. Specifically, check that every module we
3318 # built can actually be loaded by a minimal PAM-aware application.
3319 test_pam_modules:: pam_modules
3320 @echo "Testing
$(PAM_MODULES
) "
3321 @$(LIB_PATH_VAR)=./bin && \
3322 export $(LIB_PATH_VAR) && \
3323 for module in $(PAM_MODULES); do \
3324 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3330 ## Targets for 'make test'
3333 valgrindtest:: all torture timelimit bin/smbtorture
3334 @echo Running Test suite with valgrind
3336 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3337 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3338 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3339 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3341 selftestdir = ../selftest
3343 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3345 test:: all torture timelimit bin/smbtorture
3346 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3347 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3348 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3349 SOURCEDIR="$(srcdir)" \
3350 VFSLIBDIR="$(builddir
)/bin
" \
3351 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3352 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3353 PERL="$(PERL
)" PYTHON="$(PYTHON
)" PYTHONPATH="$(srcdir)/..
/bin
/python
" \
3354 $(srcdir)/selftest/s3-selftest.sh
3357 $(MAKE) test TESTS=$*
3360 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3363 $(MAKE) test SUBUNIT_FORMATTER=cat
3365 SELFTEST_TESTENV = s3dc
3368 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3371 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3372 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3373 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3374 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3378 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3379 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3380 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3381 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3385 # Check for Winbind struct 32/64bit padding
3387 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3388 @./script/tests/wb_pad.sh || exit 1;
3394 libsmbclient_examples: libsmbclient
3395 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3397 clean_libsmbclient_examples:
3398 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3400 libnetapi_examples: libnetapi
3401 $(MAKE) -C lib/netapi/examples
3403 clean_libnetapi_examples:
3404 $(MAKE) -C lib/netapi/examples clean
3406 .PHONY: bin/smbtorture
3408 bin/smbtorture: $(BINARY_PREREQS)
3409 $(MAKE) -f Makefile-smbtorture bin/smbtorture
3411 .PHONY: vfs_examples
3415 cd ../examples/VFS && \