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 selftest_prefix
=@selftest_prefix@
20 selftest_shrdir
=@selftest_shrdir@
21 smbtorture4_path
=@smbtorture4_path@
22 smbtorture4_option
=@smbtorture4_option@
23 selftest_custom_conf
=@selftest_custom_conf@
28 LIB_PATH_VAR
=@LIB_PATH_VAR@
30 ## Dynamic shared libraries build settings
31 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
32 DSO_EXPORTS
=@DSO_EXPORTS@
33 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
35 # The MODULE_EXPORTS variable contains the platform-specific linker flags
36 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
37 MODULE_EXPORTS
=@MODULE_EXPORTS@
39 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
40 # (GCC) warnings. This is done automatically for --enable-developer,
41 # --enable-picky-developer and --enable-krb5developer.
42 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
45 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
50 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
51 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
52 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
54 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
62 TERMLDFLAGS
=@TERMLDFLAGS@
64 PRINT_LIBS
=@PRINT_LIBS@
68 PASSDB_LIBS
=@PASSDB_LIBS@
69 IDMAP_LIBS
=@IDMAP_LIBS@
74 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
75 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
76 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
77 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
78 DNSSD_LIBS
=@DNSSD_LIBS@
79 AVAHI_LIBS
=@AVAHI_LIBS@
81 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
82 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
83 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
84 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
85 LIBTDB_LIBS
=@LIBTDB_LIBS@
87 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
88 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
89 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
90 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
92 TALLOCTORT
= @TALLOCTORT@
94 TDBBACKUP
= @TDBBACKUP@
97 TDBRESTORE
= @TDBRESTORE@
98 TDBTORTURE
= @TDBTORTURE@
101 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
102 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
103 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
104 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
108 builddir
=@abs_builddir@
109 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
110 # will search for a POSIX-compliant shell, and that might not be
111 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
115 # See the autoconf manual "Installation Directory Variables" for a
116 # discussion of the subtle use of these variables.
120 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
122 ROOTSBINDIR
= @rootsbindir@
124 MODULESDIR
= @modulesdir@
125 INCLUDEDIR
=@
includedir@
126 PAMMODULESDIR
= @pammodulesdir@
127 VFSLIBDIR
= $(MODULESDIR
)/vfs
128 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
129 PDBLIBDIR
= $(MODULESDIR
)/pdb
130 RPCLIBDIR
= $(MODULESDIR
)/rpc
131 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
132 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
133 CHARSETLIBDIR
= $(MODULESDIR
)/charset
134 AUTHLIBDIR
= $(MODULESDIR
)/auth
135 CONFIGLIBDIR
= $(MODULESDIR
)/config
136 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
137 CONFIGDIR
= @configdir@
138 VARDIR
= @localstatedir@
142 # The permissions to give the executables and other data
143 INSTALLPERMS_BIN
= 0755
144 INSTALLPERMS_DATA
= 0644
146 # set these to where to find various files
147 # These can be overridden by command line switches (see smbd(8))
148 # or in smb.conf (see smb.conf(5))
149 LOGFILEBASE
= @logfilebase@
150 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
151 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
152 NCALRPCDIR
= @ncalrpcdir@
154 # This is where smbpasswd et al go
155 PRIVATEDIR
= @privatedir@
157 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
158 PRIVATE_DIR
= $(PRIVATEDIR
)
160 # This is where SWAT images and help files go
163 # This is where locale(mo) files go
164 LOCALEDIR
= @localedir@
166 # the directory where lock files go
169 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
170 CACHEDIR
= @cachedir@
171 STATEDIR
= @
statedir@
173 # Where to look for (and install) codepage databases.
174 CODEPAGEDIR
= @codepagedir@
176 # the directory where pid files go
190 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
191 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
192 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
193 -DSBINDIR
=\"$(SBINDIR
)\" \
194 -DBINDIR
=\"$(BINDIR
)\" \
195 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
196 -DSWATDIR
=\"$(SWATDIR
)\" \
197 -DLOCKDIR
=\"$(LOCKDIR
)\" \
198 -DPIDDIR
=\"$(PIDDIR
)\" \
199 -DLIBDIR
=\"$(LIBDIR
)\" \
200 -DMODULESDIR
=\"$(MODULESDIR
)\" \
201 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
202 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
203 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
204 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
205 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
206 -DCACHEDIR
=\"$(CACHEDIR
)\" \
207 -DSTATEDIR
=\"$(STATEDIR
)\" \
208 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
210 # Note that all executable programs now provide for an optional executable suffix.
212 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
214 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
215 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
216 bin
/smbta-util@EXEEXT@
217 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
218 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
221 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
222 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
223 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
225 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
226 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
227 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
228 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
230 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
232 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
233 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
235 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
236 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
237 bin
/log2pcap@EXEEXT@ \
238 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
239 bin
/dbwrap_tool@EXEEXT@ \
240 bin
/dbwrap_torture@EXEEXT@
242 PAM_MODULES
= @PAM_MODULES@
244 NSS_MODULES
= @NSS_MODULES@
246 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
248 VFS_MODULES
= @VFS_MODULES@
249 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
250 PDB_MODULES
= @PDB_MODULES@
251 RPC_MODULES
= @RPC_MODULES@
252 IDMAP_MODULES
= @IDMAP_MODULES@
253 CHARSET_MODULES
= @CHARSET_MODULES@
254 AUTH_MODULES
= @AUTH_MODULES@
255 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
256 GPEXT_MODULES
= @GPEXT_MODULES@
257 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
258 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
259 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
261 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
263 ######################################################################
265 ######################################################################
267 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
268 lib
/dbwrap.o lib
/dbwrap_tdb.o \
273 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
275 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
277 VERSION_OBJ
= lib
/version.o
279 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
283 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
285 AVAHI_OBJ
= @AVAHI_OBJ@
287 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
289 PASSCHANGE_OBJ
= libsmb
/passchange.o
291 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
292 ..
/librpc
/ndr
/ndr_compression.o \
293 librpc
/gen_ndr
/ndr_drsuapi.o \
294 ..
/librpc
/ndr
/ndr_drsblobs.o \
295 librpc
/gen_ndr
/ndr_drsblobs.o
297 ZLIB_OBJ
= @ZLIB_OBJS@
299 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
300 ..
/lib
/compression
/lzxpress.o \
303 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
306 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
307 ..
/librpc
/ndr
/ndr_ntlmssp.o
309 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
310 ..
/librpc
/ndr
/ndr.o \
311 ..
/librpc
/ndr
/ndr_misc.o \
312 librpc
/gen_ndr
/ndr_misc.o \
313 librpc
/gen_ndr
/ndr_security.o \
314 ..
/librpc
/ndr
/ndr_sec_helper.o \
315 ..
/librpc
/ndr
/ndr_string.o \
316 ..
/librpc
/ndr
/uuid.o \
318 librpc
/gen_ndr
/ndr_dcerpc.o
320 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
321 librpc
/gen_ndr
/ndr_lsa.o
323 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
324 ..
/librpc
/ndr
/ndr_netlogon.o
326 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
327 ..
/librpc
/ndr
/ndr_schannel.o
329 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
330 ..
/librpc
/ndr
/ndr_spoolss_buf.o
332 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
333 ..
/librpc
/ndr
/ndr_ntprinting.o \
335 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
336 librpc
/ndr
/ndr_preg.o
338 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
339 ..
/librpc
/ndr
/ndr_xattr.o
341 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/cli_spoolss.o \
342 librpc
/gen_ndr
/ndr_spoolss_c.o \
343 rpc_client
/cli_spoolss.o \
344 rpc_client
/init_spoolss.o
346 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/cli_eventlog.o \
347 librpc
/gen_ndr
/ndr_eventlog_c.o
349 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/cli_winreg.o \
350 librpc
/gen_ndr
/ndr_winreg_c.o
352 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/cli_ntsvcs.o \
353 librpc
/gen_ndr
/ndr_ntsvcs_c.o
355 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/cli_drsuapi.o \
356 librpc
/gen_ndr
/ndr_drsuapi_c.o
358 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/cli_dfs.o \
359 librpc
/gen_ndr
/ndr_dfs_c.o
361 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/cli_echo.o \
362 librpc
/gen_ndr
/ndr_echo_c.o
364 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/cli_initshutdown.o \
365 librpc
/gen_ndr
/ndr_initshutdown_c.o
367 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/cli_dssetup.o \
368 librpc
/gen_ndr
/ndr_dssetup_c.o
370 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/cli_svcctl.o \
371 librpc
/gen_ndr
/ndr_svcctl_c.o
373 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/cli_wkssvc.o \
374 librpc
/gen_ndr
/ndr_wkssvc_c.o
376 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/cli_srvsvc.o \
377 librpc
/gen_ndr
/ndr_srvsvc_c.o
379 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
380 librpc
/gen_ndr
/ndr_lsa_c.o \
381 rpc_client
/cli_lsarpc.o \
382 rpc_client
/init_lsa.o
384 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/cli_samr.o \
385 librpc
/gen_ndr
/ndr_samr_c.o \
386 rpc_client
/cli_samr.o
388 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/cli_netlogon.o \
389 librpc
/gen_ndr
/ndr_netlogon_c.o \
390 rpc_client
/cli_netlogon.o
392 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/cli_epmapper.o \
393 librpc
/gen_ndr
/ndr_epmapper_c.o
395 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
397 librpc
/gen_ndr
/ndr_dfs.o \
398 librpc
/gen_ndr
/ndr_echo.o \
399 librpc
/gen_ndr
/ndr_winreg.o \
400 librpc
/gen_ndr
/ndr_initshutdown.o \
401 librpc
/gen_ndr
/ndr_srvsvc.o \
402 librpc
/gen_ndr
/ndr_eventlog.o \
403 $(LIBNDR_NETLOGON_OBJ
) \
404 librpc
/gen_ndr
/ndr_dssetup.o \
405 librpc
/gen_ndr
/ndr_epmapper.o \
406 librpc
/gen_ndr
/ndr_ntsvcs.o \
407 $(LIBNDR_SPOOLSS_OBJ
)
409 # this includes only the low level parse code, not stuff
410 # that requires knowledge of security contexts
411 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
413 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
415 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
416 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
420 $(SOCKET_WRAPPER_OBJ
) \
423 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
424 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
425 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
426 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
427 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
428 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
429 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
430 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
431 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
432 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o
434 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
435 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
436 ..
/lib
/crypto
/md4.o \
437 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
438 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
440 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
441 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
442 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
443 lib
/interfaces.o lib
/memcache.o \
447 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
449 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
450 lib
/interface.o lib
/pidfile.o \
451 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
453 ..
/libds
/common
/flag_mapping.o \
454 lib
/access.o lib
/smbrun.o \
455 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
457 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
458 lib
/util_unistr.o lib
/util_file.o \
459 lib
/util.o lib
/util_names.o \
460 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
461 lib
/substitute.o lib
/dbwrap_util.o \
462 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
463 lib
/tallocmsg.o lib
/dmallocmsg.o \
464 libsmb
/clisigning.o libsmb
/smb_signing.o \
465 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
466 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
467 lib
/sessionid_tdb.o \
468 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
469 lib
/server_contexts.o \
470 lib
/ldap_escape.o @CHARSET_STATIC@ \
471 lib
/secdesc.o lib
/util_seaccess.o ..
/libcli
/security
/secace.o \
472 ..
/libcli
/security
/sddl.o \
473 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
475 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
476 lib
/file_id.o lib
/idmap_cache.o \
477 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o
479 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
480 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
482 READLINE_OBJ
= lib
/readline.o
484 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
485 # Be sure to include them into your application
486 POPT_LIB_OBJ
= lib
/popt_common.o
488 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
489 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
490 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
492 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
494 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
495 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
496 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
498 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
500 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
501 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
504 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
506 LIBADS_OBJ
= libads
/ldap.o \
507 libads
/sasl.o libads
/sasl_wrapping.o \
508 libads
/krb5_setpw.o \
509 libads
/kerberos_util.o \
511 libads
/ads_struct.o libads
/kerberos_keytab.o \
512 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
513 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
515 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
516 ..
/librpc
/ndr
/ndr_krb5pac.o \
517 librpc
/gen_ndr
/ndr_krb5pac.o
519 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
521 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
522 librpc
/gen_ndr
/ndr_secrets.o
524 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
525 ..
/libcli
/netlogon.o \
526 ..
/libcli
/ndr_netlogon.o \
527 librpc
/gen_ndr
/ndr_nbt.o \
528 librpc
/gen_ndr
/ndr_svcctl.o \
529 ..
/librpc
/ndr
/ndr_svcctl.o
531 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
532 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o libsmb
/conncache.o \
533 libads
/dns.o libads
/sitename_cache.o
535 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
536 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
537 ERRORMAP_OBJ
= libsmb
/errormap.o
538 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
540 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
542 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
544 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
548 ..
/libcli
/auth
/ntlm_check.o \
550 libsmb
/ntlmssp_wrap.o \
551 ..
/libcli
/auth
/ntlmssp.o \
552 ..
/libcli
/auth
/ntlmssp_sign.o \
553 $(LIBNDR_NTLMSSP_OBJ
) \
554 ..
/libcli
/auth
/ntlmssp_ndr.o
556 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
559 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
560 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o
562 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
563 ..
/lib
/tsocket
/tsocket_helpers.o \
564 ..
/lib
/tsocket
/tsocket_bsd.o
566 CLDAP_OBJ
= libads
/cldap.o \
567 ..
/libcli
/cldap
/cldap.o lib
/ldb_compat.o \
568 ..
/lib
/util
/idtree.o \
569 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
) $(LIBTSOCKET_OBJ
)
571 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
573 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
574 ..
/libcli
/auth
/schannel_sign.o \
575 ..
/libcli
/auth
/schannel_state_tdb.o \
576 $(LIBNDR_SCHANNEL_OBJ
)
578 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
579 libsmb
/clikrb5.o libsmb
/clispnego.o \
580 ..
/libcli
/auth
/spnego_parse.o \
582 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
583 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
584 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
585 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
586 libsmb
/clioplock.o libsmb
/clirap2.o \
587 libsmb
/smb_seal.o libsmb
/async_smb.o \
594 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
595 rpc_client
/cli_pipe.o \
596 librpc
/rpc
/dcerpc_gssapi.o \
597 librpc
/rpc
/dcerpc_spnego.o \
598 librpc
/rpc
/rpc_common.o \
599 rpc_client
/rpc_transport_np.o \
600 rpc_client
/rpc_transport_sock.o \
601 ..
/librpc
/rpc
/binding.o \
602 ..
/librpc
/rpc
/dcerpc_util.o \
603 ..
/librpc
/rpc
/binding_handle.o \
604 librpc
/rpc
/dcerpc_helpers.o
606 LIBMSRPC_GEN_OBJ
= $(LIBCLI_EPMAPPER_OBJ
) \
610 # registry-related objects
612 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
614 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
615 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
616 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
618 REGFIO_OBJ
= registry
/regfio.o \
621 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
623 REGOBJS_OBJ
= registry
/reg_objects.o
625 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
627 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
629 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
630 registry
/reg_backend_shares.o \
631 registry
/reg_backend_netlogon_params.o \
632 registry
/reg_backend_prod_options.o \
633 registry
/reg_backend_tcpip_params.o \
634 registry
/reg_backend_hkpt_params.o \
635 registry
/reg_backend_current_version.o \
636 registry
/reg_backend_perflib.o
638 REG_BASE_OBJ
= registry
/reg_api.o \
639 registry
/reg_dispatcher.o \
640 registry
/reg_cachehook.o \
642 registry
/reg_util_internal.o \
644 $(REG_BACKENDS_BASE_OBJ
) \
645 $(REG_INIT_BASIC_OBJ
)
647 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
648 registry
/reg_util_token.o \
649 registry
/reg_api_util.o \
650 $(REG_BACKENDS_SMBCONF_OBJ
) \
651 $(REG_INIT_SMBCONF_OBJ
)
653 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
654 $(REG_BACKENDS_EXTRA_OBJ
) \
655 $(REG_INIT_FULL_OBJ
) \
656 registry
/reg_eventlog.o \
657 registry
/reg_perfcount.o \
658 librpc
/gen_ndr
/ndr_perfcount.o
660 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
662 RPC_LSARPC_OBJ
= rpc_server
/srv_lsa_nt.o \
663 librpc
/gen_ndr
/srv_lsa.o
665 RPC_NETLOGON_OBJ
= rpc_server
/srv_netlog_nt.o \
666 librpc
/gen_ndr
/srv_netlogon.o
668 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
669 rpc_server
/srv_samr_util.o \
670 rpc_server
/srv_samr_chgpasswd.o \
671 librpc
/gen_ndr
/srv_samr.o
673 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
675 RPC_WINREG_OBJ
= rpc_server
/srv_winreg_nt.o \
676 librpc
/gen_ndr
/srv_winreg.o
678 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
680 RPC_SRVSVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
681 librpc
/gen_ndr
/srv_srvsvc.o
683 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
684 rpc_server
/srv_wkssvc_nt.o
686 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
687 librpc
/gen_ndr
/srv_svcctl.o \
688 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
689 services
/svc_netlogon.o services
/svc_winreg.o \
692 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
693 librpc
/gen_ndr
/srv_ntsvcs.o
695 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
696 rpc_server
/srv_dfs_nt.o
698 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
699 rpc_server
/srv_spoolss_util.o \
700 librpc
/gen_ndr
/srv_spoolss.o
702 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
703 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
705 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
706 librpc
/gen_ndr
/ndr_named_pipe_auth.o
708 RPC_NCACN_NP_INTERNAL
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np_internal.o \
709 rpc_server
/rpc_handles.o
711 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
712 $(RPC_NCACN_NP_INTERNAL
)
714 RPC_RPCECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
716 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
717 $(LIBCLI_SPOOLSS_OBJ
) \
718 $(LIBCLI_WINREG_OBJ
) \
719 $(LIBCLI_SRVSVC_OBJ
) \
722 $(LIBCLI_NETLOGON_OBJ
) \
723 $(RPC_CLIENT_SCHANNEL_OBJ
) \
724 rpc_client
/init_netlogon.o \
725 rpc_client
/init_samr.o
727 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
729 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
731 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
733 PRIVILEGES_OBJ
= lib
/privileges.o
735 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
737 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
738 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
739 passdb
/util_unixsids.o passdb
/lookup_sid.o \
740 passdb
/login_cache.o @PDB_STATIC@ \
741 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
742 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
744 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
745 CP850_OBJ
= modules
/CP850.o
746 CP437_OBJ
= modules
/CP437.o
747 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
749 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
751 PROFILE_OBJ
= profile
/profile.o
752 PROFILES_OBJ
= utils
/profiles.o \
755 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
759 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
762 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
763 librpc
/gen_ndr
/ndr_notify.o
765 FNAME_UTIL_OBJ
= smbd
/filename_util.o
767 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
768 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
769 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
770 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
771 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
772 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
773 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
774 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
775 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
776 VFS_CAP_OBJ
= modules
/vfs_cap.o
777 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
778 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
779 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
780 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
781 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
782 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
783 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
784 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
785 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
786 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
787 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
788 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
789 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
790 VFS_CATIA_OBJ
= modules
/vfs_catia.o
791 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
792 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
793 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
794 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
795 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
796 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
797 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
798 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
799 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
800 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
801 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
802 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
803 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
804 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
805 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
806 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
807 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
808 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
809 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
810 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
811 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
812 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
813 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
814 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
815 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
816 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
817 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
819 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
821 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
823 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
825 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
826 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
827 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
828 AUTH_SERVER_OBJ
= auth
/auth_server.o
829 AUTH_UNIX_OBJ
= auth
/auth_unix.o
830 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
831 AUTH_WBC_OBJ
= auth
/auth_wbc.o
832 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
833 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
835 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
837 auth
/server_info_sam.o \
840 auth
/auth_compat.o auth
/auth_ntlmssp.o \
841 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
843 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
845 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
847 BUILDOPT_OBJ
= smbd
/build_options.o
849 SMBD_OBJ_SRV
= smbd
/server_reload.o \
850 smbd
/files.o smbd
/connection.o \
851 smbd
/utmp.o smbd
/session.o \
852 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
853 smbd
/share_access.o smbd
/fileio.o \
854 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
855 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
856 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
857 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
858 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
859 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
860 smbd
/posix_acls.o lib
/sysacls.o \
861 smbd
/process.o smbd
/service.o smbd
/error.o \
862 printing
/printspoolss.o \
863 lib
/sysquotas.o lib
/sysquotas_linux.o \
864 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
865 lib
/sysquotas_nfs.o \
867 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
868 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
869 smbd
/dmapi.o smbd
/signing.o \
871 smbd
/dnsregister.o smbd
/globals.o \
873 smbd
/smb2_signing.o \
875 smbd
/smb2_negprot.o \
876 smbd
/smb2_sesssetup.o \
885 smbd
/smb2_keepalive.o \
888 smbd
/smb2_getinfo.o \
889 smbd
/smb2_setinfo.o \
891 ..
/libcli
/smb
/smb2_create_blob.o \
892 $(MANGLE_OBJ
) @VFS_STATIC@
894 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
896 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
897 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
898 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
899 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
900 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
901 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
902 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
904 $(PRIVILEGES_BASIC_OBJ
) \
906 $(REG_API_REGF_OBJ
) \
909 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
910 printing
/print_cups.o printing
/print_generic.o \
911 printing
/lpq_parse.o printing
/load.o \
912 printing
/print_iprint.o printing
/print_standard.o
914 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
915 PRINTBACKEND_OBJ
= printing
/printing.o \
916 printing
/nt_printing.o \
917 printing
/nt_printing_tdb.o \
918 printing
/nt_printing_migrate.o \
919 printing
/nt_printing_ads.o \
920 librpc
/gen_ndr
/ndr_ntprinting.o \
921 ..
/librpc
/ndr
/ndr_ntprinting.o \
924 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
926 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
927 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
928 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
929 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
930 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
931 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
932 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
933 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
934 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
935 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
936 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
937 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
939 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
940 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
943 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
944 web
/swat.o web
/neg_lang.o
946 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
947 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
948 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
949 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
950 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
952 rpc_client
/init_lsa.o
954 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
955 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
956 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
957 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
959 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
960 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
962 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
963 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
964 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
965 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
966 $(LIBMSRPC_GEN_OBJ
) \
970 TESTPARM_OBJ
= utils
/testparm.o \
971 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
974 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
975 $(LOCKING_OBJ
) $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) \
976 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
978 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
979 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
980 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
982 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
984 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
985 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
986 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
987 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
988 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
990 rpc_client
/init_lsa.o
992 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
993 $(LIBSAMBA_OBJ
) $(LIBTSOCKET_OBJ
) \
994 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
995 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
997 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
999 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1001 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1002 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1003 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1004 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1005 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1006 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1007 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1008 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1009 rpcclient
/cmd_winreg.o \
1012 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1013 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1014 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1015 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1016 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1017 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1018 $(LIBCLI_SPOOLSS_OBJ
) \
1019 $(LIBCLI_EVENTLOG_OBJ
) \
1020 $(LIBCLI_NTSVCS_OBJ
) \
1021 $(LIBCLI_DRSUAPI_OBJ
) \
1023 $(LIBCLI_ECHO_OBJ
) \
1024 $(LIBCLI_DSSETUP_OBJ
) \
1025 $(LIBCLI_WKSSVC_OBJ
) \
1026 $(LIBCLI_SRVSVC_OBJ
) \
1028 $(LIBCLI_SAMR_OBJ
) \
1029 $(LIBCLI_WINREG_OBJ
) \
1030 $(LIBCLI_NETLOGON_OBJ
) \
1031 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1032 rpc_client
/init_netlogon.o \
1033 rpc_client
/init_samr.o
1035 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1036 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1038 LIBSMBCLIENT_THREAD_OBJ
= \
1039 libsmb
/libsmb_thread_impl.o \
1040 libsmb
/libsmb_thread_posix.o
1042 LIBSMBCLIENT_OBJ0
= \
1043 libsmb
/libsmb_cache.o \
1044 libsmb
/libsmb_compat.o \
1045 libsmb
/libsmb_context.o \
1046 libsmb
/libsmb_dir.o \
1047 libsmb
/libsmb_file.o \
1048 libsmb
/libsmb_misc.o \
1049 libsmb
/libsmb_path.o \
1050 libsmb
/libsmb_printjob.o \
1051 libsmb
/libsmb_server.o \
1052 libsmb
/libsmb_stat.o \
1053 libsmb
/libsmb_xattr.o \
1054 libsmb
/libsmb_setget.o
1056 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1057 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1058 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1059 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1060 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1061 $(LIBCLI_SRVSVC_OBJ
) \
1064 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1066 # This shared library is intended for linking with unit test programs
1067 # to test Samba internals. It's called libbigballofmud.so to
1068 # discourage casual usage.
1070 LIBBIGBALLOFMUD_MAJOR
= 0
1072 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1073 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1074 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1076 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1077 client
/dnsbrowse.o \
1080 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1081 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1082 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1083 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1084 $(DISPLAY_SEC_OBJ
) \
1085 $(LIBCLI_SRVSVC_OBJ
)
1087 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1088 ..
/lib
/smbconf
/smbconf_util.o \
1089 ..
/lib
/smbconf
/smbconf_txt.o \
1090 lib
/smbconf
/smbconf_reg.o \
1091 lib
/smbconf
/smbconf_init.o
1093 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1095 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1096 $(LIB_NONSMBD_OBJ
) \
1101 LIBNET_OBJ
= libnet
/libnet_join.o \
1102 libnet
/libnet_keytab.o \
1103 librpc
/gen_ndr
/ndr_libnet_join.o
1105 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1106 libnet
/libnet_dssync_keytab.o \
1107 ..
/libcli
/drsuapi
/repl_decrypt.o
1109 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1110 libnet
/libnet_samsync_ldif.o \
1111 libnet
/libnet_samsync_passdb.o \
1112 libnet
/libnet_samsync_display.o \
1113 libnet
/libnet_samsync_keytab.o \
1114 ..
/libcli
/samsync
/decrypt.o
1116 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1117 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1118 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1119 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1120 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1121 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1122 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1123 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1124 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1125 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1126 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
1127 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1128 utils
/net_g_lock.o \
1129 utils
/net_serverid.o \
1130 utils
/net_eventlog.o \
1131 utils
/net_printing.o \
1132 $(LIBNDR_NTPRINTING_OBJ
) \
1133 $(LIBNDR_PREG_OBJ
) \
1134 $(LIBCLI_SPOOLSS_OBJ
) \
1135 $(LIBCLI_WINREG_OBJ
) \
1136 $(LIBCLI_DRSUAPI_OBJ
) \
1137 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1138 $(LIBCLI_DSSETUP_OBJ
) \
1139 $(LIBCLI_SVCCTL_OBJ
) \
1140 $(LIBCLI_WKSSVC_OBJ
) \
1141 $(LIBCLI_SRVSVC_OBJ
) \
1143 $(LIBCLI_SAMR_OBJ
) \
1144 $(LIBCLI_NETLOGON_OBJ
) \
1145 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1146 rpc_client
/init_netlogon.o \
1147 rpc_client
/init_samr.o \
1150 # these are not processed by make proto
1151 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1153 NET_OBJ
= $(NET_OBJ1
) \
1154 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1155 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1156 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1157 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1158 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1159 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1160 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1161 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1162 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1163 $(REG_SMBCONF_OBJ
) \
1164 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1167 $(PRIVILEGES_BASIC_OBJ
) \
1168 $(LIB_EVENTLOG_OBJ
) localedir.o
1170 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1171 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1174 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1175 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1177 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1178 torture
/denytest.o torture
/mangle_test.o \
1180 torture
/test_posix_append.o
1182 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1183 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1184 @LIBWBCLIENT_STATIC@ \
1185 ..
/nsswitch
/libwbclient
/wbc_async.o \
1186 ..
/nsswitch
/libwbclient
/wb_reqtrans.o \
1189 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1190 $(LIB_NONSMBD_OBJ
) \
1193 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1194 $(LIB_NONSMBD_OBJ
) \
1197 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1198 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1199 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1201 NSSTEST_OBJ
= torture
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1203 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1204 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1205 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1208 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1210 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1212 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1214 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1215 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1216 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1218 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1219 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1220 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1221 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1224 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1226 $(LIB_NONSMBD_OBJ
) \
1227 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1228 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1231 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1233 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1235 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1236 librpc
/gen_ndr
/ndr_eventlog.o \
1237 librpc
/gen_ndr
/ndr_lsa.o
1239 SHARESEC_OBJ0
= utils
/sharesec.o
1240 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1244 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1245 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1247 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1248 @libreplacedir@
/test/getifaddrs.o \
1249 @libreplacedir@
/test/os2_delete.o \
1250 @libreplacedir@
/test/strptime.o \
1251 @libreplacedir@
/test/main.o \
1252 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1254 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1256 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1257 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1260 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1261 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1263 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1264 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1265 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1266 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1269 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1271 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1273 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1276 winbindd
/idmap_hash
/idmap_hash.o \
1277 winbindd
/idmap_hash
/mapfile.o
1280 winbindd
/idmap_adex
/idmap_adex.o \
1281 winbindd
/idmap_adex
/cell_util.o \
1282 winbindd
/idmap_adex
/likewise_cell.o \
1283 winbindd
/idmap_adex
/provider_unified.o \
1284 winbindd
/idmap_adex
/gc_util.o \
1285 winbindd
/idmap_adex
/domain_util.o
1288 winbindd
/winbindd.o \
1289 winbindd
/winbindd_group.o \
1290 winbindd
/winbindd_util.o \
1291 winbindd
/winbindd_cache.o \
1292 winbindd
/winbindd_pam.o \
1293 winbindd
/winbindd_misc.o \
1294 winbindd
/winbindd_cm.o \
1295 winbindd
/winbindd_wins.o \
1296 winbindd
/winbindd_msrpc.o \
1297 winbindd
/winbindd_rpc.o \
1298 winbindd
/winbindd_reconnect.o \
1299 winbindd
/winbindd_ads.o \
1300 winbindd
/winbindd_samr.o \
1301 winbindd
/winbindd_dual.o \
1302 winbindd
/winbindd_dual_ndr.o \
1303 winbindd
/winbindd_dual_srv.o \
1304 librpc
/gen_ndr
/cli_wbint.o \
1305 librpc
/gen_ndr
/ndr_wbint_c.o \
1306 librpc
/gen_ndr
/srv_wbint.o \
1307 librpc
/gen_ndr
/ndr_wbint.o \
1308 winbindd
/winbindd_async.o \
1309 winbindd
/winbindd_creds.o \
1310 winbindd
/winbindd_cred_cache.o \
1311 winbindd
/winbindd_ccache_access.o \
1312 winbindd
/winbindd_domain.o \
1313 winbindd
/winbindd_idmap.o \
1314 winbindd
/winbindd_locator.o \
1315 winbindd
/winbindd_ndr.o \
1316 winbindd
/wb_ping.o \
1317 winbindd
/wb_lookupsid.o \
1318 winbindd
/wb_lookupname.o \
1319 winbindd
/wb_sid2uid.o \
1320 winbindd
/wb_sid2gid.o \
1321 winbindd
/wb_uid2sid.o \
1322 winbindd
/wb_gid2sid.o \
1323 winbindd
/wb_queryuser.o \
1324 winbindd
/wb_lookupuseraliases.o \
1325 winbindd
/wb_lookupusergroups.o \
1326 winbindd
/wb_getpwsid.o \
1327 winbindd
/wb_gettoken.o \
1328 winbindd
/wb_seqnum.o \
1329 winbindd
/wb_seqnums.o \
1330 winbindd
/wb_group_members.o \
1331 winbindd
/wb_getgrsid.o \
1332 winbindd
/wb_query_user_list.o \
1333 winbindd
/wb_fill_pwent.o \
1334 winbindd
/wb_next_pwent.o \
1335 winbindd
/wb_next_grent.o \
1336 winbindd
/wb_dsgetdcname.o \
1337 winbindd
/winbindd_lookupsid.o \
1338 winbindd
/winbindd_lookupname.o \
1339 winbindd
/winbindd_sid_to_uid.o \
1340 winbindd
/winbindd_sid_to_gid.o \
1341 winbindd
/winbindd_uid_to_sid.o \
1342 winbindd
/winbindd_gid_to_sid.o \
1343 winbindd
/winbindd_allocate_uid.o \
1344 winbindd
/winbindd_allocate_gid.o \
1345 winbindd
/winbindd_getpwsid.o \
1346 winbindd
/winbindd_getpwnam.o \
1347 winbindd
/winbindd_getpwuid.o \
1348 winbindd
/winbindd_getsidaliases.o \
1349 winbindd
/winbindd_getuserdomgroups.o \
1350 winbindd
/winbindd_getgroups.o \
1351 winbindd
/winbindd_show_sequence.o \
1352 winbindd
/winbindd_getgrgid.o \
1353 winbindd
/winbindd_getgrnam.o \
1354 winbindd
/winbindd_getusersids.o \
1355 winbindd
/winbindd_lookuprids.o \
1356 winbindd
/winbindd_setpwent.o \
1357 winbindd
/winbindd_getpwent.o \
1358 winbindd
/winbindd_endpwent.o \
1359 winbindd
/winbindd_setgrent.o \
1360 winbindd
/winbindd_getgrent.o \
1361 winbindd
/winbindd_endgrent.o \
1362 winbindd
/winbindd_dsgetdcname.o \
1363 winbindd
/winbindd_getdcname.o \
1364 winbindd
/winbindd_list_users.o \
1365 winbindd
/winbindd_list_groups.o \
1366 winbindd
/winbindd_check_machine_acct.o \
1367 winbindd
/winbindd_change_machine_acct.o \
1368 winbindd
/winbindd_ping_dc.o \
1369 winbindd
/winbindd_pam_auth.o \
1370 winbindd
/winbindd_pam_auth_crap.o \
1371 winbindd
/winbindd_pam_chauthtok.o \
1372 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1373 winbindd
/winbindd_pam_logoff.o \
1377 auth
/check_samsec.o \
1378 auth
/server_info.o \
1379 auth
/server_info_sam.o \
1382 ..
/nsswitch
/libwbclient
/wb_reqtrans.o
1385 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1386 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1387 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1388 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1389 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1390 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1391 $(RPC_NCACN_NP_INTERNAL
) $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1392 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1393 $(LIBADS_SERVER_OBJ
) \
1394 $(TDB_VALIDATE_OBJ
) \
1395 $(LIBCLI_DSSETUP_OBJ
) \
1397 $(LIBCLI_SAMR_OBJ
) \
1398 $(LIBCLI_NETLOGON_OBJ
) \
1399 rpc_client
/init_netlogon.o \
1400 rpc_client
/init_samr.o
1402 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1403 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1404 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1406 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1408 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1409 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1411 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1412 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1414 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1415 ..
/lib
/iniparser_build
/strlib.o
1417 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1418 $(SOCKET_WRAPPER_OBJ
)
1420 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1421 $(SOCKET_WRAPPER_OBJ
)
1423 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1424 $(SOCKET_WRAPPER_OBJ
)
1426 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1427 $(SOCKET_WRAPPER_OBJ
)
1429 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1430 $(SOCKET_WRAPPER_OBJ
)
1433 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1435 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1436 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o libads
/kerberos.o \
1437 libsmb
/samlogon_cache.o \
1438 $(LIBADS_SERVER_OBJ
) \
1439 $(PASSDB_OBJ
) $(LIBTSOCKET_OBJ
) $(GROUPDB_OBJ
) \
1440 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1442 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1445 VLP_OBJ
= printing
/tests
/vlp.o \
1446 ..
/lib
/util
/util_tdb.o \
1447 $(LIBSAMBAUTIL_OBJ
) \
1450 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1454 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1455 $(LIB_NONSMBD_OBJ
) \
1460 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1462 $(LIB_NONSMBD_OBJ
) \
1465 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1467 $(LIB_NONSMBD_OBJ
) \
1471 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1473 $(LIB_NONSMBD_OBJ
) \
1477 ######################################################################
1479 ######################################################################
1480 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1481 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1482 $(EXTRA_ALL_TARGETS
)
1486 nss_modules
:: $(NSS_MODULES
)
1488 pam_modules
:: $(PAM_MODULES
)
1490 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1492 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1494 gpext_modules
:: $(GPEXT_MODULES
)
1496 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1498 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1500 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1502 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1504 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1506 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1508 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1510 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1512 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1514 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1516 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1518 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1520 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1522 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1524 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1526 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1528 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1529 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1530 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1532 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1534 modules
:: SHOWFLAGS
$(MODULES
)
1537 #####################################################################
1538 ## Perl IDL Compiler
1540 IDL_FILES
= librpc
/idl
/messaging.idl \
1541 librpc
/idl
/libnetapi.idl \
1542 librpc
/idl
/notify.idl \
1543 librpc
/idl
/wbint.idl \
1544 librpc
/idl
/perfcount.idl \
1545 librpc
/idl
/secrets.idl \
1546 librpc
/idl
/libnet_join.idl \
1550 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1551 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1552 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1553 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1556 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1557 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1558 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1559 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1561 #####################################################################
1564 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1568 .SUFFIXES
: .c .o .lo
1570 .PHONY
: showflags SHOWFLAGS
1572 showflags
: SHOWFLAGS
1575 @echo
"Using CFLAGS = $(CFLAGS)"
1576 @echo
" PICFLAG = $(PICFLAG)"
1577 @echo
" LIBS = $(LIBS)"
1578 @echo
" LDFLAGS = $(LDFLAGS)"
1579 @echo
" DYNEXP = $(DYNEXP)"
1580 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1581 @echo
" SHLIBEXT = @SHLIBEXT@"
1582 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1584 # "showcflags" target for debuggin how CFLAGS are composed:
1586 .PHONY
: showcflags SHOWCFLAGS
1588 showcflags
: SHOWCFLAGS
1591 @echo
"CFLAGS = $(CFLAGS)"
1592 @echo
"FLAGS = $(FLAGS)"
1594 @echo
"FLAGS1 = @FLAGS1@"
1595 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1596 @echo
"CPPFLAGS = $(CPPFLAGS)"
1597 @echo
"ISA = $(ISA)"
1599 MAKEDIR
= || exec false
; \
1600 if
test -d
"$$dir"; then
:; else \
1601 echo mkdir
"$$dir"; \
1602 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1603 test -d
"$$dir" || \
1605 exec false
; fi || exec false
1607 # Run a static checker.
1608 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1609 # Compile a source file.
1610 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1611 # Compile a source file with the installation paths defined.
1612 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1614 COMPILE
= $(COMPILE_CC
)
1617 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1618 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1619 @if
test -n
"$(CC_CHECKER)"; then \
1620 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1623 @echo Compiling
$*.c
1624 @
$(COMPILE
) && exit
0;\
1625 echo
"The following command failed:" 1>&2;\
1626 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1627 $(COMPILE_CC) >/dev/null 2>&1
1628 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1630 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1632 # this adds support for precompiled headers. To use it, install a snapshot
1633 # of gcc-3.4 and run 'make pch' before you do the main build.
1635 rm -f $(PRECOMPILED_HEADER)
1636 $(MAKE) $(PRECOMPILED_HEADER)
1638 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1641 BINARY_PREREQS = bin/.dummy
1643 # These dependencies are only approximately correct: we want to make
1644 # sure Samba's paths are updated if ./configure is re-run. Really it
1645 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1646 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1647 # rebuild it's a bit hard.
1649 dynconfig.o: dynconfig.c Makefile
1650 @echo Compiling $*.c
1651 @$(COMPILE_CC_PATH) && exit 0;\
1652 echo "The following command failed
:" 1>&2;\
1653 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1654 $(COMPILE_CC_PATH) >/dev/null 2>&1
1656 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1657 @echo Compiling $*.c
1658 @$(COMPILE_CC_PATH) && exit 0;\
1659 echo "The following command failed
:" 1>&2;\
1660 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1661 $(COMPILE_CC_PATH) >/dev/null 2>&1
1663 ### Start section of object files that require PTHREAD_CFLAGS
1664 ../nsswitch/wins.o: ../nsswitch/wins.c
1665 @echo Compiling $*.c
1666 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1667 echo "The following command failed
:" 1>&2;\
1668 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1669 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1671 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1672 @echo Compiling $*.c
1673 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1674 echo "The following command failed
:" 1>&2;\
1675 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1676 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1678 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1679 @echo Compiling $*.c
1680 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1681 echo "The following command failed
:" 1>&2;\
1682 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1683 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1685 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1686 @echo Compiling $*.c
1687 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1688 echo "The following command failed
:" 1>&2;\
1689 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1690 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1691 ### End section of object files that require PTHREAD_CFLAGS
1693 localedir.o: localedir.c Makefile
1694 @echo Compiling $*.c
1695 @$(COMPILE_CC_PATH) && exit 0;\
1696 echo "The following command failed
:" 1>&2;\
1697 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1698 $(COMPILE_CC_PATH) >/dev/null 2>&1
1700 lib/pidfile.o: lib/pidfile.c
1701 @echo Compiling $*.c
1702 @$(COMPILE_CC_PATH) && exit 0;\
1703 echo "The following command failed
:" 1>&2;\
1704 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1705 $(COMPILE_CC_PATH) >/dev/null 2>&1
1707 lib/version.o: lib/version.c include/version.h
1708 @echo Compiling $*.c
1709 @$(COMPILE_CC_PATH) && exit 0;\
1710 echo "The following command failed
:" 1>&2;\
1711 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1712 $(COMPILE_CC_PATH) >/dev/null 2>&1
1714 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1715 @echo Compiling $*.c
1716 @$(COMPILE_CC_PATH) && exit 0;\
1717 echo "The following command failed
:" 1>&2;\
1718 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1719 $(COMPILE_CC_PATH) >/dev/null 2>&1
1721 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1723 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1726 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1727 dir=bin $(MAKEDIR); fi
1728 @: >> $@ || : > $@ # what a fancy emoticon!
1730 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1732 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1733 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1734 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1735 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1736 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1738 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1740 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1741 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1742 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1743 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1745 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1747 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1748 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1749 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1751 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1753 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1754 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1755 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1756 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1758 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1760 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1761 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1762 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1763 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1765 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1767 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1768 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1769 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1770 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1773 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1775 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1776 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1778 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1780 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1781 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1782 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1784 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1786 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1787 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1789 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1791 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1792 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1794 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1796 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1797 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1799 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1801 @$(CC) -DUSING_SMBCONTROL -o $@ \
1802 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1803 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1804 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1806 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1808 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1809 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1810 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1812 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1814 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1815 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1816 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1818 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1820 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1821 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1822 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1824 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1826 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1827 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1828 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1830 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1832 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1833 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1835 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1837 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1838 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1839 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1841 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1843 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1844 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1845 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1847 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1849 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1850 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1852 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1854 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1855 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1856 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1858 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1860 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1861 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1862 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1863 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1865 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1867 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1868 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1869 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1871 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1873 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1874 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1875 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1877 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1879 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1880 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1881 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1883 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1885 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1886 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1888 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1890 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1891 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1893 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1895 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1896 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1897 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1898 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1900 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ)
1902 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
1904 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1906 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1907 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1908 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1910 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1912 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1913 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1914 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1915 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1916 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1918 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1920 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1921 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1922 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1924 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1926 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1927 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1929 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1931 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1932 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1933 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1934 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1936 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1938 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1939 $(LIBS) $(LIBTALLOC_LIBS)
1941 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1943 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1944 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1945 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1946 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1948 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1950 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1953 #####################################################################
1957 #####################################################################
1959 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1962 #-------------------------------------------------------------------
1966 #-------------------------------------------------------------------
1969 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1970 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1972 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1973 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1974 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1975 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1976 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1977 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1979 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1980 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
1982 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
1983 @echo Linking shared library $@
1984 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
1986 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
1988 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1990 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
1991 @echo Linking non-shared library $@
1992 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
1993 libtalloc: $(LIBTALLOC)
1998 $(LIBTALLOC_STATIC_TARGET) \
1999 $(LIBTALLOC_SHARED_TARGET) \
2000 $(LIBTALLOC_SHARED_TARGET_SONAME)
2002 installlibtalloc:: installdirs libtalloc
2003 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2004 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2005 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2006 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2007 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2008 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2010 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2011 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2012 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2014 uninstalllibtalloc::
2015 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2016 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2017 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2018 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2021 installlibs:: @INSTALL_LIBTALLOC@
2022 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2023 cleanlibs:: cleanlibtalloc
2024 shlibs test_shlibs: @LIBTALLOC_SHARED@
2028 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2029 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2030 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2032 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2033 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2034 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2035 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2036 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2038 showlibs:: showlibtalloc
2040 #-------------------------------------------------------------------
2044 #-------------------------------------------------------------------
2046 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2047 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2049 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2050 LIBTDB_SOVER=@LIBTDB_SOVER@
2051 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
2052 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2053 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2054 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2056 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2057 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2059 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2060 @echo Linking shared library $@
2061 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2062 @SONAMEFLAG@`basename $@`
2064 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
2066 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2068 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2069 @echo Linking non-shared library $@
2070 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2077 $(LIBTDB_STATIC_TARGET) \
2078 $(LIBTDB_SHARED_TARGET) \
2079 $(LIBTDB_SHARED_TARGET_SONAME)
2082 installlibtdb:: installdirs libtdb
2083 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2084 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2085 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2086 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2087 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2088 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2090 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2091 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2092 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2095 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2096 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2097 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2098 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2101 installlibs:: @INSTALL_LIBTDB@
2102 uninstalllibs:: @UNINSTALL_LIBTDB@
2103 cleanlibs:: cleanlibtdb
2104 shlibs test_shlibs: @LIBTDB_SHARED@
2108 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2109 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2110 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2112 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2113 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2114 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2115 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2116 @echo "LIBTDB
= $(LIBTDB
)"
2118 showlibs:: showlibtdb
2120 #-------------------------------------------------------------------
2124 #-------------------------------------------------------------------
2126 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2127 ../nsswitch/libwbclient/wbc_util.o \
2128 ../nsswitch/libwbclient/wbc_pwd.o \
2129 ../nsswitch/libwbclient/wbc_idmap.o \
2130 ../nsswitch/libwbclient/wbc_sid.o \
2131 ../nsswitch/libwbclient/wbc_guid.o \
2132 ../nsswitch/libwbclient/wbc_pam.o
2134 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2137 ../lib/util/blocking.o \
2138 $(SOCKET_WRAPPER_OBJ)
2140 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2141 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2142 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
2143 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2144 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2145 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2147 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2148 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2150 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2151 @echo Linking shared library $@
2152 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2153 @SONAMEFLAG@`basename $@`
2155 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2157 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2159 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2160 @echo Linking non-shared library $@
2161 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2163 libwbclient: $(LIBWBCLIENT)
2167 $(LIBWBCLIENT_SYMS) \
2168 $(LIBWBCLIENT_STATIC_TARGET) \
2169 $(LIBWBCLIENT_SHARED_TARGET) \
2170 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2172 installlibwbclient:: installdirs libwbclient
2173 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2174 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2175 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2176 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2177 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2178 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2180 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2181 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2182 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2184 uninstalllibwbclient::
2185 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2186 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2187 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2188 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2191 installlibs:: @INSTALL_LIBWBCLIENT@
2192 uninstalllibs:: uninstalllibwbclient
2193 cleanlibs:: cleanlibwbclient
2194 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2198 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2199 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2200 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2202 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2203 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2204 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2205 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2206 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2208 showlibs:: showlibwbclient
2211 #-------------------------------------------------------------------
2215 #-------------------------------------------------------------------
2218 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2219 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2220 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
2221 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2222 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2223 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2224 LIBADDNS_HEADERS=$(srcdir)/libaddns/addns.h
2226 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2227 @echo Linking shared library $@
2228 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2229 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2230 @SONAMEFLAG@`basename $@`
2232 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2234 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2236 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2237 @echo Linking non-shared library $@
2238 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2240 libaddns: $(LIBADDNS)
2244 $(LIBADDNS_SHARED_TARGET) \
2245 $(LIBADDNS_SHARED_TARGET_SONAME) \
2246 $(LIBADDNS_STATIC_TARGET)
2248 installlibaddns:: installdirs libaddns
2249 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2250 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2251 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2252 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2253 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2254 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2256 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2259 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2260 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2261 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2264 installlibs:: @INSTALL_LIBADDNS@
2265 uninstalllibs:: @UNINSTALL_LIBADDNS@
2266 cleanlibs:: cleanlibaddns
2267 shlibs test_shlibs: @LIBADDNS_SHARED@
2271 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2272 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2273 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2275 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2276 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2277 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2278 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2279 @echo "LIBADDNS
= $(LIBADDNS
)"
2281 showlibs:: showlibaddns
2283 #-------------------------------------------------------------------
2287 #-------------------------------------------------------------------
2289 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2291 librpc/gen_ndr/ndr_libnetapi.o \
2292 lib/netapi/libnetapi.o \
2293 lib/netapi/joindomain.o \
2294 lib/netapi/serverinfo.o \
2295 lib/netapi/getdc.o \
2297 lib/netapi/group.o \
2298 lib/netapi/localgroup.o \
2301 lib/netapi/share.o \
2303 lib/netapi/shutdown.o \
2304 lib/netapi/netlogon.o
2306 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2308 $(REG_SMBCONF_OBJ) \
2309 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2310 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2311 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2312 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2313 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2315 $(LIBCLI_INITSHUTDOWN_OBJ) \
2316 $(LIBCLI_WKSSVC_OBJ) \
2317 $(LIBCLI_SRVSVC_OBJ) \
2319 $(LIBCLI_SAMR_OBJ) \
2320 $(LIBCLI_NETLOGON_OBJ) \
2321 $(RPC_CLIENT_SCHANNEL_OBJ) \
2322 rpc_client/init_netlogon.o \
2323 rpc_client/init_samr.o
2325 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2326 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2327 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2328 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2329 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2330 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2332 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2333 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2335 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2336 @echo Linking shared library $@
2337 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2338 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2339 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2340 @SONAMEFLAG@`basename $@`
2342 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2344 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2346 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2347 @echo Linking non-shared library $@
2348 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2350 libnetapi: $(LIBNETAPI)
2355 $(LIBNETAPI_STATIC_TARGET) \
2356 $(LIBNETAPI_SHARED_TARGET) \
2357 $(LIBNETAPI_SHARED_TARGET_SONAME)
2359 installlibnetapi:: installdirs libnetapi
2360 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2361 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2362 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2363 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2364 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2365 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2367 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2368 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2369 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2371 uninstalllibnetapi::
2372 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2373 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2374 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2375 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2378 installlibs:: @INSTALL_LIBNETAPI@
2379 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2380 cleanlibs:: cleanlibnetapi
2381 shlibs test_shlibs: @LIBNETAPI_SHARED@
2385 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2386 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2387 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2389 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2390 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2391 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2392 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2393 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2395 showlibs:: showlibnetapi
2397 #-------------------------------------------------------------------
2401 #-------------------------------------------------------------------
2403 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2404 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2405 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2406 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2407 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2408 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2409 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2411 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2412 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2414 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2415 @echo Linking shared library $@
2416 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2417 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2418 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2419 @SONAMEFLAG@`basename $@`
2421 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2423 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2425 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2426 @echo Linking non-shared library $@
2427 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2429 libsmbclient: $(LIBSMBCLIENT)
2433 $(LIBSMBCLIENT_SHARED_TARGET) \
2434 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2435 $(LIBSMBCLIENT_STATIC_TARGET)
2437 installlibsmbclient:: installdirs libsmbclient
2438 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2439 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2440 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2441 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2442 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2443 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2445 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2446 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2447 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2449 installclientlib:: installlibsmbclient
2451 uninstalllibsmbclient::
2452 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2453 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2454 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2455 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2457 uninstallclientlib:: uninstalllibsmbclient
2460 installlibs:: @INSTALL_LIBSMBCLIENT@
2461 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2462 cleanlibs:: cleanlibsmbclient
2463 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2467 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2468 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2469 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2471 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2472 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2473 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2474 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2475 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2477 showlibs:: showlibsmbclient
2479 #-------------------------------------------------------------------
2483 #-------------------------------------------------------------------
2485 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2487 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2489 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2490 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2491 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2492 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2493 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2494 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2495 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2497 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2498 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2500 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2501 @echo Linking shared library $@
2502 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2503 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2504 @SONAMEFLAG@`basename $@`
2506 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2508 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2510 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2511 @echo Linking non-shared library $@
2512 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2514 libsmbsharemodes: $(LIBSMBSHAREMODES)
2516 cleanlibsmbsharemodes::
2518 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2519 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2520 $(LIBSMBSHAREMODES_STATIC_TARGET)
2522 installlibsmbsharemodes:: installdirs libsmbsharemodes
2523 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2524 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2525 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2526 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2527 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2528 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2530 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2531 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2532 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2534 uninstalllibsmbsharemodes::
2535 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2536 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2537 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2538 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2540 libs:: libsmbsharemodes
2541 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2542 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2543 cleanlibs:: cleanlibsmbsharemodes
2544 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2546 showlibsmbsharemodes:
2548 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2549 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2550 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2551 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2553 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2554 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2555 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2556 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2557 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2559 showlibs:: showlibsmbsharemodes
2561 #-------------------------------------------------------------------
2565 #-------------------------------------------------------------------
2567 # This is probably wrong for anything other than the GNU linker.
2568 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2569 @echo Linking shared library $@
2570 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2571 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2572 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2573 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2574 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2576 # It would be nice to build a static bigballofmud too, but when I try
2577 # I get linker errors about dl_open and similar things. I'm not sure if
2578 # it can be fixed or if they just can't be called from a static
2581 #####################################################################
2585 #####################################################################
2587 # Linker command to link our shared libraries:
2588 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2589 -o $@ @SONAMEFLAG@`basename $@`
2590 # Linker command to link samba internal plugin modules:
2591 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2592 -o $@ @SONAMEFLAG@`basename $@`
2594 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2596 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2598 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2600 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2602 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2604 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2606 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2608 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2610 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2612 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2614 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2616 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2618 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2620 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2622 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2624 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2626 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2628 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2630 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2632 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2634 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2636 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2638 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2640 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2642 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2644 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2646 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2648 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2650 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2652 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2653 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2654 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2657 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB)
2659 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2660 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2663 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2665 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2666 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2667 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2669 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2671 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2672 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2673 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2675 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2677 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2678 @SONAMEFLAG@`basename $@`
2680 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2681 @echo "Linking shared library
$@
"
2682 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2683 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2689 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2690 @echo "Building plugin
$@
"
2691 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2693 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2694 @echo "Building plugin
$@
"
2695 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2697 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2698 @echo "Building plugin
$@
"
2699 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2701 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2702 @echo "Building plugin
$@
"
2703 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2705 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2706 @echo "Building plugin
$@
"
2707 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2709 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2710 @echo "Building plugin
$@
"
2711 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2713 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2714 @echo "Building plugin
$@
"
2715 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2717 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2718 @echo "Building plugin
$@
"
2719 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2721 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2722 @echo "Building plugin
$@
"
2723 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2725 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2726 @echo "Building plugin
$@
"
2727 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2729 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2730 @echo "Building plugin
$@
"
2731 @$(SHLD_MODULE) passdb/pdb_ads.o
2733 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2734 @echo "Building plugin
$@
"
2735 @$(SHLD_MODULE) passdb/pdb_tdb.o
2737 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2738 @echo "Building plugin
$@
"
2739 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2741 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2742 @echo "Building plugin
$@
"
2743 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2745 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2746 @echo "Building plugin
$@
"
2747 @$(SHLD_MODULE) winbindd/idmap_rid.o
2749 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2750 @echo "Building plugin
$@
"
2751 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2753 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2754 @echo "Building plugin
$@
"
2755 @$(SHLD_MODULE) winbindd/idmap_ad.o
2757 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2758 @echo "Building plugin
$@
"
2759 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2761 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2762 @echo "Building plugin
$@
"
2763 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2765 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2766 @echo "Building plugin
$@
"
2767 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2769 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2770 @echo "Building plugin
$@
"
2771 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2773 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2774 @echo "Building plugin
$@
"
2775 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2777 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2778 @echo "Building plugin
$@
"
2779 @$(SHLD_MODULE) $(CP850_OBJ)
2781 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2782 @echo "Building plugin
$@
"
2783 @$(SHLD_MODULE) $(CP437_OBJ)
2785 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2786 @echo "Building plugin
$@
"
2787 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2789 # NOTE, there is no build rule for a dynamic default VFS module because
2790 # this one MUST MUST MUST be built statically.
2792 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2793 @echo "Building plugin
$@
"
2794 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2796 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2797 @echo "Building plugin
$@
"
2798 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2800 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2801 @echo "Building plugin
$@
"
2802 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2804 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2805 @echo "Building plugin
$@
"
2806 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2808 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2809 @echo "Building plugin
$@
"
2810 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2812 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2813 @echo "Building plugin
$@
"
2814 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2816 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2817 @echo "Building plugin
$@
"
2818 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2820 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2821 @echo "Building plugin
$@
"
2822 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2824 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2825 @echo "Building plugin
$@
"
2826 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2828 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2829 @echo "Building plugin
$@
"
2830 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2832 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2833 @echo "Building plugin
$@
"
2834 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2836 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2837 @echo "Building plugin
$@
"
2838 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2840 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2841 @echo "Building plugin
$@
"
2842 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2844 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2845 @echo "Building plugin
$@
"
2846 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2848 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2849 @echo "Building plugin
$@
"
2850 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2852 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2853 @echo "Building plugin
$@
"
2854 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2856 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2857 @echo "Building plugin
$@
"
2858 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2860 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2861 @echo "Building plugin
$@
"
2862 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2864 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2865 @echo "Building plugin
$@
"
2866 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2868 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2869 @echo "Building plugin
$@
"
2870 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2872 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2873 @echo "Building plugin
$@
"
2874 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2876 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2877 @echo "Building plugin
$@
"
2878 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2880 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2881 @echo "Building plugin
$@
"
2882 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2884 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2885 @echo "Building plugin
$@
"
2886 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2888 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2889 @echo "Building plugin
$@
"
2890 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2892 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2893 @echo "Building plugin
$@
"
2894 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2896 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2897 @echo "Building plugin
$@
"
2898 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2900 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2901 @echo "Building plugin
$@
"
2902 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2904 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2905 @echo "Building plugin
$@
"
2906 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2908 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2909 @echo "Building plugin
$@
"
2910 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2912 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2913 @echo "Building plugin
$@
"
2914 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2916 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2917 @echo "Building plugin
$@
"
2918 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2920 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2921 @echo "Building plugin
$@
"
2922 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2924 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2925 @echo "Building plugin
$@
"
2926 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2928 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2929 @echo "Building plugin
$@
"
2930 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2932 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2933 @echo "Building plugin
$@
"
2934 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2936 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2937 @echo "Building plugin
$@
"
2938 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2940 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2941 @echo "Building plugin
$@
"
2942 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2944 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2945 @echo "Building plugin
$@
"
2946 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2948 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2949 @echo "Building plugin
$@
"
2950 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2952 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2953 @echo "Building plugin
$@
"
2954 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2956 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2957 @echo "Building plugin
$@
"
2958 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2960 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2961 @echo "Building plugin
$@
"
2962 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2964 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2965 @echo "Building plugin
$@
"
2966 @$(SHLD_MODULE) libgpo/gpext/registry.o
2968 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2969 @echo "Building plugin
$@
"
2970 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2972 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2973 @echo "Building plugin
$@
"
2974 @$(SHLD_MODULE) libgpo/gpext/security.o
2976 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2977 @echo "Building plugin
$@
"
2978 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2980 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
2981 @echo "Building plugin
$@
"
2982 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
2984 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
2985 @echo "Building plugin
$@
"
2986 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
2988 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
2989 @echo "Building plugin
$@
"
2990 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
2992 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
2993 @echo "Building plugin
$@
"
2994 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
2996 #########################################################
2997 ## IdMap NSS plugins
2999 ## None here right now
3000 #########################################################
3002 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3004 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3005 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3008 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3009 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3011 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3012 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
3013 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3014 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3016 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3017 @echo "Linking shared library
$@
"
3018 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
3019 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3020 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3022 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3024 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3025 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3027 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3029 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3030 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3032 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3034 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3036 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3038 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3040 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3042 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3043 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3045 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3046 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3047 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3049 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3050 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3051 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3053 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3054 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3055 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3057 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3058 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3059 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3061 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3063 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3065 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3067 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3068 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3069 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3071 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
3073 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3074 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3076 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3078 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3080 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3081 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3083 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3085 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3086 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3088 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3090 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3091 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3094 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3096 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3097 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3099 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
3101 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3102 $(LDFLAGS) $(DYNEXP) \
3103 $(LIBS) $(POPT_LIBS) \
3105 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3107 install:: installservers installbin installman \
3108 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3109 @INSTALL_PAM_MODULES@ installlibs installmo
3111 install-everything:: install installmodules
3113 # DESTDIR is used here to prevent packagers wasting their time
3114 # duplicating the Makefile. Remove it and you will have the privelege
3115 # of package each samba release for muliple versions of multiple
3116 # distributions and operating systems, or at least supplying patches
3117 # to all the packaging files required for this, prior to committing
3118 # the removal of DESTDIR. Do not remove it even though you think it
3122 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3123 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3124 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3125 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3127 installservers:: all installdirs
3128 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3130 installbin:: all installdirs
3131 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3133 # Some symlinks are required for the 'probing' of modules.
3134 # This mechanism should go at some point..
3135 installmodules:: modules installdirs
3136 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3137 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3138 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
3139 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3140 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3141 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3142 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3143 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3144 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3145 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3146 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3147 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3148 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3149 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3150 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3151 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3152 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3153 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3154 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3156 installscripts:: installdirs
3157 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3159 installdat:: installdirs
3160 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3162 installmsg:: installdirs
3163 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3165 installswat:: installdirs installmsg
3166 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3168 installpammodules:: $(PAM_MODULES)
3169 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3170 @for module in $(PAM_MODULES); do \
3171 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3172 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3173 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3176 # revert to the previously installed version
3178 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3179 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3181 installman:: installdirs
3182 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3184 installmo:: all installdirs
3185 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3190 @echo "Samba will be installed into
:"
3191 @echo " prefix: $(prefix)"
3192 @echo " bindir: $(BINDIR
)"
3193 @echo " sbindir
: $(SBINDIR
)"
3194 @echo " libdir: $(LIBDIR
)"
3195 @echo " modulesdir
: $(MODULESDIR
)"
3196 @echo " vardir
: $(VARDIR
)"
3197 @echo " mandir: $(MANDIR
)"
3198 @echo " privatedir
: $(PRIVATE_DIR
)"
3199 @echo " configdir
: $(CONFIGDIR
)"
3200 @echo " lockdir
: $(LOCKDIR
)"
3201 @echo " statedir: $(STATEDIR
)"
3202 @echo " cachedir
: $(CACHEDIR
)"
3203 @echo " piddir
: $(PIDDIR
)"
3204 @echo " swatdir
: $(SWATDIR
)"
3205 @echo " datadir: ${DATADIR}"
3206 @echo " codepagedir
: $(CODEPAGEDIR
)"
3209 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3212 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3215 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3218 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3221 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3224 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3225 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3226 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
3227 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3228 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3229 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3230 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3231 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3234 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3237 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3240 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3242 uninstallswat:: uninstallmsg
3243 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3245 uninstallpammodules::
3246 @for module in $(PAM_MODULES); do \
3247 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3248 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3251 # Toplevel clean files
3252 TOPFILES=dynconfig.o localedir.o
3255 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3257 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3259 ../libgpo/*.o ../libgpo/*/*.o \
3260 ../libds/*.o ../libds/*/*.o
3263 -rm -f include/build_env.h
3264 -rm -f smbd/build_options.c
3265 -rm -f $(PRECOMPILED_HEADER)
3266 -rm -f core */*~ *~ \
3267 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3268 ../testsuite/*/*.o \
3269 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3271 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3272 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3273 $(MODULES) $(TORTURE_PROGS) \
3274 $(EVERYTHING_PROGS) \
3276 .headers.stamp */src/*.o
3279 include/build_env.h: script/build_env.sh
3280 @echo Building include/build_env.h
3281 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3282 > $(builddir)/include/build_env.h
3287 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3290 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3293 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3294 -rm -f script/installbin.sh script/uninstallbin.sh
3296 distclean:: realclean
3298 -rm -f include/config.h Makefile
3299 -rm -f config.status config.cache so_locations
3302 realdistclean:: distclean
3303 -rm -f include/config.h.in
3304 -rm -f include/version.h
3307 # this target is really just for my use. It only works on a limited
3308 # range of machines and is used to produce a list of potentially
3309 # dead (ie. unused) functions in the code. (tridge)
3311 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3312 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3313 comm -13 nmused.txt nmfns.txt
3316 # when configure.in is updated, reconfigure
3317 $(srcdir)/configure: $(srcdir)/configure.in
3318 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3320 config.status: $(srcdir)/configure
3321 @echo "WARNING
: you need to run .
/configure
"
3323 Makefile: $(srcdir)/Makefile.in config.status
3324 @echo "WARNING
: you need to run .
/config.status
"
3326 ######################################################################
3327 # Samba Testing Framework
3329 # Check shared libs for unresolved symbols
3332 @$(LIB_PATH_VAR)=./bin && \
3333 export $(LIB_PATH_VAR) && \
3334 for module in $?; do \
3335 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3339 # Check for NSS module problems.
3340 test_nss_modules:: nss_modules
3341 @echo "Testing
$(NSS_MODULES
) "
3342 @$(LIB_PATH_VAR)=./bin && \
3343 export $(LIB_PATH_VAR) && \
3344 for module in $(NSS_MODULES); do \
3345 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3349 # Check for PAM module problems. Specifically, check that every module we
3350 # built can actually be loaded by a minimal PAM-aware application.
3351 test_pam_modules:: pam_modules
3352 @echo "Testing
$(PAM_MODULES
) "
3353 @$(LIB_PATH_VAR)=./bin && \
3354 export $(LIB_PATH_VAR) && \
3355 for module in $(PAM_MODULES); do \
3356 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3362 ## Targets for 'make test'
3365 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3367 oldtest:: all torture timelimit
3368 @echo Running Test suite
3369 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/@WINBIND_NSS@
" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3371 valgrindtest:: all torture timelimit
3372 @echo Running Test suite with valgrind
3373 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3374 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3375 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3376 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3377 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3378 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3380 selftestdir = ../selftest
3382 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3384 SUBUNIT_FORMATTER = $(PYTHON) $(selftestdir)/format-subunit --immediate
3386 test:: all torture timelimit
3387 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3388 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3389 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3390 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/@WINBIND_NSS@
" \
3391 $(PERL) $(selftestdir)/selftest.pl \
3392 --prefix=${selftest_prefix} --target=samba3 \
3393 --testlist="$(srcdir)/selftest
/tests.sh|
" \
3394 --exclude=$(srcdir)/selftest/skip \
3395 --socket-wrapper $(TESTS) | \
3396 $(PYTHON) $(selftestdir)/filter-subunit \
3397 --expected-failures=$(srcdir)/selftest/knownfail | \
3398 $(SUBUNIT_FORMATTER)
3401 $(MAKE) test TESTS=$*
3403 SELFTEST_TESTENV = dc
3406 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3409 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3410 SMBD_VALGRIND="xterm
-n server
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3411 WINBINDD_VALGRIND="xterm
-n server
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3415 # Check for Winbind struct 32/64bit padding
3417 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3418 @./script/tests/wb_pad.sh || exit 1;
3424 libsmbclient_examples: libsmbclient
3425 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3427 clean_libsmbclient_examples:
3428 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3430 libnetapi_examples: libnetapi
3431 $(MAKE) -C lib/netapi/examples
3433 clean_libnetapi_examples:
3434 $(MAKE) -C lib/netapi/examples clean
3436 ../source4/configure: ../buildtools/scripts/configure.waf
3437 cd ../source4 && ./autogen.sh
3439 samba4-configure: ../source4/configure
3440 @$(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
3441 ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
3443 .PHONY: samba4-configure
3445 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
3446 cd ../source4 && ../buildtools/bin/waf build --targets=smbtorture
3447 cp ../source4/bin/smbtorture bin/smbtorture4
3449 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
3450 cd ../source4 && ../buildtools/bin/waf build --targets=ndrdump
3451 cp ../source4/bin/ndrdump bin/ndrdump4
3453 .PHONY: bin/smbtorture4