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 PDBLIBDIR
= $(MODULESDIR
)/pdb
112 RPCLIBDIR
= $(MODULESDIR
)/rpc
113 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
114 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
115 CHARSETLIBDIR
= $(MODULESDIR
)/charset
116 AUTHLIBDIR
= $(MODULESDIR
)/auth
117 CONFIGLIBDIR
= $(MODULESDIR
)/config
118 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
119 CONFIGDIR
= @configdir@
120 VARDIR
= @localstatedir@
124 # The permissions to give the executables and other data
125 INSTALLPERMS_BIN
= 0755
126 INSTALLPERMS_DATA
= 0644
128 # set these to where to find various files
129 # These can be overridden by command line switches (see smbd(8))
130 # or in smb.conf (see smb.conf(5))
131 LOGFILEBASE
= @logfilebase@
132 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
133 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
134 NCALRPCDIR
= @ncalrpcdir@
136 # This is where smbpasswd et al go
137 PRIVATEDIR
= @privatedir@
139 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
140 PRIVATE_DIR
= $(PRIVATEDIR
)
142 # This is where SWAT images and help files go
145 # This is where locale(mo) files go
146 LOCALEDIR
= @localedir@
148 # the directory where lock files go
151 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
152 CACHEDIR
= @cachedir@
153 STATEDIR
= @
statedir@
155 # Where to look for (and install) codepage databases.
156 CODEPAGEDIR
= @codepagedir@
158 # the directory where pid files go
161 FLAGS
= -I.
-I
$(srcdir) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
) -I
$(CTDBDIR
)/include $(ISA
) -I
$(srcdir)/lib
-I..
-D_SAMBA_BUILD_
=3 -I..
/source4
163 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
164 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
165 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
166 -DSBINDIR
=\"$(SBINDIR
)\" \
167 -DBINDIR
=\"$(BINDIR
)\" \
168 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
169 -DSWATDIR
=\"$(SWATDIR
)\" \
170 -DLOCKDIR
=\"$(LOCKDIR
)\" \
171 -DPIDDIR
=\"$(PIDDIR
)\" \
172 -DLIBDIR
=\"$(LIBDIR
)\" \
173 -DMODULESDIR
=\"$(MODULESDIR
)\" \
174 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
175 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
176 -DCTDBDIR
=\"$(CTDBDIR
)\" \
177 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
178 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
179 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
180 -DCACHEDIR
=\"$(CACHEDIR
)\" \
181 -DSTATEDIR
=\"$(STATEDIR
)\" \
182 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
184 # Note that all executable programs now provide for an optional executable suffix.
186 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
188 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
190 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
191 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
192 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
193 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
195 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
196 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
197 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
198 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
199 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
201 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
202 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
203 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
204 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
205 bin
/tdbtorture@EXEEXT@ \
206 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
208 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
209 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
211 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
212 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
213 bin
/log2pcap@EXEEXT@ \
214 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
216 PAM_MODULES
= @PAM_MODULES@
218 NSS_MODULES
= @NSS_MODULES@
220 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
222 VFS_MODULES
= @VFS_MODULES@
223 PDB_MODULES
= @PDB_MODULES@
224 RPC_MODULES
= @RPC_MODULES@
225 IDMAP_MODULES
= @IDMAP_MODULES@
226 CHARSET_MODULES
= @CHARSET_MODULES@
227 AUTH_MODULES
= @AUTH_MODULES@
228 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
229 GPEXT_MODULES
= @GPEXT_MODULES@
230 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
231 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
234 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
236 ######################################################################
238 ######################################################################
240 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
241 lib
/dbwrap.o lib
/dbwrap_tdb.o \
243 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
245 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
247 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
249 VERSION_OBJ
= lib
/version.o
251 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
255 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
257 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
259 PASSCHANGE_OBJ
= libsmb
/passchange.o
261 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
262 ..
/librpc
/ndr
/ndr_compression.o \
263 ..
/librpc
/gen_ndr
/ndr_drsuapi.o \
264 ..
/librpc
/ndr
/ndr_drsblobs.o \
265 ..
/librpc
/gen_ndr
/ndr_drsblobs.o
267 ZLIB_OBJ
= @ZLIB_OBJS@
269 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
270 ..
/lib
/compression
/lzxpress.o \
273 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
276 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
277 ..
/librpc
/ndr
/ndr.o \
278 ..
/librpc
/ndr
/ndr_misc.o \
279 ..
/librpc
/gen_ndr
/ndr_misc.o \
280 ..
/librpc
/gen_ndr
/ndr_security.o \
281 ..
/librpc
/ndr
/ndr_sec_helper.o \
282 librpc
/ndr
/ndr_string.o \
283 ..
/librpc
/ndr
/uuid.o \
286 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
288 LIBNDR_GEN_OBJ0
= ..
/librpc
/gen_ndr
/ndr_samr.o \
289 ..
/librpc
/gen_ndr
/ndr_lsa.o
291 LIBNDR_GEN_OBJ1
= ..
/librpc
/gen_ndr
/ndr_netlogon.o \
292 ..
/librpc
/ndr
/ndr_netlogon.o
294 LIBNDR_GEN_OBJ2
= ..
/librpc
/gen_ndr
/ndr_spoolss.o \
295 ..
/librpc
/ndr
/ndr_spoolss_buf.o
297 LIBNDR_GEN_OBJ
= ..
/librpc
/gen_ndr
/ndr_wkssvc.o \
299 ..
/librpc
/gen_ndr
/ndr_dfs.o \
300 ..
/librpc
/gen_ndr
/ndr_echo.o \
301 ..
/librpc
/gen_ndr
/ndr_winreg.o \
302 ..
/librpc
/gen_ndr
/ndr_initshutdown.o \
303 ..
/librpc
/gen_ndr
/ndr_srvsvc.o \
304 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
306 ..
/librpc
/gen_ndr
/ndr_dssetup.o \
307 librpc
/gen_ndr
/ndr_notify.o \
308 ..
/librpc
/gen_ndr
/ndr_xattr.o \
309 ..
/librpc
/gen_ndr
/ndr_epmapper.o \
310 ..
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
311 ..
/librpc
/gen_ndr
/ndr_ntsvcs.o \
314 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
316 # this includes only the low level parse code, not stuff
317 # that requires knowledge of security contexts
318 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
320 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
321 rpc_client
/init_netlogon.o \
322 rpc_client
/init_lsa.o
324 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
326 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
327 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
329 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
331 $(SOCKET_WRAPPER_OBJ
) \
334 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
335 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
336 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
337 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
338 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
339 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o
341 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
342 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
345 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
346 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
347 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
348 lib
/interfaces.o lib
/memcache.o \
349 lib
/util_transfer_file.o ..
/lib
/async_req
/async_req.o \
350 ..
/lib
/async_req
/async_sock.o ..
/lib
/async_req
/async_req_ntstatus.o \
352 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
353 lib
/interface.o lib
/pidfile.o \
354 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
356 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
357 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
359 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
360 lib
/util_unistr.o lib
/util_file.o \
361 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
362 lib
/substitute.o lib
/dbwrap_util.o \
363 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
364 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
365 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
366 lib
/adt_tree.o lib
/gencache.o \
367 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
368 lib
/ldap_escape.o @CHARSET_STATIC@ \
369 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
370 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
371 lib
/file_id.o lib
/idmap_cache.o \
372 ..
/libcli
/security
/dom_sid.o
374 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
375 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
377 READLINE_OBJ
= lib
/readline.o
379 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
380 # Be sure to include them into your application
381 POPT_LIB_OBJ
= lib
/popt_common.o
383 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
384 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
385 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
387 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
389 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
390 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
391 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
393 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
395 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
396 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
399 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
401 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
402 libads
/sasl.o libads
/sasl_wrapping.o \
403 libads
/krb5_setpw.o libads
/ldap_user.o \
404 libads
/ads_struct.o libads
/kerberos_keytab.o \
405 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
406 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
408 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
409 ..
/librpc
/ndr
/ndr_krb5pac.o \
410 ..
/librpc
/gen_ndr
/ndr_krb5pac.o
412 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
414 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
415 ..
/libcli
/netlogon.o \
416 ..
/libcli
/ndr_netlogon.o \
417 ..
/librpc
/gen_ndr
/ndr_nbt.o \
418 ..
/librpc
/gen_ndr
/ndr_svcctl.o \
419 ..
/librpc
/ndr
/ndr_svcctl.o
421 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
422 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
424 NTERR_OBJ
= libsmb
/nterr.o
425 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
426 ERRORMAP_OBJ
= libsmb
/errormap.o
427 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
429 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
430 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
432 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
437 libsmb
/ntlm_check.o \
439 libsmb
/ntlmssp_sign.o
441 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
444 CLDAP_OBJ
= libads
/cldap.o
446 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
447 libsmb
/clikrb5.o libsmb
/clispnego.o ..
/lib
/util
/asn1.o \
448 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
449 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
450 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
451 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
452 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
453 libsmb
/clioplock.o libsmb
/clirap2.o \
454 libsmb
/smb_seal.o libsmb
/async_smb.o \
461 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
463 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
464 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
465 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
466 rpc_client
/init_samr.o \
467 librpc
/rpc
/dcerpc.o \
468 ..
/librpc
/rpc
/binding.o
470 LIBMSRPC_GEN_OBJ
= ..
/librpc
/gen_ndr
/cli_lsa.o \
471 ..
/librpc
/gen_ndr
/cli_dfs.o \
472 ..
/librpc
/gen_ndr
/cli_echo.o \
473 ..
/librpc
/gen_ndr
/cli_srvsvc.o \
474 ..
/librpc
/gen_ndr
/cli_svcctl.o \
475 ..
/librpc
/gen_ndr
/cli_winreg.o \
476 ..
/librpc
/gen_ndr
/cli_initshutdown.o \
477 ..
/librpc
/gen_ndr
/cli_eventlog.o \
478 ..
/librpc
/gen_ndr
/cli_wkssvc.o \
479 ..
/librpc
/gen_ndr
/cli_netlogon.o \
480 ..
/librpc
/gen_ndr
/cli_samr.o \
481 ..
/librpc
/gen_ndr
/cli_dssetup.o \
482 ..
/librpc
/gen_ndr
/cli_ntsvcs.o \
483 ..
/librpc
/gen_ndr
/cli_epmapper.o \
484 ..
/librpc
/gen_ndr
/cli_drsuapi.o \
485 ..
/librpc
/gen_ndr
/cli_spoolss.o \
490 # registry-related objects
492 UTIL_REG_OBJ
= lib
/util_reg.o
493 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
495 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
496 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
497 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
499 REGFIO_OBJ
= registry
/regfio.o
501 REGOBJS_OBJ
= registry
/reg_objects.o
503 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
505 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
507 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
508 registry
/reg_backend_shares.o \
509 registry
/reg_backend_netlogon_params.o \
510 registry
/reg_backend_prod_options.o \
511 registry
/reg_backend_tcpip_params.o \
512 registry
/reg_backend_hkpt_params.o \
513 registry
/reg_backend_current_version.o \
514 registry
/reg_backend_perflib.o
516 REG_BASE_OBJ
= registry
/reg_api.o \
517 registry
/reg_dispatcher.o \
518 registry
/reg_cachehook.o \
521 registry
/reg_util.o \
522 $(UTIL_REG_API_OBJ
) \
524 $(REG_BACKENDS_BASE_OBJ
) \
525 $(REG_INIT_BASIC_OBJ
)
527 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
528 $(REG_BACKENDS_SMBCONF_OBJ
) \
529 $(REG_INIT_SMBCONF_OBJ
)
531 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
532 $(REG_BACKENDS_EXTRA_OBJ
) \
533 $(REG_INIT_FULL_OBJ
) \
534 registry
/reg_eventlog.o \
535 registry
/reg_perfcount.o \
536 registry
/reg_util_legacy.o
538 LIB_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_lib.o
540 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o ..
/librpc
/gen_ndr
/srv_lsa.o
542 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
543 ..
/librpc
/gen_ndr
/srv_netlogon.o
545 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
546 rpc_server
/srv_samr_util.o \
547 ..
/librpc
/gen_ndr
/srv_samr.o
549 RPC_INITSHUTDOWN_OBJ
= ..
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
551 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
552 ..
/librpc
/gen_ndr
/srv_winreg.o
554 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o ..
/librpc
/gen_ndr
/srv_dssetup.o
556 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
557 ..
/librpc
/gen_ndr
/srv_srvsvc.o
559 RPC_WKS_OBJ
= ..
/librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
561 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
562 ..
/librpc
/gen_ndr
/srv_svcctl.o \
563 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
564 services
/svc_netlogon.o services
/svc_winreg.o \
567 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
568 ..
/librpc
/gen_ndr
/srv_ntsvcs.o
570 RPC_DFS_OBJ
= ..
/librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
572 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o \
573 ..
/librpc
/gen_ndr
/srv_spoolss.o
575 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
576 $(LIB_EVENTLOG_OBJ
) ..
/librpc
/gen_ndr
/srv_eventlog.o
578 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
579 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
581 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o ..
/librpc
/gen_ndr
/srv_echo.o
583 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
585 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
586 rpc_parse
/parse_spoolss.o \
587 rpc_parse
/parse_buffer.o
589 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o rpc_client
/rpc_transport_np.o \
590 rpc_client
/rpc_transport_sock.o rpc_client
/rpc_transport_smbd.o
592 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
594 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
596 PRIVILEGES_OBJ
= lib
/privileges.o
598 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
600 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
601 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
602 passdb
/util_unixsids.o passdb
/lookup_sid.o \
603 passdb
/login_cache.o @PDB_STATIC@ \
604 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
605 lib
/util_nscd.o lib
/winbind_util.o
607 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
608 CP850_OBJ
= modules
/CP850.o
609 CP437_OBJ
= modules
/CP437.o
610 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
612 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
614 PROFILE_OBJ
= profile
/profile.o
615 PROFILES_OBJ
= utils
/profiles.o \
618 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
621 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
623 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
625 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
626 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
627 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
628 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
629 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
630 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
631 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
632 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
633 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
634 VFS_CAP_OBJ
= modules
/vfs_cap.o
635 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
636 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
637 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
638 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
639 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
640 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
641 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
642 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
643 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
644 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
645 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
646 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
647 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
648 VFS_CATIA_OBJ
= modules
/vfs_catia.o
649 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
650 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
651 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
652 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
653 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
654 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
655 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
656 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
657 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
658 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
659 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
660 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
661 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
662 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
663 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
664 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
665 modules
/onefs_open.o modules
/onefs_streams.o
667 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
669 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
671 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
673 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
674 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
675 AUTH_SAM_OBJ
= auth
/auth_sam.o
676 AUTH_SERVER_OBJ
= auth
/auth_server.o
677 AUTH_UNIX_OBJ
= auth
/auth_unix.o
678 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
679 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
680 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
682 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
683 auth
/auth_compat.o auth
/auth_ntlmssp.o \
684 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
686 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
688 SMBD_OBJ_MAIN
= smbd
/server.o
690 BUILDOPT_OBJ
= smbd
/build_options.o
692 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
693 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
694 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
695 smbd
/share_access.o smbd
/fileio.o \
696 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
697 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
698 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
699 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
700 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
701 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
702 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
703 smbd
/process.o smbd
/service.o smbd
/error.o \
704 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
705 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
706 smbd
/change_trust_pw.o smbd
/fake_file.o \
707 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
708 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
711 smbd
/dnsregister.o smbd
/globals.o \
712 $(MANGLE_OBJ
) @VFS_STATIC@
714 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
715 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
716 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
717 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
718 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
719 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
720 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
721 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
722 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
724 $(PRIVILEGES_BASIC_OBJ
)
726 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
727 printing
/print_cups.o printing
/print_generic.o \
728 printing
/lpq_parse.o printing
/load.o \
729 printing
/print_iprint.o
731 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
732 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
734 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
736 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
737 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
738 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
739 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
740 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
741 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
742 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
743 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
744 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
745 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
746 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
747 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
749 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
750 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
753 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
754 web
/swat.o web
/neg_lang.o
756 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
757 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
758 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
759 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
760 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
762 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
763 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
764 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
767 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
768 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
772 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
773 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
774 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
775 $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
777 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
780 TESTPARM_OBJ
= utils
/testparm.o \
781 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
784 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
785 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
786 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
788 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
790 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
791 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
792 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
793 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
794 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
796 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
798 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
799 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o \
802 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
804 DISPLAY_SEC_OBJ
= lib
/display_sec.o
806 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
807 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
808 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
809 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
810 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
811 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
812 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
813 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
816 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
817 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
818 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
819 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
820 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
821 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
823 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o localedir.o
$(WBCOMMON_OBJ
) \
824 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
826 LIBSMBCLIENT_OBJ0
= \
827 libsmb
/libsmb_cache.o \
828 libsmb
/libsmb_compat.o \
829 libsmb
/libsmb_context.o \
830 libsmb
/libsmb_dir.o \
831 libsmb
/libsmb_file.o \
832 libsmb
/libsmb_misc.o \
833 libsmb
/libsmb_path.o \
834 libsmb
/libsmb_printjob.o \
835 libsmb
/libsmb_server.o \
836 libsmb
/libsmb_stat.o \
837 libsmb
/libsmb_xattr.o \
838 libsmb
/libsmb_setget.o
840 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
841 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
842 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
843 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
844 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
846 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
848 # This shared library is intended for linking with unit test programs
849 # to test Samba internals. It's called libbigballofmud.so to
850 # discourage casual usage.
852 LIBBIGBALLOFMUD_MAJOR
= 0
854 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
855 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
856 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
858 CLIENT_OBJ1
= client
/client.o client
/clitar.o
$(RPC_CLIENT_OBJ
) \
859 ..
/librpc
/rpc
/binding.o \
864 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
865 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
866 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
867 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
870 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
871 ..
/lib
/smbconf
/smbconf_util.o \
872 ..
/lib
/smbconf
/smbconf_txt.o \
873 lib
/smbconf
/smbconf_reg.o \
874 lib
/smbconf
/smbconf_init.o
876 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
878 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
884 LIBNET_OBJ
= libnet
/libnet_join.o \
885 libnet
/libnet_keytab.o \
886 libnet
/libnet_samsync.o \
887 libnet
/libnet_samsync_ldif.o \
888 libnet
/libnet_samsync_passdb.o \
889 libnet
/libnet_samsync_display.o \
890 libnet
/libnet_samsync_keytab.o \
891 libnet
/libnet_dssync.o \
892 libnet
/libnet_dssync_keytab.o \
893 librpc
/gen_ndr
/ndr_libnet_join.o
895 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
896 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
897 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
898 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
899 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
900 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
901 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
902 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
903 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
904 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
905 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
906 auth
/token_util.o utils
/net_dom.o utils
/net_share.o utils
/net_lua.o \
909 # these are not processed by make proto
910 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
912 NET_OBJ
= $(NET_OBJ1
) \
913 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
914 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
915 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
916 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
917 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
918 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
919 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
920 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
921 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
922 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
924 @LIBWBCLIENT_STATIC@ \
925 $(PRIVILEGES_BASIC_OBJ
) @LIBLUA_STATIC@ \
928 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
929 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
932 CIFS_MOUNT_OBJ
= client
/mount.cifs.o client
/mtab.o
934 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o client
/mtab.o
936 CIFS_UPCALL_OBJ
= client
/cifs.upcall.o
938 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
939 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
941 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
942 torture
/denytest.o torture
/mangle_test.o
944 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
945 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
946 lib
/wb_reqtrans.o lib
/wbclient.o \
947 @LIBWBCLIENT_STATIC@ \
950 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
954 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
958 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
959 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
962 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
966 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
967 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
968 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
971 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
973 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
975 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
977 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
978 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
981 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
982 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
983 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
984 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
986 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
988 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
989 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
990 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
992 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
994 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
996 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
997 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
998 ..
/librpc
/gen_ndr
/ndr_lsa.o
1000 SHARESEC_OBJ0
= utils
/sharesec.o
1001 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1005 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1006 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSAMBA_OBJ
)
1008 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1009 @libreplacedir@
/test/getifaddrs.o \
1010 @libreplacedir@
/test/os2_delete.o \
1011 @libreplacedir@
/test/strptime.o \
1012 @libreplacedir@
/test/main.o \
1015 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1017 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1018 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1021 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1022 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
1025 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1026 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1027 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1028 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1031 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
1033 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1036 winbindd
/idmap_hash
/idmap_hash.o \
1037 winbindd
/idmap_hash
/mapfile.o
1040 winbindd
/idmap_adex
/idmap_adex.o \
1041 winbindd
/idmap_adex
/cell_util.o \
1042 winbindd
/idmap_adex
/likewise_cell.o \
1043 winbindd
/idmap_adex
/provider_unified.o \
1044 winbindd
/idmap_adex
/gc_util.o \
1045 winbindd
/idmap_adex
/domain_util.o
1048 winbindd
/winbindd.o \
1049 winbindd
/winbindd_user.o \
1050 winbindd
/winbindd_group.o \
1051 winbindd
/winbindd_util.o \
1052 winbindd
/winbindd_cache.o \
1053 winbindd
/winbindd_pam.o \
1054 winbindd
/winbindd_sid.o \
1055 winbindd
/winbindd_misc.o \
1056 winbindd
/winbindd_cm.o \
1057 winbindd
/winbindd_wins.o \
1058 winbindd
/winbindd_rpc.o \
1059 winbindd
/winbindd_reconnect.o \
1060 winbindd
/winbindd_ads.o \
1061 winbindd
/winbindd_passdb.o \
1062 winbindd
/winbindd_dual.o \
1063 winbindd
/winbindd_async.o \
1064 winbindd
/winbindd_creds.o \
1065 winbindd
/winbindd_cred_cache.o \
1066 winbindd
/winbindd_ccache_access.o \
1067 winbindd
/winbindd_domain.o \
1068 winbindd
/winbindd_idmap.o \
1069 winbindd
/winbindd_locator.o \
1070 winbindd
/winbindd_ndr.o \
1075 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1076 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1077 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1078 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1079 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1080 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1081 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1082 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
) \
1085 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1086 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1087 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1089 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1091 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1092 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1093 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1094 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1095 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1097 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1098 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1099 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1101 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1102 lib
/ldb
/modules
/objectclass.o \
1103 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1105 # enabled in configure.in
1106 LDB_LDAP_OBJ
=@LDBLDAP@
1108 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1110 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1111 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1112 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1113 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1116 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1117 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1118 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1119 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1120 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1122 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1123 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1125 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1126 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1128 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1129 iniparser_build
/strlib.o
1131 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1132 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1134 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1135 $(SOCKET_WRAPPER_OBJ
)
1137 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1138 $(SOCKET_WRAPPER_OBJ
)
1140 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1141 $(SOCKET_WRAPPER_OBJ
)
1144 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1146 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1147 ..
/lib
/util
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1148 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1149 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1150 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1151 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1152 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1155 VLP_OBJ1
= printing
/tests
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
1157 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1158 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1159 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1160 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1163 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1167 @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1168 $(LIB_NONSMBD_OBJ
) \
1171 $(RPC_CLIENT_OBJ1
) \
1172 rpc_client
/cli_pipe.o \
1173 ..
/librpc
/rpc
/binding.o \
1177 ######################################################################
1179 ######################################################################
1180 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1181 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @CIFSUPCALL_PROGS@ \
1182 $(EXTRA_ALL_TARGETS
)
1186 nss_modules
:: $(NSS_MODULES
)
1188 pam_modules
:: $(PAM_MODULES
)
1190 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1192 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1194 gpext_modules
:: $(GPEXT_MODULES
)
1196 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1198 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1200 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1202 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1204 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1206 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1208 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1210 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1212 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1214 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1216 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1218 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1220 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1222 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1224 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1226 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1228 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1229 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1230 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1232 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1234 modules
:: SHOWFLAGS
$(MODULES
)
1236 #####################################################################
1237 ## Perl IDL Compiler
1239 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1240 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1241 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1242 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh \
1243 librpc
/idl
/messaging.idl librpc
/idl
/libnetapi.idl librpc
/idl
/notify.idl
1245 #####################################################################
1248 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1252 .SUFFIXES
: .c .o .lo
1255 @echo
"Using CFLAGS = $(CFLAGS)"
1256 @echo
" PICFLAG = $(PICFLAG)"
1257 @echo
" LIBS = $(LIBS)"
1258 @echo
" LDFLAGS = $(LDFLAGS)"
1259 @echo
" DYNEXP = $(DYNEXP)"
1260 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1261 @echo
" SHLIBEXT = @SHLIBEXT@"
1262 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1264 MAKEDIR
= || exec false
; \
1265 if
test -d
"$$dir"; then
:; else \
1266 echo mkdir
"$$dir"; \
1267 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1268 test -d
"$$dir" || \
1270 exec false
; fi || exec false
1272 # Run a static checker.
1273 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1274 # Compile a source file.
1275 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1276 # Compile a source file with the installation paths defined.
1277 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1279 COMPILE
= $(COMPILE_CC
)
1282 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1283 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1284 @if
test -n
"$(CC_CHECKER)"; then \
1285 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1288 @echo Compiling
$*.c
1289 @
$(COMPILE
) && exit
0;\
1290 echo
"The following command failed:" 1>&2;\
1291 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1292 $(COMPILE_CC) >/dev/null 2>&1
1293 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1295 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1297 # this adds support for precompiled headers. To use it, install a snapshot
1298 # of gcc-3.4 and run 'make pch' before you do the main build.
1300 rm -f $(PRECOMPILED_HEADER)
1301 $(MAKE) $(PRECOMPILED_HEADER)
1303 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1306 BINARY_PREREQS = bin/.dummy
1308 # These dependencies are only approximately correct: we want to make
1309 # sure Samba's paths are updated if ./configure is re-run. Really it
1310 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1311 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1312 # rebuild it's a bit hard.
1314 dynconfig.o: dynconfig.c Makefile
1315 @echo Compiling $*.c
1316 @$(COMPILE_CC_PATH) && exit 0;\
1317 echo "The following command failed
:" 1>&2;\
1318 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1319 $(COMPILE_CC_PATH) >/dev/null 2>&1
1321 localedir.o: localedir.c Makefile
1322 @echo Compiling $*.c
1323 @$(COMPILE_CC_PATH) && exit 0;\
1324 echo "The following command failed
:" 1>&2;\
1325 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1326 $(COMPILE_CC_PATH) >/dev/null 2>&1
1328 lib/pidfile.o: lib/pidfile.c
1329 @echo Compiling $*.c
1330 @$(COMPILE_CC_PATH) && exit 0;\
1331 echo "The following command failed
:" 1>&2;\
1332 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1333 $(COMPILE_CC_PATH) >/dev/null 2>&1
1335 lib/version.o: lib/version.c include/version.h
1336 @echo Compiling $*.c
1337 @$(COMPILE_CC_PATH) && exit 0;\
1338 echo "The following command failed
:" 1>&2;\
1339 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1340 $(COMPILE_CC_PATH) >/dev/null 2>&1
1342 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1343 @echo Compiling $*.c
1344 @$(COMPILE_CC_PATH) && exit 0;\
1345 echo "The following command failed
:" 1>&2;\
1346 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1347 $(COMPILE_CC_PATH) >/dev/null 2>&1
1349 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1351 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1354 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1355 dir=bin $(MAKEDIR); fi
1356 @: >> $@ || : > $@ # what a fancy emoticon!
1358 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1360 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \
1361 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1362 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) \
1363 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1364 $(WINBIND_LIBS) $(ZLIB_LIBS)
1366 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1368 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1369 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1370 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1372 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1374 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1375 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1376 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1378 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1380 @$(CC) -o $@ $(LDFLAGS) $(PASSDB_LIBS) $(RPCCLIENT_OBJ) \
1381 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1382 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1383 $(WINBIND_LIBS) $(ZLIB_LIBS)
1385 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1387 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1388 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1389 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1390 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1392 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@ @LIBLUA_SHARED@
1394 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1395 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1396 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1397 @INIPARSERLIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBNETAPI_LIBS) $(LIBLUA_LIBS) -lm \
1400 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1402 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1403 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1405 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1407 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1408 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1410 bin/mount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_MOUNT_OBJ) @BUILD_POPT@
1412 @$(CC) -o $@ $(CIFS_MOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(POPT_LIBS)
1414 bin/umount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UMOUNT_OBJ) @BUILD_POPT@
1416 @$(CC) -o $@ $(CIFS_UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(POPT_LIBS)
1418 bin/cifs.upcall@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UPCALL_OBJ) $(LIBSMBCLIENT_OBJ1) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1420 @$(CC) -o $@ $(CIFS_UPCALL_OBJ) $(DYNEXP) $(LDFLAGS) \
1421 -lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \
1422 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) \
1423 $(LIBTDB_LIBS) $(NSCD_LIBS)
1425 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1427 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1428 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1430 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1432 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1433 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1435 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1437 @$(CC) -DUSING_SMBCONTROL -o $@ \
1438 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1439 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1440 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1442 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1444 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1445 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1446 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1448 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1450 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1451 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1452 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1454 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1456 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1457 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1458 $(LIBTDB_LIBS) $(WINBIND_LIBS)
1460 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1462 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1463 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1464 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1466 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1468 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1469 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1471 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1473 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1474 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1475 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(WINBIND_LIBS)
1477 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1479 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1480 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1481 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1483 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1485 @$(CC) @PIE_LDFLAGS@ -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1486 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1488 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1490 @$(CC) @PIE_LDFLAGS@ -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1491 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1492 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1494 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1496 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1497 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1498 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1500 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1502 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1503 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1504 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1506 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1508 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1509 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1510 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1512 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1514 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1515 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1516 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1518 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1520 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1521 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1523 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1525 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1526 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1528 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1530 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1531 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1532 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1534 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1536 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1537 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1538 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1540 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1542 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1543 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1544 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1546 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1548 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1549 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1550 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1551 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1552 $(WINBIND_LIBS) $(ZLIB_LIBS)
1554 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1556 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1557 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1558 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1560 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1562 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1563 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1565 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1567 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1568 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1569 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1571 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1573 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1574 $(LIBS) $(LIBTALLOC_LIBS)
1576 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1578 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS) \
1579 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1580 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1582 bin/ldbedit: $(BINARY_PREREQS) $(LDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1584 @$(CC) -o $@ $(LDBEDIT_OBJ) $(DYNEXP) $(LDFLAGS) \
1585 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1586 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1588 bin/ldbsearch: $(BINARY_PREREQS) $(LDBSEARCH_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1590 @$(CC) -o $@ $(LDBSEARCH_OBJ) $(DYNEXP) $(LDFLAGS) \
1591 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1592 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1594 bin/ldbadd: $(BINARY_PREREQS) $(LDBADD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1596 @$(CC) -o $@ $(LDBADD_OBJ) $(DYNEXP) $(LDFLAGS) \
1597 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1598 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1600 bin/ldbmodify: $(BINARY_PREREQS) $(LDBMODIFY_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1602 @$(CC) -o $@ $(LDBMODIFY_OBJ) $(DYNEXP) $(LDFLAGS) \
1603 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1604 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1606 bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1608 @$(CC) -o $@ $(LDBDEL_OBJ) $(DYNEXP) $(LDFLAGS) \
1609 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1610 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1613 #####################################################################
1617 #####################################################################
1619 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1622 #-------------------------------------------------------------------
1626 #-------------------------------------------------------------------
1629 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1630 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1632 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1633 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1634 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1635 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1636 LIBTALLOC=$(LIBTALLOC_STATIC_TARGET) @LIBTALLOC_SHARED@
1637 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1638 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1640 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1641 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
1643 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
1644 @echo Linking shared library $@
1645 @$(SHLD_DSO) $(LIBTALLOC_OBJ) @SONAMEFLAG@`basename $@`
1647 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
1649 @ln -s -f `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1651 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
1652 @echo Linking non-shared library $@
1653 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
1655 libtalloc: $(LIBTALLOC)
1660 $(LIBTALLOC_STATIC_TARGET) \
1661 $(LIBTALLOC_SHARED_TARGET) \
1662 $(LIBTALLOC_SHARED_TARGET_SONAME)
1664 installlibtalloc:: installdirs libtalloc
1665 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1666 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1667 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1668 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
1669 ln -s -f `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1670 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1672 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1673 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1674 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
1676 uninstalllibtalloc::
1677 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1678 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1679 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
1680 -rm -f $(DESTDIR)${prefix}/include/talloc.h
1683 installlibs:: @INSTALL_LIBTALLOC@
1684 uninstalllibs:: @UNINSTALL_LIBTALLOC@
1685 cleanlibs:: cleanlibtalloc
1686 shlibs test_shlibs: @LIBTALLOC_SHARED@
1688 #-------------------------------------------------------------------
1692 #-------------------------------------------------------------------
1694 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
1695 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
1697 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
1698 LIBTDB_SOVER=@LIBTDB_SOVER@
1699 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
1700 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
1701 LIBTDB=$(LIBTDB_STATIC_TARGET) @LIBTDB_SHARED@
1702 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
1703 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
1705 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
1706 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
1708 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
1709 @echo Linking shared library $@
1710 @$(SHLD_DSO) $(LIBTDB_OBJ) \
1711 @SONAMEFLAG@`basename $@`
1713 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
1715 @ln -s -f `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1717 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
1718 @echo Linking non-shared library $@
1719 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
1726 $(LIBTDB_STATIC_TARGET) \
1727 $(LIBTDB_SHARED_TARGET) \
1728 $(LIBTDB_SHARED_TARGET_SONAME)
1731 installlibtdb:: installdirs libtdb
1732 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1733 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1734 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1735 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
1736 ln -s -f `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1737 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1739 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1740 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1741 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
1744 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1745 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1746 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
1747 -rm -f $(DESTDIR)${prefix}/include/tdb.h
1750 installlibs:: @INSTALL_LIBTDB@
1751 uninstalllibs:: @UNINSTALL_LIBTDB@
1752 cleanlibs:: cleanlibtdb
1753 shlibs test_shlibs: @LIBTDB_SHARED@
1755 #-------------------------------------------------------------------
1759 #-------------------------------------------------------------------
1761 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
1762 ../nsswitch/libwbclient/wbc_util.o \
1763 ../nsswitch/libwbclient/wbc_pwd.o \
1764 ../nsswitch/libwbclient/wbc_idmap.o \
1765 ../nsswitch/libwbclient/wbc_sid.o \
1766 ../nsswitch/libwbclient/wbc_guid.o \
1767 ../nsswitch/libwbclient/wbc_pam.o
1768 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
1770 @LIBTALLOC_STATIC@ $(LIBREPLACE_OBJ)
1772 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
1773 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
1774 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
1775 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
1776 LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1777 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
1778 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
1780 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
1781 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
1783 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS) @LIBTALLOC_SHARED@
1784 @echo Linking shared library $@
1785 @$(SHLD_DSO) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_OBJ) \
1786 @SONAMEFLAG@`basename $@`
1788 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1790 @ln -s -f `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1792 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1793 @echo Linking non-shared library $@
1794 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1796 libwbclient: $(LIBWBCLIENT)
1800 $(LIBWBCLIENT_SYMS) \
1801 $(LIBWBCLIENT_STATIC_TARGET) \
1802 $(LIBWBCLIENT_SHARED_TARGET) \
1803 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1805 installlibwbclient:: installdirs libwbclient
1806 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1807 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1808 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1809 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
1810 ln -s -f `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1811 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1813 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1814 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
1816 uninstalllibwbclient::
1817 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1818 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1819 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
1822 installlibs:: @INSTALL_LIBWBCLIENT@
1823 uninstalllibs:: uninstalllibwbclient
1824 cleanlibs:: cleanlibwbclient
1825 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
1828 #-------------------------------------------------------------------
1832 #-------------------------------------------------------------------
1835 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
1836 LIBADDNS_SOVER=@LIBADDNS_SOVER@
1837 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
1838 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
1839 LIBADDNS=$(LIBADDNS_STATIC_TARGET) @LIBADDNS_SHARED@
1840 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1841 LIBADDNS_HEADERS=$(srcdir)/libaddns/addns.h
1843 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) @LIBTALLOC_SHARED@
1844 @echo Linking shared library $@
1845 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
1846 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
1847 @SONAMEFLAG@`basename $@`
1849 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
1851 @ln -s -f `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1853 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
1854 @echo Linking non-shared library $@
1855 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
1857 libaddns: $(LIBADDNS)
1861 $(LIBADDNS_SHARED_TARGET) \
1862 $(LIBADDNS_SHARED_TARGET_SONAME) \
1863 $(LIBADDNS_STATIC_TARGET)
1865 installlibaddns:: installdirs libaddns
1866 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1867 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1868 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1869 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
1870 ln -s -f `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
1871 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
1873 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1876 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
1877 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1878 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
1881 installlibs:: @INSTALL_LIBADDNS@
1882 uninstalllibs:: @UNINSTALL_LIBADDNS@
1883 cleanlibs:: cleanlibaddns
1884 shlibs test_shlibs: @LIBADDNS_SHARED@
1886 #-------------------------------------------------------------------
1890 #-------------------------------------------------------------------
1892 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
1894 librpc/gen_ndr/ndr_libnetapi.o \
1895 lib/netapi/libnetapi.o \
1896 lib/netapi/joindomain.o \
1897 lib/netapi/serverinfo.o \
1898 lib/netapi/getdc.o \
1900 lib/netapi/group.o \
1901 lib/netapi/localgroup.o \
1904 lib/netapi/share.o \
1907 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
1909 $(REG_SMBCONF_OBJ) \
1910 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
1911 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
1912 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(RPC_PARSE_OBJ) \
1913 $(PASSDB_OBJ) @LIBWBCLIENT_STATIC@ $(SMBLDAP_OBJ) $(GROUPDB_OBJ) $(LDB_OBJ) \
1914 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
1917 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
1918 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
1919 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
1920 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
1921 LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@
1922 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
1923 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
1925 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
1926 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
1928 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1929 @echo Linking shared library $@
1930 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
1931 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \
1932 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
1933 @SONAMEFLAG@`basename $@`
1935 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
1937 @ln -s -f `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
1939 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
1940 @echo Linking non-shared library $@
1941 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
1943 libnetapi: $(LIBNETAPI)
1948 $(LIBNETAPI_STATIC_TARGET) \
1949 $(LIBNETAPI_SHARED_TARGET) \
1950 $(LIBNETAPI_SHARED_TARGET_SONAME)
1952 installlibnetapi:: installdirs libnetapi
1953 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1954 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1955 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
1956 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
1957 ln -s -f `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
1958 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
1960 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1961 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1962 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
1964 uninstalllibnetapi::
1965 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
1966 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
1967 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
1968 -rm -f $(DESTDIR)${prefix}/include/netapi.h
1971 installlibs:: @INSTALL_LIBNETAPI@
1972 uninstalllibs:: @UNINSTALL_LIBNETAPI@
1973 cleanlibs:: cleanlibnetapi
1974 shlibs test_shlibs: @LIBNETAPI_SHARED@
1976 #-------------------------------------------------------------------
1980 #-------------------------------------------------------------------
1982 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
1983 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
1984 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
1985 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
1986 LIBSMBCLIENT=$(LIBSMBCLIENT_STATIC_TARGET) @LIBSMBCLIENT_SHARED@
1987 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
1988 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
1990 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
1991 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
1993 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1994 @echo Linking shared library $@
1995 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) \
1996 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \
1997 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1998 @SONAMEFLAG@`basename $@`
2000 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2002 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2004 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2005 @echo Linking non-shared library $@
2006 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2008 libsmbclient: $(LIBSMBCLIENT)
2012 $(LIBSMBCLIENT_SHARED_TARGET) \
2013 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2014 $(LIBSMBCLIENT_STATIC_TARGET)
2016 installlibsmbclient:: installdirs libsmbclient
2017 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2018 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2019 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2020 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2021 ln -s -f `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2022 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2024 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2025 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2026 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2028 installclientlib:: installlibsmbclient
2030 uninstalllibsmbclient::
2031 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2032 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2033 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2034 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2036 uninstallclientlib:: uninstalllibsmbclient
2039 installlibs:: @INSTALL_LIBSMBCLIENT@
2040 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2041 cleanlibs:: cleanlibsmbclient
2042 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2044 #-------------------------------------------------------------------
2048 #-------------------------------------------------------------------
2050 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2052 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0) @LIBTDB_STATIC@
2054 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2055 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2056 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2057 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2058 LIBSMBSHAREMODES=$(LIBSMBSHAREMODES_STATIC_TARGET) @LIBSMBSHAREMODES_SHARED@
2059 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2060 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2062 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2063 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2065 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2066 @echo Linking shared library $@
2067 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2068 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2069 $(KRB5LIBS) $(LDAP_LIBS) \
2070 @SONAMEFLAG@`basename $@`
2072 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2074 @ln -s -f `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2076 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2077 @echo Linking non-shared library $@
2078 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2080 libsmbsharemodes: $(LIBSMBSHAREMODES)
2082 cleanlibsmbsharemodes::
2084 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2085 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2086 $(LIBSMBSHAREMODES_STATIC_TARGET)
2088 installlibsmbsharemodes:: installdirs libsmbsharemodes
2089 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2090 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2091 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2092 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2093 ln -s -f `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2094 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2096 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2097 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2098 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2100 uninstalllibsmbsharemodes::
2101 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2102 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2103 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2104 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2106 libs:: libsmbsharemodes
2107 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2108 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2109 cleanlibs:: cleanlibsmbsharemodes
2110 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2112 #-------------------------------------------------------------------
2116 #-------------------------------------------------------------------
2118 # This is probably wrong for anything other than the GNU linker.
2119 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) @LIBTALLOC_SHARED@
2120 @echo Linking shared library $@
2121 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2122 $(LIBS) $(LIBTALLOC_LIBS) \
2123 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2124 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2125 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2127 # It would be nice to build a static bigballofmud too, but when I try
2128 # I get linker errors about dl_open and similar things. I'm not sure if
2129 # it can be fixed or if they just can't be called from a static
2132 #-------------------------------------------------------------------
2136 #-------------------------------------------------------------------
2138 LIBLUA_OBJ0 = lua-5.1.4/src/lapi.o lua-5.1.4/src/lauxlib.o \
2139 lua-5.1.4/src/lbaselib.o lua-5.1.4/src/lcode.o \
2140 lua-5.1.4/src/ldblib.o lua-5.1.4/src/ldebug.o lua-5.1.4/src/ldo.o \
2141 lua-5.1.4/src/ldump.o lua-5.1.4/src/lfunc.o lua-5.1.4/src/lgc.o \
2142 lua-5.1.4/src/linit.o lua-5.1.4/src/liolib.o lua-5.1.4/src/llex.o \
2143 lua-5.1.4/src/lmathlib.o lua-5.1.4/src/lmem.o \
2144 lua-5.1.4/src/loadlib.o lua-5.1.4/src/lobject.o \
2145 lua-5.1.4/src/lopcodes.o lua-5.1.4/src/loslib.o \
2146 lua-5.1.4/src/lparser.o lua-5.1.4/src/lstate.o \
2147 lua-5.1.4/src/lstring.o lua-5.1.4/src/lstrlib.o \
2148 lua-5.1.4/src/ltable.o lua-5.1.4/src/ltablib.o lua-5.1.4/src/ltm.o \
2149 lua-5.1.4/src/lundump.o lua-5.1.4/src/lvm.o \
2150 lua-5.1.4/src/lzio.o lua-5.1.4/src/print.o
2152 LIBLUA_OBJ = $(LIBLUA_OBJ0)
2154 LIBLUA_SHARED_TARGET=@LIBLUA_SHARED_TARGET@
2155 LIBLUA_SOVER=@LIBLUA_SOVER@
2156 LIBLUA_SHARED_TARGET_SONAME=$(LIBLUA_SHARED_TARGET).$(LIBLUA_SOVER)
2157 LIBLUA_STATIC_TARGET=@LIBLUA_STATIC_TARGET@
2158 LIBLUA=$(LIBLUA_STATIC_TARGET) @LIBLUA_SHARED@
2159 LIBLUA_SYMS=$(srcdir)/exports/liblua.@SYMSEXT@
2160 LIBLUA_HEADERS=$(srcdir)/lua-5.1.4/src/lua.h
2162 $(LIBLUA_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBLUA_OBJ) $(LIBLUA_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2163 @echo Linking shared library $@
2164 @$(SHLD_DSO) $(LIBLUA_OBJ) \
2165 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2166 $(KRB5LIBS) $(LDAP_LIBS) \
2167 @SONAMEFLAG@`basename $@`
2169 $(LIBLUA_SHARED_TARGET): $(LIBLUA_SHARED_TARGET_SONAME)
2171 @ln -s -f `basename $(LIBLUA_SHARED_TARGET_SONAME)` $@
2173 $(LIBLUA_STATIC_TARGET): $(BINARY_PREREQS) $(LIBLUA_OBJ0)
2174 @echo Linking non-shared library $@
2175 @-$(AR) -rc $@ $(LIBLUA_OBJ0)
2181 $(LIBLUA_SHARED_TARGET) \
2182 $(LIBLUA_SHARED_TARGET_SONAME) \
2183 $(LIBLUA_STATIC_TARGET)
2185 installliblua:: installdirs liblua
2186 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2187 -$(INSTALLLIBCMD_SH) $(LIBLUA_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2188 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2189 -if test -e $(LIBLUA_SHARED_TARGET_SONAME) ; then \
2190 ln -s -f `basename $(LIBLUA_SHARED_TARGET_SONAME)` \
2191 $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)` ; \
2193 -$(INSTALLLIBCMD_A) $(LIBLUA_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2194 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2195 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBLUA_HEADERS) $(DESTDIR)${prefix}/include
2198 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2199 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET_SONAME)`
2200 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_STATIC_TARGET)`
2201 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2204 installlibs:: @INSTALL_LIBLUA@
2205 uninstalllibs:: @UNINSTALL_LIBLUA@
2206 cleanlibs:: cleanliblua
2207 shlibs test_shlibs: @LIBLUA_SHARED@
2210 #####################################################################
2214 #####################################################################
2216 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2217 SHLD_MODULE = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2218 -o $@ @SONAMEFLAG@`basename $@`
2220 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSA_OBJ)
2222 @$(SHLD_MODULE) $(RPC_LSA_OBJ)
2224 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2226 @$(SHLD_MODULE) $(RPC_SAMR_OBJ)
2228 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVC_OBJ)
2230 @$(SHLD_MODULE) $(RPC_SVC_OBJ)
2232 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2234 @$(SHLD_MODULE) $(RPC_SVCCTL_OBJ)
2236 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2238 @$(SHLD_MODULE) $(RPC_NTSVCS_OBJ)
2240 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKS_OBJ)
2242 @$(SHLD_MODULE) $(RPC_WKS_OBJ)
2244 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOG_OBJ)
2246 @$(SHLD_MODULE) $(RPC_NETLOG_OBJ)
2248 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_REG_OBJ)
2250 @$(SHLD_MODULE) $(RPC_REG_OBJ)
2252 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2254 @$(SHLD_MODULE) $(RPC_INITSHUTDOWN_OBJ)
2256 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2258 @$(SHLD_MODULE) $(RPC_DSSETUP_OBJ)
2260 bin/librpc_spoolss2.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2262 @$(SHLD_MODULE) $(RPC_SPOOLSS_OBJ)
2264 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2266 @$(SHLD_MODULE) $(RPC_EVENTLOG_OBJ)
2268 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DFS_OBJ)
2270 @$(SHLD_MODULE) $(RPC_DFS_OBJ)
2272 bin/librpc_echo.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_ECHO_OBJ)
2274 @$(SHLD_MODULE) $(RPC_ECHO_OBJ)
2276 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2278 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2279 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2280 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) \
2283 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2285 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2286 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2287 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2288 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) \
2291 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2293 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2294 $(WINBIND_NSS_EXTRA_LIBS) $(WINBIND_NSS_PTHREAD) \
2295 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2297 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2299 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2300 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2301 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2303 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) @LIBWBCLIENT_SHARED@
2305 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(WINBIND_LIBS) \
2306 @SONAMEFLAG@`basename $@`
2308 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@
2309 @echo "Linking shared library
$@
"
2310 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2311 $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) @SONAMEFLAG@`basename $@`
2313 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2314 @echo "Building plugin
$@
"
2315 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2317 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2318 @echo "Building plugin
$@
"
2319 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2321 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2322 @echo "Building plugin
$@
"
2323 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2325 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2326 @echo "Building plugin
$@
"
2327 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2329 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2330 @echo "Building plugin
$@
"
2331 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2333 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2334 @echo "Building plugin
$@
"
2335 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2337 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2338 @echo "Building plugin
$@
"
2339 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2341 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2342 @echo "Building plugin
$@
"
2343 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2345 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2346 @echo "Building plugin
$@
"
2347 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2349 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2350 @echo "Building plugin
$@
"
2351 @$(SHLD_MODULE) passdb/pdb_tdb.o
2353 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2354 @echo "Building plugin
$@
"
2355 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2357 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2358 @echo "Building plugin
$@
"
2359 @$(SHLD_MODULE) winbindd/idmap_rid.o
2361 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2362 @echo "Building plugin
$@
"
2363 @$(SHLD_MODULE) winbindd/idmap_ad.o
2365 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2366 @echo "Building plugin
$@
"
2367 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2369 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2370 @echo "Building plugin
$@
"
2371 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2373 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o
2374 @echo "Building plugin
$@
"
2375 @$(SHLD_MODULE) winbindd/idmap_tdb2.o
2377 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o
2378 @echo "Building plugin
$@
"
2379 @$(SHLD_MODULE) winbindd/idmap_ldap.o
2381 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2382 @echo "Building plugin
$@
"
2383 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2385 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2386 @echo "Building plugin
$@
"
2387 @$(SHLD_MODULE) $(CP850_OBJ)
2389 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2390 @echo "Building plugin
$@
"
2391 @$(SHLD_MODULE) $(CP437_OBJ)
2393 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2394 @echo "Building plugin
$@
"
2395 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2397 # NOTE, there is no build rule for a dynamic default VFS module because
2398 # this one MUST MUST MUST be built statically.
2400 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2401 @echo "Building plugin
$@
"
2402 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2404 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2405 @echo "Building plugin
$@
"
2406 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2408 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2409 @echo "Building plugin
$@
"
2410 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2412 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2413 @echo "Building plugin
$@
"
2414 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2416 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2417 @echo "Building plugin
$@
"
2418 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2420 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2421 @echo "Building plugin
$@
"
2422 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2424 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2425 @echo "Building plugin
$@
"
2426 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2428 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2429 @echo "Building plugin
$@
"
2430 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2432 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2433 @echo "Building plugin
$@
"
2434 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2436 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2437 @echo "Building plugin
$@
"
2438 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2440 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2441 @echo "Building plugin
$@
"
2442 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2444 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2445 @echo "Building plugin
$@
"
2446 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2448 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2449 @echo "Building plugin
$@
"
2450 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2452 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2453 @echo "Building plugin
$@
"
2454 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2456 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2457 @echo "Building plugin
$@
"
2458 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2460 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2461 @echo "Building plugin
$@
"
2462 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2464 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2465 @echo "Building plugin
$@
"
2466 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2468 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2469 @echo "Building plugin
$@
"
2470 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2472 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2473 @echo "Building plugin
$@
"
2474 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2476 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2477 @echo "Building plugin
$@
"
2478 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2480 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2481 @echo "Building plugin
$@
"
2482 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2484 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2485 @echo "Building plugin
$@
"
2486 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2488 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2489 @echo "Building plugin
$@
"
2490 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2492 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2493 @echo "Building plugin
$@
"
2494 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2496 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2497 @echo "Building plugin
$@
"
2498 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2500 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2501 @echo "Building plugin
$@
"
2502 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2504 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2505 @echo "Building plugin
$@
"
2506 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2508 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2509 @echo "Building plugin
$@
"
2510 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2512 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2513 @echo "Building plugin
$@
"
2514 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2516 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2517 @echo "Building plugin
$@
"
2518 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2520 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2521 @echo "Building plugin
$@
"
2522 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2524 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2525 @echo "Building plugin
$@
"
2526 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2528 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2529 @echo "Building plugin
$@
"
2530 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2532 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2533 @echo "Building plugin
$@
"
2534 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2536 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2537 @echo "Building plugin
$@
"
2538 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2540 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2541 @echo "Building plugin
$@
"
2542 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2544 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2545 @echo "Building plugin
$@
"
2546 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2548 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2549 @echo "Building plugin
$@
"
2550 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2552 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2553 @echo "Building plugin
$@
"
2554 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2556 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2557 @echo "Building plugin
$@
"
2558 @$(SHLD_MODULE) libgpo/gpext/registry.o
2560 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2561 @echo "Building plugin
$@
"
2562 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2564 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2565 @echo "Building plugin
$@
"
2566 @$(SHLD_MODULE) libgpo/gpext/security.o
2568 #########################################################
2569 ## IdMap NSS plugins
2571 ## None here right now
2572 #########################################################
2574 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2576 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2577 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2580 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2581 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2583 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2584 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
2585 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2586 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
2588 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2589 @echo "Linking shared library
$@
"
2590 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2591 $(LIBS) $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
2592 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
2594 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2596 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2597 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2599 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2601 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2602 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2604 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2606 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) \
2607 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2609 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2611 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2612 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2614 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
2615 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2616 torture/t_strcmp.o -L ./bin -lbigballofmud
2618 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
2619 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2620 torture/t_strstr.o -L ./bin -lbigballofmud
2622 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
2623 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2624 torture/t_strappend.o -L ./bin -lbigballofmud
2626 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
2627 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
2628 -L./bin -lbigballofmud
2630 bin/timelimit@EXEEXT@: script/tests/timelimit.o
2632 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
2634 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2636 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
2637 $(LIBS) $(LIBTALLOC_LIBS) @LIBTDB_SHARED@ $(WINBIND_LIBS) \
2638 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
2640 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2642 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
2643 $(LDFLAGS) $(DYNEEXP) $(LIBS) \
2645 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2647 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2648 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2649 @INSTALL_PAM_MODULES@ installlibs installmo
2651 install-everything:: install installmodules
2653 # DESTDIR is used here to prevent packagers wasting their time
2654 # duplicating the Makefile. Remove it and you will have the privelege
2655 # of package each samba release for muliple versions of multiple
2656 # distributions and operating systems, or at least supplying patches
2657 # to all the packaging files required for this, prior to committing
2658 # the removal of DESTDIR. Do not remove it even though you think it
2662 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
2663 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
2664 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
2665 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
2667 installservers:: all installdirs
2668 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2670 installbin:: all installdirs
2671 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2673 installcifsmount:: @CIFSMOUNT_PROGS@
2674 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(ROOTSBINDIR)
2675 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2677 installcifsupcall:: @CIFSUPCALL_PROGS@
2678 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(SBINDIR)
2679 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) @CIFSUPCALL_PROGS@
2681 # Some symlinks are required for the 'probing' of modules.
2682 # This mechanism should go at some point..
2683 installmodules:: modules installdirs
2684 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2685 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2686 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2687 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2688 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
2689 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2690 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2691 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2692 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2693 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2694 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2695 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2696 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2697 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2698 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2699 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2700 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
2701 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
2703 installscripts:: installdirs
2704 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2706 installdat:: installdirs
2707 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2709 installmsg:: installdirs
2710 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2712 installswat:: installdirs installmsg
2713 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2715 installpammodules:: $(PAM_MODULES)
2716 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
2717 @for module in $(PAM_MODULES); do \
2718 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2719 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
2720 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
2723 # revert to the previously installed version
2725 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
2726 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
2728 installman:: installdirs
2729 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
2731 installmo:: all installdirs
2732 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2737 @echo "Samba will be installed into
:"
2738 @echo " prefix: $(prefix)"
2739 @echo " bindir: $(BINDIR
)"
2740 @echo " sbindir
: $(SBINDIR
)"
2741 @echo " libdir: $(LIBDIR
)"
2742 @echo " modulesdir
: $(MODULESDIR
)"
2743 @echo " vardir
: $(VARDIR
)"
2744 @echo " mandir: $(MANDIR
)"
2745 @echo " privatedir
: $(PRIVATE_DIR
)"
2746 @echo " configdir
: $(CONFIGDIR
)"
2747 @echo " lockdir
: $(LOCKDIR
)"
2748 @echo " statedir: $(STATEDIR
)"
2749 @echo " cachedir
: $(CACHEDIR
)"
2750 @echo " piddir
: $(PIDDIR
)"
2751 @echo " swatdir
: $(SWATDIR
)"
2752 @echo " codepagedir
: $(CODEPAGEDIR
)"
2755 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
2758 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2761 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
2764 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2767 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2769 uninstallcifsmount::
2770 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2772 uninstallcifsupcall::
2773 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSUPCALL_PROGS@
2776 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2777 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2778 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2779 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2780 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2781 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2782 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2785 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2788 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2791 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2793 uninstallswat:: uninstallmsg
2794 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2796 uninstallpammodules::
2797 @for module in $(PAM_MODULES); do \
2798 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2799 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2802 # Toplevel clean files
2803 TOPFILES=dynconfig.o localedir.o
2806 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
2807 ../libcli/*.o ../libcli/*/*.o
2810 -rm -f include/build_env.h
2811 -rm -f smbd/build_options.c
2812 -rm -f $(PRECOMPILED_HEADER)
2813 -rm -f core */*~ *~ \
2814 */*.o */*/*.o */*/*/*.o \
2815 ../testsuite/*/*.o \
2816 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
2817 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
2818 $(MODULES) $(TORTURE_PROGS) \
2819 $(EVERYTHING_PROGS) \
2821 .headers.stamp */src/*.o \
2823 ../libcli/*.o ../libcli/*/*.o \
2827 include/build_env.h: script/build_env.sh
2828 @echo Building include/build_env.h
2829 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
2830 > $(builddir)/include/build_env.h
2835 etags `find $(srcdir) -name "*.
[ch
]"`
2836 etags --append `find $(srcdir)/../lib -name "*.
[ch
]"`
2837 etags --append `find $(srcdir)/../librpc -name "*.
[ch
]"`
2838 etags --append `find $(srcdir)/../libcli -name "*.
[ch
]"`
2839 etags --append `find $(srcdir)/../source4/client -name "*.
[ch
]"`
2840 etags --append `find $(srcdir)/../source4/auth -name "*.
[ch
]"`
2841 etags --append `find $(srcdir)/../source4/rpc_server -name "*.
[ch
]"`
2842 etags --append `find $(srcdir)/../source4/kdc -name "*.
[ch
]"`
2843 etags --append `find $(srcdir)/../source4/winbind -name "*.
[ch
]"`
2844 etags --append `find $(srcdir)/../source4/scripting -name "*.
[ch
]"`
2845 etags --append `find $(srcdir)/../source4/heimdal_build -name "*.
[ch
]"`
2846 etags --append `find $(srcdir)/../source4/libcli -name "*.
[ch
]"`
2847 etags --append `find $(srcdir)/../source4/ntp_signd -name "*.
[ch
]"`
2848 etags --append `find $(srcdir)/../source4/ldap_server -name "*.
[ch
]"`
2849 etags --append `find $(srcdir)/../source4/smb_server -name "*.
[ch
]"`
2850 etags --append `find $(srcdir)/../source4/include -name "*.
[ch
]"`
2851 etags --append `find $(srcdir)/../nsswitch -name "*.
[ch
]"`
2852 etags --append `find $(srcdir)/../source4/cldap_server -name "*.
[ch
]"`
2853 etags --append `find $(srcdir)/../source4/utils -name "*.
[ch
]"`
2854 etags --append `find $(srcdir)/../source4/librpc -name "*.
[ch
]"`
2855 etags --append `find $(srcdir)/../source4/libnet -name "*.
[ch
]"`
2856 etags --append `find $(srcdir)/../source4/web_server -name "*.
[ch
]"`
2857 etags --append `find $(srcdir)/../source4/heimdal -name "*.
[ch
]"`
2858 etags --append `find $(srcdir)/../source4/wrepl_server -name "*.
[ch
]"`
2859 etags --append `find $(srcdir)/../source4/dynconfig -name "*.
[ch
]"`
2860 etags --append `find $(srcdir)/../source4/param -name "*.
[ch
]"`
2861 etags --append `find $(srcdir)/../source4/lib -name "*.
[ch
]"`
2862 etags --append `find $(srcdir)/../source4/nbt_server -name "*.
[ch
]"`
2863 etags --append `find $(srcdir)/../source4/build -name "*.
[ch
]"`
2864 etags --append `find $(srcdir)/../source4/ntvfs -name "*.
[ch
]"`
2865 etags --append `find $(srcdir)/../source4/torture -name "*.
[ch
]"`
2866 etags --append `find $(srcdir)/../source4/cluster -name "*.
[ch
]"`
2867 etags --append `find $(srcdir)/../source4/ntptr -name "*.
[ch
]"`
2868 etags --append `find $(srcdir)/../source4/smbd -name "*.
[ch
]"`
2869 etags --append `find $(srcdir)/../source4/script -name "*.
[ch
]"`
2870 etags --append `find $(srcdir)/../source4/dsdb -name "*.
[ch
]"`
2873 ctags `find $(srcdir)/.. -name "*.
[ch
]" | grep -v include/proto\.h`
2876 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
2877 -rm -f script/installbin.sh script/uninstallbin.sh
2879 distclean:: realclean
2881 -rm -f include/config.h Makefile
2882 -rm -f config.status config.cache so_locations
2885 realdistclean:: distclean
2886 -rm -f include/config.h.in
2887 -rm -f include/version.h
2890 # this target is really just for my use. It only works on a limited
2891 # range of machines and is used to produce a list of potentially
2892 # dead (ie. unused) functions in the code. (tridge)
2894 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
2895 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
2896 comm -13 nmused.txt nmfns.txt
2899 # when configure.in is updated, reconfigure
2900 $(srcdir)/configure: $(srcdir)/configure.in
2901 @echo "WARNING
: you need to rerun .
/autogen.sh
"
2903 config.status: $(srcdir)/configure
2904 @echo "WARNING
: you need to run .
/configure
"
2906 Makefile: $(srcdir)/Makefile.in config.status
2907 @echo "WARNING
: you need to run .
/config.status
"
2909 ######################################################################
2910 # Samba Testing Framework
2912 # Check shared libs for unresolved symbols
2915 @$(LIB_PATH_VAR)=./bin && \
2916 export $(LIB_PATH_VAR) && \
2917 for module in $?; do \
2918 ./script/tests/dlopen.sh $${module} \
2922 # Check for NSS module problems.
2923 test_nss_modules:: nss_modules
2924 @echo "Testing
$(NSS_MODULES
) "
2925 @$(LIB_PATH_VAR)=./bin && \
2926 export $(LIB_PATH_VAR) && \
2927 for module in $(NSS_MODULES); do \
2928 ./script/tests/dlopen.sh $${module} \
2932 # Check for PAM module problems. Specifically, check that every module we
2933 # built can actually be loaded by a minimal PAM-aware application.
2934 test_pam_modules:: pam_modules
2935 @echo "Testing
$(PAM_MODULES
) "
2936 @$(LIB_PATH_VAR)=./bin && \
2937 export $(LIB_PATH_VAR) && \
2938 for module in $(PAM_MODULES); do \
2939 ./script/tests/dlopen.sh -lpam -ldl bin/$${module}.@SHLIBEXT@ \
2945 ## Targets for 'make test'
2948 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
2950 test:: all torture timelimit
2951 @echo Running Test suite
2952 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
2954 valgrindtest:: all torture timelimit
2955 @echo Running Test suite with valgrind
2956 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
2957 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2958 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2959 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2960 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
2961 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
2963 SELFTEST_FORMAT = plain
2964 selftestdir = ../selftest
2966 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
"
2968 selftest:: all torture timelimit
2969 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
2970 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
2971 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
2972 $(PERL) $(selftestdir)/selftest.pl \
2973 --prefix=${selftest_prefix} --target=samba3 \
2974 --testlist="$(srcdir)/selftest
/tests.sh|
" \
2975 --expected-failures=$(srcdir)/selftest/knownfail \
2976 --exclude=$(srcdir)/selftest/skip \
2977 --socket-wrapper $(TESTS) --format=$(SELFTEST_FORMAT) --immediate
2980 $(MAKE) selftest TESTS=$*
2982 # Check for Winbind struct 32/64bit padding
2984 @echo "Testing winbind request
/response structure for
32/64bit padding
"
2985 @./script/tests/wb_pad.sh || exit 1;
2991 libsmbclient_examples: libsmbclient
2992 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
2994 clean_libsmbclient_examples:
2995 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
2997 libnetapi_examples: libnetapi
2998 $(MAKE) -C lib/netapi/examples
3000 clean_libnetapi_examples:
3001 $(MAKE) -C lib/netapi/examples clean