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]\{1,\}\)\{0,1\}$$/@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 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
203 -DDATADIR
=\"$(DATADIR
)\" \
204 -DSETUPDIR
=\"$(SETUPDIR
)\"
206 # Note that all executable programs now provide for an optional executable suffix.
208 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
210 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
211 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
212 bin
/smbta-util@EXEEXT@
213 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
214 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
217 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
218 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
219 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
221 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
222 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
223 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
224 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
225 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
226 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
228 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
229 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
231 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
232 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
233 bin
/log2pcap@EXEEXT@ \
234 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
235 bin
/dbwrap_tool@EXEEXT@ \
236 bin
/dbwrap_torture@EXEEXT@
238 PAM_MODULES
= @PAM_MODULES@
240 NSS_MODULES
= @NSS_MODULES@
242 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
244 VFS_MODULES
= @VFS_MODULES@
245 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
246 PDB_MODULES
= @PDB_MODULES@
247 IDMAP_MODULES
= @IDMAP_MODULES@
248 CHARSET_MODULES
= @CHARSET_MODULES@
249 AUTH_MODULES
= @AUTH_MODULES@
250 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
251 GPEXT_MODULES
= @GPEXT_MODULES@
252 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
253 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
254 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
256 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
258 ######################################################################
260 ######################################################################
262 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
263 ..
/lib
/util
/tdb_wrap.o \
264 lib
/dbwrap
/dbwrap.o \
265 lib
/dbwrap
/dbwrap_open.o \
266 lib
/dbwrap
/dbwrap_tdb.o \
267 lib
/dbwrap
/dbwrap_ctdb.o \
269 lib
/dbwrap
/dbwrap_rbt.o
271 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
273 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
275 VERSION_OBJ
= lib
/version.o
277 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
281 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
283 AVAHI_OBJ
= @AVAHI_OBJ@
285 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
287 PASSCHANGE_OBJ
= libsmb
/passchange.o
289 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
290 ..
/librpc
/ndr
/ndr_compression.o \
291 librpc
/gen_ndr
/ndr_drsuapi.o \
292 ..
/librpc
/ndr
/ndr_drsblobs.o \
293 librpc
/gen_ndr
/ndr_drsblobs.o
295 ZLIB_OBJ
= @ZLIB_OBJS@
297 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
298 ..
/lib
/compression
/lzxpress.o \
301 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
304 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
305 ..
/librpc
/ndr
/ndr_ntlmssp.o
307 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
308 ..
/librpc
/ndr
/ndr.o \
309 ..
/librpc
/ndr
/ndr_misc.o \
310 librpc
/gen_ndr
/ndr_misc.o \
311 librpc
/gen_ndr
/ndr_security.o \
312 ..
/librpc
/ndr
/ndr_sec_helper.o \
313 ..
/librpc
/ndr
/ndr_string.o \
314 ..
/librpc
/ndr
/uuid.o \
315 ..
/librpc
/ndr
/util.o \
316 librpc
/gen_ndr
/ndr_server_id.o \
317 librpc
/gen_ndr
/ndr_dcerpc.o
319 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
320 librpc
/gen_ndr
/ndr_lsa.o
322 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
323 ..
/librpc
/ndr
/ndr_netlogon.o
325 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
326 ..
/librpc
/ndr
/ndr_schannel.o
328 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
329 ..
/librpc
/ndr
/ndr_spoolss_buf.o
331 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
332 ..
/librpc
/ndr
/ndr_ntprinting.o \
334 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
335 ..
/librpc
/ndr
/ndr_preg.o
337 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
338 ..
/librpc
/ndr
/ndr_xattr.o
340 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
341 rpc_client
/cli_spoolss.o \
342 rpc_client
/init_spoolss.o \
343 rpc_client
/cli_winreg_spoolss.o \
344 printing
/nt_printing_os2.o
346 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
348 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o \
349 rpc_client
/cli_winreg.o
351 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
352 rpc_client
/cli_winreg_int.o
354 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
356 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
358 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
360 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
362 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
364 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
366 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
368 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
370 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
372 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/ndr_lsa_c.o \
373 rpc_client
/cli_lsarpc.o \
374 rpc_client
/init_lsa.o
376 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/ndr_samr_c.o \
377 rpc_client
/cli_samr.o
379 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
380 rpc_client
/cli_netlogon.o \
381 rpc_client
/util_netlogon.o
383 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
385 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
387 librpc
/gen_ndr
/ndr_dfs.o \
388 librpc
/gen_ndr
/ndr_dfsblobs.o \
389 librpc
/gen_ndr
/ndr_echo.o \
390 librpc
/gen_ndr
/ndr_winreg.o \
391 librpc
/gen_ndr
/ndr_initshutdown.o \
392 librpc
/gen_ndr
/ndr_srvsvc.o \
393 librpc
/gen_ndr
/ndr_eventlog.o \
394 $(LIBNDR_NETLOGON_OBJ
) \
395 librpc
/gen_ndr
/ndr_dssetup.o \
396 librpc
/gen_ndr
/ndr_epmapper.o \
397 librpc
/gen_ndr
/ndr_ntsvcs.o \
398 $(LIBNDR_SPOOLSS_OBJ
)
400 # this includes only the low level parse code, not stuff
401 # that requires knowledge of security contexts
402 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
404 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
406 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
407 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
408 UID_WRAPPER_OBJ
= @UID_WRAPPER_OBJS@
412 $(SOCKET_WRAPPER_OBJ
) \
416 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
417 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
418 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
419 ..
/lib
/util
/util.o ..
/lib
/util
/util_paths.o ..
/lib
/util
/fsusage.o \
420 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
421 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
422 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
423 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
424 ..
/lib
/util
/tevent_werror.o \
425 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
426 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
427 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.o
429 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
430 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
431 ..
/lib
/crypto
/md4.o \
432 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
433 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
435 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) $(LIBTSOCKET_OBJ
) \
436 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
437 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
439 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
443 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
446 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
447 ..
/lib
/util
/charset
/pull_push.o \
448 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
449 lib
/interface.o lib
/pidfile.o lib
/dumpcore.o \
450 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
452 ..
/libds
/common
/flag_mapping.o \
453 lib
/access.o lib
/smbrun.o \
454 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
455 lib
/wins_srv.o lib
/string_init.o \
456 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
457 ..
/lib
/util
/util_str.o \
458 ..
/lib
/util
/base64.o lib
/util_sid.o \
459 ..
/lib
/util
/charset
/util_unistr.o \
460 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
461 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
462 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
463 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o lib
/dbwrap
/dbwrap_util.o \
464 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
465 lib
/tallocmsg.o lib
/dmallocmsg.o \
466 libsmb
/smb_signing.o \
467 ..
/lib
/util
/charset
/iconv.o ..
/lib
/util
/charset
/weird.o \
468 ..
/lib
/util
/charset
/charset_macosxfs.o intl
/lang_tdb.o \
469 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
470 lib
/sessionid_tdb.o \
471 ..
/lib
/util
/modules.o lib
/events.o @LIBTEVENT_OBJ0@ \
473 lib
/server_contexts.o \
474 lib
/server_prefork.o \
475 lib
/server_prefork_util.o \
476 lib
/ldap_escape.o @CHARSET_STATIC@ \
477 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
478 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
479 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
480 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
482 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
483 lib
/file_id.o lib
/idmap_cache.o \
484 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
485 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
488 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
489 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
491 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
493 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
494 # Be sure to include them into your application
495 POPT_LIB_OBJ
= lib
/popt_common.o
497 PARAM_WITHOUT_REG_OBJ
= ..
/dynconfig
/dynconfig.o param
/loadparm.o param
/loadparm_ctx.o param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o ..
/lib
/param
/loadparm.o ..
/lib
/param
/util.o
498 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
499 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
501 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
503 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
504 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
505 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
507 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
509 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
510 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
513 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
515 LIBADS_OBJ
= libads
/ldap.o \
516 libads
/sasl.o libads
/sasl_wrapping.o \
517 libads
/krb5_setpw.o \
518 libads
/kerberos_util.o \
520 libads
/ads_struct.o libads
/kerberos_keytab.o \
521 libads
/disp_sec.o libads
/ldap_utils.o \
522 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
524 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
525 ..
/librpc
/ndr
/ndr_krb5pac.o \
526 librpc
/gen_ndr
/ndr_krb5pac.o
528 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
530 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
531 librpc
/gen_ndr
/ndr_secrets.o \
534 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
535 ..
/libcli
/netlogon
/netlogon.o \
536 ..
/libcli
/netlogon
/ndr_netlogon.o \
537 librpc
/gen_ndr
/ndr_nbt.o \
538 librpc
/gen_ndr
/ndr_svcctl.o \
539 ..
/librpc
/ndr
/ndr_svcctl.o
541 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
542 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
543 libads
/dns.o libads
/sitename_cache.o
545 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
546 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
547 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
548 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
550 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
552 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
554 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
558 ..
/libcli
/auth
/ntlm_check.o \
560 libsmb
/ntlmssp_wrap.o \
561 ..
/auth
/gensec
/gensec.o \
562 ..
/auth
/gensec
/gensec_start.o \
563 ..
/auth
/credentials
/credentials.o \
564 ..
/auth
/credentials
/credentials_samba3.o \
565 ..
/auth
/ntlmssp
/ntlmssp.o \
566 ..
/auth
/ntlmssp
/ntlmssp_sign.o \
567 ..
/auth
/ntlmssp
/gensec_ntlmssp.o \
568 $(LIBNDR_NTLMSSP_OBJ
) \
569 ..
/auth
/ntlmssp
/ntlmssp_ndr.o \
570 ..
/auth
/ntlmssp
/ntlmssp_server.o
572 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
575 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
576 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o ..
/lib
/ldb
/common
/ldb_parse.o
578 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
579 ..
/lib
/tsocket
/tsocket_helpers.o \
580 ..
/lib
/tsocket
/tsocket_bsd.o
582 CLDAP_OBJ
= libads
/cldap.o \
583 ..
/libcli
/cldap
/cldap.o \
584 ..
/lib
/util
/idtree.o \
585 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
587 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
589 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
590 ..
/libcli
/auth
/schannel_sign.o \
591 ..
/libcli
/auth
/schannel_state_tdb.o \
592 $(LIBNDR_SCHANNEL_OBJ
)
594 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
595 libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libsmb
/clispnego.o \
596 ..
/libcli
/auth
/spnego_parse.o \
598 libsmb
/reparse_symlink.o \
599 libsmb
/clisymlink.o \
600 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
601 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
602 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
603 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
604 libsmb
/clioplock.o libsmb
/clirap2.o \
605 libsmb
/smb_seal.o libsmb
/async_smb.o \
606 libsmb
/read_smb.o libsmb
/clisigning.o \
607 libsmb
/smb2cli_base.o \
608 libsmb
/smb2cli_negprot.o \
609 libsmb
/smb2cli_session.o \
610 libsmb
/smb2cli_tcon.o \
611 libsmb
/smb2cli_create.o \
612 ..
/libcli
/smb
/smb2_create_blob.o \
613 ..
/libcli
/smb
/smb2_signing.o \
614 libsmb
/smb2cli_close.o \
615 libsmb
/smb2cli_flush.o \
616 libsmb
/smb2cli_read.o \
617 libsmb
/smb2cli_write.o \
618 libsmb
/smb2cli_query_directory.o \
619 libsmb
/cli_np_tstream.o \
620 libsmb
/smbsock_connect.o \
627 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
628 rpc_client
/cli_pipe.o \
629 librpc
/crypto
/gse_krb5.o \
630 librpc
/crypto
/gse.o \
631 ..
/auth
/kerberos
/gssapi_pac.o \
632 librpc
/crypto
/cli_spnego.o \
633 librpc
/rpc
/rpc_common.o \
634 rpc_client
/rpc_transport_np.o \
635 rpc_client
/rpc_transport_sock.o \
636 rpc_client
/rpc_transport_tstream.o \
637 ..
/librpc
/rpc
/binding.o \
638 ..
/librpc
/rpc
/dcerpc_util.o \
639 ..
/librpc
/rpc
/binding_handle.o \
640 librpc
/rpc
/dcerpc_helpers.o \
641 $(LIBCLI_EPMAPPER_OBJ
)
643 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
646 # registry-related objects
648 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
650 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
651 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
652 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
654 REGFIO_OBJ
= registry
/regfio.o \
657 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
659 REGOBJS_OBJ
= registry
/reg_objects.o
661 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
663 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
665 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
666 registry
/reg_backend_shares.o \
667 registry
/reg_backend_netlogon_params.o \
668 registry
/reg_backend_prod_options.o \
669 registry
/reg_backend_tcpip_params.o \
670 registry
/reg_backend_hkpt_params.o \
671 registry
/reg_backend_current_version.o \
672 registry
/reg_backend_perflib.o
674 REG_BASE_OBJ
= registry
/reg_api.o \
675 registry
/reg_dispatcher.o \
676 registry
/reg_cachehook.o \
678 registry
/reg_util_internal.o \
680 $(REG_BACKENDS_BASE_OBJ
) \
681 $(REG_INIT_BASIC_OBJ
)
683 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
684 registry
/reg_util_token.o \
685 registry
/reg_api_util.o \
686 $(REG_BACKENDS_SMBCONF_OBJ
) \
687 $(REG_INIT_SMBCONF_OBJ
)
689 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
690 $(REG_BACKENDS_EXTRA_OBJ
) \
691 $(REG_INIT_FULL_OBJ
) \
692 registry
/reg_perfcount.o \
693 librpc
/gen_ndr
/ndr_perfcount.o
695 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
697 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
699 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
700 librpc
/gen_ndr
/srv_lsa.o \
701 rpc_client
/util_lsarpc.o
703 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
704 librpc
/gen_ndr
/srv_netlogon.o
706 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
707 rpc_server
/samr
/srv_samr_util.o \
708 rpc_server
/samr
/srv_samr_chgpasswd.o \
709 librpc
/gen_ndr
/srv_samr.o
711 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
713 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
714 librpc
/gen_ndr
/srv_winreg.o
716 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
718 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
719 librpc
/gen_ndr
/srv_srvsvc.o
721 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
722 rpc_server
/wkssvc
/srv_wkssvc_nt.o
724 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
725 rpc_server
/svcctl
/srv_svcctl_reg.o \
726 librpc
/gen_ndr
/srv_svcctl.o \
727 services
/svc_winreg_glue.o \
728 services
/svc_spoolss.o services
/svc_rcinit.o \
729 services
/svc_netlogon.o services
/svc_winreg.o \
732 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
733 librpc
/gen_ndr
/srv_ntsvcs.o
735 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
736 rpc_server
/dfs
/srv_dfs_nt.o
738 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
739 rpc_server
/spoolss
/srv_spoolss_util.o \
740 librpc
/gen_ndr
/srv_spoolss.o
742 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
743 rpc_server
/eventlog
/srv_eventlog_reg.o \
744 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
746 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
747 librpc
/gen_ndr
/ndr_named_pipe_auth.o \
748 ..
/auth
/auth_sam_reply.o librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
750 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
751 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
752 rpc_server
/srv_access_check.o
754 RPC_CONFIG
= rpc_server
/rpc_config.o
756 RPC_SERVICE
= rpc_server
/rpc_server.o
758 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
759 rpc_server
/dcesrv_gssapi.o \
760 rpc_server
/dcesrv_spnego.o
762 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
763 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
765 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
767 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o librpc
/gen_ndr
/srv_epmapper.o
769 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
771 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
772 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
773 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
774 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
775 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
776 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
777 $(LIBCLI_SPOOLSS_OBJ
) \
778 $(LIBCLI_WINREG_INT_OBJ
) \
779 $(LIBCLI_SRVSVC_OBJ
) \
782 $(LIBCLI_NETLOGON_OBJ
) \
783 $(RPC_SERVER_REGISTER_OBJ
) \
784 $(RPC_CLIENT_SCHANNEL_OBJ
) \
785 rpc_server
/rpc_sock_helper.o \
786 rpc_server
/rpc_service_setup.o \
787 rpc_client
/init_netlogon.o \
788 rpc_client
/init_samr.o
790 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
792 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
794 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
796 PRIVILEGES_OBJ
= lib
/privileges.o
798 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
800 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
801 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
802 lib
/util_unixsids.o passdb
/lookup_sid.o \
803 passdb
/login_cache.o @PDB_STATIC@ \
804 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
805 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
808 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
809 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
811 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
813 PROFILE_OBJ
= profile
/profile.o
814 PROFILES_OBJ
= utils
/profiles.o \
817 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
821 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
824 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
825 librpc
/gen_ndr
/ndr_notify.o librpc
/gen_ndr
/ndr_file_id.o
827 FNAME_UTIL_OBJ
= lib
/filename_util.o
829 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
830 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
831 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
832 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
833 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
834 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
835 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
836 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
837 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
838 VFS_CAP_OBJ
= modules
/vfs_cap.o
839 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
840 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
841 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
842 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
843 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
844 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
845 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
846 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
847 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
848 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
849 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
850 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
851 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
852 VFS_CATIA_OBJ
= modules
/vfs_catia.o
853 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
854 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
855 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
856 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
857 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
858 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
859 VFS_GPFS_HSM_NOTIFY_OBJ
= modules
/vfs_gpfs_hsm_notify.o
860 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
861 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
862 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
863 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
864 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
865 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
866 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
867 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
868 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
869 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
870 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
871 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
872 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
873 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
874 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
875 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
876 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
877 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
878 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
879 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
880 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
882 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
883 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
885 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
887 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
889 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
890 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
891 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
892 AUTH_SERVER_OBJ
= auth
/auth_server.o
893 AUTH_UNIX_OBJ
= auth
/auth_unix.o
894 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
895 AUTH_WBC_OBJ
= auth
/auth_wbc.o
896 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
897 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
899 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
901 auth
/server_info_sam.o \
905 auth
/auth_compat.o auth
/auth_ntlmssp.o \
906 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
908 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
910 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o smbd
/msg_idmap.o
912 BUILDOPT_OBJ
= smbd
/build_options.o
914 SMBD_OBJ_SRV
= smbd
/server_reload.o \
915 smbd
/files.o smbd
/connection.o \
916 smbd
/utmp.o smbd
/session.o \
917 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
918 smbd
/share_access.o smbd
/fileio.o \
919 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
920 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
921 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
922 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
923 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
924 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
925 smbd
/posix_acls.o lib
/sysacls.o \
926 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
929 printing
/printspoolss.o printing
/spoolssd.o \
930 lib
/sysquotas.o lib
/sysquotas_linux.o \
931 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
932 lib
/sysquotas_nfs.o \
935 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
936 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
937 smbd
/dmapi.o smbd
/signing.o \
939 smbd
/dnsregister.o smbd
/globals.o \
942 smbd
/smb2_negprot.o \
943 smbd
/smb2_sesssetup.o \
952 smbd
/smb2_keepalive.o \
955 smbd
/smb2_getinfo.o \
956 smbd
/smb2_setinfo.o \
958 $(MANGLE_OBJ
) @VFS_STATIC@
960 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
962 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
963 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
964 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
965 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
966 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
967 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
968 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
970 $(PRIVILEGES_BASIC_OBJ
) \
972 $(REG_API_REGF_OBJ
) \
975 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
976 printing
/print_cups.o printing
/print_generic.o \
977 printing
/lpq_parse.o printing
/load.o \
978 printing
/print_iprint.o printing
/print_standard.o \
979 printing
/printer_list.o librpc
/gen_ndr
/ndr_printcap.o
981 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
982 PRINTBACKEND_OBJ
= printing
/printing.o \
983 printing
/nt_printing.o \
984 printing
/nt_printing_tdb.o \
985 printing
/nt_printing_migrate.o \
986 printing
/nt_printing_migrate_internal.o \
987 printing
/nt_printing_ads.o \
988 librpc
/gen_ndr
/ndr_ntprinting.o \
989 ..
/librpc
/ndr
/ndr_ntprinting.o \
990 printing
/queue_process.o \
993 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
995 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
996 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
997 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
998 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
999 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
1000 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
1001 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
1002 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
1003 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
1004 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
1005 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
1006 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
1008 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1009 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1012 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1013 web
/swat.o web
/neg_lang.o
1015 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1016 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1017 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1018 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1019 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1020 $(LIBCLI_SAMR_OBJ
) \
1021 rpc_client
/init_lsa.o
1023 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1024 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1025 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1026 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1028 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1029 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1031 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1032 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1033 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1034 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1035 $(LIBMSRPC_GEN_OBJ
) \
1037 $(LIBCLI_SRVSVC_OBJ
)
1039 TESTPARM_OBJ
= utils
/testparm.o \
1040 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1043 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1044 $(LIB_NONSMBD_OBJ
) \
1045 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1047 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1048 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1049 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1051 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1053 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1054 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1055 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1056 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1057 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1058 $(LIBCLI_SAMR_OBJ
) \
1059 rpc_client
/init_lsa.o
1061 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1063 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1064 $(LIBCLI_LDAP_NDR_OBJ
) \
1065 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1066 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1068 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1070 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1072 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1073 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1074 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1075 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1076 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1077 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1078 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1079 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1080 rpcclient
/cmd_winreg.o \
1083 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1084 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1085 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1086 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1087 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1088 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1089 $(LIBCLI_SPOOLSS_OBJ
) \
1090 $(LIBCLI_EVENTLOG_OBJ
) \
1091 $(LIBCLI_NTSVCS_OBJ
) \
1092 $(LIBCLI_DRSUAPI_OBJ
) \
1094 $(LIBCLI_ECHO_OBJ
) \
1095 $(LIBCLI_DSSETUP_OBJ
) \
1096 $(LIBCLI_WKSSVC_OBJ
) \
1097 $(LIBCLI_SRVSVC_OBJ
) \
1099 $(LIBCLI_SAMR_OBJ
) \
1100 $(LIBCLI_WINREG_OBJ
) \
1101 $(LIBCLI_NETLOGON_OBJ
) \
1102 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1103 rpc_client
/init_netlogon.o \
1104 rpc_client
/init_samr.o
1106 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1107 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1109 LIBSMBCLIENT_THREAD_OBJ
= \
1110 libsmb
/libsmb_thread_impl.o \
1111 libsmb
/libsmb_thread_posix.o
1113 LIBSMBCLIENT_OBJ0
= \
1114 libsmb
/libsmb_cache.o \
1115 libsmb
/libsmb_compat.o \
1116 libsmb
/libsmb_context.o \
1117 libsmb
/libsmb_dir.o \
1118 libsmb
/libsmb_file.o \
1119 libsmb
/libsmb_misc.o \
1120 libsmb
/libsmb_path.o \
1121 libsmb
/libsmb_printjob.o \
1122 libsmb
/libsmb_server.o \
1123 libsmb
/libsmb_stat.o \
1124 libsmb
/libsmb_xattr.o \
1125 libsmb
/libsmb_setget.o
1127 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1128 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1129 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1130 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1131 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1132 $(LIBCLI_SRVSVC_OBJ
) \
1135 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1137 # This shared library is intended for linking with unit test programs
1138 # to test Samba internals. It's called libbigballofmud.so to
1139 # discourage casual usage.
1141 LIBBIGBALLOFMUD_MAJOR
= 0
1143 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1144 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1145 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1147 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1148 client
/dnsbrowse.o \
1151 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1152 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1153 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1154 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1155 $(DISPLAY_SEC_OBJ
) \
1156 $(LIBCLI_SRVSVC_OBJ
)
1158 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1159 ..
/lib
/smbconf
/smbconf_util.o \
1160 ..
/lib
/smbconf
/smbconf_txt.o \
1161 lib
/smbconf
/smbconf_reg.o \
1162 lib
/smbconf
/smbconf_init.o
1164 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1166 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1167 $(LIB_NONSMBD_OBJ
) \
1172 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1173 lib
/pthreadpool
/tests.o
1175 LIBNET_OBJ
= libnet
/libnet_join.o \
1176 libnet
/libnet_keytab.o \
1177 librpc
/gen_ndr
/ndr_libnet_join.o
1179 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1180 libnet
/libnet_dssync_passdb.o \
1181 libnet
/libnet_dssync_keytab.o \
1182 ..
/libcli
/drsuapi
/repl_decrypt.o
1184 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1185 libnet
/libnet_samsync_ldif.o \
1186 libnet
/libnet_samsync_passdb.o \
1187 libnet
/libnet_samsync_display.o \
1188 libnet
/libnet_samsync_keytab.o \
1189 ..
/libcli
/samsync
/decrypt.o
1191 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1192 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1193 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1194 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1195 utils
/net_idmap_check.o utils
/interact.o \
1196 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1197 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1198 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1199 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1200 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1201 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1202 utils
/net_group.o utils
/net_file.o utils
/net_registry.o utils
/net_registry_check.o\
1203 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1204 utils
/net_g_lock.o \
1205 utils
/net_serverid.o \
1206 utils
/net_eventlog.o \
1207 utils
/net_printing.o \
1208 utils
/net_rpc_trust.o \
1209 utils
/net_rpc_conf.o\
1210 $(LIBNDR_NTPRINTING_OBJ
) \
1211 $(LIBNDR_PREG_OBJ
) \
1212 $(LIBCLI_SPOOLSS_OBJ
) \
1213 $(LIBCLI_WINREG_OBJ
) \
1214 $(LIBCLI_DRSUAPI_OBJ
) \
1215 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1216 $(LIBCLI_DSSETUP_OBJ
) \
1217 $(LIBCLI_SVCCTL_OBJ
) \
1218 $(LIBCLI_WKSSVC_OBJ
) \
1219 $(LIBCLI_SRVSVC_OBJ
) \
1221 $(LIBCLI_SAMR_OBJ
) \
1222 $(LIBCLI_NETLOGON_OBJ
) \
1223 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1224 rpc_client
/init_netlogon.o \
1225 rpc_client
/init_samr.o \
1226 registry
/reg_parse.o registry
/reg_format.o \
1227 registry
/reg_parse_internal.o registry
/reg_import.o \
1228 lib
/cbuf.o lib
/srprs.o printing
/nt_printing_migrate.o
1230 # these are not processed by make proto
1231 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1233 NET_OBJ
= $(NET_OBJ1
) \
1234 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1235 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1236 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1237 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1238 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1239 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1240 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1241 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1242 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1243 $(REG_SMBCONF_OBJ
) \
1244 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1247 $(PRIVILEGES_BASIC_OBJ
) \
1250 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1251 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1254 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1255 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1257 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1258 torture
/denytest.o torture
/mangle_test.o \
1260 torture
/test_async_echo.o \
1261 torture
/test_smbsock_any_connect.o \
1262 torture
/test_nttrans_create.o \
1263 torture
/test_nttrans_fsctl.o \
1264 torture
/test_notify_online.o \
1265 torture
/test_addrchange.o \
1266 torture
/test_case_insensitive.o \
1267 torture
/test_posix_append.o \
1268 torture
/test_smb2.o \
1269 torture
/test_authinfo_structs.o
1271 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1272 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1273 @LIBWBCLIENT_STATIC@ \
1274 torture
/wbc_async.o \
1275 ..
/nsswitch
/wb_reqtrans.o \
1276 rpc_client
/util_lsarpc.o \
1277 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1279 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1280 $(LIB_NONSMBD_OBJ
) \
1283 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1284 $(LIB_NONSMBD_OBJ
) \
1287 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1288 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1289 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1291 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1293 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1294 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1295 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1298 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1300 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1302 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1304 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1305 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1306 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1308 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1309 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1310 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1311 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1314 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1316 $(LIB_NONSMBD_OBJ
) \
1317 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1318 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1321 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1323 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1324 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1325 librpc
/gen_ndr
/ndr_eventlog.o \
1326 librpc
/gen_ndr
/ndr_lsa.o
1328 SHARESEC_OBJ0
= utils
/sharesec.o
1329 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1333 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1334 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1336 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1337 @libreplacedir@
/test/getifaddrs.o \
1338 @libreplacedir@
/test/os2_delete.o \
1339 @libreplacedir@
/test/strptime.o \
1340 @libreplacedir@
/test/main.o \
1341 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1343 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1345 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1346 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1349 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1350 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1352 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1353 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1354 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1355 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1356 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1359 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1361 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1363 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1366 winbindd
/idmap_hash
/idmap_hash.o \
1367 winbindd
/idmap_hash
/mapfile.o
1370 winbindd
/idmap_adex
/idmap_adex.o \
1371 winbindd
/idmap_adex
/cell_util.o \
1372 winbindd
/idmap_adex
/likewise_cell.o \
1373 winbindd
/idmap_adex
/provider_unified.o \
1374 winbindd
/idmap_adex
/gc_util.o \
1375 winbindd
/idmap_adex
/domain_util.o
1378 winbindd
/winbindd.o \
1379 winbindd
/winbindd_group.o \
1380 winbindd
/winbindd_util.o \
1381 winbindd
/winbindd_cache.o \
1382 winbindd
/winbindd_pam.o \
1383 winbindd
/winbindd_misc.o \
1384 winbindd
/winbindd_cm.o \
1385 winbindd
/winbindd_wins_byip.o \
1386 winbindd
/winbindd_wins_byname.o \
1387 winbindd
/winbindd_msrpc.o \
1388 winbindd
/winbindd_rpc.o \
1389 winbindd
/winbindd_reconnect.o \
1390 winbindd
/winbindd_ads.o \
1391 winbindd
/winbindd_samr.o \
1392 winbindd
/winbindd_dual.o \
1393 winbindd
/winbindd_dual_ndr.o \
1394 winbindd
/winbindd_dual_srv.o \
1395 librpc
/gen_ndr
/ndr_wbint_c.o \
1396 librpc
/gen_ndr
/srv_wbint.o \
1397 librpc
/gen_ndr
/ndr_wbint.o \
1398 librpc
/gen_ndr
/ndr_idmap.o \
1399 winbindd
/winbindd_async.o \
1400 winbindd
/winbindd_creds.o \
1401 winbindd
/winbindd_cred_cache.o \
1402 winbindd
/winbindd_ccache_access.o \
1403 winbindd
/winbindd_domain.o \
1404 winbindd
/winbindd_idmap.o \
1405 winbindd
/winbindd_locator.o \
1406 winbindd
/winbindd_ndr.o \
1407 winbindd
/wb_ping.o \
1408 winbindd
/wb_lookupsid.o \
1409 winbindd
/wb_lookupsids.o \
1410 winbindd
/wb_lookupname.o \
1411 winbindd
/wb_sid2uid.o \
1412 winbindd
/wb_sid2gid.o \
1413 winbindd
/wb_uid2sid.o \
1414 winbindd
/wb_gid2sid.o \
1415 winbindd
/wb_queryuser.o \
1416 winbindd
/wb_lookupuseraliases.o \
1417 winbindd
/wb_lookupusergroups.o \
1418 winbindd
/wb_getpwsid.o \
1419 winbindd
/wb_gettoken.o \
1420 winbindd
/wb_seqnum.o \
1421 winbindd
/wb_seqnums.o \
1422 winbindd
/wb_group_members.o \
1423 winbindd
/wb_getgrsid.o \
1424 winbindd
/wb_query_user_list.o \
1425 winbindd
/wb_fill_pwent.o \
1426 winbindd
/wb_next_pwent.o \
1427 winbindd
/wb_next_grent.o \
1428 winbindd
/wb_dsgetdcname.o \
1429 winbindd
/winbindd_lookupsid.o \
1430 winbindd
/winbindd_lookupsids.o \
1431 winbindd
/winbindd_lookupname.o \
1432 winbindd
/winbindd_sid_to_uid.o \
1433 winbindd
/winbindd_sid_to_gid.o \
1434 winbindd
/winbindd_uid_to_sid.o \
1435 winbindd
/winbindd_gid_to_sid.o \
1436 winbindd
/winbindd_sids_to_xids.o \
1437 winbindd
/winbindd_allocate_uid.o \
1438 winbindd
/winbindd_allocate_gid.o \
1439 winbindd
/winbindd_getpwsid.o \
1440 winbindd
/winbindd_getpwnam.o \
1441 winbindd
/winbindd_getpwuid.o \
1442 winbindd
/winbindd_getsidaliases.o \
1443 winbindd
/winbindd_getuserdomgroups.o \
1444 winbindd
/winbindd_getgroups.o \
1445 winbindd
/winbindd_show_sequence.o \
1446 winbindd
/winbindd_getgrgid.o \
1447 winbindd
/winbindd_getgrnam.o \
1448 winbindd
/winbindd_getusersids.o \
1449 winbindd
/winbindd_lookuprids.o \
1450 winbindd
/winbindd_setpwent.o \
1451 winbindd
/winbindd_getpwent.o \
1452 winbindd
/winbindd_endpwent.o \
1453 winbindd
/winbindd_setgrent.o \
1454 winbindd
/winbindd_getgrent.o \
1455 winbindd
/winbindd_endgrent.o \
1456 winbindd
/winbindd_dsgetdcname.o \
1457 winbindd
/winbindd_getdcname.o \
1458 winbindd
/winbindd_list_users.o \
1459 winbindd
/winbindd_list_groups.o \
1460 winbindd
/winbindd_check_machine_acct.o \
1461 winbindd
/winbindd_change_machine_acct.o \
1462 winbindd
/winbindd_ping_dc.o \
1463 winbindd
/winbindd_pam_auth.o \
1464 winbindd
/winbindd_pam_auth_crap.o \
1465 winbindd
/winbindd_pam_chauthtok.o \
1466 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1467 winbindd
/winbindd_pam_logoff.o \
1471 auth
/check_samsec.o \
1472 auth
/server_info.o \
1473 auth
/server_info_sam.o \
1476 ..
/nsswitch
/wb_reqtrans.o
1479 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1480 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1481 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1482 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1483 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1484 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1485 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1486 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1487 $(NPA_TSTREAM_OBJ
) \
1488 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1489 $(LIBADS_SERVER_OBJ
) \
1490 $(TDB_VALIDATE_OBJ
) \
1491 $(LIBCLI_DSSETUP_OBJ
) \
1493 $(LIBCLI_SAMR_OBJ
) \
1494 $(LIBCLI_NETLOGON_OBJ
) \
1495 rpc_client
/init_netlogon.o \
1496 rpc_client
/init_samr.o \
1499 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1500 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1501 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1503 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1505 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1506 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1508 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1509 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1511 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1512 ..
/lib
/iniparser_build
/strlib.o
1514 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1515 $(SOCKET_WRAPPER_OBJ
)
1517 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1518 $(SOCKET_WRAPPER_OBJ
)
1520 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1521 $(SOCKET_WRAPPER_OBJ
)
1523 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1524 $(SOCKET_WRAPPER_OBJ
)
1526 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1527 $(SOCKET_WRAPPER_OBJ
)
1530 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1532 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1533 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libads
/kerberos.o \
1534 libsmb
/samlogon_cache.o \
1535 $(LIBADS_SERVER_OBJ
) \
1536 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1537 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1542 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1545 VLP_OBJ
= printing
/tests
/vlp.o \
1546 ..
/lib
/util
/util_tdb.o \
1547 $(LIBSAMBAUTIL_OBJ
) \
1550 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1554 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1555 $(LIB_NONSMBD_OBJ
) \
1560 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1562 $(LIB_NONSMBD_OBJ
) \
1566 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1568 $(LIB_NONSMBD_OBJ
) \
1572 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1574 $(LIB_NONSMBD_OBJ
) \
1578 ######################################################################
1580 ######################################################################
1581 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1582 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1583 $(EXTRA_ALL_TARGETS
)
1585 basics
:: samba3-idl mkparam
1587 nss_modules
:: $(NSS_MODULES
)
1589 pam_modules
:: $(PAM_MODULES
)
1591 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1593 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1595 gpext_modules
:: $(GPEXT_MODULES
)
1597 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1599 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1601 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1603 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1605 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1607 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1609 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1611 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1613 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1615 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1617 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1619 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1621 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1623 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1625 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1627 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest@EXEEXT@
1629 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1631 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1632 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1633 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1635 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1637 modules
:: SHOWFLAGS
$(MODULES
)
1640 #####################################################################
1641 ## Perl IDL Compiler
1643 IDL_FILES
= librpc
/idl
/messaging.idl \
1644 librpc
/idl
/libnetapi.idl \
1645 librpc
/idl
/wbint.idl \
1646 librpc
/idl
/perfcount.idl \
1647 librpc
/idl
/secrets.idl \
1648 librpc
/idl
/libnet_join.idl
1651 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1652 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1653 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1654 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1657 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1658 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1659 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1660 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1662 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
1664 ..
/lib
/param
/param_local.h
:
1665 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file ..
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1666 ..
/lib
/param
/param_global.h
:
1667 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/param_global.h
--generate-scope
=GLOBAL
1668 param
/param_global.h
:
1669 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/param
/loadparm.c
--file param
/param_global.h
--generate-scope
=GLOBAL
1670 ..
/lib
/param
/param_proto.h
:
1671 $(PERL
) ..
/source4
/script
/mkproto.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--public ..
/lib
/param
/param_proto.h
--private ..
/lib
/param
/param_proto.h
1672 ..
/lib
/param
/s3_param.h
:
1673 $(PERL
) ..
/script
/mks3param.pl
$(srcdir)/..
/lib
/param
/loadparm.c
--file ..
/lib
/param
/s3_param.h
1676 #####################################################################
1679 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1680 $(EVERYTHING_PROGS
) \
1684 .SUFFIXES
: .c .o .lo
1686 .PHONY
: showflags SHOWFLAGS
1688 showflags
: SHOWFLAGS
1691 @echo
"Using CFLAGS = $(CFLAGS)"
1692 @echo
" PICFLAG = $(PICFLAG)"
1693 @echo
" LIBS = $(LIBS)"
1694 @echo
" LDFLAGS = $(LDFLAGS)"
1695 @echo
" DYNEXP = $(DYNEXP)"
1696 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1697 @echo
" SHLIBEXT = @SHLIBEXT@"
1698 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1700 # "showcflags" target for debuggin how CFLAGS are composed:
1702 .PHONY
: showcflags SHOWCFLAGS
1704 showcflags
: SHOWCFLAGS
1707 @echo
"CFLAGS = $(CFLAGS)"
1708 @echo
"FLAGS = $(FLAGS)"
1710 @echo
"FLAGS1 = @FLAGS1@"
1711 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1712 @echo
"CPPFLAGS = $(CPPFLAGS)"
1713 @echo
"ISA = $(ISA)"
1715 MAKEDIR
= || exec false
; \
1716 if
test -d
"$$dir"; then
:; else \
1717 echo mkdir
"$$dir"; \
1718 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1719 test -d
"$$dir" || \
1721 exec false
; fi || exec false
1723 # Run a static checker.
1724 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1725 # Compile a source file.
1726 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1727 # Compile a source file with the installation paths defined.
1728 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1730 COMPILE
= $(COMPILE_CC
)
1733 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1734 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1735 @if
test -n
"$(CC_CHECKER)"; then \
1736 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1739 @echo Compiling
$*.c
1740 @
$(COMPILE
) && exit
0;\
1741 echo
"The following command failed:" 1>&2;\
1742 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1743 $(COMPILE_CC) >/dev/null 2>&1
1744 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1746 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1748 # this adds support for precompiled headers. To use it, install a snapshot
1749 # of gcc-3.4 and run 'make pch' before you do the main build.
1751 rm -f $(PRECOMPILED_HEADER)
1752 $(MAKE) $(PRECOMPILED_HEADER)
1754 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1757 BINARY_PREREQS = bin/.dummy
1759 # These dependencies are only approximately correct: we want to make
1760 # sure Samba's paths are updated if ./configure is re-run. Really it
1761 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1762 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1763 # rebuild it's a bit hard.
1765 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1766 @echo Compiling $*.c
1767 @$(COMPILE_CC_PATH) && exit 0;\
1768 echo "The following command failed
:" 1>&2;\
1769 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1770 $(COMPILE_CC_PATH) >/dev/null 2>&1
1772 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1773 @echo Compiling $*.c
1774 @$(COMPILE_CC_PATH) && exit 0;\
1775 echo "The following command failed
:" 1>&2;\
1776 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1777 $(COMPILE_CC_PATH) >/dev/null 2>&1
1779 ### Start section of object files that require PTHREAD_CFLAGS
1780 ../nsswitch/wins.o: ../nsswitch/wins.c
1781 @echo Compiling $*.c
1782 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1783 echo "The following command failed
:" 1>&2;\
1784 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1785 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1787 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1788 @echo Compiling $*.c
1789 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1790 echo "The following command failed
:" 1>&2;\
1791 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1792 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1794 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1795 @echo Compiling $*.c
1796 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1797 echo "The following command failed
:" 1>&2;\
1798 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1799 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1801 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1802 @echo Compiling $*.c
1803 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1804 echo "The following command failed
:" 1>&2;\
1805 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1806 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1807 ### End section of object files that require PTHREAD_CFLAGS
1809 lib/pidfile.o: lib/pidfile.c
1810 @echo Compiling $*.c
1811 @$(COMPILE_CC_PATH) && exit 0;\
1812 echo "The following command failed
:" 1>&2;\
1813 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1814 $(COMPILE_CC_PATH) >/dev/null 2>&1
1816 lib/version.o: lib/version.c include/version.h
1817 @echo Compiling $*.c
1818 @$(COMPILE_CC_PATH) && exit 0;\
1819 echo "The following command failed
:" 1>&2;\
1820 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1821 $(COMPILE_CC_PATH) >/dev/null 2>&1
1823 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1824 @echo Compiling $*.c
1825 @$(COMPILE_CC_PATH) && exit 0;\
1826 echo "The following command failed
:" 1>&2;\
1827 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1828 $(COMPILE_CC_PATH) >/dev/null 2>&1
1830 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1832 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1835 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1836 dir=bin $(MAKEDIR); fi
1837 @: >> $@ || : > $@ # what a fancy emoticon!
1839 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1841 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1842 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1843 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1844 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1845 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1847 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1849 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1850 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1851 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1852 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1854 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1856 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1857 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1858 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1860 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1862 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1863 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1864 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1865 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1867 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1869 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1870 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1871 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1872 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1874 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1876 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1877 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1878 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1879 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1882 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1884 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1885 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1887 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1889 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1890 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1891 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1893 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1895 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1896 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1898 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1900 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1901 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1903 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1905 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1906 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1908 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1910 @$(CC) -DUSING_SMBCONTROL -o $@ \
1911 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1912 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1913 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1915 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1917 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1918 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1919 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1921 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1923 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1924 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1925 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1927 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1929 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1930 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1931 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1933 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1935 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1936 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1937 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1939 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1941 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1942 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1944 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1946 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1947 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1948 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1950 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1952 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1953 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1954 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1956 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1958 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1959 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1961 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1963 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1964 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1965 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1967 bin/pthreadpooltest@EXEEXT@: $(PTHREADPOOLTEST_OBJ)
1969 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1971 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1973 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1974 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1975 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1976 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1978 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1980 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1981 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1982 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1984 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1986 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1987 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1988 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1990 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1992 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1993 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1994 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1996 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1998 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1999 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2001 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2003 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
2004 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2006 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2008 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2009 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2010 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2011 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2013 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) $(LIBTALLOC)
2015 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2018 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2020 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
2021 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
2022 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2024 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2026 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2027 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2028 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2029 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2030 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2032 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2034 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
2035 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2036 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2038 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2040 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2041 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2043 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2045 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2046 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2047 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2048 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2050 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2052 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2053 $(LIBS) $(LIBTALLOC_LIBS)
2055 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2057 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2058 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2059 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2060 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2062 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2064 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2067 #####################################################################
2071 #####################################################################
2073 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2076 #-------------------------------------------------------------------
2080 #-------------------------------------------------------------------
2083 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2084 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2086 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
2087 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2088 LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
2089 LIBTALLOC_SHARED_TARGET_SONAME=@LIBTALLOC_SHARED_TARGET_SOVER@
2090 LIBTALLOC_SHARED_TARGET_FULLVER=@LIBTALLOC_SHARED_TARGET_FULLVER@
2091 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2092 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2093 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2095 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2096 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2098 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2099 @echo Linking shared library $@
2100 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2102 $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
2104 @mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
2105 @ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
2107 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
2109 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2111 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2112 @echo Linking non-shared library $@
2113 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2114 libtalloc: $(LIBTALLOC)
2119 $(LIBTALLOC_STATIC_TARGET) \
2120 $(LIBTALLOC_SHARED_TARGET) \
2121 $(LIBTALLOC_SHARED_TARGET_SONAME)
2123 installlibtalloc:: installdirs libtalloc
2124 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2125 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2126 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2127 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2128 -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
2129 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
2130 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
2132 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2133 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2134 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2136 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2137 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2138 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2140 uninstalllibtalloc::
2141 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2142 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2143 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2144 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2147 installlibs:: @INSTALL_LIBTALLOC@
2148 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2149 cleanlibs:: cleanlibtalloc
2150 shlibs test_shlibs: @LIBTALLOC_SHARED@
2154 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2155 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2156 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2158 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2159 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2160 @echo "LIBTALLOC_FULLVER
= $(LIBTALLOC_FULLVER
)"
2161 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2162 @echo "LIBTALLOC_SHARED TARGET_FULLVER
= $(LIBTALLOC_SHARED_TARGET_FULLVER
)"
2163 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2164 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2166 showlibs:: showlibtalloc
2168 #-------------------------------------------------------------------
2172 #-------------------------------------------------------------------
2174 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2175 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2177 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2178 LIBTDB_SOVER=@LIBTDB_SOVER@
2179 LIBTDB_FULLVER=@LIBTDB_FULLVER@
2180 LIBTDB_SHARED_TARGET_SONAME=@LIBTDB_SHARED_TARGET_SOVER@
2181 LIBTDB_SHARED_TARGET_FULLVER=@LIBTDB_SHARED_TARGET_FULLVER@
2182 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2183 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2184 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2186 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2187 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2190 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2191 @echo Linking shared library $@
2192 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2193 @SONAMEFLAG@`basename $@`
2195 $(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
2197 @mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
2198 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
2200 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
2202 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2204 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2205 @echo Linking non-shared library $@
2206 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2213 $(LIBTDB_STATIC_TARGET) \
2214 $(LIBTDB_SHARED_TARGET) \
2215 $(LIBTDB_SHARED_TARGET_SONAME)
2218 installlibtdb:: installdirs libtdb
2219 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2220 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2221 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2222 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2223 -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \
2224 ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \
2225 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \
2227 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2228 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2229 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2231 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2232 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2233 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2236 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2237 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2238 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2239 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2242 installlibs:: @INSTALL_LIBTDB@
2243 uninstalllibs:: @UNINSTALL_LIBTDB@
2244 cleanlibs:: cleanlibtdb
2245 shlibs test_shlibs: @LIBTDB_SHARED@
2249 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2250 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2251 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2253 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2254 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2255 @echo "LIBTDB_FULLVER
= $(LIBTDB_FULLVER
)"
2256 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2257 @echo "LIBTDB_SHARED TARGET_FULLVER
= $(LIBTDB_SHARED_TARGET_FULLVER
)"
2258 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2259 @echo "LIBTDB
= $(LIBTDB
)"
2261 showlibs:: showlibtdb
2263 #-------------------------------------------------------------------
2267 #-------------------------------------------------------------------
2269 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2270 ../nsswitch/libwbclient/wbc_util.o \
2271 ../nsswitch/libwbclient/wbc_pwd.o \
2272 ../nsswitch/libwbclient/wbc_idmap.o \
2273 ../nsswitch/libwbclient/wbc_sid.o \
2274 ../nsswitch/libwbclient/wbc_guid.o \
2275 ../nsswitch/libwbclient/wbc_pam.o
2277 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2280 ../lib/util/blocking.o \
2281 $(SOCKET_WRAPPER_OBJ)
2283 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2284 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2285 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2286 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2287 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2288 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2289 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2291 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2292 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2294 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2295 @echo Linking shared library $@
2296 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2297 @SONAMEFLAG@`basename $@`
2299 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2301 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2303 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2304 @echo Linking non-shared library $@
2305 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2307 libwbclient: $(LIBWBCLIENT)
2311 $(LIBWBCLIENT_SYMS) \
2312 $(LIBWBCLIENT_STATIC_TARGET) \
2313 $(LIBWBCLIENT_SHARED_TARGET) \
2314 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2316 installlibwbclient:: installdirs libwbclient
2317 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2318 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2319 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2320 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2321 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2322 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2324 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2325 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2326 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2328 uninstalllibwbclient::
2329 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2330 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2331 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2332 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2335 installlibs:: @INSTALL_LIBWBCLIENT@
2336 uninstalllibs:: uninstalllibwbclient
2337 cleanlibs:: cleanlibwbclient
2338 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2342 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2343 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2344 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2346 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2347 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2348 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2349 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2350 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2351 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2353 showlibs:: showlibwbclient
2356 #-------------------------------------------------------------------
2360 #-------------------------------------------------------------------
2363 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2364 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2365 LIBADDNS_FULLVER=@LIBADDNS_FULLVER@
2366 LIBADDNS_SHARED_TARGET_SONAME=@LIBADDNS_SHARED_TARGET_SOVER@
2367 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2368 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2369 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2371 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2372 @echo Linking shared library $@
2373 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2374 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2375 @SONAMEFLAG@`basename $@`
2377 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2379 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2381 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2382 @echo Linking non-shared library $@
2383 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2385 libaddns: $(LIBADDNS)
2389 $(LIBADDNS_SHARED_TARGET) \
2390 $(LIBADDNS_SHARED_TARGET_SONAME) \
2391 $(LIBADDNS_STATIC_TARGET)
2393 installlibaddns:: installdirs libaddns
2394 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2395 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2396 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2397 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2398 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2399 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2401 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2404 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2405 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2406 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2409 installlibs:: @INSTALL_LIBADDNS@
2410 uninstalllibs:: @UNINSTALL_LIBADDNS@
2411 cleanlibs:: cleanlibaddns
2412 shlibs test_shlibs: @LIBADDNS_SHARED@
2416 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2417 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2418 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2420 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2421 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2422 @echo "LIBADDNS_FULLVER
= $(LIBADDNS_FULLVER
)"
2423 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2424 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2425 @echo "LIBADDNS
= $(LIBADDNS
)"
2427 showlibs:: showlibaddns
2429 #-------------------------------------------------------------------
2433 #-------------------------------------------------------------------
2435 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2437 librpc/gen_ndr/ndr_libnetapi.o \
2438 lib/netapi/libnetapi.o \
2439 lib/netapi/joindomain.o \
2440 lib/netapi/serverinfo.o \
2441 lib/netapi/getdc.o \
2443 lib/netapi/group.o \
2444 lib/netapi/localgroup.o \
2447 lib/netapi/share.o \
2449 lib/netapi/shutdown.o \
2450 lib/netapi/netlogon.o
2452 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2454 $(REG_SMBCONF_OBJ) \
2455 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2456 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2457 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2458 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2459 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2461 $(LIBCLI_INITSHUTDOWN_OBJ) \
2462 $(LIBCLI_WKSSVC_OBJ) \
2463 $(LIBCLI_SRVSVC_OBJ) \
2465 $(LIBCLI_SAMR_OBJ) \
2466 $(LIBCLI_NETLOGON_OBJ) \
2467 $(RPC_CLIENT_SCHANNEL_OBJ) \
2468 rpc_client/init_netlogon.o \
2469 rpc_client/init_samr.o
2471 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2472 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2473 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2474 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2475 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2476 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2477 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2479 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2480 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2482 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2483 @echo Linking shared library $@
2484 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2485 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2486 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2487 @SONAMEFLAG@`basename $@`
2489 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2491 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2493 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2494 @echo Linking non-shared library $@
2495 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2497 libnetapi: $(LIBNETAPI)
2502 $(LIBNETAPI_STATIC_TARGET) \
2503 $(LIBNETAPI_SHARED_TARGET) \
2504 $(LIBNETAPI_SHARED_TARGET_SONAME)
2506 installlibnetapi:: installdirs libnetapi
2507 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2508 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2509 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2510 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2511 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2512 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2514 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2515 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2516 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2518 uninstalllibnetapi::
2519 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2520 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2521 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2522 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2525 installlibs:: @INSTALL_LIBNETAPI@
2526 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2527 cleanlibs:: cleanlibnetapi
2528 shlibs test_shlibs: @LIBNETAPI_SHARED@
2532 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2533 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2534 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2536 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2537 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2538 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2539 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2540 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2541 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2543 showlibs:: showlibnetapi
2545 #-------------------------------------------------------------------
2549 #-------------------------------------------------------------------
2551 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2552 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2553 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2554 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2555 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2556 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2557 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2558 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2560 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2561 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2563 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2564 @echo Linking shared library $@
2565 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2566 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2567 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2568 @SONAMEFLAG@`basename $@`
2570 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2572 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2574 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2575 @echo Linking non-shared library $@
2576 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2578 libsmbclient: $(LIBSMBCLIENT)
2582 $(LIBSMBCLIENT_SHARED_TARGET) \
2583 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2584 $(LIBSMBCLIENT_STATIC_TARGET)
2586 installlibsmbclient:: installdirs libsmbclient
2587 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2588 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2589 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2590 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2591 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2592 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2594 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2595 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2596 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2598 installclientlib:: installlibsmbclient
2600 uninstalllibsmbclient::
2601 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2602 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2603 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2604 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2606 uninstallclientlib:: uninstalllibsmbclient
2609 installlibs:: @INSTALL_LIBSMBCLIENT@
2610 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2611 cleanlibs:: cleanlibsmbclient
2612 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2616 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2617 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2618 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2620 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2621 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2622 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2623 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2624 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2625 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2627 showlibs:: showlibsmbclient
2629 #-------------------------------------------------------------------
2633 #-------------------------------------------------------------------
2635 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2637 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2639 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2640 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2641 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2642 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2643 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2644 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2645 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2646 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2648 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2649 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2651 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2652 @echo Linking shared library $@
2653 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2654 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2655 @SONAMEFLAG@`basename $@`
2657 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2659 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2661 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2662 @echo Linking non-shared library $@
2663 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2665 libsmbsharemodes: $(LIBSMBSHAREMODES)
2667 cleanlibsmbsharemodes::
2669 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2670 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2671 $(LIBSMBSHAREMODES_STATIC_TARGET)
2673 installlibsmbsharemodes:: installdirs libsmbsharemodes
2674 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2675 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2676 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2677 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2678 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2679 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2681 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2682 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2683 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2685 uninstalllibsmbsharemodes::
2686 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2687 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2688 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2689 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2691 libs:: libsmbsharemodes
2692 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2693 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2694 cleanlibs:: cleanlibsmbsharemodes
2695 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2697 showlibsmbsharemodes:
2699 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2700 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2701 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2702 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2704 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2705 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2706 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2707 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2708 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2709 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2711 showlibs:: showlibsmbsharemodes
2713 #-------------------------------------------------------------------
2717 #-------------------------------------------------------------------
2719 # This is probably wrong for anything other than the GNU linker.
2720 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2721 @echo Linking shared library $@
2722 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2723 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2724 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2725 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2726 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2728 # It would be nice to build a static bigballofmud too, but when I try
2729 # I get linker errors about dl_open and similar things. I'm not sure if
2730 # it can be fixed or if they just can't be called from a static
2733 #####################################################################
2737 #####################################################################
2739 # Linker command to link our shared libraries:
2740 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2741 -o $@ @SONAMEFLAG@`basename $@`
2742 # Linker command to link samba internal plugin modules:
2743 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2744 -o $@ @SONAMEFLAG@`basename $@`
2746 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2748 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2750 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2752 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2754 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2756 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2758 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2760 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2762 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2764 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2766 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2768 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2770 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2772 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2774 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2776 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2778 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2780 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2782 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2784 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2786 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2788 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2790 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2792 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2794 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2796 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2798 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2800 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2802 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2804 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2805 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2806 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2809 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB) $(LIBTALLOC)
2811 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2812 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2816 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2818 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2819 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2820 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2822 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2824 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2825 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2826 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2828 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2830 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2831 @SONAMEFLAG@`basename $@`
2833 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2834 @echo "Linking shared library
$@
"
2835 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2836 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2842 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2846 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2850 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2854 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2855 @echo "Building plugin
$@
"
2856 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2858 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2862 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2866 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2870 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2874 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2875 @echo "Building plugin
$@
"
2876 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2878 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2880 @echo "Building plugin
$@
"
2881 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2884 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2885 @echo "Building plugin
$@
"
2886 @$(SHLD_MODULE) passdb/pdb_ads.o
2888 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2889 @echo "Building plugin
$@
"
2890 @$(SHLD_MODULE) passdb/pdb_tdb.o
2892 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2893 @echo "Building plugin
$@
"
2894 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2896 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2897 @echo "Building plugin
$@
"
2898 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2900 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2901 @echo "Building plugin
$@
"
2902 @$(SHLD_MODULE) winbindd/idmap_rid.o
2904 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2905 @echo "Building plugin
$@
"
2906 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2908 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2909 @echo "Building plugin
$@
"
2910 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2912 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2913 @echo "Building plugin
$@
"
2914 @$(SHLD_MODULE) winbindd/idmap_ad.o
2916 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2917 @echo "Building plugin
$@
"
2918 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2920 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2921 @echo "Building plugin
$@
"
2922 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2924 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2925 @echo "Building plugin
$@
"
2926 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2928 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2929 @echo "Building plugin
$@
"
2930 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2932 # NOTE, there is no build rule for a dynamic default VFS module because
2933 # this one MUST MUST MUST be built statically.
2935 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2936 @echo "Building plugin
$@
"
2937 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2939 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2940 @echo "Building plugin
$@
"
2941 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2943 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2944 @echo "Building plugin
$@
"
2945 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2947 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2948 @echo "Building plugin
$@
"
2949 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2951 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2952 @echo "Building plugin
$@
"
2953 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2955 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2956 @echo "Building plugin
$@
"
2957 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2959 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2960 @echo "Building plugin
$@
"
2961 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2963 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2964 @echo "Building plugin
$@
"
2965 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2967 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2968 @echo "Building plugin
$@
"
2969 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2971 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2972 @echo "Building plugin
$@
"
2973 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2975 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2976 @echo "Building plugin
$@
"
2977 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2979 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2980 @echo "Building plugin
$@
"
2981 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2983 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2984 @echo "Building plugin
$@
"
2985 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2987 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2988 @echo "Building plugin
$@
"
2989 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2991 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2992 @echo "Building plugin
$@
"
2993 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2995 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2996 @echo "Building plugin
$@
"
2997 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2999 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
3000 @echo "Building plugin
$@
"
3001 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
3003 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
3004 @echo "Building plugin
$@
"
3005 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
3007 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
3008 @echo "Building plugin
$@
"
3009 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
3011 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
3012 @echo "Building plugin
$@
"
3013 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
3015 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
3016 @echo "Building plugin
$@
"
3017 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
3019 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
3020 @echo "Building plugin
$@
"
3021 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
3023 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
3024 @echo "Building plugin
$@
"
3025 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
3027 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
3028 @echo "Building plugin
$@
"
3029 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
3031 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
3032 @echo "Building plugin
$@
"
3033 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
3035 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
3036 @echo "Building plugin
$@
"
3037 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
3039 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
3040 @echo "Building plugin
$@
"
3041 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
3043 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
3044 @echo "Building plugin
$@
"
3045 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
3047 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
3048 @echo "Building plugin
$@
"
3049 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
3051 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
3052 @echo "Building plugin
$@
"
3053 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
3055 bin/gpfs_hsm_notify.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3056 @echo "Building plugin
$@
"
3057 @$(SHLD_MODULE) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3059 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
3060 @echo "Building plugin
$@
"
3061 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
3063 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
3064 @echo "Building plugin
$@
"
3065 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
3067 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
3068 @echo "Building plugin
$@
"
3069 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
3071 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
3072 @echo "Building plugin
$@
"
3073 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
3075 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
3076 @echo "Building plugin
$@
"
3077 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
3079 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
3080 @echo "Building plugin
$@
"
3081 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
3083 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
3084 @echo "Building plugin
$@
"
3085 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
3087 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3088 @echo "Building plugin
$@
"
3089 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3091 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
3092 @echo "Building plugin
$@
"
3093 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
3095 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
3096 @echo "Building plugin
$@
"
3097 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
3099 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3100 @echo "Building plugin
$@
"
3101 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3103 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
3104 @echo "Building plugin
$@
"
3105 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
3107 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
3108 @echo "Building plugin
$@
"
3109 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
3111 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
3112 @echo "Building plugin
$@
"
3113 @$(SHLD_MODULE) libgpo/gpext/registry.o
3115 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
3116 @echo "Building plugin
$@
"
3117 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3119 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3120 @echo "Building plugin
$@
"
3121 @$(SHLD_MODULE) libgpo/gpext/security.o
3123 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3124 @echo "Building plugin
$@
"
3125 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3127 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3128 @echo "Building plugin
$@
"
3129 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3131 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3132 @echo "Building plugin
$@
"
3133 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3135 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3136 @echo "Building plugin
$@
"
3137 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3139 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3140 @echo "Building plugin
$@
"
3141 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3143 #########################################################
3144 ## IdMap NSS plugins
3146 ## None here right now
3147 #########################################################
3149 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3151 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3152 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3155 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3156 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3158 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3159 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
3160 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3161 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3163 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3164 @echo "Linking shared library
$@
"
3165 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3166 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
3167 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3169 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3171 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3172 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3174 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3176 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3177 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3179 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3181 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3183 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3185 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3187 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3189 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3190 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3192 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3193 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3194 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3196 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3197 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3198 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3200 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3201 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3202 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3204 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3205 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3206 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3208 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3210 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3212 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3214 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3215 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3216 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3218 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3220 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3221 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3222 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3223 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3225 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3227 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3228 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3231 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3233 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3234 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3236 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3238 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3239 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3242 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3244 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3245 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3247 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3249 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3250 $(LDFLAGS) $(DYNEXP) \
3251 $(LIBS) $(POPT_LIBS) \
3252 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3253 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3255 install:: installservers installbin installman \
3256 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3257 @INSTALL_PAM_MODULES@ installlibs installmo
3259 install-everything:: install installmodules
3261 # DESTDIR is used here to prevent packagers wasting their time
3262 # duplicating the Makefile. Remove it and you will have the privelege
3263 # of package each samba release for muliple versions of multiple
3264 # distributions and operating systems, or at least supplying patches
3265 # to all the packaging files required for this, prior to committing
3266 # the removal of DESTDIR. Do not remove it even though you think it
3270 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3271 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3272 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3274 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3276 installservers:: all installdirs
3277 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3279 installbin:: all installdirs
3280 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3282 # Some symlinks are required for the 'probing' of modules.
3283 # This mechanism should go at some point..
3284 installmodules:: modules installdirs
3285 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3286 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3287 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3288 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3289 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3290 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3291 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3292 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3293 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3294 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3295 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3296 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3297 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3298 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3299 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3300 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3301 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3302 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3304 installscripts:: installdirs
3305 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3307 installdat:: installdirs
3308 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3310 installmsg:: installdirs
3311 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3313 installswat:: installdirs installmsg
3314 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3316 installpammodules:: $(PAM_MODULES)
3317 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3318 @for module in $(PAM_MODULES); do \
3319 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3320 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3321 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3324 # revert to the previously installed version
3326 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3327 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3329 installman:: installdirs
3330 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3332 installmo:: all installdirs
3333 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3338 @echo "Samba will be installed into
:"
3339 @echo " prefix: $(prefix)"
3340 @echo " exec_prefix: $(exec_prefix)"
3341 @echo " sysconfdir
: $(sysconfdir
)"
3342 @echo " localstatedir
: $(localstatedir
)"
3343 @echo " datarootdir
: $(datarootdir
)"
3344 @echo " BINDIR
: $(BINDIR
)"
3345 @echo " SBINDIR
: $(SBINDIR
)"
3346 @echo " LIBDIR
: $(LIBDIR
)"
3347 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3348 @echo " MANDIR
: $(MANDIR
)"
3349 @echo " DATADIR
: $(DATADIR
)"
3350 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3351 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3352 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3353 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3354 @echo " MODULESDIR
: $(MODULESDIR
)"
3355 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3356 @echo " SETUPDIR
: $(SETUPDIR
)"
3357 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3358 @echo " SWATDIR
: $(SWATDIR
)"
3359 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3360 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3361 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3362 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3363 @echo " LOCKDIR
: $(LOCKDIR
)"
3364 @echo " PIDDIR
: $(PIDDIR
)"
3365 @echo " STATEDIR
: $(STATEDIR
)"
3366 @echo " CACHEDIR
: $(CACHEDIR
)"
3367 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3368 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3369 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3370 # @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3371 # @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3372 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3373 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3374 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3375 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3376 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3377 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3380 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3383 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3386 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3389 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3392 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3395 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3396 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3397 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3398 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3399 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3400 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3401 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3404 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3407 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3410 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3412 uninstallswat:: uninstallmsg
3413 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3415 uninstallpammodules::
3416 @for module in $(PAM_MODULES); do \
3417 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3418 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3422 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3424 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3426 ../libgpo/*.o ../libgpo/*/*.o \
3427 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o
3430 -rm -f include/build_env.h
3431 -rm -f smbd/build_options.c
3432 -rm -f param/param_local.h
3433 -rm -f param/param_global.h
3434 -rm -f ../lib/param/param_local.h
3435 -rm -f ../lib/param/param_global.h
3436 -rm -f ../lib/param/param_proto.h
3437 -rm -f ../lib/param/s3_param.h
3438 -rm -f $(PRECOMPILED_HEADER)
3439 -rm -f core */*~ *~ \
3440 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3441 ../testsuite/*/*.o \
3442 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3444 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3445 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3446 $(MODULES) $(TORTURE_PROGS) \
3447 $(EVERYTHING_PROGS) \
3449 .headers.stamp */src/*.o
3452 include/build_env.h: script/build_env.sh
3453 @echo Building include/build_env.h
3454 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3455 > $(builddir)/include/build_env.h
3461 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3464 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3467 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3468 -rm -f script/installbin.sh script/uninstallbin.sh
3470 distclean:: realclean
3472 -rm -f include/autoconf/config.h Makefile
3473 -rm -f config.status config.cache so_locations
3476 realdistclean:: distclean
3477 -rm -f include/autoconf/config.h.in
3478 -rm -f include/version.h
3481 # this target is really just for my use. It only works on a limited
3482 # range of machines and is used to produce a list of potentially
3483 # dead (ie. unused) functions in the code. (tridge)
3485 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3486 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3487 comm -13 nmused.txt nmfns.txt
3490 # when configure.in is updated, reconfigure
3491 $(srcdir)/configure: $(srcdir)/configure.in
3492 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3494 config.status: $(srcdir)/configure
3495 @echo "WARNING
: you need to run .
/configure
"
3497 Makefile: $(srcdir)/Makefile.in config.status
3498 @echo "WARNING
: you need to run .
/config.status
"
3500 ######################################################################
3501 # Samba Testing Framework
3503 # Check shared libs for unresolved symbols
3506 @$(LIB_PATH_VAR)=./bin && \
3507 export $(LIB_PATH_VAR) && \
3508 for module in $?; do \
3509 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3513 # Check for NSS module problems.
3514 test_nss_modules:: nss_modules
3515 @echo "Testing
$(NSS_MODULES
) "
3516 @$(LIB_PATH_VAR)=./bin && \
3517 export $(LIB_PATH_VAR) && \
3518 for module in $(NSS_MODULES); do \
3519 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3523 # Check for PAM module problems. Specifically, check that every module we
3524 # built can actually be loaded by a minimal PAM-aware application.
3525 test_pam_modules:: pam_modules
3526 @echo "Testing
$(PAM_MODULES
) "
3527 @$(LIB_PATH_VAR)=./bin && \
3528 export $(LIB_PATH_VAR) && \
3529 for module in $(PAM_MODULES); do \
3530 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3536 ## Targets for 'make test'
3539 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3541 valgrindtest:: all torture timelimit
3542 @echo Running Test suite with valgrind
3544 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3545 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3546 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3547 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3549 selftestdir = ../selftest
3551 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3553 test:: all torture timelimit
3554 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3555 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3556 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3557 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3558 SOURCEDIR="$(srcdir)" \
3559 VFSLIBDIR="$(builddir
)/bin
" \
3560 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3561 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3562 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3563 $(srcdir)/selftest/s3-selftest.sh
3566 $(MAKE) test TESTS=$*
3569 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3572 $(MAKE) test SUBUNIT_FORMATTER=cat
3574 SELFTEST_TESTENV = s3dc
3577 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3580 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3581 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3582 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3583 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3587 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3588 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3589 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3590 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3594 # Check for Winbind struct 32/64bit padding
3596 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3597 @./script/tests/wb_pad.sh || exit 1;
3603 libsmbclient_examples: libsmbclient
3604 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3606 clean_libsmbclient_examples:
3607 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3609 libnetapi_examples: libnetapi
3610 $(MAKE) -C lib/netapi/examples
3612 clean_libnetapi_examples:
3613 $(MAKE) -C lib/netapi/examples clean
3615 .PHONY: bin/smbtorture4 bin/ndrdump4
3617 bin/smbtorture4: $(BINARY_PREREQS)
3618 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3620 bin/ndrdump4: $(BINARY_PREREQS)
3621 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3623 .PHONY: vfs_examples
3627 cd ../examples/VFS && \