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 automtically for --enable-developer,
41 # --enable-picky-developer and --enable-krb5developer.
42 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
44 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
48 LDSHFLAGS
=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
49 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
51 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
59 TERMLDFLAGS
=@TERMLDFLAGS@
61 PRINT_LIBS
=@PRINT_LIBS@
65 PASSDB_LIBS
=@PASSDB_LIBS@
66 IDMAP_LIBS
=@IDMAP_LIBS@
71 WINBIND_LIBS
=@WINBIND_LIBS@
72 WINBIND_NSS_EXTRA_LIBS
=@WINBIND_NSS_EXTRA_LIBS@
73 WINBIND_NSS_PTHREAD
=@WINBIND_NSS_PTHREAD@
74 PAM_WINBIND_EXTRA_LIBS
=@PAM_WINBIND_EXTRA_LIBS@
75 DNSSD_LIBS
=@DNSSD_LIBS@
77 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
78 LIBTDB_LIBS
=@LIBTDB_LIBS@
79 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
80 LIBLUA_LIBS
=@LIBLUA_LIBS@
83 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
84 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
85 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
86 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
90 builddir
=@abs_builddir@
94 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
95 # will search for a POSIX-compliant shell, and that might not be
96 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
98 # See the autoconf manual "Installation Directory Variables" for a
99 # discussion of the subtle use of these variables.
103 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
105 ROOTSBINDIR
= @rootsbindir@
107 MODULESDIR
= @modulesdir@
108 INCLUDEDIR
=@
includedir@
109 PAMMODULESDIR
= @pammodulesdir@
110 VFSLIBDIR
= $(MODULESDIR
)/vfs
111 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
112 PDBLIBDIR
= $(MODULESDIR
)/pdb
113 RPCLIBDIR
= $(MODULESDIR
)/rpc
114 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
115 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
116 CHARSETLIBDIR
= $(MODULESDIR
)/charset
117 AUTHLIBDIR
= $(MODULESDIR
)/auth
118 CONFIGLIBDIR
= $(MODULESDIR
)/config
119 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
120 CONFIGDIR
= @configdir@
121 VARDIR
= @localstatedir@
125 # The permissions to give the executables and other data
126 INSTALLPERMS_BIN
= 0755
127 INSTALLPERMS_DATA
= 0644
129 # set these to where to find various files
130 # These can be overridden by command line switches (see smbd(8))
131 # or in smb.conf (see smb.conf(5))
132 LOGFILEBASE
= @logfilebase@
133 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
134 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
135 NCALRPCDIR
= @ncalrpcdir@
137 # This is where smbpasswd et al go
138 PRIVATEDIR
= @privatedir@
140 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
141 PRIVATE_DIR
= $(PRIVATEDIR
)
143 # This is where SWAT images and help files go
146 # This is where locale(mo) files go
147 LOCALEDIR
= @localedir@
149 # the directory where lock files go
152 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
153 CACHEDIR
= @cachedir@
154 STATEDIR
= @
statedir@
156 # Where to look for (and install) codepage databases.
157 CODEPAGEDIR
= @codepagedir@
159 # the directory where pid files go
162 FLAGS
= -I.
-I
$(srcdir) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
) -I
$(CTDBDIR
)/include $(ISA
) -I
$(srcdir)/lib
-I..
-D_SAMBA_BUILD_
=3 -I..
/source4
164 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
165 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
166 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
167 -DSBINDIR
=\"$(SBINDIR
)\" \
168 -DBINDIR
=\"$(BINDIR
)\" \
169 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
170 -DSWATDIR
=\"$(SWATDIR
)\" \
171 -DLOCKDIR
=\"$(LOCKDIR
)\" \
172 -DPIDDIR
=\"$(PIDDIR
)\" \
173 -DLIBDIR
=\"$(LIBDIR
)\" \
174 -DMODULESDIR
=\"$(MODULESDIR
)\" \
175 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
176 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
177 -DCTDBDIR
=\"$(CTDBDIR
)\" \
178 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
179 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
180 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
181 -DCACHEDIR
=\"$(CACHEDIR
)\" \
182 -DSTATEDIR
=\"$(STATEDIR
)\" \
183 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
185 # Note that all executable programs now provide for an optional executable suffix.
187 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
189 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
191 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
192 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
193 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
194 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
196 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
197 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
198 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
199 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
200 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
202 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
203 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
204 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
205 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
206 bin
/tdbtorture@EXEEXT@ \
207 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
209 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
210 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
212 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
213 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
214 bin
/log2pcap@EXEEXT@ \
215 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
217 PAM_MODULES
= @PAM_MODULES@
219 NSS_MODULES
= @NSS_MODULES@
221 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
223 VFS_MODULES
= @VFS_MODULES@
224 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
225 PDB_MODULES
= @PDB_MODULES@
226 RPC_MODULES
= @RPC_MODULES@
227 IDMAP_MODULES
= @IDMAP_MODULES@
228 CHARSET_MODULES
= @CHARSET_MODULES@
229 AUTH_MODULES
= @AUTH_MODULES@
230 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
231 GPEXT_MODULES
= @GPEXT_MODULES@
232 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
233 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
234 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
236 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
238 ######################################################################
240 ######################################################################
242 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
243 lib
/dbwrap.o lib
/dbwrap_tdb.o \
245 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
247 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
249 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
251 VERSION_OBJ
= lib
/version.o
253 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
257 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
259 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
261 PASSCHANGE_OBJ
= libsmb
/passchange.o
263 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
264 ..
/librpc
/ndr
/ndr_compression.o \
265 ..
/librpc
/gen_ndr
/ndr_drsuapi.o \
266 ..
/librpc
/ndr
/ndr_drsblobs.o \
267 ..
/librpc
/gen_ndr
/ndr_drsblobs.o
269 ZLIB_OBJ
= @ZLIB_OBJS@
271 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
272 ..
/lib
/compression
/lzxpress.o \
275 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
278 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
279 ..
/librpc
/ndr
/ndr.o \
280 ..
/librpc
/ndr
/ndr_misc.o \
281 ..
/librpc
/gen_ndr
/ndr_misc.o \
282 ..
/librpc
/gen_ndr
/ndr_security.o \
283 ..
/librpc
/ndr
/ndr_sec_helper.o \
284 librpc
/ndr
/ndr_string.o \
285 ..
/librpc
/ndr
/uuid.o \
288 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
290 LIBNDR_GEN_OBJ0
= ..
/librpc
/gen_ndr
/ndr_samr.o \
291 ..
/librpc
/gen_ndr
/ndr_lsa.o
293 LIBNDR_GEN_OBJ1
= ..
/librpc
/gen_ndr
/ndr_netlogon.o \
294 ..
/librpc
/ndr
/ndr_netlogon.o
296 LIBNDR_GEN_OBJ2
= ..
/librpc
/gen_ndr
/ndr_spoolss.o \
297 ..
/librpc
/ndr
/ndr_spoolss_buf.o
299 LIBNDR_GEN_OBJ
= ..
/librpc
/gen_ndr
/ndr_wkssvc.o \
301 ..
/librpc
/gen_ndr
/ndr_dfs.o \
302 ..
/librpc
/gen_ndr
/ndr_echo.o \
303 ..
/librpc
/gen_ndr
/ndr_winreg.o \
304 ..
/librpc
/gen_ndr
/ndr_initshutdown.o \
305 ..
/librpc
/gen_ndr
/ndr_srvsvc.o \
306 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
308 ..
/librpc
/gen_ndr
/ndr_dssetup.o \
309 librpc
/gen_ndr
/ndr_notify.o \
310 ..
/librpc
/gen_ndr
/ndr_xattr.o \
311 ..
/librpc
/gen_ndr
/ndr_epmapper.o \
312 ..
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
313 ..
/librpc
/gen_ndr
/ndr_ntsvcs.o \
316 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
318 # this includes only the low level parse code, not stuff
319 # that requires knowledge of security contexts
320 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
322 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
323 rpc_client
/init_netlogon.o \
324 rpc_client
/init_lsa.o
326 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
328 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
329 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
331 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
333 $(SOCKET_WRAPPER_OBJ
) \
336 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
337 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
338 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
339 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
340 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
341 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
342 ..
/lib
/util
/become_daemon.o
344 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
345 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
348 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
349 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
350 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
351 lib
/interfaces.o lib
/memcache.o \
352 lib
/util_transfer_file.o ..
/lib
/async_req
/async_req.o \
353 ..
/lib
/async_req
/async_sock.o ..
/lib
/async_req
/async_req_ntstatus.o \
355 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
356 lib
/interface.o lib
/pidfile.o \
357 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
359 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
360 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
362 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
363 lib
/util_unistr.o lib
/util_file.o \
364 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
365 lib
/substitute.o lib
/dbwrap_util.o \
366 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
367 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
368 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
369 lib
/adt_tree.o lib
/gencache.o \
370 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
371 lib
/ldap_escape.o @CHARSET_STATIC@ \
372 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
373 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
374 lib
/file_id.o lib
/idmap_cache.o \
375 ..
/libcli
/security
/dom_sid.o
377 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
378 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
380 READLINE_OBJ
= lib
/readline.o
382 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
383 # Be sure to include them into your application
384 POPT_LIB_OBJ
= lib
/popt_common.o
386 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
387 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
388 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
390 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
392 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
393 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
394 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
396 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
398 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
399 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
402 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
404 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
405 libads
/sasl.o libads
/sasl_wrapping.o \
406 libads
/krb5_setpw.o libads
/ldap_user.o \
407 libads
/ads_struct.o libads
/kerberos_keytab.o \
408 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
409 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
411 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
412 ..
/librpc
/ndr
/ndr_krb5pac.o \
413 ..
/librpc
/gen_ndr
/ndr_krb5pac.o
415 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
417 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
418 ..
/libcli
/netlogon.o \
419 ..
/libcli
/ndr_netlogon.o \
420 ..
/librpc
/gen_ndr
/ndr_nbt.o \
421 ..
/librpc
/gen_ndr
/ndr_svcctl.o \
422 ..
/librpc
/ndr
/ndr_svcctl.o
424 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
425 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
427 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
428 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
429 ERRORMAP_OBJ
= libsmb
/errormap.o
430 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
432 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
433 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
435 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
440 libsmb
/ntlm_check.o \
442 libsmb
/ntlmssp_sign.o
444 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
447 CLDAP_OBJ
= libads
/cldap.o
449 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
450 libsmb
/clikrb5.o libsmb
/clispnego.o ..
/lib
/util
/asn1.o \
451 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
452 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
453 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
454 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
455 libsmb
/credentials.o libsmb
/pwd_cache.o \
456 libsmb
/clioplock.o libsmb
/clirap2.o \
457 libsmb
/smb_seal.o libsmb
/async_smb.o \
464 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
466 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
467 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
468 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
469 rpc_client
/init_spoolss.o \
470 rpc_client
/init_samr.o \
471 librpc
/rpc
/dcerpc.o \
472 ..
/librpc
/rpc
/binding.o
474 LIBMSRPC_GEN_OBJ
= ..
/librpc
/gen_ndr
/cli_lsa.o \
475 ..
/librpc
/gen_ndr
/cli_dfs.o \
476 ..
/librpc
/gen_ndr
/cli_echo.o \
477 ..
/librpc
/gen_ndr
/cli_srvsvc.o \
478 ..
/librpc
/gen_ndr
/cli_svcctl.o \
479 ..
/librpc
/gen_ndr
/cli_winreg.o \
480 ..
/librpc
/gen_ndr
/cli_initshutdown.o \
481 ..
/librpc
/gen_ndr
/cli_eventlog.o \
482 ..
/librpc
/gen_ndr
/cli_wkssvc.o \
483 ..
/librpc
/gen_ndr
/cli_netlogon.o \
484 ..
/librpc
/gen_ndr
/cli_samr.o \
485 ..
/librpc
/gen_ndr
/cli_dssetup.o \
486 ..
/librpc
/gen_ndr
/cli_ntsvcs.o \
487 ..
/librpc
/gen_ndr
/cli_epmapper.o \
488 ..
/librpc
/gen_ndr
/cli_drsuapi.o \
489 ..
/librpc
/gen_ndr
/cli_spoolss.o \
494 # registry-related objects
496 UTIL_REG_OBJ
= lib
/util_reg.o
497 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
499 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
500 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
501 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
503 REGFIO_OBJ
= registry
/regfio.o
505 REGOBJS_OBJ
= registry
/reg_objects.o
507 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
509 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
511 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
512 registry
/reg_backend_shares.o \
513 registry
/reg_backend_netlogon_params.o \
514 registry
/reg_backend_prod_options.o \
515 registry
/reg_backend_tcpip_params.o \
516 registry
/reg_backend_hkpt_params.o \
517 registry
/reg_backend_current_version.o \
518 registry
/reg_backend_perflib.o
520 REG_BASE_OBJ
= registry
/reg_api.o \
521 registry
/reg_dispatcher.o \
522 registry
/reg_cachehook.o \
525 registry
/reg_util.o \
526 $(UTIL_REG_API_OBJ
) \
528 $(REG_BACKENDS_BASE_OBJ
) \
529 $(REG_INIT_BASIC_OBJ
)
531 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
532 $(REG_BACKENDS_SMBCONF_OBJ
) \
533 $(REG_INIT_SMBCONF_OBJ
)
535 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
536 $(REG_BACKENDS_EXTRA_OBJ
) \
537 $(REG_INIT_FULL_OBJ
) \
538 registry
/reg_eventlog.o \
539 registry
/reg_perfcount.o \
540 registry
/reg_util_legacy.o
542 LIB_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_lib.o
544 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o ..
/librpc
/gen_ndr
/srv_lsa.o
546 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
547 ..
/librpc
/gen_ndr
/srv_netlogon.o
549 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
550 rpc_server
/srv_samr_util.o \
551 ..
/librpc
/gen_ndr
/srv_samr.o
553 RPC_INITSHUTDOWN_OBJ
= ..
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
555 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
556 ..
/librpc
/gen_ndr
/srv_winreg.o
558 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o ..
/librpc
/gen_ndr
/srv_dssetup.o
560 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
561 ..
/librpc
/gen_ndr
/srv_srvsvc.o
563 RPC_WKS_OBJ
= ..
/librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
565 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
566 ..
/librpc
/gen_ndr
/srv_svcctl.o \
567 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
568 services
/svc_netlogon.o services
/svc_winreg.o \
571 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
572 ..
/librpc
/gen_ndr
/srv_ntsvcs.o
574 RPC_DFS_OBJ
= ..
/librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
576 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o \
577 ..
/librpc
/gen_ndr
/srv_spoolss.o
579 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
580 $(LIB_EVENTLOG_OBJ
) ..
/librpc
/gen_ndr
/srv_eventlog.o
582 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
583 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
585 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o ..
/librpc
/gen_ndr
/srv_echo.o
587 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
589 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
590 rpc_parse
/parse_spoolss.o \
591 rpc_parse
/parse_buffer.o
593 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o rpc_client
/rpc_transport_np.o \
594 rpc_client
/rpc_transport_sock.o rpc_client
/rpc_transport_smbd.o
596 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
598 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
600 PRIVILEGES_OBJ
= lib
/privileges.o
602 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
604 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
605 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
606 passdb
/util_unixsids.o passdb
/lookup_sid.o \
607 passdb
/login_cache.o @PDB_STATIC@ \
608 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
609 lib
/util_nscd.o lib
/winbind_util.o
611 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
612 CP850_OBJ
= modules
/CP850.o
613 CP437_OBJ
= modules
/CP437.o
614 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
616 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
618 PROFILE_OBJ
= profile
/profile.o
619 PROFILES_OBJ
= utils
/profiles.o \
622 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
625 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
628 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
630 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
631 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
632 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
633 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
634 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
635 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
636 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
637 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
638 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
639 VFS_CAP_OBJ
= modules
/vfs_cap.o
640 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
641 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
642 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
643 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
644 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
645 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
646 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
647 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
648 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
649 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
650 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
651 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
652 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
653 VFS_CATIA_OBJ
= modules
/vfs_catia.o
654 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
655 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
656 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
657 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
658 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
659 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
660 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
661 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
662 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
663 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
664 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
665 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
666 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
667 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
668 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
669 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
670 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.c \
671 modules
/onefs_cbrl.o modules
/onefs_notify.o
672 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
673 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
674 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
676 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
678 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
680 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
682 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
683 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
684 AUTH_SAM_OBJ
= auth
/auth_sam.o
685 AUTH_SERVER_OBJ
= auth
/auth_server.o
686 AUTH_UNIX_OBJ
= auth
/auth_unix.o
687 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
688 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
689 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
691 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
692 auth
/auth_compat.o auth
/auth_ntlmssp.o \
693 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
695 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
697 SMBD_OBJ_MAIN
= smbd
/server.o
699 BUILDOPT_OBJ
= smbd
/build_options.o
701 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
702 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
703 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
704 smbd
/share_access.o smbd
/fileio.o \
705 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
706 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
707 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
708 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
709 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
710 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
711 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
712 smbd
/process.o smbd
/service.o smbd
/error.o \
713 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
714 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
715 smbd
/change_trust_pw.o smbd
/fake_file.o \
716 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
717 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
720 smbd
/dnsregister.o smbd
/globals.o \
721 $(MANGLE_OBJ
) @VFS_STATIC@
723 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
724 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
725 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
726 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
727 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
728 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
729 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
730 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
731 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
733 $(PRIVILEGES_BASIC_OBJ
)
735 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
736 printing
/print_cups.o printing
/print_generic.o \
737 printing
/lpq_parse.o printing
/load.o \
738 printing
/print_iprint.o
740 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
741 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
743 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
745 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
746 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
747 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
748 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
749 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
750 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
751 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
752 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
753 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
754 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
755 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
756 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
758 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
759 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
762 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
763 web
/swat.o web
/neg_lang.o
765 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
766 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
767 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
768 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
769 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
771 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
772 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
773 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
776 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
777 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
781 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
782 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
783 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
784 $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
786 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
789 TESTPARM_OBJ
= utils
/testparm.o \
790 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
793 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
794 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
795 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
797 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
799 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
800 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
801 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
802 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
803 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
805 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
807 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
808 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o \
811 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
813 DISPLAY_SEC_OBJ
= lib
/display_sec.o
815 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
816 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
817 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
818 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
819 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
820 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
821 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
822 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
825 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
826 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
827 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
828 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
829 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
830 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
832 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o localedir.o
$(WBCOMMON_OBJ
) \
833 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
835 LIBSMBCLIENT_OBJ0
= \
836 libsmb
/libsmb_cache.o \
837 libsmb
/libsmb_compat.o \
838 libsmb
/libsmb_context.o \
839 libsmb
/libsmb_dir.o \
840 libsmb
/libsmb_file.o \
841 libsmb
/libsmb_misc.o \
842 libsmb
/libsmb_path.o \
843 libsmb
/libsmb_printjob.o \
844 libsmb
/libsmb_server.o \
845 libsmb
/libsmb_stat.o \
846 libsmb
/libsmb_xattr.o \
847 libsmb
/libsmb_setget.o
849 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
850 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
851 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
852 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
853 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
855 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
857 # This shared library is intended for linking with unit test programs
858 # to test Samba internals. It's called libbigballofmud.so to
859 # discourage casual usage.
861 LIBBIGBALLOFMUD_MAJOR
= 0
863 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
864 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
865 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
867 CLIENT_OBJ1
= client
/client.o client
/clitar.o
$(RPC_CLIENT_OBJ
) \
868 ..
/librpc
/rpc
/binding.o \
873 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
874 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
875 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
876 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
879 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
880 ..
/lib
/smbconf
/smbconf_util.o \
881 ..
/lib
/smbconf
/smbconf_txt.o \
882 lib
/smbconf
/smbconf_reg.o \
883 lib
/smbconf
/smbconf_init.o
885 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
887 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
893 LIBNET_OBJ
= libnet
/libnet_join.o \
894 libnet
/libnet_keytab.o \
895 libnet
/libnet_samsync.o \
896 libnet
/libnet_samsync_ldif.o \
897 libnet
/libnet_samsync_passdb.o \
898 libnet
/libnet_samsync_display.o \
899 libnet
/libnet_samsync_keytab.o \
900 libnet
/libnet_dssync.o \
901 libnet
/libnet_dssync_keytab.o \
902 librpc
/gen_ndr
/ndr_libnet_join.o
904 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
905 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
906 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
907 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
908 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
909 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
910 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
911 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
912 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
913 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
914 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
915 auth
/token_util.o utils
/net_dom.o utils
/net_share.o utils
/net_lua.o \
918 # these are not processed by make proto
919 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
921 NET_OBJ
= $(NET_OBJ1
) \
922 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
923 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
924 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
925 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
926 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
927 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
928 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
929 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
930 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
931 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
933 @LIBWBCLIENT_STATIC@ \
934 $(PRIVILEGES_BASIC_OBJ
) @LIBLUA_STATIC@ \
937 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
938 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
941 CIFS_MOUNT_OBJ
= client
/mount.cifs.o client
/mtab.o
943 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o client
/mtab.o
945 CIFS_UPCALL_OBJ
= client
/cifs.upcall.o
947 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
948 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
950 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
951 torture
/denytest.o torture
/mangle_test.o
953 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
954 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
955 lib
/wb_reqtrans.o lib
/wbclient.o \
956 @LIBWBCLIENT_STATIC@ \
959 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
963 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
967 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
968 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
971 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
975 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
976 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
977 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
980 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
982 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
984 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
986 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
987 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
990 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
991 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
992 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
993 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
995 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
997 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
998 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
999 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
1001 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1003 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1005 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1006 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
1007 ..
/librpc
/gen_ndr
/ndr_lsa.o
1009 SHARESEC_OBJ0
= utils
/sharesec.o
1010 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1014 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1015 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSAMBA_OBJ
)
1017 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1018 @libreplacedir@
/test/getifaddrs.o \
1019 @libreplacedir@
/test/os2_delete.o \
1020 @libreplacedir@
/test/strptime.o \
1021 @libreplacedir@
/test/main.o \
1024 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1026 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1027 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1030 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1031 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
1034 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1035 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1036 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1037 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1040 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
1042 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1045 winbindd
/idmap_hash
/idmap_hash.o \
1046 winbindd
/idmap_hash
/mapfile.o
1049 winbindd
/idmap_adex
/idmap_adex.o \
1050 winbindd
/idmap_adex
/cell_util.o \
1051 winbindd
/idmap_adex
/likewise_cell.o \
1052 winbindd
/idmap_adex
/provider_unified.o \
1053 winbindd
/idmap_adex
/gc_util.o \
1054 winbindd
/idmap_adex
/domain_util.o
1057 winbindd
/winbindd.o \
1058 winbindd
/winbindd_user.o \
1059 winbindd
/winbindd_group.o \
1060 winbindd
/winbindd_util.o \
1061 winbindd
/winbindd_cache.o \
1062 winbindd
/winbindd_pam.o \
1063 winbindd
/winbindd_sid.o \
1064 winbindd
/winbindd_misc.o \
1065 winbindd
/winbindd_cm.o \
1066 winbindd
/winbindd_wins.o \
1067 winbindd
/winbindd_rpc.o \
1068 winbindd
/winbindd_reconnect.o \
1069 winbindd
/winbindd_ads.o \
1070 winbindd
/winbindd_passdb.o \
1071 winbindd
/winbindd_dual.o \
1072 winbindd
/winbindd_async.o \
1073 winbindd
/winbindd_creds.o \
1074 winbindd
/winbindd_cred_cache.o \
1075 winbindd
/winbindd_ccache_access.o \
1076 winbindd
/winbindd_domain.o \
1077 winbindd
/winbindd_idmap.o \
1078 winbindd
/winbindd_locator.o \
1079 winbindd
/winbindd_ndr.o \
1084 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1085 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1086 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1087 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1088 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1089 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1090 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1091 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
) \
1094 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1095 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1096 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1098 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1100 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1101 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1102 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1103 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1104 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1106 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1107 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1108 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1110 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1111 lib
/ldb
/modules
/objectclass.o \
1112 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1114 # enabled in configure.in
1115 LDB_LDAP_OBJ
=@LDBLDAP@
1117 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1119 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1120 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1121 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1122 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1125 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1126 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1127 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1128 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1129 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1131 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1132 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1134 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1135 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1137 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1138 iniparser_build
/strlib.o
1140 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1141 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1143 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1144 $(SOCKET_WRAPPER_OBJ
)
1146 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1147 $(SOCKET_WRAPPER_OBJ
)
1149 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1150 $(SOCKET_WRAPPER_OBJ
)
1153 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1155 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1156 ..
/lib
/util
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1157 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1158 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1159 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1160 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1161 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1164 VLP_OBJ1
= printing
/tests
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
1166 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1167 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1168 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1169 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1172 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1176 @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1177 $(LIB_NONSMBD_OBJ
) \
1180 $(RPC_CLIENT_OBJ1
) \
1181 rpc_client
/cli_pipe.o \
1182 ..
/librpc
/rpc
/binding.o \
1186 ######################################################################
1188 ######################################################################
1189 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1190 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @CIFSUPCALL_PROGS@ \
1191 $(EXTRA_ALL_TARGETS
)
1195 nss_modules
:: $(NSS_MODULES
)
1197 pam_modules
:: $(PAM_MODULES
)
1199 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1201 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1203 gpext_modules
:: $(GPEXT_MODULES
)
1205 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1207 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1209 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1211 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1213 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1215 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1217 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1219 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1221 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1223 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1225 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1227 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1229 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1231 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1233 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1235 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1237 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1238 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1239 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1241 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1243 modules
:: SHOWFLAGS
$(MODULES
)
1245 #####################################################################
1246 ## Perl IDL Compiler
1248 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1249 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1250 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1251 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh \
1252 librpc
/idl
/messaging.idl librpc
/idl
/libnetapi.idl librpc
/idl
/notify.idl
1254 #####################################################################
1257 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1261 .SUFFIXES
: .c .o .lo
1264 @echo
"Using CFLAGS = $(CFLAGS)"
1265 @echo
" PICFLAG = $(PICFLAG)"
1266 @echo
" LIBS = $(LIBS)"
1267 @echo
" LDFLAGS = $(LDFLAGS)"
1268 @echo
" DYNEXP = $(DYNEXP)"
1269 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1270 @echo
" SHLIBEXT = @SHLIBEXT@"
1271 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1273 MAKEDIR
= || exec false
; \
1274 if
test -d
"$$dir"; then
:; else \
1275 echo mkdir
"$$dir"; \
1276 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1277 test -d
"$$dir" || \
1279 exec false
; fi || exec false
1281 # Run a static checker.
1282 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1283 # Compile a source file.
1284 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1285 # Compile a source file with the installation paths defined.
1286 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1288 COMPILE
= $(COMPILE_CC
)
1291 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1292 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1293 @if
test -n
"$(CC_CHECKER)"; then \
1294 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1297 @echo Compiling
$*.c
1298 @
$(COMPILE
) && exit
0;\
1299 echo
"The following command failed:" 1>&2;\
1300 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1301 $(COMPILE_CC) >/dev/null 2>&1
1302 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1304 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1306 # this adds support for precompiled headers. To use it, install a snapshot
1307 # of gcc-3.4 and run 'make pch' before you do the main build.
1309 rm -f $(PRECOMPILED_HEADER)
1310 $(MAKE) $(PRECOMPILED_HEADER)
1312 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1315 BINARY_PREREQS = bin/.dummy
1317 # These dependencies are only approximately correct: we want to make
1318 # sure Samba's paths are updated if ./configure is re-run. Really it
1319 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1320 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1321 # rebuild it's a bit hard.
1323 dynconfig.o: dynconfig.c Makefile
1324 @echo Compiling $*.c
1325 @$(COMPILE_CC_PATH) && exit 0;\
1326 echo "The following command failed
:" 1>&2;\
1327 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1328 $(COMPILE_CC_PATH) >/dev/null 2>&1
1330 localedir.o: localedir.c Makefile
1331 @echo Compiling $*.c
1332 @$(COMPILE_CC_PATH) && exit 0;\
1333 echo "The following command failed
:" 1>&2;\
1334 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1335 $(COMPILE_CC_PATH) >/dev/null 2>&1
1337 lib/pidfile.o: lib/pidfile.c
1338 @echo Compiling $*.c
1339 @$(COMPILE_CC_PATH) && exit 0;\
1340 echo "The following command failed
:" 1>&2;\
1341 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1342 $(COMPILE_CC_PATH) >/dev/null 2>&1
1344 lib/version.o: lib/version.c include/version.h
1345 @echo Compiling $*.c
1346 @$(COMPILE_CC_PATH) && exit 0;\
1347 echo "The following command failed
:" 1>&2;\
1348 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1349 $(COMPILE_CC_PATH) >/dev/null 2>&1
1351 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1352 @echo Compiling $*.c
1353 @$(COMPILE_CC_PATH) && exit 0;\
1354 echo "The following command failed
:" 1>&2;\
1355 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1356 $(COMPILE_CC_PATH) >/dev/null 2>&1
1358 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1360 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1363 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1364 dir=bin $(MAKEDIR); fi
1365 @: >> $@ || : > $@ # what a fancy emoticon!
1367 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1369 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \
1370 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1371 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) \
1372 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1373 $(WINBIND_LIBS) $(ZLIB_LIBS)
1375 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1377 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1378 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1379 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1381 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1383 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1384 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1385 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1387 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1389 @$(CC) -o $@ $(LDFLAGS) $(PASSDB_LIBS) $(RPCCLIENT_OBJ) \
1390 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1391 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1392 $(WINBIND_LIBS) $(ZLIB_LIBS)
1394 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1396 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1397 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1398 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1399 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1401 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@ @LIBLUA_SHARED@
1403 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1404 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1405 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1406 @INIPARSERLIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBNETAPI_LIBS) $(LIBLUA_LIBS) -lm \
1409 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1411 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1412 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1414 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1416 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1417 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1419 bin/mount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_MOUNT_OBJ) @BUILD_POPT@
1421 @$(CC) -o $@ $(CIFS_MOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(POPT_LIBS)
1423 bin/umount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UMOUNT_OBJ) @BUILD_POPT@
1425 @$(CC) -o $@ $(CIFS_UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(POPT_LIBS)
1427 bin/cifs.upcall@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UPCALL_OBJ) $(LIBSMBCLIENT_OBJ1) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1429 @$(CC) -o $@ $(CIFS_UPCALL_OBJ) $(DYNEXP) $(LDFLAGS) \
1430 -lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \
1431 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) \
1432 $(LIBTDB_LIBS) $(NSCD_LIBS)
1434 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1436 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1437 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1439 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1441 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1442 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1444 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1446 @$(CC) -DUSING_SMBCONTROL -o $@ \
1447 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1448 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1449 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1451 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1453 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1454 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1455 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1457 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1459 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1460 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1461 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1463 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1465 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1466 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1467 $(LIBTDB_LIBS) $(WINBIND_LIBS)
1469 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1471 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1472 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1473 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1475 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1477 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1478 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1480 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1482 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1483 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1484 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(WINBIND_LIBS)
1486 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1488 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1489 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1490 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1492 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1494 @$(CC) @PIE_LDFLAGS@ -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1495 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1497 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1499 @$(CC) @PIE_LDFLAGS@ -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1500 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1501 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1503 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1505 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1506 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1507 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1509 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1511 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1512 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1513 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1515 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1517 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1518 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1519 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1521 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1523 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1524 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1525 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1527 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1529 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1530 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1532 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1534 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1535 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1537 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1539 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1540 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1541 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1543 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1545 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1546 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1547 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1549 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1551 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1552 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1553 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1555 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1557 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1558 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1559 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1560 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1561 $(WINBIND_LIBS) $(ZLIB_LIBS)
1563 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1565 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1566 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1567 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1569 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1571 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1572 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1574 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1576 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1577 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1578 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1580 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1582 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1583 $(LIBS) $(LIBTALLOC_LIBS)
1585 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1587 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS) \
1588 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1589 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1591 bin/ldbedit: $(BINARY_PREREQS) $(LDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1593 @$(CC) -o $@ $(LDBEDIT_OBJ) $(DYNEXP) $(LDFLAGS) \
1594 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1595 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1597 bin/ldbsearch: $(BINARY_PREREQS) $(LDBSEARCH_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1599 @$(CC) -o $@ $(LDBSEARCH_OBJ) $(DYNEXP) $(LDFLAGS) \
1600 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1601 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1603 bin/ldbadd: $(BINARY_PREREQS) $(LDBADD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1605 @$(CC) -o $@ $(LDBADD_OBJ) $(DYNEXP) $(LDFLAGS) \
1606 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1607 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1609 bin/ldbmodify: $(BINARY_PREREQS) $(LDBMODIFY_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1611 @$(CC) -o $@ $(LDBMODIFY_OBJ) $(DYNEXP) $(LDFLAGS) \
1612 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1613 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1615 bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1617 @$(CC) -o $@ $(LDBDEL_OBJ) $(DYNEXP) $(LDFLAGS) \
1618 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1619 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1622 #####################################################################
1626 #####################################################################
1628 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1631 #-------------------------------------------------------------------
1635 #-------------------------------------------------------------------
1638 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1639 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1641 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1642 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1643 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1644 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1645 LIBTALLOC=$(LIBTALLOC_STATIC_TARGET) @LIBTALLOC_SHARED@
1646 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1647 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1649 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1650 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
1652 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
1653 @echo Linking shared library $@
1654 @$(SHLD_DSO) $(LIBTALLOC_OBJ) @SONAMEFLAG@`basename $@`
1656 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
1658 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1660 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
1661 @echo Linking non-shared library $@
1662 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
1664 libtalloc: $(LIBTALLOC)
1669 $(LIBTALLOC_STATIC_TARGET) \
1670 $(LIBTALLOC_SHARED_TARGET) \
1671 $(LIBTALLOC_SHARED_TARGET_SONAME)
1673 installlibtalloc:: installdirs libtalloc
1674 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1675 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1676 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1677 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
1678 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1679 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1681 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1682 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1683 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
1685 uninstalllibtalloc::
1686 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1687 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1688 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
1689 -rm -f $(DESTDIR)${prefix}/include/talloc.h
1692 installlibs:: @INSTALL_LIBTALLOC@
1693 uninstalllibs:: @UNINSTALL_LIBTALLOC@
1694 cleanlibs:: cleanlibtalloc
1695 shlibs test_shlibs: @LIBTALLOC_SHARED@
1697 #-------------------------------------------------------------------
1701 #-------------------------------------------------------------------
1703 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
1704 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
1706 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
1707 LIBTDB_SOVER=@LIBTDB_SOVER@
1708 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
1709 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
1710 LIBTDB=$(LIBTDB_STATIC_TARGET) @LIBTDB_SHARED@
1711 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
1712 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
1714 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
1715 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
1717 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
1718 @echo Linking shared library $@
1719 @$(SHLD_DSO) $(LIBTDB_OBJ) \
1720 @SONAMEFLAG@`basename $@`
1722 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
1724 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1726 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
1727 @echo Linking non-shared library $@
1728 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
1735 $(LIBTDB_STATIC_TARGET) \
1736 $(LIBTDB_SHARED_TARGET) \
1737 $(LIBTDB_SHARED_TARGET_SONAME)
1740 installlibtdb:: installdirs libtdb
1741 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1742 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1743 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1744 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
1745 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1746 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1748 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1749 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1750 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
1753 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1754 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1755 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
1756 -rm -f $(DESTDIR)${prefix}/include/tdb.h
1759 installlibs:: @INSTALL_LIBTDB@
1760 uninstalllibs:: @UNINSTALL_LIBTDB@
1761 cleanlibs:: cleanlibtdb
1762 shlibs test_shlibs: @LIBTDB_SHARED@
1764 #-------------------------------------------------------------------
1768 #-------------------------------------------------------------------
1770 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
1771 ../nsswitch/libwbclient/wbc_util.o \
1772 ../nsswitch/libwbclient/wbc_pwd.o \
1773 ../nsswitch/libwbclient/wbc_idmap.o \
1774 ../nsswitch/libwbclient/wbc_sid.o \
1775 ../nsswitch/libwbclient/wbc_guid.o \
1776 ../nsswitch/libwbclient/wbc_pam.o
1777 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
1779 @LIBTALLOC_STATIC@ $(LIBREPLACE_OBJ)
1781 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
1782 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
1783 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
1784 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
1785 LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1786 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
1787 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
1789 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
1790 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
1792 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS) @LIBTALLOC_SHARED@
1793 @echo Linking shared library $@
1794 @$(SHLD_DSO) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_OBJ) \
1795 @SONAMEFLAG@`basename $@`
1797 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1799 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1801 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1802 @echo Linking non-shared library $@
1803 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1805 libwbclient: $(LIBWBCLIENT)
1809 $(LIBWBCLIENT_SYMS) \
1810 $(LIBWBCLIENT_STATIC_TARGET) \
1811 $(LIBWBCLIENT_SHARED_TARGET) \
1812 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1814 installlibwbclient:: installdirs libwbclient
1815 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1816 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1817 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1818 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
1819 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1820 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1822 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1823 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
1825 uninstalllibwbclient::
1826 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1827 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1828 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
1831 installlibs:: @INSTALL_LIBWBCLIENT@
1832 uninstalllibs:: uninstalllibwbclient
1833 cleanlibs:: cleanlibwbclient
1834 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
1837 #-------------------------------------------------------------------
1841 #-------------------------------------------------------------------
1844 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
1845 LIBADDNS_SOVER=@LIBADDNS_SOVER@
1846 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
1847 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
1848 LIBADDNS=$(LIBADDNS_STATIC_TARGET) @LIBADDNS_SHARED@
1849 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1850 LIBADDNS_HEADERS=$(srcdir)/libaddns/addns.h
1852 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) @LIBTALLOC_SHARED@
1853 @echo Linking shared library $@
1854 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
1855 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
1856 @SONAMEFLAG@`basename $@`
1858 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
1860 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1862 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
1863 @echo Linking non-shared library $@
1864 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
1866 libaddns: $(LIBADDNS)
1870 $(LIBADDNS_SHARED_TARGET) \
1871 $(LIBADDNS_SHARED_TARGET_SONAME) \
1872 $(LIBADDNS_STATIC_TARGET)
1874 installlibaddns:: installdirs libaddns
1875 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1876 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1877 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1878 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
1879 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
1880 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
1882 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1885 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
1886 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1887 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
1890 installlibs:: @INSTALL_LIBADDNS@
1891 uninstalllibs:: @UNINSTALL_LIBADDNS@
1892 cleanlibs:: cleanlibaddns
1893 shlibs test_shlibs: @LIBADDNS_SHARED@
1895 #-------------------------------------------------------------------
1899 #-------------------------------------------------------------------
1901 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
1903 librpc/gen_ndr/ndr_libnetapi.o \
1904 lib/netapi/libnetapi.o \
1905 lib/netapi/joindomain.o \
1906 lib/netapi/serverinfo.o \
1907 lib/netapi/getdc.o \
1909 lib/netapi/group.o \
1910 lib/netapi/localgroup.o \
1913 lib/netapi/share.o \
1916 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
1918 $(REG_SMBCONF_OBJ) \
1919 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
1920 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
1921 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(RPC_PARSE_OBJ) \
1922 $(PASSDB_OBJ) @LIBWBCLIENT_STATIC@ $(SMBLDAP_OBJ) $(GROUPDB_OBJ) $(LDB_OBJ) \
1923 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
1926 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
1927 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
1928 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
1929 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
1930 LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@
1931 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
1932 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
1934 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
1935 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
1937 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1938 @echo Linking shared library $@
1939 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
1940 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \
1941 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
1942 @SONAMEFLAG@`basename $@`
1944 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
1946 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
1948 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
1949 @echo Linking non-shared library $@
1950 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
1952 libnetapi: $(LIBNETAPI)
1957 $(LIBNETAPI_STATIC_TARGET) \
1958 $(LIBNETAPI_SHARED_TARGET) \
1959 $(LIBNETAPI_SHARED_TARGET_SONAME)
1961 installlibnetapi:: installdirs libnetapi
1962 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1963 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1964 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
1965 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
1966 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
1967 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
1969 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1970 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1971 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
1973 uninstalllibnetapi::
1974 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
1975 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
1976 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
1977 -rm -f $(DESTDIR)${prefix}/include/netapi.h
1980 installlibs:: @INSTALL_LIBNETAPI@
1981 uninstalllibs:: @UNINSTALL_LIBNETAPI@
1982 cleanlibs:: cleanlibnetapi
1983 shlibs test_shlibs: @LIBNETAPI_SHARED@
1985 #-------------------------------------------------------------------
1989 #-------------------------------------------------------------------
1991 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
1992 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
1993 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
1994 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
1995 LIBSMBCLIENT=$(LIBSMBCLIENT_STATIC_TARGET) @LIBSMBCLIENT_SHARED@
1996 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
1997 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
1999 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2000 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2002 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2003 @echo Linking shared library $@
2004 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) \
2005 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \
2006 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2007 @SONAMEFLAG@`basename $@`
2009 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2011 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2013 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2014 @echo Linking non-shared library $@
2015 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2017 libsmbclient: $(LIBSMBCLIENT)
2021 $(LIBSMBCLIENT_SHARED_TARGET) \
2022 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2023 $(LIBSMBCLIENT_STATIC_TARGET)
2025 installlibsmbclient:: installdirs libsmbclient
2026 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2027 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2028 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2029 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2030 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2031 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2033 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2034 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2035 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2037 installclientlib:: installlibsmbclient
2039 uninstalllibsmbclient::
2040 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2041 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2042 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2043 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2045 uninstallclientlib:: uninstalllibsmbclient
2048 installlibs:: @INSTALL_LIBSMBCLIENT@
2049 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2050 cleanlibs:: cleanlibsmbclient
2051 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2053 #-------------------------------------------------------------------
2057 #-------------------------------------------------------------------
2059 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2061 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0) @LIBTDB_STATIC@
2063 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2064 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2065 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2066 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2067 LIBSMBSHAREMODES=$(LIBSMBSHAREMODES_STATIC_TARGET) @LIBSMBSHAREMODES_SHARED@
2068 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2069 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2071 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2072 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2074 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2075 @echo Linking shared library $@
2076 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2077 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2078 $(KRB5LIBS) $(LDAP_LIBS) \
2079 @SONAMEFLAG@`basename $@`
2081 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2083 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2085 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2086 @echo Linking non-shared library $@
2087 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2089 libsmbsharemodes: $(LIBSMBSHAREMODES)
2091 cleanlibsmbsharemodes::
2093 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2094 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2095 $(LIBSMBSHAREMODES_STATIC_TARGET)
2097 installlibsmbsharemodes:: installdirs libsmbsharemodes
2098 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2099 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2100 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2101 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2102 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2103 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2105 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2106 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2107 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2109 uninstalllibsmbsharemodes::
2110 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2111 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2112 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2113 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2115 libs:: libsmbsharemodes
2116 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2117 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2118 cleanlibs:: cleanlibsmbsharemodes
2119 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2121 #-------------------------------------------------------------------
2125 #-------------------------------------------------------------------
2127 # This is probably wrong for anything other than the GNU linker.
2128 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) @LIBTALLOC_SHARED@
2129 @echo Linking shared library $@
2130 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2131 $(LIBS) $(LIBTALLOC_LIBS) \
2132 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2133 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2134 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2136 # It would be nice to build a static bigballofmud too, but when I try
2137 # I get linker errors about dl_open and similar things. I'm not sure if
2138 # it can be fixed or if they just can't be called from a static
2141 #-------------------------------------------------------------------
2145 #-------------------------------------------------------------------
2147 LIBLUA_OBJ0 = lua-5.1.4/src/lapi.o lua-5.1.4/src/lauxlib.o \
2148 lua-5.1.4/src/lbaselib.o lua-5.1.4/src/lcode.o \
2149 lua-5.1.4/src/ldblib.o lua-5.1.4/src/ldebug.o lua-5.1.4/src/ldo.o \
2150 lua-5.1.4/src/ldump.o lua-5.1.4/src/lfunc.o lua-5.1.4/src/lgc.o \
2151 lua-5.1.4/src/linit.o lua-5.1.4/src/liolib.o lua-5.1.4/src/llex.o \
2152 lua-5.1.4/src/lmathlib.o lua-5.1.4/src/lmem.o \
2153 lua-5.1.4/src/loadlib.o lua-5.1.4/src/lobject.o \
2154 lua-5.1.4/src/lopcodes.o lua-5.1.4/src/loslib.o \
2155 lua-5.1.4/src/lparser.o lua-5.1.4/src/lstate.o \
2156 lua-5.1.4/src/lstring.o lua-5.1.4/src/lstrlib.o \
2157 lua-5.1.4/src/ltable.o lua-5.1.4/src/ltablib.o lua-5.1.4/src/ltm.o \
2158 lua-5.1.4/src/lundump.o lua-5.1.4/src/lvm.o \
2159 lua-5.1.4/src/lzio.o lua-5.1.4/src/print.o
2161 LIBLUA_OBJ = $(LIBLUA_OBJ0)
2163 LIBLUA_SHARED_TARGET=@LIBLUA_SHARED_TARGET@
2164 LIBLUA_SOVER=@LIBLUA_SOVER@
2165 LIBLUA_SHARED_TARGET_SONAME=$(LIBLUA_SHARED_TARGET).$(LIBLUA_SOVER)
2166 LIBLUA_STATIC_TARGET=@LIBLUA_STATIC_TARGET@
2167 LIBLUA=$(LIBLUA_STATIC_TARGET) @LIBLUA_SHARED@
2168 LIBLUA_SYMS=$(srcdir)/exports/liblua.@SYMSEXT@
2169 LIBLUA_HEADERS=$(srcdir)/lua-5.1.4/src/lua.h
2171 $(LIBLUA_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBLUA_OBJ) $(LIBLUA_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2172 @echo Linking shared library $@
2173 @$(SHLD_DSO) $(LIBLUA_OBJ) \
2174 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2175 $(KRB5LIBS) $(LDAP_LIBS) \
2176 @SONAMEFLAG@`basename $@`
2178 $(LIBLUA_SHARED_TARGET): $(LIBLUA_SHARED_TARGET_SONAME)
2180 @ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` $@
2182 $(LIBLUA_STATIC_TARGET): $(BINARY_PREREQS) $(LIBLUA_OBJ0)
2183 @echo Linking non-shared library $@
2184 @-$(AR) -rc $@ $(LIBLUA_OBJ0)
2190 $(LIBLUA_SHARED_TARGET) \
2191 $(LIBLUA_SHARED_TARGET_SONAME) \
2192 $(LIBLUA_STATIC_TARGET)
2194 installliblua:: installdirs liblua
2195 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2196 -$(INSTALLLIBCMD_SH) $(LIBLUA_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2197 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2198 -if test -e $(LIBLUA_SHARED_TARGET_SONAME) ; then \
2199 ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` \
2200 $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)` ; \
2202 -$(INSTALLLIBCMD_A) $(LIBLUA_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2203 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2204 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBLUA_HEADERS) $(DESTDIR)${prefix}/include
2207 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2208 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET_SONAME)`
2209 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_STATIC_TARGET)`
2210 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2213 installlibs:: @INSTALL_LIBLUA@
2214 uninstalllibs:: @UNINSTALL_LIBLUA@
2215 cleanlibs:: cleanliblua
2216 shlibs test_shlibs: @LIBLUA_SHARED@
2219 #####################################################################
2223 #####################################################################
2225 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2226 SHLD_MODULE = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2227 -o $@ @SONAMEFLAG@`basename $@`
2229 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSA_OBJ)
2231 @$(SHLD_MODULE) $(RPC_LSA_OBJ)
2233 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2235 @$(SHLD_MODULE) $(RPC_SAMR_OBJ)
2237 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVC_OBJ)
2239 @$(SHLD_MODULE) $(RPC_SVC_OBJ)
2241 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2243 @$(SHLD_MODULE) $(RPC_SVCCTL_OBJ)
2245 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2247 @$(SHLD_MODULE) $(RPC_NTSVCS_OBJ)
2249 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKS_OBJ)
2251 @$(SHLD_MODULE) $(RPC_WKS_OBJ)
2253 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOG_OBJ)
2255 @$(SHLD_MODULE) $(RPC_NETLOG_OBJ)
2257 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_REG_OBJ)
2259 @$(SHLD_MODULE) $(RPC_REG_OBJ)
2261 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2263 @$(SHLD_MODULE) $(RPC_INITSHUTDOWN_OBJ)
2265 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2267 @$(SHLD_MODULE) $(RPC_DSSETUP_OBJ)
2269 bin/librpc_spoolss2.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2271 @$(SHLD_MODULE) $(RPC_SPOOLSS_OBJ)
2273 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2275 @$(SHLD_MODULE) $(RPC_EVENTLOG_OBJ)
2277 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DFS_OBJ)
2279 @$(SHLD_MODULE) $(RPC_DFS_OBJ)
2281 bin/librpc_echo.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_ECHO_OBJ)
2283 @$(SHLD_MODULE) $(RPC_ECHO_OBJ)
2285 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2287 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2288 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2289 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) \
2292 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2294 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2295 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2296 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2297 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) \
2300 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2302 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2303 $(WINBIND_NSS_EXTRA_LIBS) $(WINBIND_NSS_PTHREAD) \
2304 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2306 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2308 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2309 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2310 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2312 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) @LIBWBCLIENT_SHARED@
2314 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(WINBIND_LIBS) \
2315 @SONAMEFLAG@`basename $@`
2317 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@
2318 @echo "Linking shared library
$@
"
2319 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2320 $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) @SONAMEFLAG@`basename $@`
2322 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2323 @echo "Building plugin
$@
"
2324 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2326 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2327 @echo "Building plugin
$@
"
2328 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2330 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2331 @echo "Building plugin
$@
"
2332 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2334 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2335 @echo "Building plugin
$@
"
2336 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2338 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2339 @echo "Building plugin
$@
"
2340 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2342 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2343 @echo "Building plugin
$@
"
2344 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2346 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2347 @echo "Building plugin
$@
"
2348 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2350 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2351 @echo "Building plugin
$@
"
2352 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2354 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2355 @echo "Building plugin
$@
"
2356 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2358 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2359 @echo "Building plugin
$@
"
2360 @$(SHLD_MODULE) passdb/pdb_tdb.o
2362 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2363 @echo "Building plugin
$@
"
2364 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2366 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2367 @echo "Building plugin
$@
"
2368 @$(SHLD_MODULE) winbindd/idmap_rid.o
2370 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2371 @echo "Building plugin
$@
"
2372 @$(SHLD_MODULE) winbindd/idmap_ad.o
2374 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2375 @echo "Building plugin
$@
"
2376 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2378 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2379 @echo "Building plugin
$@
"
2380 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2382 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o
2383 @echo "Building plugin
$@
"
2384 @$(SHLD_MODULE) winbindd/idmap_tdb2.o
2386 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o
2387 @echo "Building plugin
$@
"
2388 @$(SHLD_MODULE) winbindd/idmap_ldap.o
2390 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2391 @echo "Building plugin
$@
"
2392 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2394 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2395 @echo "Building plugin
$@
"
2396 @$(SHLD_MODULE) $(CP850_OBJ)
2398 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2399 @echo "Building plugin
$@
"
2400 @$(SHLD_MODULE) $(CP437_OBJ)
2402 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2403 @echo "Building plugin
$@
"
2404 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2406 # NOTE, there is no build rule for a dynamic default VFS module because
2407 # this one MUST MUST MUST be built statically.
2409 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2410 @echo "Building plugin
$@
"
2411 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2413 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2414 @echo "Building plugin
$@
"
2415 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2417 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2418 @echo "Building plugin
$@
"
2419 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2421 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2422 @echo "Building plugin
$@
"
2423 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2425 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2426 @echo "Building plugin
$@
"
2427 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2429 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2430 @echo "Building plugin
$@
"
2431 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2433 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2434 @echo "Building plugin
$@
"
2435 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2437 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2438 @echo "Building plugin
$@
"
2439 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2441 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2442 @echo "Building plugin
$@
"
2443 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2445 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2446 @echo "Building plugin
$@
"
2447 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2449 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2450 @echo "Building plugin
$@
"
2451 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2453 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2454 @echo "Building plugin
$@
"
2455 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2457 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2458 @echo "Building plugin
$@
"
2459 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2461 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2462 @echo "Building plugin
$@
"
2463 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2465 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2466 @echo "Building plugin
$@
"
2467 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2469 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2470 @echo "Building plugin
$@
"
2471 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2473 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2474 @echo "Building plugin
$@
"
2475 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2477 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2478 @echo "Building plugin
$@
"
2479 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2481 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2482 @echo "Building plugin
$@
"
2483 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2485 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2486 @echo "Building plugin
$@
"
2487 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2489 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2490 @echo "Building plugin
$@
"
2491 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2493 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2494 @echo "Building plugin
$@
"
2495 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2497 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2498 @echo "Building plugin
$@
"
2499 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2501 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2502 @echo "Building plugin
$@
"
2503 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2505 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2506 @echo "Building plugin
$@
"
2507 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2509 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2510 @echo "Building plugin
$@
"
2511 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2513 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2514 @echo "Building plugin
$@
"
2515 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2517 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2518 @echo "Building plugin
$@
"
2519 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2521 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2522 @echo "Building plugin
$@
"
2523 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2525 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2526 @echo "Building plugin
$@
"
2527 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2529 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2530 @echo "Building plugin
$@
"
2531 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2533 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2534 @echo "Building plugin
$@
"
2535 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2537 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2538 @echo "Building plugin
$@
"
2539 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2541 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2542 @echo "Building plugin
$@
"
2543 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2545 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2546 @echo "Building plugin
$@
"
2547 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2549 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2550 @echo "Building plugin
$@
"
2551 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2553 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2554 @echo "Building plugin
$@
"
2555 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2557 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2558 @echo "Building plugin
$@
"
2559 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2561 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2562 @echo "Building plugin
$@
"
2563 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2565 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2566 @echo "Building plugin
$@
"
2567 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2569 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2570 @echo "Building plugin
$@
"
2571 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2573 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2574 @echo "Building plugin
$@
"
2575 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2577 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2578 @echo "Building plugin
$@
"
2579 @$(SHLD_MODULE) libgpo/gpext/registry.o
2581 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2582 @echo "Building plugin
$@
"
2583 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2585 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2586 @echo "Building plugin
$@
"
2587 @$(SHLD_MODULE) libgpo/gpext/security.o
2589 #########################################################
2590 ## IdMap NSS plugins
2592 ## None here right now
2593 #########################################################
2595 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2597 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2598 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2601 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2602 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2604 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2605 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
2606 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2607 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
2609 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2610 @echo "Linking shared library
$@
"
2611 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2612 $(LIBS) $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
2613 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
2615 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2617 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2618 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2620 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2622 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2623 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2625 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2627 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) \
2628 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2630 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2632 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2633 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2635 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
2636 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2637 torture/t_strcmp.o -L ./bin -lbigballofmud
2639 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
2640 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2641 torture/t_strstr.o -L ./bin -lbigballofmud
2643 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
2644 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2645 torture/t_strappend.o -L ./bin -lbigballofmud
2647 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
2648 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
2649 -L./bin -lbigballofmud
2651 bin/timelimit@EXEEXT@: script/tests/timelimit.o
2653 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
2655 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2657 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
2658 $(LIBS) $(LIBTALLOC_LIBS) @LIBTDB_SHARED@ $(WINBIND_LIBS) \
2659 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
2661 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2663 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
2664 $(LDFLAGS) $(DYNEEXP) $(LIBS) \
2666 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2668 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2669 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2670 @INSTALL_PAM_MODULES@ installlibs installmo
2672 install-everything:: install installmodules
2674 # DESTDIR is used here to prevent packagers wasting their time
2675 # duplicating the Makefile. Remove it and you will have the privelege
2676 # of package each samba release for muliple versions of multiple
2677 # distributions and operating systems, or at least supplying patches
2678 # to all the packaging files required for this, prior to committing
2679 # the removal of DESTDIR. Do not remove it even though you think it
2683 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
2684 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
2685 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
2686 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
2688 installservers:: all installdirs
2689 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2691 installbin:: all installdirs
2692 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2694 installcifsmount:: @CIFSMOUNT_PROGS@
2695 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(ROOTSBINDIR)
2696 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2698 installcifsupcall:: @CIFSUPCALL_PROGS@
2699 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(SBINDIR)
2700 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) @CIFSUPCALL_PROGS@
2702 # Some symlinks are required for the 'probing' of modules.
2703 # This mechanism should go at some point..
2704 installmodules:: modules installdirs
2705 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2706 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2707 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2708 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2709 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
2710 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2711 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2712 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2713 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2714 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2715 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2716 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2717 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2718 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2719 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2720 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2721 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2722 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
2723 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
2725 installscripts:: installdirs
2726 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2728 installdat:: installdirs
2729 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2731 installmsg:: installdirs
2732 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2734 installswat:: installdirs installmsg
2735 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2737 installpammodules:: $(PAM_MODULES)
2738 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
2739 @for module in $(PAM_MODULES); do \
2740 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2741 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
2742 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
2745 # revert to the previously installed version
2747 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
2748 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
2750 installman:: installdirs
2751 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
2753 installmo:: all installdirs
2754 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2759 @echo "Samba will be installed into
:"
2760 @echo " prefix: $(prefix)"
2761 @echo " bindir: $(BINDIR
)"
2762 @echo " sbindir
: $(SBINDIR
)"
2763 @echo " libdir: $(LIBDIR
)"
2764 @echo " modulesdir
: $(MODULESDIR
)"
2765 @echo " vardir
: $(VARDIR
)"
2766 @echo " mandir: $(MANDIR
)"
2767 @echo " privatedir
: $(PRIVATE_DIR
)"
2768 @echo " configdir
: $(CONFIGDIR
)"
2769 @echo " lockdir
: $(LOCKDIR
)"
2770 @echo " statedir: $(STATEDIR
)"
2771 @echo " cachedir
: $(CACHEDIR
)"
2772 @echo " piddir
: $(PIDDIR
)"
2773 @echo " swatdir
: $(SWATDIR
)"
2774 @echo " codepagedir
: $(CODEPAGEDIR
)"
2777 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
2780 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2783 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
2786 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2789 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2791 uninstallcifsmount::
2792 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2794 uninstallcifsupcall::
2795 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSUPCALL_PROGS@
2798 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2799 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2800 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2801 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2802 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2803 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2804 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2805 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2808 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2811 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2814 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2816 uninstallswat:: uninstallmsg
2817 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2819 uninstallpammodules::
2820 @for module in $(PAM_MODULES); do \
2821 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2822 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2825 # Toplevel clean files
2826 TOPFILES=dynconfig.o localedir.o
2829 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
2830 ../libcli/*.o ../libcli/*/*.o \
2834 -rm -f include/build_env.h
2835 -rm -f smbd/build_options.c
2836 -rm -f $(PRECOMPILED_HEADER)
2837 -rm -f core */*~ *~ \
2838 */*.o */*/*.o */*/*/*.o \
2839 ../testsuite/*/*.o \
2840 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*.@SHLIBEXT@ \
2841 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
2842 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
2843 $(MODULES) $(TORTURE_PROGS) \
2844 $(EVERYTHING_PROGS) \
2846 .headers.stamp */src/*.o
2849 include/build_env.h: script/build_env.sh
2850 @echo Building include/build_env.h
2851 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
2852 > $(builddir)/include/build_env.h
2857 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append
2860 ctags `find $(srcdir)/.. -name "*.
[ch
]" | grep -v include/proto\.h`
2863 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
2864 -rm -f script/installbin.sh script/uninstallbin.sh
2866 distclean:: realclean
2868 -rm -f include/config.h Makefile
2869 -rm -f config.status config.cache so_locations
2872 realdistclean:: distclean
2873 -rm -f include/config.h.in
2874 -rm -f include/version.h
2877 # this target is really just for my use. It only works on a limited
2878 # range of machines and is used to produce a list of potentially
2879 # dead (ie. unused) functions in the code. (tridge)
2881 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
2882 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
2883 comm -13 nmused.txt nmfns.txt
2886 # when configure.in is updated, reconfigure
2887 $(srcdir)/configure: $(srcdir)/configure.in
2888 @echo "WARNING
: you need to rerun .
/autogen.sh
"
2890 config.status: $(srcdir)/configure
2891 @echo "WARNING
: you need to run .
/configure
"
2893 Makefile: $(srcdir)/Makefile.in config.status
2894 @echo "WARNING
: you need to run .
/config.status
"
2896 ######################################################################
2897 # Samba Testing Framework
2899 # Check shared libs for unresolved symbols
2902 @$(LIB_PATH_VAR)=./bin && \
2903 export $(LIB_PATH_VAR) && \
2904 for module in $?; do \
2905 ./script/tests/dlopen.sh $${module} \
2909 # Check for NSS module problems.
2910 test_nss_modules:: nss_modules
2911 @echo "Testing
$(NSS_MODULES
) "
2912 @$(LIB_PATH_VAR)=./bin && \
2913 export $(LIB_PATH_VAR) && \
2914 for module in $(NSS_MODULES); do \
2915 ./script/tests/dlopen.sh $${module} \
2919 # Check for PAM module problems. Specifically, check that every module we
2920 # built can actually be loaded by a minimal PAM-aware application.
2921 test_pam_modules:: pam_modules
2922 @echo "Testing
$(PAM_MODULES
) "
2923 @$(LIB_PATH_VAR)=./bin && \
2924 export $(LIB_PATH_VAR) && \
2925 for module in $(PAM_MODULES); do \
2926 ./script/tests/dlopen.sh -lpam -ldl bin/$${module}.@SHLIBEXT@ \
2932 ## Targets for 'make test'
2935 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
2937 test:: all torture timelimit
2938 @echo Running Test suite
2939 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
2941 valgrindtest:: all torture timelimit
2942 @echo Running Test suite with valgrind
2943 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
2944 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2945 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2946 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2947 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
2948 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
2950 SELFTEST_FORMAT = plain
2951 selftestdir = ../selftest
2953 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
"
2955 selftest:: all torture timelimit
2956 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
2957 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
2958 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
2959 $(PERL) $(selftestdir)/selftest.pl \
2960 --prefix=${selftest_prefix} --target=samba3 \
2961 --testlist="$(srcdir)/selftest
/tests.sh|
" \
2962 --expected-failures=$(srcdir)/selftest/knownfail \
2963 --exclude=$(srcdir)/selftest/skip \
2964 --socket-wrapper $(TESTS) --format=$(SELFTEST_FORMAT) --immediate
2967 $(MAKE) selftest TESTS=$*
2969 # Check for Winbind struct 32/64bit padding
2971 @echo "Testing winbind request
/response structure for
32/64bit padding
"
2972 @./script/tests/wb_pad.sh || exit 1;
2978 libsmbclient_examples: libsmbclient
2979 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
2981 clean_libsmbclient_examples:
2982 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
2984 libnetapi_examples: libnetapi
2985 $(MAKE) -C lib/netapi/examples
2987 clean_libnetapi_examples:
2988 $(MAKE) -C lib/netapi/examples clean