1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 # the following vars come from ../dynconfig/config.m4
23 #LIBEXECDIR=@LIBEXECDIR@
27 #SCRIPTSBINDIR=@SCRIPTSBINDIR@
28 #PYTHONDIR=@PYTHONDIR@
29 #PYTHONARCHDIR=@PYTHONARCHDIR@
30 MODULESDIR
=@MODULESDIR@
31 INCLUDEDIR
=@INCLUDEDIR@
33 #PKGCONFIGDIR=@PKGCONFIGDIR@
35 CODEPAGEDIR
=@CODEPAGEDIR@
36 PAMMODULESDIR
=@PAMMODULESDIR@
38 PRIVATE_DIR
=@PRIVATE_DIR@
43 LOGFILEBASE
=@LOGFILEBASE@
44 SOCKET_DIR
=@SOCKET_DIR@
45 PRIVILEGED_SOCKET_DIR
=@PRIVILEGED_SOCKET_DIR@
46 WINBINDD_SOCKET_DIR
=@WINBINDD_SOCKET_DIR@
47 WINBINDD_PRIVILEGED_SOCKET_DIR
=@WINBINDD_PRIVILEGED_SOCKET_DIR@
48 NMBDSOCKETDIR
=@NMBDSOCKETDIR@
49 #NTP_SIGND_SOCKET_DIR=@NTP_SIGND_SOCKET_DIR@
50 NCALRPCDIR
=@NCALRPCDIR@
51 CONFIGFILE
=@CONFIGFILE@
52 LMHOSTSFILE
=@LMHOSTSFILE@
53 SMB_PASSWD_FILE
=@SMB_PASSWD_FILE@
55 selftest_prefix
=@selftest_prefix@
56 selftest_shrdir
=@selftest_shrdir@
57 smbtorture4_path
=@smbtorture4_path@
58 smbtorture4_option
=@smbtorture4_option@
59 selftest_custom_conf
=@selftest_custom_conf@
64 LIB_PATH_VAR
=@LIB_PATH_VAR@
66 ## Dynamic shared libraries build settings
67 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
68 DSO_EXPORTS
=@DSO_EXPORTS@
69 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
71 # The MODULE_EXPORTS variable contains the platform-specific linker flags
72 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
73 MODULE_EXPORTS
=@MODULE_EXPORTS@
75 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
76 # (GCC) warnings. This is done automatically for --enable-developer,
77 # --enable-picky-developer and --enable-krb5developer.
78 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
81 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
86 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
87 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
88 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
90 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
99 TERMLDFLAGS
=@TERMLDFLAGS@
101 PRINT_LIBS
=@PRINT_LIBS@
102 ZLIB_LIBS
=@ZLIB_LIBS@
103 AUTH_LIBS
=@AUTH_LIBS@
105 PASSDB_LIBS
=@PASSDB_LIBS@
106 IDMAP_LIBS
=@IDMAP_LIBS@
108 LDAP_LIBS
=@LDAP_LIBS@
109 NSCD_LIBS
=@NSCD_LIBS@
110 UUID_LIBS
=@UUID_LIBS@
111 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
112 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
113 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
114 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
115 DNSSD_LIBS
=@DNSSD_LIBS@
116 AVAHI_LIBS
=@AVAHI_LIBS@
118 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
119 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
120 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
121 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
122 LIBTDB_LIBS
=@LIBTDB_LIBS@
124 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
125 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
126 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
127 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
129 TALLOCTORT
= @TALLOCTORT@
131 TDBBACKUP
= @TDBBACKUP@
134 TDBRESTORE
= @TDBRESTORE@
135 TDBTORTURE
= @TDBTORTURE@
136 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
139 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
140 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
141 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
142 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
146 builddir
=@abs_builddir@
147 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
148 # will search for a POSIX-compliant shell, and that might not be
149 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
153 # See the autoconf manual "Installation Directory Variables" for a
154 # discussion of the subtle use of these variables.
156 VFSLIBDIR
= $(MODULESDIR
)/vfs
157 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
158 PDBLIBDIR
= $(MODULESDIR
)/pdb
159 RPCLIBDIR
= $(MODULESDIR
)/rpc
160 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
161 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
162 CHARSETLIBDIR
= $(MODULESDIR
)/charset
163 AUTHLIBDIR
= $(MODULESDIR
)/auth
164 CONFIGLIBDIR
= $(MODULESDIR
)/config
165 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
166 VARDIR
= @localstatedir@
168 # The permissions to give the executables and other data
169 INSTALLPERMS_BIN
= 0755
170 INSTALLPERMS_DATA
= 0644
180 -I.
/..
/lib
/ldb
/include \
183 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
184 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
185 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
186 -DSBINDIR
=\"$(SBINDIR
)\" \
187 -DBINDIR
=\"$(BINDIR
)\" \
188 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
189 -DSWATDIR
=\"$(SWATDIR
)\" \
190 -DLOCKDIR
=\"$(LOCKDIR
)\" \
191 -DPIDDIR
=\"$(PIDDIR
)\" \
192 -DLIBDIR
=\"$(LIBDIR
)\" \
193 -DMODULESDIR
=\"$(MODULESDIR
)\" \
194 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
195 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
196 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
197 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
198 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
199 -DCACHEDIR
=\"$(CACHEDIR
)\" \
200 -DSTATEDIR
=\"$(STATEDIR
)\" \
201 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
202 -DWINBINDD_SOCKET_DIR
=\"$(WINBINDD_SOCKET_DIR
)\" \
203 -DWINBINDD_PRIVILEGED_SOCKET_DIR
=\"$(WINBINDD_PRIVILEGED_SOCKET_DIR
)\" \
204 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
205 -DDATADIR
=\"$(DATADIR
)\" \
206 -DSETUPDIR
=\"$(SETUPDIR
)\"
208 # Note that all executable programs now provide for an optional executable suffix.
210 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
212 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
213 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
214 bin
/smbta-util@EXEEXT@
215 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
216 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
217 $(TDBRESTORE
) $(TDBTOOL
) bin
/dbwrap_tool@EXEEXT@
218 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
219 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
220 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
222 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
223 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
224 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
225 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
226 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
227 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
229 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
230 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
232 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
233 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
234 bin
/log2pcap@EXEEXT@ \
236 bin
/dbwrap_tool@EXEEXT@ \
237 bin
/dbwrap_torture@EXEEXT@
239 PAM_MODULES
= @PAM_MODULES@
241 NSS_MODULES
= @NSS_MODULES@
243 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
245 VFS_MODULES
= @VFS_MODULES@
246 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
247 PDB_MODULES
= @PDB_MODULES@
248 IDMAP_MODULES
= @IDMAP_MODULES@
249 CHARSET_MODULES
= @CHARSET_MODULES@
250 AUTH_MODULES
= @AUTH_MODULES@
251 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
252 GPEXT_MODULES
= @GPEXT_MODULES@
253 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
254 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
255 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
257 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
259 ######################################################################
261 ######################################################################
263 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
264 ..
/lib
/util
/tdb_wrap.o \
265 lib
/dbwrap
/dbwrap.o \
266 lib
/dbwrap
/dbwrap_open.o \
267 lib
/dbwrap
/dbwrap_tdb.o \
268 lib
/dbwrap
/dbwrap_ctdb.o \
270 lib
/dbwrap
/dbwrap_rbt.o
272 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
274 SMBLDAP_OBJ
= @SMBLDAP@
276 VERSION_OBJ
= lib
/version.o
278 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
282 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
284 AVAHI_OBJ
= @AVAHI_OBJ@
286 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
288 PASSCHANGE_OBJ
= libsmb
/passchange.o
290 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
291 ..
/librpc
/ndr
/ndr_compression.o \
292 librpc
/gen_ndr
/ndr_drsuapi.o \
293 ..
/librpc
/ndr
/ndr_drsblobs.o \
294 librpc
/gen_ndr
/ndr_drsblobs.o
296 ZLIB_OBJ
= @ZLIB_OBJS@
298 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
299 ..
/lib
/compression
/lzxpress.o \
302 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
305 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
306 ..
/librpc
/ndr
/ndr_ntlmssp.o
308 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
309 ..
/librpc
/ndr
/ndr.o \
310 ..
/librpc
/ndr
/ndr_misc.o \
311 librpc
/gen_ndr
/ndr_misc.o \
312 librpc
/gen_ndr
/ndr_security.o \
313 ..
/librpc
/ndr
/ndr_sec_helper.o \
314 ..
/librpc
/ndr
/ndr_string.o \
315 ..
/librpc
/ndr
/uuid.o \
316 ..
/librpc
/ndr
/util.o \
317 librpc
/gen_ndr
/ndr_server_id.o \
318 librpc
/gen_ndr
/ndr_dcerpc.o
320 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
321 librpc
/gen_ndr
/ndr_lsa.o
323 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
324 ..
/librpc
/ndr
/ndr_netlogon.o
326 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
327 ..
/librpc
/ndr
/ndr_schannel.o
329 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
330 ..
/librpc
/ndr
/ndr_spoolss_buf.o
332 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
333 ..
/librpc
/ndr
/ndr_ntprinting.o \
335 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
336 ..
/librpc
/ndr
/ndr_preg.o
338 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
339 ..
/librpc
/ndr
/ndr_xattr.o
341 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
342 rpc_client
/cli_spoolss.o \
343 rpc_client
/init_spoolss.o \
344 rpc_client
/cli_winreg_spoolss.o \
345 printing
/nt_printing_os2.o
347 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
349 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o \
350 rpc_client
/cli_winreg.o
352 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
353 rpc_client
/cli_winreg_int.o
355 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
357 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
359 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
361 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
363 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
365 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
367 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
369 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
371 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
373 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/ndr_lsa_c.o \
374 rpc_client
/cli_lsarpc.o \
375 rpc_client
/init_lsa.o
377 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/ndr_samr_c.o \
378 rpc_client
/cli_samr.o
380 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
381 rpc_client
/cli_netlogon.o \
382 rpc_client
/util_netlogon.o
384 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
386 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
388 librpc
/gen_ndr
/ndr_dfs.o \
389 librpc
/gen_ndr
/ndr_dfsblobs.o \
390 librpc
/gen_ndr
/ndr_echo.o \
391 librpc
/gen_ndr
/ndr_winreg.o \
392 librpc
/gen_ndr
/ndr_initshutdown.o \
393 librpc
/gen_ndr
/ndr_srvsvc.o \
394 librpc
/gen_ndr
/ndr_eventlog.o \
395 $(LIBNDR_NETLOGON_OBJ
) \
396 librpc
/gen_ndr
/ndr_dssetup.o \
397 librpc
/gen_ndr
/ndr_epmapper.o \
398 librpc
/gen_ndr
/ndr_ntsvcs.o \
399 $(LIBNDR_SPOOLSS_OBJ
)
401 # this includes only the low level parse code, not stuff
402 # that requires knowledge of security contexts
403 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
405 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
407 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
408 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
409 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
413 $(SOCKET_WRAPPER_OBJ
) \
417 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
418 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
419 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
420 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
421 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
422 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
423 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
424 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
425 ..
/lib
/util
/tevent_werror.o \
426 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
427 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
428 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o
430 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
431 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
432 ..
/lib
/crypto
/md4.o \
433 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
434 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
436 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
437 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
438 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
440 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
444 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
447 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
448 ..
/lib
/util
/charset
/pull_push.o \
449 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
450 lib
/interface.o lib
/pidfile.o lib
/dumpcore.o \
451 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
453 ..
/libds
/common
/flag_mapping.o \
454 lib
/access.o lib
/smbrun.o \
455 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
456 lib
/wins_srv.o lib
/string_init.o \
457 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
458 ..
/lib
/util
/util_str.o \
459 ..
/lib
/util
/base64.o lib
/util_sid.o \
460 ..
/lib
/util
/charset
/util_unistr.o \
461 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
462 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
463 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
464 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o lib
/dbwrap
/dbwrap_util.o \
465 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
466 lib
/tallocmsg.o lib
/dmallocmsg.o \
467 ..
/libcli
/smb
/smb_signing.o \
468 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
469 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
470 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
471 lib
/sessionid_tdb.o \
472 ..
/lib
/util
/internal_module.o ..
/lib
/util
/samba_module.o lib
/events.o @LIBTEVENT_OBJ0@ \
474 lib
/server_contexts.o \
475 lib
/server_prefork.o \
476 lib
/server_prefork_util.o \
477 lib
/ldap_escape.o @CHARSET_STATIC@ \
478 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
479 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
480 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
481 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
483 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
484 lib
/file_id.o lib
/idmap_cache.o \
485 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
486 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
489 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
490 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
492 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
494 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
495 # Be sure to include them into your application
496 POPT_LIB_OBJ
= lib
/popt_common.o
498 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
499 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
500 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
502 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
504 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
505 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
506 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
508 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
510 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
511 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
514 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
516 LIBADS_OBJ
= libads
/ldap.o \
517 libads
/sasl.o libads
/sasl_wrapping.o \
518 libads
/krb5_setpw.o \
519 libads
/kerberos_util.o \
521 libads
/ads_struct.o libads
/kerberos_keytab.o \
522 libads
/disp_sec.o libads
/ldap_utils.o \
523 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
525 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
526 ..
/librpc
/ndr
/ndr_krb5pac.o \
527 librpc
/gen_ndr
/ndr_krb5pac.o
529 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
531 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
532 librpc
/gen_ndr
/ndr_secrets.o \
535 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
536 ..
/libcli
/netlogon
/netlogon.o \
537 librpc
/gen_ndr
/ndr_nbt.o \
538 ..
/librpc
/ndr
/ndr_nbt.o \
539 librpc
/gen_ndr
/ndr_svcctl.o \
540 ..
/librpc
/ndr
/ndr_svcctl.o
542 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
543 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
544 libads
/dns.o libads
/sitename_cache.o
546 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
547 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
548 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
549 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
551 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
553 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
555 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
559 ..
/libcli
/auth
/ntlm_check.o \
561 libsmb
/ntlmssp_wrap.o \
562 ..
/auth
/gensec
/gensec.o \
563 ..
/auth
/gensec
/gensec_start.o \
564 ..
/auth
/credentials
/credentials.o \
565 ..
/auth
/credentials
/credentials_samba3.o \
566 ..
/auth
/ntlmssp
/ntlmssp.o \
567 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
568 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
569 $(LIBNDR_NTLMSSP_OBJ
) \
570 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
571 ..
/auth
/ntlmssp
/ntlmssp_server.o
573 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
576 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
577 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
579 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
580 ..
/lib
/tsocket
/tsocket_helpers.o \
581 ..
/lib
/tsocket
/tsocket_bsd.o
583 CLDAP_OBJ
= libads
/cldap.o \
584 ..
/libcli
/cldap
/cldap.o \
585 ..
/lib
/util
/idtree.o \
586 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
588 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
590 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
591 ..
/libcli
/auth
/schannel_sign.o \
592 ..
/libcli
/auth
/schannel_state_tdb.o \
593 $(LIBNDR_SCHANNEL_OBJ
)
595 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
596 libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libsmb
/clispnego.o \
597 ..
/libcli
/auth
/spnego_parse.o \
599 libsmb
/reparse_symlink.o \
600 libsmb
/clisymlink.o \
601 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
602 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
603 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
604 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
605 libsmb
/clioplock.o libsmb
/clirap2.o \
607 libsmb
/clisigning.o \
608 ..
/libcli
/smb
/smb_seal.o \
609 ..
/libcli
/smb
/read_smb.o \
610 libsmb
/smb2cli_base.o \
611 libsmb
/smb2cli_negprot.o \
612 libsmb
/smb2cli_session.o \
613 libsmb
/smb2cli_tcon.o \
614 libsmb
/smb2cli_create.o \
615 ..
/libcli
/smb
/smb2_create_blob.o \
616 ..
/libcli
/smb
/smb2_signing.o \
617 libsmb
/smb2cli_close.o \
618 libsmb
/smb2cli_flush.o \
619 libsmb
/smb2cli_read.o \
620 libsmb
/smb2cli_write.o \
621 libsmb
/smb2cli_query_directory.o \
622 libsmb
/cli_np_tstream.o \
623 libsmb
/smbsock_connect.o \
630 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
631 rpc_client
/cli_pipe.o \
632 librpc
/crypto
/gse_krb5.o \
633 librpc
/crypto
/gse.o \
634 ..
/auth
/kerberos
/gssapi_pac.o \
635 librpc
/crypto
/cli_spnego.o \
636 librpc
/rpc
/rpc_common.o \
637 rpc_client
/rpc_transport_np.o \
638 rpc_client
/rpc_transport_sock.o \
639 rpc_client
/rpc_transport_tstream.o \
640 ..
/librpc
/rpc
/binding.o \
641 ..
/librpc
/rpc
/dcerpc_util.o \
642 ..
/librpc
/rpc
/binding_handle.o \
643 librpc
/rpc
/dcerpc_helpers.o \
644 $(LIBCLI_EPMAPPER_OBJ
)
646 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
649 # registry-related objects
651 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
653 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
654 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
655 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
657 REGFIO_OBJ
= registry
/regfio.o \
660 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
662 REGOBJS_OBJ
= registry
/reg_objects.o
664 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
666 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
668 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
669 registry
/reg_backend_shares.o \
670 registry
/reg_backend_netlogon_params.o \
671 registry
/reg_backend_prod_options.o \
672 registry
/reg_backend_tcpip_params.o \
673 registry
/reg_backend_hkpt_params.o \
674 registry
/reg_backend_current_version.o \
675 registry
/reg_backend_perflib.o
677 REG_BASE_OBJ
= registry
/reg_api.o \
678 registry
/reg_dispatcher.o \
679 registry
/reg_cachehook.o \
681 registry
/reg_util_internal.o \
683 $(REG_BACKENDS_BASE_OBJ
) \
684 $(REG_INIT_BASIC_OBJ
)
686 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
687 registry
/reg_util_token.o \
688 registry
/reg_api_util.o \
689 $(REG_BACKENDS_SMBCONF_OBJ
) \
690 $(REG_INIT_SMBCONF_OBJ
)
692 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
693 $(REG_BACKENDS_EXTRA_OBJ
) \
694 $(REG_INIT_FULL_OBJ
) \
695 registry
/reg_perfcount.o \
696 librpc
/gen_ndr
/ndr_perfcount.o
698 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
700 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
702 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
703 librpc
/gen_ndr
/srv_lsa.o \
704 rpc_client
/util_lsarpc.o
706 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
707 librpc
/gen_ndr
/srv_netlogon.o
709 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
710 rpc_server
/samr
/srv_samr_util.o \
711 rpc_server
/samr
/srv_samr_chgpasswd.o \
712 librpc
/gen_ndr
/srv_samr.o
714 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
716 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
717 librpc
/gen_ndr
/srv_winreg.o
719 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
721 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
722 librpc
/gen_ndr
/srv_srvsvc.o
724 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
725 rpc_server
/wkssvc
/srv_wkssvc_nt.o
727 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
728 rpc_server
/svcctl
/srv_svcctl_reg.o \
729 librpc
/gen_ndr
/srv_svcctl.o \
730 services
/svc_winreg_glue.o \
731 services
/svc_spoolss.o services
/svc_rcinit.o \
732 services
/svc_netlogon.o services
/svc_winreg.o \
735 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
736 librpc
/gen_ndr
/srv_ntsvcs.o
738 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
739 rpc_server
/dfs
/srv_dfs_nt.o
741 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
742 rpc_server
/spoolss
/srv_spoolss_util.o \
743 librpc
/gen_ndr
/srv_spoolss.o
745 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
746 rpc_server
/eventlog
/srv_eventlog_reg.o \
747 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
749 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
750 librpc
/gen_ndr
/ndr_named_pipe_auth.o \
751 ..
/auth
/auth_sam_reply.o librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
753 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
754 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
755 rpc_server
/srv_access_check.o
757 RPC_CONFIG
= rpc_server
/rpc_config.o
759 RPC_SERVICE
= rpc_server
/rpc_server.o
761 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
762 rpc_server
/dcesrv_gssapi.o \
763 rpc_server
/dcesrv_spnego.o
765 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
766 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
768 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
770 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o librpc
/gen_ndr
/srv_epmapper.o
772 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
774 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
775 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
776 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
777 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
778 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
779 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
780 $(LIBCLI_SPOOLSS_OBJ
) \
781 $(LIBCLI_WINREG_INT_OBJ
) \
782 $(LIBCLI_SRVSVC_OBJ
) \
785 $(LIBCLI_NETLOGON_OBJ
) \
786 $(RPC_SERVER_REGISTER_OBJ
) \
787 $(RPC_CLIENT_SCHANNEL_OBJ
) \
788 rpc_server
/rpc_sock_helper.o \
789 rpc_server
/rpc_service_setup.o \
790 rpc_client
/init_netlogon.o \
791 rpc_client
/init_samr.o
793 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
795 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
797 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
799 PRIVILEGES_OBJ
= lib
/privileges.o
801 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
803 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
804 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
805 lib
/util_unixsids.o passdb
/lookup_sid.o \
806 passdb
/login_cache.o @PDB_STATIC@ \
807 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
808 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
811 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
812 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
814 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
816 PROFILE_OBJ
= profile
/profile.o
817 PROFILES_OBJ
= utils
/profiles.o \
820 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
824 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
827 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
828 librpc
/gen_ndr
/ndr_notify.o librpc
/gen_ndr
/ndr_file_id.o
830 FNAME_UTIL_OBJ
= lib
/filename_util.o
832 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
833 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
834 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
835 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
836 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
837 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
838 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
839 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
840 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
841 VFS_CAP_OBJ
= modules
/vfs_cap.o
842 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
843 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
844 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
845 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
846 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
847 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
848 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
849 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
850 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
851 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
852 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
853 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
854 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
855 VFS_CATIA_OBJ
= modules
/vfs_catia.o
856 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
857 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
858 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
859 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
860 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
861 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
862 VFS_GPFS_HSM_NOTIFY_OBJ
= modules
/vfs_gpfs_hsm_notify.o
863 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
864 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
865 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
866 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
867 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
868 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
869 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
870 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
871 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
872 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
873 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
874 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
875 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
876 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
877 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
878 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
879 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
880 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
881 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
882 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
883 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
885 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
886 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
888 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
890 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
892 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
893 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
894 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
895 AUTH_SERVER_OBJ
= auth
/auth_server.o
896 AUTH_UNIX_OBJ
= auth
/auth_unix.o
897 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
898 AUTH_WBC_OBJ
= auth
/auth_wbc.o
899 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
900 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
902 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
904 auth
/server_info_sam.o \
908 auth
/auth_compat.o auth
/auth_ntlmssp.o \
909 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
911 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
913 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o smbd
/msg_idmap.o
915 BUILDOPT_OBJ
= smbd
/build_options.o
917 SMBD_OBJ_SRV
= smbd
/server_reload.o \
918 smbd
/files.o smbd
/connection.o \
919 smbd
/utmp.o smbd
/session.o \
920 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
921 smbd
/share_access.o smbd
/fileio.o \
922 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
923 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
924 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
925 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
926 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
927 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
928 smbd
/posix_acls.o lib
/sysacls.o \
929 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
932 printing
/printspoolss.o printing
/spoolssd.o \
933 lib
/sysquotas.o lib
/sysquotas_linux.o \
934 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
935 lib
/sysquotas_nfs.o \
938 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
939 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
940 smbd
/dmapi.o smbd
/signing.o \
942 smbd
/dnsregister.o smbd
/globals.o \
945 smbd
/smb2_negprot.o \
946 smbd
/smb2_sesssetup.o \
955 smbd
/smb2_keepalive.o \
958 smbd
/smb2_getinfo.o \
959 smbd
/smb2_setinfo.o \
961 $(MANGLE_OBJ
) @VFS_STATIC@
963 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
965 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
966 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
967 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
968 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
969 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
970 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
971 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
973 $(PRIVILEGES_BASIC_OBJ
) \
975 $(REG_API_REGF_OBJ
) \
978 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
979 printing
/print_cups.o printing
/print_generic.o \
980 printing
/lpq_parse.o printing
/load.o \
981 printing
/print_iprint.o printing
/print_standard.o \
982 printing
/printer_list.o librpc
/gen_ndr
/ndr_printcap.o
984 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
985 PRINTBACKEND_OBJ
= printing
/printing.o \
986 printing
/nt_printing.o \
987 printing
/nt_printing_tdb.o \
988 printing
/nt_printing_migrate.o \
989 printing
/nt_printing_migrate_internal.o \
990 printing
/nt_printing_ads.o \
991 librpc
/gen_ndr
/ndr_ntprinting.o \
992 ..
/librpc
/ndr
/ndr_ntprinting.o \
993 printing
/queue_process.o \
996 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
998 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
999 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
1000 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
1001 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
1002 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1003 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1004 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1005 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1006 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1007 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1008 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1009 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1011 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1012 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1015 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1016 web
/swat.o web
/neg_lang.o
1018 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1019 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1020 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1021 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1022 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1023 $(LIBCLI_SAMR_OBJ
) \
1024 rpc_client
/init_lsa.o
1026 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1027 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1028 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1029 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1031 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1032 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1034 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1035 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1036 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1037 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1038 $(LIBMSRPC_GEN_OBJ
) \
1040 $(LIBCLI_SRVSVC_OBJ
)
1042 TESTPARM_OBJ
= utils
/testparm.o \
1043 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1046 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1047 $(LIB_NONSMBD_OBJ
) \
1048 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1050 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1051 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1052 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1054 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1056 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1057 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1058 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1059 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1060 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1061 $(LIBCLI_SAMR_OBJ
) \
1062 rpc_client
/init_lsa.o
1064 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1066 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1067 $(LIBCLI_LDAP_NDR_OBJ
) \
1068 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1069 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1071 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1073 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1075 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1076 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1077 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1078 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1079 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1080 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1081 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1082 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1083 rpcclient
/cmd_winreg.o \
1086 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1087 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1088 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1089 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1090 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1091 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1092 $(LIBCLI_SPOOLSS_OBJ
) \
1093 $(LIBCLI_EVENTLOG_OBJ
) \
1094 $(LIBCLI_NTSVCS_OBJ
) \
1095 $(LIBCLI_DRSUAPI_OBJ
) \
1097 $(LIBCLI_ECHO_OBJ
) \
1098 $(LIBCLI_DSSETUP_OBJ
) \
1099 $(LIBCLI_WKSSVC_OBJ
) \
1100 $(LIBCLI_SRVSVC_OBJ
) \
1102 $(LIBCLI_SAMR_OBJ
) \
1103 $(LIBCLI_WINREG_OBJ
) \
1104 $(LIBCLI_NETLOGON_OBJ
) \
1105 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1106 rpc_client
/init_netlogon.o \
1107 rpc_client
/init_samr.o
1109 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1110 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1112 LIBSMBCLIENT_THREAD_OBJ
= \
1113 libsmb
/libsmb_thread_impl.o \
1114 libsmb
/libsmb_thread_posix.o
1116 LIBSMBCLIENT_OBJ0
= \
1117 libsmb
/libsmb_cache.o \
1118 libsmb
/libsmb_compat.o \
1119 libsmb
/libsmb_context.o \
1120 libsmb
/libsmb_dir.o \
1121 libsmb
/libsmb_file.o \
1122 libsmb
/libsmb_misc.o \
1123 libsmb
/libsmb_path.o \
1124 libsmb
/libsmb_printjob.o \
1125 libsmb
/libsmb_server.o \
1126 libsmb
/libsmb_stat.o \
1127 libsmb
/libsmb_xattr.o \
1128 libsmb
/libsmb_setget.o
1130 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1131 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1132 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1133 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1134 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1135 $(LIBCLI_SRVSVC_OBJ
) \
1138 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1140 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1141 client
/dnsbrowse.o \
1144 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1145 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1146 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1147 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1148 $(DISPLAY_SEC_OBJ
) \
1149 $(LIBCLI_SRVSVC_OBJ
)
1151 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1152 ..
/lib
/smbconf
/smbconf_util.o \
1153 ..
/lib
/smbconf
/smbconf_txt.o \
1154 lib
/smbconf
/smbconf_reg.o \
1155 lib
/smbconf
/smbconf_init.o
1157 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1159 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1160 $(LIB_NONSMBD_OBJ
) \
1165 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1166 lib
/pthreadpool
/tests.o
1168 LIBNET_OBJ
= libnet
/libnet_join.o \
1169 libnet
/libnet_keytab.o \
1170 librpc
/gen_ndr
/ndr_libnet_join.o
1172 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1173 libnet
/libnet_dssync_passdb.o \
1174 libnet
/libnet_dssync_keytab.o \
1175 ..
/libcli
/drsuapi
/repl_decrypt.o
1177 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1178 libnet
/libnet_samsync_ldif.o \
1179 libnet
/libnet_samsync_passdb.o \
1180 libnet
/libnet_samsync_display.o \
1181 libnet
/libnet_samsync_keytab.o \
1182 ..
/libcli
/samsync
/decrypt.o
1184 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1185 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1186 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1187 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1188 utils
/net_idmap_check.o utils
/interact.o \
1189 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1190 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1191 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1192 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1193 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1194 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1195 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1196 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1197 utils
/net_g_lock.o \
1198 utils
/net_serverid.o \
1199 utils
/net_eventlog.o \
1200 utils
/net_printing.o \
1201 utils
/net_rpc_trust.o \
1202 utils
/net_rpc_conf.o\
1203 $(LIBNDR_NTPRINTING_OBJ
) \
1204 $(LIBNDR_PREG_OBJ
) \
1205 $(LIBCLI_SPOOLSS_OBJ
) \
1206 $(LIBCLI_WINREG_OBJ
) \
1207 $(LIBCLI_DRSUAPI_OBJ
) \
1208 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1209 $(LIBCLI_DSSETUP_OBJ
) \
1210 $(LIBCLI_SVCCTL_OBJ
) \
1211 $(LIBCLI_WKSSVC_OBJ
) \
1212 $(LIBCLI_SRVSVC_OBJ
) \
1214 $(LIBCLI_SAMR_OBJ
) \
1215 $(LIBCLI_NETLOGON_OBJ
) \
1216 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1217 rpc_client
/init_netlogon.o \
1218 rpc_client
/init_samr.o \
1219 registry
/reg_parse.o registry
/reg_format.o \
1220 registry
/reg_parse_internal.o registry
/reg_import.o \
1221 lib
/cbuf.o lib
/srprs.o printing
/nt_printing_migrate.o
1223 # these are not processed by make proto
1224 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1226 NET_OBJ
= $(NET_OBJ1
) \
1227 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1228 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1229 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1230 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1231 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1232 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1233 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1234 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1235 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1236 $(REG_SMBCONF_OBJ
) \
1237 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1240 $(PRIVILEGES_BASIC_OBJ
) \
1243 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1244 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1247 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1248 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1250 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1251 torture
/denytest.o torture
/mangle_test.o \
1253 torture
/test_async_echo.o \
1254 torture
/test_smbsock_any_connect.o \
1255 torture
/test_nttrans_create.o \
1256 torture
/test_nttrans_fsctl.o \
1257 torture
/test_notify_online.o \
1258 torture
/test_addrchange.o \
1259 torture
/test_case_insensitive.o \
1260 torture
/test_posix_append.o \
1261 torture
/test_smb2.o \
1262 torture
/test_authinfo_structs.o \
1263 torture
/t_strappend.o
1265 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1266 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1267 @LIBWBCLIENT_STATIC@ \
1268 torture
/wbc_async.o \
1269 ..
/nsswitch
/wb_reqtrans.o \
1270 rpc_client
/util_lsarpc.o \
1271 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1273 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1274 $(LIB_NONSMBD_OBJ
) \
1277 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1278 $(LIB_NONSMBD_OBJ
) \
1281 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1282 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1283 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1285 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1287 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1288 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1289 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1292 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1294 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1296 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1297 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1298 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1300 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1301 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1302 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1303 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1306 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1308 $(LIB_NONSMBD_OBJ
) \
1309 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1310 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1313 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1315 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1316 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1317 librpc
/gen_ndr
/ndr_eventlog.o \
1318 librpc
/gen_ndr
/ndr_lsa.o
1320 SHARESEC_OBJ0
= utils
/sharesec.o
1321 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1325 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1326 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1328 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1329 @libreplacedir@
/test/getifaddrs.o \
1330 @libreplacedir@
/test/os2_delete.o \
1331 @libreplacedir@
/test/strptime.o \
1332 @libreplacedir@
/test/main.o \
1333 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1335 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1337 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1338 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1341 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1342 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1344 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1345 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1346 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1347 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1348 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1351 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1353 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1355 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1358 winbindd
/idmap_hash
/idmap_hash.o \
1359 winbindd
/idmap_hash
/mapfile.o
1362 winbindd
/idmap_adex
/idmap_adex.o \
1363 winbindd
/idmap_adex
/cell_util.o \
1364 winbindd
/idmap_adex
/likewise_cell.o \
1365 winbindd
/idmap_adex
/provider_unified.o \
1366 winbindd
/idmap_adex
/gc_util.o \
1367 winbindd
/idmap_adex
/domain_util.o
1370 winbindd
/winbindd.o \
1371 winbindd
/winbindd_group.o \
1372 winbindd
/winbindd_util.o \
1373 winbindd
/winbindd_cache.o \
1374 winbindd
/winbindd_pam.o \
1375 winbindd
/winbindd_misc.o \
1376 winbindd
/winbindd_cm.o \
1377 winbindd
/winbindd_wins_byip.o \
1378 winbindd
/winbindd_wins_byname.o \
1379 winbindd
/winbindd_msrpc.o \
1380 winbindd
/winbindd_rpc.o \
1381 winbindd
/winbindd_reconnect.o \
1382 winbindd
/winbindd_ads.o \
1383 winbindd
/winbindd_samr.o \
1384 winbindd
/winbindd_dual.o \
1385 winbindd
/winbindd_dual_ndr.o \
1386 winbindd
/winbindd_dual_srv.o \
1387 librpc
/gen_ndr
/ndr_wbint_c.o \
1388 librpc
/gen_ndr
/srv_wbint.o \
1389 librpc
/gen_ndr
/ndr_wbint.o \
1390 librpc
/gen_ndr
/ndr_idmap.o \
1391 winbindd
/winbindd_async.o \
1392 winbindd
/winbindd_creds.o \
1393 winbindd
/winbindd_cred_cache.o \
1394 winbindd
/winbindd_ccache_access.o \
1395 winbindd
/winbindd_domain.o \
1396 winbindd
/winbindd_idmap.o \
1397 winbindd
/winbindd_locator.o \
1398 winbindd
/winbindd_ndr.o \
1399 winbindd
/wb_ping.o \
1400 winbindd
/wb_lookupsid.o \
1401 winbindd
/wb_lookupsids.o \
1402 winbindd
/wb_lookupname.o \
1403 winbindd
/wb_sid2uid.o \
1404 winbindd
/wb_sid2gid.o \
1405 winbindd
/wb_uid2sid.o \
1406 winbindd
/wb_gid2sid.o \
1407 winbindd
/wb_queryuser.o \
1408 winbindd
/wb_lookupuseraliases.o \
1409 winbindd
/wb_lookupusergroups.o \
1410 winbindd
/wb_getpwsid.o \
1411 winbindd
/wb_gettoken.o \
1412 winbindd
/wb_seqnum.o \
1413 winbindd
/wb_seqnums.o \
1414 winbindd
/wb_group_members.o \
1415 winbindd
/wb_getgrsid.o \
1416 winbindd
/wb_query_user_list.o \
1417 winbindd
/wb_fill_pwent.o \
1418 winbindd
/wb_next_pwent.o \
1419 winbindd
/wb_next_grent.o \
1420 winbindd
/wb_dsgetdcname.o \
1421 winbindd
/winbindd_lookupsid.o \
1422 winbindd
/winbindd_lookupsids.o \
1423 winbindd
/winbindd_lookupname.o \
1424 winbindd
/winbindd_sid_to_uid.o \
1425 winbindd
/winbindd_sid_to_gid.o \
1426 winbindd
/winbindd_uid_to_sid.o \
1427 winbindd
/winbindd_gid_to_sid.o \
1428 winbindd
/winbindd_sids_to_xids.o \
1429 winbindd
/winbindd_allocate_uid.o \
1430 winbindd
/winbindd_allocate_gid.o \
1431 winbindd
/winbindd_getpwsid.o \
1432 winbindd
/winbindd_getpwnam.o \
1433 winbindd
/winbindd_getpwuid.o \
1434 winbindd
/winbindd_getsidaliases.o \
1435 winbindd
/winbindd_getuserdomgroups.o \
1436 winbindd
/winbindd_getgroups.o \
1437 winbindd
/winbindd_show_sequence.o \
1438 winbindd
/winbindd_getgrgid.o \
1439 winbindd
/winbindd_getgrnam.o \
1440 winbindd
/winbindd_getusersids.o \
1441 winbindd
/winbindd_lookuprids.o \
1442 winbindd
/winbindd_setpwent.o \
1443 winbindd
/winbindd_getpwent.o \
1444 winbindd
/winbindd_endpwent.o \
1445 winbindd
/winbindd_setgrent.o \
1446 winbindd
/winbindd_getgrent.o \
1447 winbindd
/winbindd_endgrent.o \
1448 winbindd
/winbindd_dsgetdcname.o \
1449 winbindd
/winbindd_getdcname.o \
1450 winbindd
/winbindd_list_users.o \
1451 winbindd
/winbindd_list_groups.o \
1452 winbindd
/winbindd_check_machine_acct.o \
1453 winbindd
/winbindd_change_machine_acct.o \
1454 winbindd
/winbindd_ping_dc.o \
1455 winbindd
/winbindd_pam_auth.o \
1456 winbindd
/winbindd_pam_auth_crap.o \
1457 winbindd
/winbindd_pam_chauthtok.o \
1458 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1459 winbindd
/winbindd_pam_logoff.o \
1463 auth
/check_samsec.o \
1464 auth
/server_info.o \
1465 auth
/server_info_sam.o \
1468 ..
/nsswitch
/wb_reqtrans.o
1471 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1472 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1473 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1474 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1475 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1476 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1477 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1478 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1479 $(NPA_TSTREAM_OBJ
) \
1480 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1481 $(LIBADS_SERVER_OBJ
) \
1482 $(TDB_VALIDATE_OBJ
) \
1483 $(LIBCLI_DSSETUP_OBJ
) \
1485 $(LIBCLI_SAMR_OBJ
) \
1486 $(LIBCLI_NETLOGON_OBJ
) \
1487 rpc_client
/init_netlogon.o \
1488 rpc_client
/init_samr.o \
1491 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1492 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1493 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1495 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1497 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1498 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1500 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1501 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1503 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1504 ..
/lib
/iniparser_build
/strlib.o
1506 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1507 $(SOCKET_WRAPPER_OBJ
)
1509 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1510 $(SOCKET_WRAPPER_OBJ
)
1512 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1513 $(SOCKET_WRAPPER_OBJ
)
1515 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1516 $(SOCKET_WRAPPER_OBJ
)
1518 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1519 $(SOCKET_WRAPPER_OBJ
)
1522 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1524 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1525 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libads
/kerberos.o \
1526 libsmb
/samlogon_cache.o \
1527 $(LIBADS_SERVER_OBJ
) \
1528 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1529 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1534 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1537 VLP_OBJ
= printing
/tests
/vlp.o \
1538 ..
/lib
/util
/util_tdb.o \
1539 $(LIBSAMBAUTIL_OBJ
) \
1542 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1546 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1547 $(LIB_NONSMBD_OBJ
) \
1552 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1554 $(LIB_NONSMBD_OBJ
) \
1558 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1560 $(LIB_NONSMBD_OBJ
) \
1564 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1566 $(LIB_NONSMBD_OBJ
) \
1570 ######################################################################
1572 ######################################################################
1573 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1574 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1575 $(EXTRA_ALL_TARGETS
)
1577 basics
:: samba3-idl mkparam
1579 nss_modules
:: $(NSS_MODULES
)
1581 pam_modules
:: $(PAM_MODULES
)
1583 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1585 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1587 gpext_modules
:: $(GPEXT_MODULES
)
1589 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1591 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1593 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1595 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1597 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1599 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1601 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1603 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1605 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1607 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1609 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1611 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1613 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1615 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1617 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1619 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest@EXEEXT@
1621 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1623 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1624 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1625 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1627 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1629 modules
:: SHOWFLAGS
$(MODULES
)
1632 #####################################################################
1633 ## Perl IDL Compiler
1635 IDL_FILES
= librpc
/idl
/messaging.idl \
1636 librpc
/idl
/libnetapi.idl \
1637 librpc
/idl
/wbint.idl \
1638 librpc
/idl
/perfcount.idl \
1639 librpc
/idl
/secrets.idl \
1640 librpc
/idl
/libnet_join.idl
1643 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1644 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1645 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1646 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1649 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1650 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1651 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1652 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1654 mkparam
: ..
/lib
/param
/param_local.h ..
/lib
/param
/param_global.h param
/param_global.h ..
/lib
/param
/param_proto.h ..
/lib
/param
/s3_param.h
1656 ..
/lib
/param
/param_local.h
:
1657 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file ..
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1658 ..
/lib
/param
/param_global.h
:
1659 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1660 param
/param_global.h
:
1661 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/param
/loadparm.c
--file param
/param_global.h
--generate-scope
=GLOBAL
1662 ..
/lib
/param
/param_proto.h
:
1663 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--public ..
/lib
/param
/param_proto.h
--private ..
/lib
/param
/param_proto.h
1664 ..
/lib
/param
/s3_param.h
:
1665 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/s3_param.h
1668 #####################################################################
1671 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1672 $(EVERYTHING_PROGS
) \
1676 .SUFFIXES
: .c .o .lo
1678 .PHONY
: showflags SHOWFLAGS
1680 showflags
: SHOWFLAGS
1683 @echo
"Using CFLAGS = $(CFLAGS)"
1684 @echo
" PICFLAG = $(PICFLAG)"
1685 @echo
" LIBS = $(LIBS)"
1686 @echo
" LDFLAGS = $(LDFLAGS)"
1687 @echo
" DYNEXP = $(DYNEXP)"
1688 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1689 @echo
" SHLIBEXT = @SHLIBEXT@"
1690 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1692 # "showcflags" target for debuggin how CFLAGS are composed:
1694 .PHONY
: showcflags SHOWCFLAGS
1696 showcflags
: SHOWCFLAGS
1699 @echo
"CFLAGS = $(CFLAGS)"
1700 @echo
"FLAGS = $(FLAGS)"
1702 @echo
"FLAGS1 = @FLAGS1@"
1703 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1704 @echo
"CPPFLAGS = $(CPPFLAGS)"
1705 @echo
"ISA = $(ISA)"
1707 MAKEDIR
= || exec false
; \
1708 if
test -d
"$$dir"; then
:; else \
1709 echo mkdir
"$$dir"; \
1710 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1711 test -d
"$$dir" || \
1713 exec false
; fi || exec false
1715 # Run a static checker.
1716 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1717 # Compile a source file.
1718 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1719 # Compile a source file with the installation paths defined.
1720 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1722 COMPILE
= $(COMPILE_CC
)
1725 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1726 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1727 @if
test -n
"$(CC_CHECKER)"; then \
1728 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1731 @echo Compiling
$*.c
1732 @
$(COMPILE
) && exit
0;\
1733 echo
"The following command failed:" 1>&2;\
1734 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1735 $(COMPILE_CC) >/dev/null 2>&1
1736 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1738 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1740 # this adds support for precompiled headers. To use it, install a snapshot
1741 # of gcc-3.4 and run 'make pch' before you do the main build.
1743 rm -f $(PRECOMPILED_HEADER)
1744 $(MAKE) $(PRECOMPILED_HEADER)
1746 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1749 BINARY_PREREQS = bin/.dummy
1751 # These dependencies are only approximately correct: we want to make
1752 # sure Samba's paths are updated if ./configure is re-run. Really it
1753 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1754 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1755 # rebuild it's a bit hard.
1757 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1758 @echo Compiling $*.c
1759 @$(COMPILE_CC_PATH) && exit 0;\
1760 echo "The following command failed
:" 1>&2;\
1761 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1762 $(COMPILE_CC_PATH) >/dev/null 2>&1
1764 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1765 @echo Compiling $*.c
1766 @$(COMPILE_CC_PATH) && exit 0;\
1767 echo "The following command failed
:" 1>&2;\
1768 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1769 $(COMPILE_CC_PATH) >/dev/null 2>&1
1771 ../nsswitch/wb_common.o: ../nsswitch/wb_common.c Makefile
1772 @echo Compiling $*.c
1773 @$(COMPILE_CC_PATH) && exit 0;\
1774 echo "The following command failed
:" 1>&2;\
1775 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1776 $(COMPILE_CC_PATH) >/dev/null 2>&1
1778 ### Start section of object files that require PTHREAD_CFLAGS
1779 ../nsswitch/wins.o: ../nsswitch/wins.c
1780 @echo Compiling $*.c
1781 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1782 echo "The following command failed
:" 1>&2;\
1783 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1784 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1786 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1787 @echo Compiling $*.c
1788 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1789 echo "The following command failed
:" 1>&2;\
1790 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1791 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1793 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1794 @echo Compiling $*.c
1795 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1796 echo "The following command failed
:" 1>&2;\
1797 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1798 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1800 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1801 @echo Compiling $*.c
1802 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1803 echo "The following command failed
:" 1>&2;\
1804 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1805 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1806 ### End section of object files that require PTHREAD_CFLAGS
1808 lib/pidfile.o: lib/pidfile.c
1809 @echo Compiling $*.c
1810 @$(COMPILE_CC_PATH) && exit 0;\
1811 echo "The following command failed
:" 1>&2;\
1812 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1813 $(COMPILE_CC_PATH) >/dev/null 2>&1
1815 lib/version.o: lib/version.c include/version.h
1816 @echo Compiling $*.c
1817 @$(COMPILE_CC_PATH) && exit 0;\
1818 echo "The following command failed
:" 1>&2;\
1819 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1820 $(COMPILE_CC_PATH) >/dev/null 2>&1
1822 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1823 @echo Compiling $*.c
1824 @$(COMPILE_CC_PATH) && exit 0;\
1825 echo "The following command failed
:" 1>&2;\
1826 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1827 $(COMPILE_CC_PATH) >/dev/null 2>&1
1829 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1831 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1834 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1835 dir=bin $(MAKEDIR); fi
1836 @: >> $@ || : > $@ # what a fancy emoticon!
1838 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1840 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1841 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1842 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1843 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1844 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1846 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1848 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1849 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1850 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1851 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1853 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1855 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1856 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1857 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1859 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1861 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1862 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1863 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1864 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1866 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1868 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1869 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1870 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1871 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1873 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1875 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1876 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1877 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1878 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1881 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1883 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1884 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1886 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1888 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1889 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1890 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1892 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1894 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1895 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1897 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1899 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1900 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1902 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1904 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1905 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1907 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1909 @$(CC) -DUSING_SMBCONTROL -o $@ \
1910 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1911 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1912 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1914 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1916 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1917 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1918 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1920 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1922 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1923 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1924 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1926 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1928 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1929 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1930 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1932 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1934 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1935 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1936 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1938 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1940 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1941 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1943 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1945 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1946 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1947 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1949 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1951 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1952 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1953 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1955 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1957 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1958 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1960 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1962 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1963 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1964 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1966 bin/pthreadpooltest@EXEEXT@: $(PTHREADPOOLTEST_OBJ)
1968 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1970 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1972 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1973 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1974 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1975 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1977 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1979 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1980 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1981 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1983 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1985 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1986 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1987 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1989 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1991 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1992 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1993 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1995 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1997 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1998 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2000 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2002 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2003 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2005 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2007 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2008 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2009 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2010 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2012 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2014 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2017 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2019 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2020 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
2021 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2023 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2025 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2026 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2027 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2028 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2029 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2031 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2033 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2034 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2036 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2038 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2039 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2040 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2041 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2043 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2045 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2046 $(LIBS) $(LIBTALLOC_LIBS)
2048 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2050 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2051 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2052 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2053 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2055 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2057 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2060 #####################################################################
2064 #####################################################################
2066 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2069 #-------------------------------------------------------------------
2073 #-------------------------------------------------------------------
2076 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2077 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2079 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
2080 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2081 LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
2082 LIBTALLOC_SHARED_TARGET_SONAME=@LIBTALLOC_SHARED_TARGET_SOVER@
2083 LIBTALLOC_SHARED_TARGET_FULLVER=@LIBTALLOC_SHARED_TARGET_FULLVER@
2084 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2085 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2086 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2088 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2089 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2091 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2092 @echo Linking shared library $@
2093 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2095 $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
2097 @mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
2098 @ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
2100 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
2102 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2104 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2105 @echo Linking non-shared library $@
2106 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2107 libtalloc: $(LIBTALLOC)
2112 $(LIBTALLOC_STATIC_TARGET) \
2113 $(LIBTALLOC_SHARED_TARGET) \
2114 $(LIBTALLOC_SHARED_TARGET_SONAME)
2116 installlibtalloc:: installdirs libtalloc
2117 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2118 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2119 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2120 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2121 -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
2122 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
2123 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
2125 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2126 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2127 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2129 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2130 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2131 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2133 uninstalllibtalloc::
2134 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2135 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2136 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2137 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2140 installlibs:: @INSTALL_LIBTALLOC@
2141 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2142 cleanlibs:: cleanlibtalloc
2143 shlibs test_shlibs: @LIBTALLOC_SHARED@
2147 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2148 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2149 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2151 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2152 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2153 @echo "LIBTALLOC_FULLVER
= $(LIBTALLOC_FULLVER
)"
2154 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2155 @echo "LIBTALLOC_SHARED TARGET_FULLVER
= $(LIBTALLOC_SHARED_TARGET_FULLVER
)"
2156 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2157 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2159 showlibs:: showlibtalloc
2161 #-------------------------------------------------------------------
2165 #-------------------------------------------------------------------
2167 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2168 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2170 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2171 LIBTDB_SOVER=@LIBTDB_SOVER@
2172 LIBTDB_FULLVER=@LIBTDB_FULLVER@
2173 LIBTDB_SHARED_TARGET_SONAME=@LIBTDB_SHARED_TARGET_SOVER@
2174 LIBTDB_SHARED_TARGET_FULLVER=@LIBTDB_SHARED_TARGET_FULLVER@
2175 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2176 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2177 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2179 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2180 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2183 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2184 @echo Linking shared library $@
2185 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2186 @SONAMEFLAG@`basename $@`
2188 $(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
2190 @mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
2191 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
2193 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
2195 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2197 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2198 @echo Linking non-shared library $@
2199 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2206 $(LIBTDB_STATIC_TARGET) \
2207 $(LIBTDB_SHARED_TARGET) \
2208 $(LIBTDB_SHARED_TARGET_SONAME)
2211 installlibtdb:: installdirs libtdb
2212 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2213 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2214 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2215 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2216 -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \
2217 ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \
2218 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \
2220 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2221 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2222 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2224 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2225 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2226 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2229 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2230 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2231 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2232 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2235 installlibs:: @INSTALL_LIBTDB@
2236 uninstalllibs:: @UNINSTALL_LIBTDB@
2237 cleanlibs:: cleanlibtdb
2238 shlibs test_shlibs: @LIBTDB_SHARED@
2242 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2243 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2244 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2246 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2247 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2248 @echo "LIBTDB_FULLVER
= $(LIBTDB_FULLVER
)"
2249 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2250 @echo "LIBTDB_SHARED TARGET_FULLVER
= $(LIBTDB_SHARED_TARGET_FULLVER
)"
2251 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2252 @echo "LIBTDB
= $(LIBTDB
)"
2254 showlibs:: showlibtdb
2256 #-------------------------------------------------------------------
2260 #-------------------------------------------------------------------
2262 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2263 ../nsswitch/libwbclient/wbc_util.o \
2264 ../nsswitch/libwbclient/wbc_pwd.o \
2265 ../nsswitch/libwbclient/wbc_idmap.o \
2266 ../nsswitch/libwbclient/wbc_sid.o \
2267 ../nsswitch/libwbclient/wbc_guid.o \
2268 ../nsswitch/libwbclient/wbc_pam.o
2270 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2273 ../lib/util/blocking.o \
2274 $(SOCKET_WRAPPER_OBJ)
2276 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2277 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2278 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2279 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2280 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2281 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2282 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2284 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2285 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2287 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2288 @echo Linking shared library $@
2289 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2290 @SONAMEFLAG@`basename $@`
2292 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2294 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2296 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2297 @echo Linking non-shared library $@
2298 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2300 libwbclient: $(LIBWBCLIENT)
2304 $(LIBWBCLIENT_SYMS) \
2305 $(LIBWBCLIENT_STATIC_TARGET) \
2306 $(LIBWBCLIENT_SHARED_TARGET) \
2307 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2309 installlibwbclient:: installdirs libwbclient
2310 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2311 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2312 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2313 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2314 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2315 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2317 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2318 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2319 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2321 uninstalllibwbclient::
2322 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2323 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2324 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2325 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2328 installlibs:: @INSTALL_LIBWBCLIENT@
2329 uninstalllibs:: uninstalllibwbclient
2330 cleanlibs:: cleanlibwbclient
2331 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2335 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2336 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2337 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2339 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2340 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2341 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2342 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2343 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2344 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2346 showlibs:: showlibwbclient
2349 #-------------------------------------------------------------------
2353 #-------------------------------------------------------------------
2356 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2357 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2358 LIBADDNS_FULLVER=@LIBADDNS_FULLVER@
2359 LIBADDNS_SHARED_TARGET_SONAME=@LIBADDNS_SHARED_TARGET_SOVER@
2360 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2361 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2362 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2364 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2365 @echo Linking shared library $@
2366 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2367 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2368 @SONAMEFLAG@`basename $@`
2370 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2372 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2374 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2375 @echo Linking non-shared library $@
2376 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2378 libaddns: $(LIBADDNS)
2382 $(LIBADDNS_SHARED_TARGET) \
2383 $(LIBADDNS_SHARED_TARGET_SONAME) \
2384 $(LIBADDNS_STATIC_TARGET)
2386 installlibaddns:: installdirs libaddns
2387 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2388 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2389 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2390 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2391 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2392 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2394 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2397 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2398 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2399 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2402 installlibs:: @INSTALL_LIBADDNS@
2403 uninstalllibs:: @UNINSTALL_LIBADDNS@
2404 cleanlibs:: cleanlibaddns
2405 shlibs test_shlibs: @LIBADDNS_SHARED@
2409 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2410 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2411 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2413 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2414 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2415 @echo "LIBADDNS_FULLVER
= $(LIBADDNS_FULLVER
)"
2416 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2417 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2418 @echo "LIBADDNS
= $(LIBADDNS
)"
2420 showlibs:: showlibaddns
2422 #-------------------------------------------------------------------
2426 #-------------------------------------------------------------------
2428 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2430 librpc/gen_ndr/ndr_libnetapi.o \
2431 lib/netapi/libnetapi.o \
2432 lib/netapi/joindomain.o \
2433 lib/netapi/serverinfo.o \
2434 lib/netapi/getdc.o \
2436 lib/netapi/group.o \
2437 lib/netapi/localgroup.o \
2440 lib/netapi/share.o \
2442 lib/netapi/shutdown.o \
2443 lib/netapi/netlogon.o
2445 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2447 $(REG_SMBCONF_OBJ) \
2448 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2449 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2450 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2451 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2452 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2454 $(LIBCLI_INITSHUTDOWN_OBJ) \
2455 $(LIBCLI_WKSSVC_OBJ) \
2456 $(LIBCLI_SRVSVC_OBJ) \
2458 $(LIBCLI_SAMR_OBJ) \
2459 $(LIBCLI_NETLOGON_OBJ) \
2460 $(RPC_CLIENT_SCHANNEL_OBJ) \
2461 rpc_client/init_netlogon.o \
2462 rpc_client/init_samr.o
2464 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2465 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2466 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2467 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2468 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2469 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2470 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2472 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2473 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2475 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2476 @echo Linking shared library $@
2477 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2478 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2479 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2480 @SONAMEFLAG@`basename $@`
2482 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2484 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2486 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2487 @echo Linking non-shared library $@
2488 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2490 libnetapi: $(LIBNETAPI)
2495 $(LIBNETAPI_STATIC_TARGET) \
2496 $(LIBNETAPI_SHARED_TARGET) \
2497 $(LIBNETAPI_SHARED_TARGET_SONAME)
2499 installlibnetapi:: installdirs libnetapi
2500 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2501 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2502 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2503 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2504 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2505 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2507 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2508 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2509 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2511 uninstalllibnetapi::
2512 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2513 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2514 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2515 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2518 installlibs:: @INSTALL_LIBNETAPI@
2519 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2520 cleanlibs:: cleanlibnetapi
2521 shlibs test_shlibs: @LIBNETAPI_SHARED@
2525 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2526 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2527 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2529 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2530 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2531 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2532 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2533 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2534 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2536 showlibs:: showlibnetapi
2538 #-------------------------------------------------------------------
2542 #-------------------------------------------------------------------
2544 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2545 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2546 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2547 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2548 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2549 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2550 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2551 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2553 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2554 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2556 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2557 @echo Linking shared library $@
2558 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2559 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2560 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2561 @SONAMEFLAG@`basename $@`
2563 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2565 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2567 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2568 @echo Linking non-shared library $@
2569 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2571 libsmbclient: $(LIBSMBCLIENT)
2575 $(LIBSMBCLIENT_SHARED_TARGET) \
2576 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2577 $(LIBSMBCLIENT_STATIC_TARGET)
2579 installlibsmbclient:: installdirs libsmbclient
2580 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2581 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2582 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2583 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2584 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2585 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2587 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2588 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2589 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2591 installclientlib:: installlibsmbclient
2593 uninstalllibsmbclient::
2594 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2595 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2596 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2597 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2599 uninstallclientlib:: uninstalllibsmbclient
2602 installlibs:: @INSTALL_LIBSMBCLIENT@
2603 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2604 cleanlibs:: cleanlibsmbclient
2605 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2609 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2610 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2611 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2613 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2614 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2615 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2616 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2617 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2618 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2620 showlibs:: showlibsmbclient
2622 #-------------------------------------------------------------------
2626 #-------------------------------------------------------------------
2628 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2630 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2632 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2633 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2634 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2635 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2636 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2637 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2638 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2639 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2641 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2642 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2644 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2645 @echo Linking shared library $@
2646 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2647 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2648 @SONAMEFLAG@`basename $@`
2650 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2652 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2654 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2655 @echo Linking non-shared library $@
2656 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2658 libsmbsharemodes: $(LIBSMBSHAREMODES)
2660 cleanlibsmbsharemodes::
2662 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2663 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2664 $(LIBSMBSHAREMODES_STATIC_TARGET)
2666 installlibsmbsharemodes:: installdirs libsmbsharemodes
2667 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2668 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2669 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2670 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2671 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2672 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2674 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2675 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2676 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2678 uninstalllibsmbsharemodes::
2679 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2680 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2681 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2682 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2684 libs:: libsmbsharemodes
2685 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2686 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2687 cleanlibs:: cleanlibsmbsharemodes
2688 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2690 showlibsmbsharemodes:
2692 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2693 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2694 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2695 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2697 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2698 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2699 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2700 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2701 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2702 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2704 showlibs:: showlibsmbsharemodes
2706 #####################################################################
2710 #####################################################################
2712 # Linker command to link our shared libraries:
2713 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2714 -o $@ @SONAMEFLAG@`basename $@`
2715 # Linker command to link samba internal plugin modules:
2716 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2717 -o $@ @SONAMEFLAG@`basename $@`
2719 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2721 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2723 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2725 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2727 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2729 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2731 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2733 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2735 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2737 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2739 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2741 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2743 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2745 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2747 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2749 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2751 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2753 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2755 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2757 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2759 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2761 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2763 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2765 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2767 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2769 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2771 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2773 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2775 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2777 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2778 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2779 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2782 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2784 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2785 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2789 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2791 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2792 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2793 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2795 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2797 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2798 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2799 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2801 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2803 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2804 @SONAMEFLAG@`basename $@`
2806 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2807 @echo "Linking shared library
$@
"
2808 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2809 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2815 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2816 @echo "Building plugin
$@
"
2817 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2819 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2820 @echo "Building plugin
$@
"
2821 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2823 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2824 @echo "Building plugin
$@
"
2825 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2827 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2828 @echo "Building plugin
$@
"
2829 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2831 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2832 @echo "Building plugin
$@
"
2833 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2835 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2836 @echo "Building plugin
$@
"
2837 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2839 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2840 @echo "Building plugin
$@
"
2841 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2843 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2844 @echo "Building plugin
$@
"
2845 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2847 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2848 @echo "Building plugin
$@
"
2849 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2851 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2852 passdb/pdb_ipa.o passdb/pdb_ldap_util.o \
2853 passdb/pdb_ldap_schema.o
2854 @echo "Building plugin
$@
"
2855 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2856 passdb/pdb_ldap_util.o passdb/pdb_ldap_schema.o $(LDAP_LIBS)
2858 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) passdb/pdb_ads.o
2862 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) passdb/pdb_tdb.o
2866 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2870 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2874 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2875 @echo "Building plugin
$@
"
2876 @$(SHLD_MODULE) winbindd/idmap_rid.o
2878 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2879 @echo "Building plugin
$@
"
2880 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2882 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2883 @echo "Building plugin
$@
"
2884 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2886 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2887 @echo "Building plugin
$@
"
2888 @$(SHLD_MODULE) winbindd/idmap_ad.o
2890 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2891 @echo "Building plugin
$@
"
2892 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2894 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2895 @echo "Building plugin
$@
"
2896 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2898 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2899 @echo "Building plugin
$@
"
2900 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2902 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2903 @echo "Building plugin
$@
"
2904 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2906 # NOTE, there is no build rule for a dynamic default VFS module because
2907 # this one MUST MUST MUST be built statically.
2909 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2910 @echo "Building plugin
$@
"
2911 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2913 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2914 @echo "Building plugin
$@
"
2915 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2917 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2918 @echo "Building plugin
$@
"
2919 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2921 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2922 @echo "Building plugin
$@
"
2923 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2925 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2926 @echo "Building plugin
$@
"
2927 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2929 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2930 @echo "Building plugin
$@
"
2931 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2933 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2934 @echo "Building plugin
$@
"
2935 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2937 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2938 @echo "Building plugin
$@
"
2939 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2941 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2942 @echo "Building plugin
$@
"
2943 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2945 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2946 @echo "Building plugin
$@
"
2947 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2949 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2950 @echo "Building plugin
$@
"
2951 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2953 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2954 @echo "Building plugin
$@
"
2955 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2957 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2958 @echo "Building plugin
$@
"
2959 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2961 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2962 @echo "Building plugin
$@
"
2963 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2965 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2966 @echo "Building plugin
$@
"
2967 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2969 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2970 @echo "Building plugin
$@
"
2971 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2973 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2974 @echo "Building plugin
$@
"
2975 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2977 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2978 @echo "Building plugin
$@
"
2979 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2981 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2982 @echo "Building plugin
$@
"
2983 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2985 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2986 @echo "Building plugin
$@
"
2987 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2989 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2990 @echo "Building plugin
$@
"
2991 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2993 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2994 @echo "Building plugin
$@
"
2995 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2997 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2998 @echo "Building plugin
$@
"
2999 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
3001 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
3002 @echo "Building plugin
$@
"
3003 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
3005 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
3006 @echo "Building plugin
$@
"
3007 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
3009 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
3010 @echo "Building plugin
$@
"
3011 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
3013 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
3014 @echo "Building plugin
$@
"
3015 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
3017 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
3018 @echo "Building plugin
$@
"
3019 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
3021 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
3022 @echo "Building plugin
$@
"
3023 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
3025 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
3026 @echo "Building plugin
$@
"
3027 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
3029 bin/gpfs_hsm_notify.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3030 @echo "Building plugin
$@
"
3031 @$(SHLD_MODULE) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3033 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
3034 @echo "Building plugin
$@
"
3035 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
3037 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
3038 @echo "Building plugin
$@
"
3039 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
3041 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
3042 @echo "Building plugin
$@
"
3043 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
3045 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
3046 @echo "Building plugin
$@
"
3047 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
3049 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
3050 @echo "Building plugin
$@
"
3051 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
3053 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
3054 @echo "Building plugin
$@
"
3055 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
3057 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
3058 @echo "Building plugin
$@
"
3059 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
3061 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3062 @echo "Building plugin
$@
"
3063 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3065 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
3066 @echo "Building plugin
$@
"
3067 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
3069 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
3070 @echo "Building plugin
$@
"
3071 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
3073 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3074 @echo "Building plugin
$@
"
3075 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3077 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
3078 @echo "Building plugin
$@
"
3079 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
3081 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
3082 @echo "Building plugin
$@
"
3083 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
3085 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
3086 @echo "Building plugin
$@
"
3087 @$(SHLD_MODULE) libgpo/gpext/registry.o
3089 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
3090 @echo "Building plugin
$@
"
3091 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3093 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3094 @echo "Building plugin
$@
"
3095 @$(SHLD_MODULE) libgpo/gpext/security.o
3097 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3098 @echo "Building plugin
$@
"
3099 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3101 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3102 @echo "Building plugin
$@
"
3103 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3105 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3106 @echo "Building plugin
$@
"
3107 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3109 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3110 @echo "Building plugin
$@
"
3111 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3113 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3114 @echo "Building plugin
$@
"
3115 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3117 #########################################################
3118 ## IdMap NSS plugins
3120 ## None here right now
3121 #########################################################
3123 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3125 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3126 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3129 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3130 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3132 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3133 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
3134 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3135 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3137 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3138 @echo "Linking shared library
$@
"
3139 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3140 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
3141 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3143 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3145 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3146 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3148 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3150 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3151 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3153 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3155 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3157 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3159 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3161 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3163 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3164 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3166 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3168 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3170 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3172 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3173 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3174 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3176 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3178 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3179 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3180 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3181 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3183 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3185 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3186 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3189 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3191 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3192 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3194 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3196 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3197 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3200 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3202 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3203 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3205 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3207 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3208 $(LDFLAGS) $(DYNEXP) \
3209 $(LIBS) $(POPT_LIBS) \
3210 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3211 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3213 install:: installservers installbin installman \
3214 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3215 @INSTALL_PAM_MODULES@ installlibs installmo
3217 install-everything:: install installmodules
3219 # DESTDIR is used here to prevent packagers wasting their time
3220 # duplicating the Makefile. Remove it and you will have the privelege
3221 # of package each samba release for muliple versions of multiple
3222 # distributions and operating systems, or at least supplying patches
3223 # to all the packaging files required for this, prior to committing
3224 # the removal of DESTDIR. Do not remove it even though you think it
3228 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3229 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3230 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3231 $(NMBDSOCKETDIR) $(WINBINDD_SOCKET_DIR) $(WINBINDD_PRIVILEGED_SOCKET_DIR) \
3232 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3234 installservers:: all installdirs
3235 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3237 installbin:: all installdirs
3238 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3240 # Some symlinks are required for the 'probing' of modules.
3241 # This mechanism should go at some point..
3242 installmodules:: modules installdirs
3243 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3244 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3245 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3246 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3247 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3248 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3249 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3250 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3251 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3252 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3253 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3254 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3255 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3256 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3257 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3258 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3259 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3260 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3262 installscripts:: installdirs
3263 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3265 installdat:: installdirs
3266 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3268 installmsg:: installdirs
3269 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3271 installswat:: installdirs installmsg
3272 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3274 installpammodules:: $(PAM_MODULES)
3275 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3276 @for module in $(PAM_MODULES); do \
3277 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3278 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3279 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3282 # revert to the previously installed version
3284 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3285 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3287 installman:: installdirs
3288 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3290 installmo:: all installdirs
3291 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3296 @echo "Samba will be installed into
:"
3297 @echo " prefix: $(prefix)"
3298 @echo " exec_prefix: $(exec_prefix)"
3299 @echo " sysconfdir
: $(sysconfdir
)"
3300 @echo " localstatedir
: $(localstatedir
)"
3301 @echo " datarootdir
: $(datarootdir
)"
3302 @echo " BINDIR
: $(BINDIR
)"
3303 @echo " SBINDIR
: $(SBINDIR
)"
3304 @echo " LIBDIR
: $(LIBDIR
)"
3305 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3306 @echo " MANDIR
: $(MANDIR
)"
3307 @echo " DATADIR
: $(DATADIR
)"
3308 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3309 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3310 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3311 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3312 @echo " MODULESDIR
: $(MODULESDIR
)"
3313 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3314 @echo " SETUPDIR
: $(SETUPDIR
)"
3315 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3316 @echo " SWATDIR
: $(SWATDIR
)"
3317 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3318 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3319 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3320 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3321 @echo " LOCKDIR
: $(LOCKDIR
)"
3322 @echo " PIDDIR
: $(PIDDIR
)"
3323 @echo " STATEDIR
: $(STATEDIR
)"
3324 @echo " CACHEDIR
: $(CACHEDIR
)"
3325 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3326 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3327 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3328 @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3329 @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3330 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3331 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3332 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3333 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3334 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3335 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3338 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3341 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3344 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3347 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3350 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3353 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3354 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3355 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3356 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3357 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3358 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3359 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3362 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3365 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3368 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3370 uninstallswat:: uninstallmsg
3371 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3373 uninstallpammodules::
3374 @for module in $(PAM_MODULES); do \
3375 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3376 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3380 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3382 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3384 ../libgpo/*.o ../libgpo/*/*.o \
3385 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o
3388 -rm -f include/build_env.h
3389 -rm -f smbd/build_options.c
3390 -rm -f param/param_local.h
3391 -rm -f param/param_global.h
3392 -rm -f ../lib/param/param_local.h
3393 -rm -f ../lib/param/param_global.h
3394 -rm -f ../lib/param/param_proto.h
3395 -rm -f ../lib/param/s3_param.h
3396 -rm -f $(PRECOMPILED_HEADER)
3397 -rm -f core */*~ *~ \
3398 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3399 ../testsuite/*/*.o \
3400 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3402 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3403 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3404 $(MODULES) $(TORTURE_PROGS) \
3405 $(EVERYTHING_PROGS) \
3407 .headers.stamp */src/*.o
3410 include/build_env.h: script/build_env.sh
3411 @echo Building include/build_env.h
3412 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3413 > $(builddir)/include/build_env.h
3419 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3422 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3425 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3426 -rm -f script/installbin.sh script/uninstallbin.sh
3428 distclean:: realclean
3430 -rm -f include/autoconf/config.h Makefile
3431 -rm -f config.status config.cache so_locations
3434 realdistclean:: distclean
3435 -rm -f include/autoconf/config.h.in
3436 -rm -f include/version.h
3439 # this target is really just for my use. It only works on a limited
3440 # range of machines and is used to produce a list of potentially
3441 # dead (ie. unused) functions in the code. (tridge)
3443 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3444 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3445 comm -13 nmused.txt nmfns.txt
3448 # when configure.in is updated, reconfigure
3449 $(srcdir)/configure: $(srcdir)/configure.in
3450 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3452 config.status: $(srcdir)/configure
3453 @echo "WARNING
: you need to run .
/configure
"
3455 Makefile: $(srcdir)/Makefile.in config.status
3456 @echo "WARNING
: you need to run .
/config.status
"
3458 ######################################################################
3459 # Samba Testing Framework
3461 # Check shared libs for unresolved symbols
3464 @$(LIB_PATH_VAR)=./bin && \
3465 export $(LIB_PATH_VAR) && \
3466 for module in $?; do \
3467 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3471 # Check for NSS module problems.
3472 test_nss_modules:: nss_modules
3473 @echo "Testing
$(NSS_MODULES
) "
3474 @$(LIB_PATH_VAR)=./bin && \
3475 export $(LIB_PATH_VAR) && \
3476 for module in $(NSS_MODULES); do \
3477 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3481 # Check for PAM module problems. Specifically, check that every module we
3482 # built can actually be loaded by a minimal PAM-aware application.
3483 test_pam_modules:: pam_modules
3484 @echo "Testing
$(PAM_MODULES
) "
3485 @$(LIB_PATH_VAR)=./bin && \
3486 export $(LIB_PATH_VAR) && \
3487 for module in $(PAM_MODULES); do \
3488 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3494 ## Targets for 'make test'
3497 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3499 valgrindtest:: all torture timelimit
3500 @echo Running Test suite with valgrind
3502 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3503 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3504 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3505 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3507 selftestdir = ../selftest
3509 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3511 test:: all torture timelimit
3512 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3513 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3514 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3515 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3516 SOURCEDIR="$(srcdir)" \
3517 VFSLIBDIR="$(builddir
)/bin
" \
3518 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3519 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3520 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3521 $(srcdir)/selftest/s3-selftest.sh
3524 $(MAKE) test TESTS=$*
3527 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3530 $(MAKE) test SUBUNIT_FORMATTER=cat
3532 SELFTEST_TESTENV = s3dc
3535 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3538 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3539 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3540 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3541 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3545 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3546 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3547 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3548 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3552 # Check for Winbind struct 32/64bit padding
3554 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3555 @./script/tests/wb_pad.sh || exit 1;
3561 libsmbclient_examples: libsmbclient
3562 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3564 clean_libsmbclient_examples:
3565 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3567 libnetapi_examples: libnetapi
3568 $(MAKE) -C lib/netapi/examples
3570 clean_libnetapi_examples:
3571 $(MAKE) -C lib/netapi/examples clean
3573 .PHONY: bin/smbtorture4 bin/ndrdump4
3575 bin/smbtorture4: $(BINARY_PREREQS)
3576 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3578 bin/ndrdump4: $(BINARY_PREREQS)
3579 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3581 .PHONY: vfs_examples
3585 cd ../examples/VFS && \