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 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_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@
76 AVAHI_LIBS
=@AVAHI_LIBS@
78 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
79 LIBTDB_LIBS
=@LIBTDB_LIBS@
80 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
81 LIBLUA_LIBS
=@LIBLUA_LIBS@
82 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
83 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
86 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
87 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
88 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
89 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
93 builddir
=@abs_builddir@
97 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
98 # will search for a POSIX-compliant shell, and that might not be
99 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
101 # See the autoconf manual "Installation Directory Variables" for a
102 # discussion of the subtle use of these variables.
106 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
108 ROOTSBINDIR
= @rootsbindir@
110 MODULESDIR
= @modulesdir@
111 INCLUDEDIR
=@
includedir@
112 PAMMODULESDIR
= @pammodulesdir@
113 VFSLIBDIR
= $(MODULESDIR
)/vfs
114 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
115 PDBLIBDIR
= $(MODULESDIR
)/pdb
116 RPCLIBDIR
= $(MODULESDIR
)/rpc
117 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
118 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
119 CHARSETLIBDIR
= $(MODULESDIR
)/charset
120 AUTHLIBDIR
= $(MODULESDIR
)/auth
121 CONFIGLIBDIR
= $(MODULESDIR
)/config
122 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
123 CONFIGDIR
= @configdir@
124 VARDIR
= @localstatedir@
128 # The permissions to give the executables and other data
129 INSTALLPERMS_BIN
= 0755
130 INSTALLPERMS_DATA
= 0644
132 # set these to where to find various files
133 # These can be overridden by command line switches (see smbd(8))
134 # or in smb.conf (see smb.conf(5))
135 LOGFILEBASE
= @logfilebase@
136 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
137 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
138 NCALRPCDIR
= @ncalrpcdir@
140 # This is where smbpasswd et al go
141 PRIVATEDIR
= @privatedir@
143 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
144 PRIVATE_DIR
= $(PRIVATEDIR
)
146 # This is where SWAT images and help files go
149 # This is where locale(mo) files go
150 LOCALEDIR
= @localedir@
152 # the directory where lock files go
155 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
156 CACHEDIR
= @cachedir@
157 STATEDIR
= @
statedir@
159 # Where to look for (and install) codepage databases.
160 CODEPAGEDIR
= @codepagedir@
162 # the directory where pid files go
176 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
177 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
178 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
179 -DSBINDIR
=\"$(SBINDIR
)\" \
180 -DBINDIR
=\"$(BINDIR
)\" \
181 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
182 -DSWATDIR
=\"$(SWATDIR
)\" \
183 -DLOCKDIR
=\"$(LOCKDIR
)\" \
184 -DPIDDIR
=\"$(PIDDIR
)\" \
185 -DLIBDIR
=\"$(LIBDIR
)\" \
186 -DMODULESDIR
=\"$(MODULESDIR
)\" \
187 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
188 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
189 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
190 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
191 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
192 -DCACHEDIR
=\"$(CACHEDIR
)\" \
193 -DSTATEDIR
=\"$(STATEDIR
)\" \
194 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
196 # Note that all executable programs now provide for an optional executable suffix.
198 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
200 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
202 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
203 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
204 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
205 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
207 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
208 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
209 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
210 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
211 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@ bin
/ldbrename@EXEEXT@
213 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
214 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
215 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
216 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
217 bin
/tdbtorture@EXEEXT@ \
218 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
220 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
221 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
223 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
224 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
225 bin
/log2pcap@EXEEXT@ \
226 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
228 PAM_MODULES
= @PAM_MODULES@
230 NSS_MODULES
= @NSS_MODULES@
232 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
234 VFS_MODULES
= @VFS_MODULES@
235 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
236 PDB_MODULES
= @PDB_MODULES@
237 RPC_MODULES
= @RPC_MODULES@
238 IDMAP_MODULES
= @IDMAP_MODULES@
239 CHARSET_MODULES
= @CHARSET_MODULES@
240 AUTH_MODULES
= @AUTH_MODULES@
241 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
242 GPEXT_MODULES
= @GPEXT_MODULES@
243 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
244 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
245 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
247 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
249 ######################################################################
251 ######################################################################
253 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
254 lib
/dbwrap.o lib
/dbwrap_tdb.o \
258 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
260 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
262 VERSION_OBJ
= lib
/version.o
264 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
268 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
270 AVAHI_OBJ
= @AVAHI_OBJ@
272 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
274 PASSCHANGE_OBJ
= libsmb
/passchange.o
276 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
277 ..
/librpc
/ndr
/ndr_compression.o \
278 ..
/librpc
/gen_ndr
/ndr_drsuapi.o \
279 ..
/librpc
/ndr
/ndr_drsblobs.o \
280 ..
/librpc
/gen_ndr
/ndr_drsblobs.o
282 ZLIB_OBJ
= @ZLIB_OBJS@
284 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
285 ..
/lib
/compression
/lzxpress.o \
288 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
291 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
292 ..
/librpc
/ndr
/ndr.o \
293 ..
/librpc
/ndr
/ndr_misc.o \
294 ..
/librpc
/gen_ndr
/ndr_misc.o \
295 ..
/librpc
/gen_ndr
/ndr_security.o \
296 ..
/librpc
/ndr
/ndr_sec_helper.o \
297 librpc
/ndr
/ndr_string.o \
298 ..
/librpc
/ndr
/uuid.o \
301 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
303 LIBNDR_GEN_OBJ0
= ..
/librpc
/gen_ndr
/ndr_samr.o \
304 ..
/librpc
/gen_ndr
/ndr_lsa.o
306 LIBNDR_GEN_OBJ1
= ..
/librpc
/gen_ndr
/ndr_netlogon.o \
307 ..
/librpc
/ndr
/ndr_netlogon.o
309 LIBNDR_GEN_OBJ2
= ..
/librpc
/gen_ndr
/ndr_spoolss.o \
310 ..
/librpc
/ndr
/ndr_spoolss_buf.o
312 LIBNDR_GEN_OBJ
= ..
/librpc
/gen_ndr
/ndr_wkssvc.o \
314 ..
/librpc
/gen_ndr
/ndr_dfs.o \
315 ..
/librpc
/gen_ndr
/ndr_echo.o \
316 ..
/librpc
/gen_ndr
/ndr_winreg.o \
317 ..
/librpc
/gen_ndr
/ndr_initshutdown.o \
318 ..
/librpc
/gen_ndr
/ndr_srvsvc.o \
319 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
321 ..
/librpc
/gen_ndr
/ndr_dssetup.o \
322 librpc
/gen_ndr
/ndr_notify.o \
323 ..
/librpc
/gen_ndr
/ndr_xattr.o \
324 ..
/librpc
/gen_ndr
/ndr_epmapper.o \
325 ..
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
326 ..
/librpc
/gen_ndr
/ndr_ntsvcs.o \
329 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
331 # this includes only the low level parse code, not stuff
332 # that requires knowledge of security contexts
333 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
)
335 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
336 rpc_client
/init_netlogon.o \
337 rpc_client
/init_lsa.o
339 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
341 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
342 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
346 $(SOCKET_WRAPPER_OBJ
) \
349 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
350 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
351 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
352 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
353 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
354 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
355 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
356 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o
358 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
359 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
362 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
363 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
364 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
365 lib
/interfaces.o lib
/memcache.o \
366 lib
/util_transfer_file.o ..
/lib
/async_req
/async_req.o \
367 ..
/lib
/async_req
/async_sock.o ..
/lib
/async_req
/async_req_ntstatus.o \
369 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
370 lib
/interface.o lib
/pidfile.o \
371 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
373 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
374 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
376 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
377 lib
/util_unistr.o lib
/util_file.o \
378 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
379 lib
/substitute.o lib
/dbwrap_util.o \
380 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
381 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
382 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
383 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
384 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
385 lib
/ldap_escape.o @CHARSET_STATIC@ \
386 lib
/secdesc.o lib
/util_seaccess.o ..
/libcli
/security
/secace.o \
387 ..
/libcli
/security
/secacl.o \
388 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
389 lib
/file_id.o lib
/idmap_cache.o \
390 ..
/libcli
/security
/dom_sid.o
392 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
393 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
395 READLINE_OBJ
= lib
/readline.o
397 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
398 # Be sure to include them into your application
399 POPT_LIB_OBJ
= lib
/popt_common.o
401 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
402 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
403 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
405 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
407 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
408 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
409 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
411 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
413 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
414 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
417 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
419 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
420 libads
/sasl.o libads
/sasl_wrapping.o \
421 libads
/krb5_setpw.o libads
/ldap_user.o \
422 libads
/ads_struct.o libads
/kerberos_keytab.o \
423 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
424 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
426 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
427 ..
/librpc
/ndr
/ndr_krb5pac.o \
428 ..
/librpc
/gen_ndr
/ndr_krb5pac.o
430 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
432 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
433 ..
/libcli
/netlogon.o \
434 ..
/libcli
/ndr_netlogon.o \
435 ..
/librpc
/gen_ndr
/ndr_nbt.o \
436 ..
/librpc
/gen_ndr
/ndr_svcctl.o \
437 ..
/librpc
/ndr
/ndr_svcctl.o
439 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
440 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
442 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
443 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
444 ERRORMAP_OBJ
= libsmb
/errormap.o
445 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
447 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
448 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
450 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
455 libsmb
/ntlm_check.o \
457 libsmb
/ntlmssp_sign.o
459 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
462 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
463 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o
465 CLDAP_OBJ
= libads
/cldap.o
$(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
467 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
468 libsmb
/clikrb5.o libsmb
/clispnego.o ..
/lib
/util
/asn1.o \
469 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
470 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
471 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
472 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
473 libsmb
/credentials.o \
474 libsmb
/clioplock.o libsmb
/clirap2.o \
475 libsmb
/smb_seal.o libsmb
/async_smb.o \
482 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
484 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
485 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
486 rpc_client
/cli_spoolss.o \
487 rpc_client
/init_spoolss.o \
488 rpc_client
/init_samr.o \
489 librpc
/rpc
/dcerpc.o \
490 ..
/librpc
/rpc
/binding.o
492 LIBMSRPC_GEN_OBJ
= ..
/librpc
/gen_ndr
/cli_lsa.o \
493 ..
/librpc
/gen_ndr
/cli_dfs.o \
494 ..
/librpc
/gen_ndr
/cli_echo.o \
495 ..
/librpc
/gen_ndr
/cli_srvsvc.o \
496 ..
/librpc
/gen_ndr
/cli_svcctl.o \
497 ..
/librpc
/gen_ndr
/cli_winreg.o \
498 ..
/librpc
/gen_ndr
/cli_initshutdown.o \
499 ..
/librpc
/gen_ndr
/cli_eventlog.o \
500 ..
/librpc
/gen_ndr
/cli_wkssvc.o \
501 ..
/librpc
/gen_ndr
/cli_netlogon.o \
502 ..
/librpc
/gen_ndr
/cli_samr.o \
503 ..
/librpc
/gen_ndr
/cli_dssetup.o \
504 ..
/librpc
/gen_ndr
/cli_ntsvcs.o \
505 ..
/librpc
/gen_ndr
/cli_epmapper.o \
506 ..
/librpc
/gen_ndr
/cli_drsuapi.o \
507 ..
/librpc
/gen_ndr
/cli_spoolss.o \
512 # registry-related objects
514 UTIL_REG_OBJ
= lib
/util_reg.o
515 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
517 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
518 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
519 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
521 REGFIO_OBJ
= registry
/regfio.o
523 REGOBJS_OBJ
= registry
/reg_objects.o
525 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
527 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
529 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
530 registry
/reg_backend_shares.o \
531 registry
/reg_backend_netlogon_params.o \
532 registry
/reg_backend_prod_options.o \
533 registry
/reg_backend_tcpip_params.o \
534 registry
/reg_backend_hkpt_params.o \
535 registry
/reg_backend_current_version.o \
536 registry
/reg_backend_perflib.o
538 REG_BASE_OBJ
= registry
/reg_api.o \
539 registry
/reg_dispatcher.o \
540 registry
/reg_cachehook.o \
543 registry
/reg_util.o \
544 $(UTIL_REG_API_OBJ
) \
546 $(REG_BACKENDS_BASE_OBJ
) \
547 $(REG_INIT_BASIC_OBJ
)
549 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
550 $(REG_BACKENDS_SMBCONF_OBJ
) \
551 $(REG_INIT_SMBCONF_OBJ
)
553 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
554 $(REG_BACKENDS_EXTRA_OBJ
) \
555 $(REG_INIT_FULL_OBJ
) \
556 registry
/reg_eventlog.o \
557 registry
/reg_perfcount.o \
558 registry
/reg_util_legacy.o
560 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
562 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o ..
/librpc
/gen_ndr
/srv_lsa.o
564 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
565 ..
/librpc
/gen_ndr
/srv_netlogon.o
567 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
568 rpc_server
/srv_samr_util.o \
569 ..
/librpc
/gen_ndr
/srv_samr.o
571 RPC_INITSHUTDOWN_OBJ
= ..
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
573 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
574 ..
/librpc
/gen_ndr
/srv_winreg.o
576 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o ..
/librpc
/gen_ndr
/srv_dssetup.o
578 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
579 ..
/librpc
/gen_ndr
/srv_srvsvc.o
581 RPC_WKS_OBJ
= ..
/librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
583 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
584 ..
/librpc
/gen_ndr
/srv_svcctl.o \
585 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
586 services
/svc_netlogon.o services
/svc_winreg.o \
589 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
590 ..
/librpc
/gen_ndr
/srv_ntsvcs.o
592 RPC_DFS_OBJ
= ..
/librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
594 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
595 ..
/librpc
/gen_ndr
/srv_spoolss.o
597 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
598 $(LIB_EVENTLOG_OBJ
) ..
/librpc
/gen_ndr
/srv_eventlog.o
600 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
601 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
603 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o ..
/librpc
/gen_ndr
/srv_echo.o
605 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
607 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
)
609 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o rpc_client
/rpc_transport_np.o \
610 rpc_client
/rpc_transport_sock.o rpc_client
/rpc_transport_smbd.o
612 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
614 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
616 PRIVILEGES_OBJ
= lib
/privileges.o
618 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
620 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
621 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
622 passdb
/util_unixsids.o passdb
/lookup_sid.o \
623 passdb
/login_cache.o @PDB_STATIC@ \
624 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
625 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
627 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
628 CP850_OBJ
= modules
/CP850.o
629 CP437_OBJ
= modules
/CP437.o
630 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
632 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
634 PROFILE_OBJ
= profile
/profile.o
635 PROFILES_OBJ
= utils
/profiles.o \
638 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
641 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
644 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
646 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
647 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
648 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
649 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
650 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
651 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
652 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
653 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
654 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
655 VFS_CAP_OBJ
= modules
/vfs_cap.o
656 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
657 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
658 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
659 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
660 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
661 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
662 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
663 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
664 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
665 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
666 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
667 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
668 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
669 VFS_CATIA_OBJ
= modules
/vfs_catia.o
670 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
671 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
672 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
673 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
674 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
675 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
676 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
677 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
678 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
679 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
680 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
681 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
682 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
683 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
684 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
685 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
686 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
687 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
688 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
689 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
690 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
691 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
692 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
694 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
696 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
698 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
700 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
701 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
702 AUTH_SAM_OBJ
= auth
/auth_sam.o
703 AUTH_SERVER_OBJ
= auth
/auth_server.o
704 AUTH_UNIX_OBJ
= auth
/auth_unix.o
705 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
706 AUTH_WBC_OBJ
= auth
/auth_wbc.o
707 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
708 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
710 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
711 auth
/auth_compat.o auth
/auth_ntlmssp.o \
712 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
714 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
716 SMBD_OBJ_MAIN
= smbd
/server.o
718 BUILDOPT_OBJ
= smbd
/build_options.o
720 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
721 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
722 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
723 smbd
/share_access.o smbd
/fileio.o \
724 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
725 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
726 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
727 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
728 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
729 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
730 smbd
/posix_acls.o lib
/sysacls.o \
731 smbd
/process.o smbd
/service.o smbd
/error.o \
732 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
733 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
734 smbd
/change_trust_pw.o smbd
/fake_file.o \
735 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
736 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
739 smbd
/dnsregister.o smbd
/globals.o \
740 $(MANGLE_OBJ
) @VFS_STATIC@
742 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
743 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
744 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
745 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
746 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
747 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
748 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
749 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
750 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) \
752 $(PRIVILEGES_BASIC_OBJ
)
754 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
755 printing
/print_cups.o printing
/print_generic.o \
756 printing
/lpq_parse.o printing
/load.o \
757 printing
/print_iprint.o
759 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
760 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
762 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
764 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
765 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
766 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
767 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
768 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
769 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
770 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
771 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
772 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
773 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
774 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
775 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
777 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
778 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
781 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
782 web
/swat.o web
/neg_lang.o
784 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
785 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
786 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
787 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
788 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
790 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
791 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
792 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
795 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
796 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
800 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
801 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
802 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
803 $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
805 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
808 TESTPARM_OBJ
= utils
/testparm.o \
809 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
812 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
813 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
814 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
816 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
818 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
819 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
820 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
821 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
822 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
824 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
826 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
827 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o \
830 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
832 DISPLAY_SEC_OBJ
= lib
/display_sec.o
834 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
835 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
836 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
837 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
838 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
839 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
840 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
841 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
844 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
845 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
846 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
847 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
848 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
849 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
851 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o localedir.o
$(WBCOMMON_OBJ
) \
852 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
854 LIBSMBCLIENT_OBJ0
= \
855 libsmb
/libsmb_cache.o \
856 libsmb
/libsmb_compat.o \
857 libsmb
/libsmb_context.o \
858 libsmb
/libsmb_dir.o \
859 libsmb
/libsmb_file.o \
860 libsmb
/libsmb_misc.o \
861 libsmb
/libsmb_path.o \
862 libsmb
/libsmb_printjob.o \
863 libsmb
/libsmb_server.o \
864 libsmb
/libsmb_stat.o \
865 libsmb
/libsmb_xattr.o \
866 libsmb
/libsmb_setget.o
868 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
869 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
870 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
871 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
872 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
874 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
876 # This shared library is intended for linking with unit test programs
877 # to test Samba internals. It's called libbigballofmud.so to
878 # discourage casual usage.
880 LIBBIGBALLOFMUD_MAJOR
= 0
882 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
883 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
884 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
886 CLIENT_OBJ1
= client
/client.o client
/clitar.o
$(RPC_CLIENT_OBJ
) \
887 ..
/librpc
/rpc
/binding.o \
892 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
893 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
894 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
895 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
898 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
899 ..
/lib
/smbconf
/smbconf_util.o \
900 ..
/lib
/smbconf
/smbconf_txt.o \
901 lib
/smbconf
/smbconf_reg.o \
902 lib
/smbconf
/smbconf_init.o
904 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
906 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
912 LIBNET_OBJ
= libnet
/libnet_join.o \
913 libnet
/libnet_keytab.o \
914 libnet
/libnet_samsync.o \
915 libnet
/libnet_samsync_ldif.o \
916 libnet
/libnet_samsync_passdb.o \
917 libnet
/libnet_samsync_display.o \
918 libnet
/libnet_samsync_keytab.o \
919 libnet
/libnet_dssync.o \
920 libnet
/libnet_dssync_keytab.o \
921 librpc
/gen_ndr
/ndr_libnet_join.o
923 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
924 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
925 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
926 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
927 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
928 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
929 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
930 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
931 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
932 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
933 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
934 auth
/token_util.o utils
/net_dom.o utils
/net_share.o utils
/net_lua.o \
937 # these are not processed by make proto
938 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
940 NET_OBJ
= $(NET_OBJ1
) \
941 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
942 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
943 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
944 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
945 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
946 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
947 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
948 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
949 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
950 $(REG_SMBCONF_OBJ
) $(LIBNET_OBJ
) \
952 $(PRIVILEGES_BASIC_OBJ
) \
955 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
956 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
959 CIFS_MOUNT_OBJ
= client
/mount.cifs.o client
/mtab.o
961 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o client
/mtab.o
963 CIFS_UPCALL_OBJ
= client
/cifs.upcall.o
965 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
966 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
968 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
969 torture
/denytest.o torture
/mangle_test.o
971 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
972 $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
973 lib
/wb_reqtrans.o lib
/wbclient.o \
976 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
980 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
984 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
985 $(LIBSMB_OBJ
) $(LDB_OBJ
) $(LIB_NONSMBD_OBJ
) \
988 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
992 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
993 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
994 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
997 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
999 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1001 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1003 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
1004 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1007 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1008 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
1009 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1010 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1012 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1014 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
1015 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1016 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
1018 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1020 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1022 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1023 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
1024 ..
/librpc
/gen_ndr
/ndr_lsa.o
1026 SHARESEC_OBJ0
= utils
/sharesec.o
1027 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1031 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1032 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSAMBA_OBJ
)
1034 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1035 @libreplacedir@
/test/getifaddrs.o \
1036 @libreplacedir@
/test/os2_delete.o \
1037 @libreplacedir@
/test/strptime.o \
1038 @libreplacedir@
/test/main.o \
1041 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1043 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
1044 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1047 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1048 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
1051 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1052 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1053 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1054 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1057 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
1059 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1062 winbindd
/idmap_hash
/idmap_hash.o \
1063 winbindd
/idmap_hash
/mapfile.o
1066 winbindd
/idmap_adex
/idmap_adex.o \
1067 winbindd
/idmap_adex
/cell_util.o \
1068 winbindd
/idmap_adex
/likewise_cell.o \
1069 winbindd
/idmap_adex
/provider_unified.o \
1070 winbindd
/idmap_adex
/gc_util.o \
1071 winbindd
/idmap_adex
/domain_util.o
1074 winbindd
/winbindd.o \
1075 winbindd
/winbindd_user.o \
1076 winbindd
/winbindd_group.o \
1077 winbindd
/winbindd_util.o \
1078 winbindd
/winbindd_cache.o \
1079 winbindd
/winbindd_pam.o \
1080 winbindd
/winbindd_sid.o \
1081 winbindd
/winbindd_misc.o \
1082 winbindd
/winbindd_cm.o \
1083 winbindd
/winbindd_wins.o \
1084 winbindd
/winbindd_rpc.o \
1085 winbindd
/winbindd_reconnect.o \
1086 winbindd
/winbindd_ads.o \
1087 winbindd
/winbindd_passdb.o \
1088 winbindd
/winbindd_dual.o \
1089 winbindd
/winbindd_async.o \
1090 winbindd
/winbindd_creds.o \
1091 winbindd
/winbindd_cred_cache.o \
1092 winbindd
/winbindd_ccache_access.o \
1093 winbindd
/winbindd_domain.o \
1094 winbindd
/winbindd_idmap.o \
1095 winbindd
/winbindd_locator.o \
1096 winbindd
/winbindd_ndr.o \
1101 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1102 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1103 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1104 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1105 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1106 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1107 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1108 $(LIBADS_SERVER_OBJ
) $(LDB_OBJ
) \
1111 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1112 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1113 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1115 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1117 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1118 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1119 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1120 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1121 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1123 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1124 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1125 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1127 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1128 lib
/ldb
/modules
/objectclass.o \
1129 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1131 # enabled in configure.in
1132 LDB_LDAP_OBJ
=@LDBLDAP@
1134 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1136 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1137 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1138 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1139 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1142 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1143 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1144 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1145 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1146 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1147 LDBRENAME_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbrename.o
1149 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1150 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1152 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1153 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1155 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1156 iniparser_build
/strlib.o
1158 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1159 $(SOCKET_WRAPPER_OBJ
)
1161 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1162 $(SOCKET_WRAPPER_OBJ
)
1164 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1165 $(SOCKET_WRAPPER_OBJ
)
1167 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1168 $(SOCKET_WRAPPER_OBJ
)
1171 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1173 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1174 ..
/lib
/util
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1175 $(LIBADS_SERVER_OBJ
) \
1176 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1177 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1178 $(LDB_OBJ
) $(WBCOMMON_OBJ
) \
1179 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1182 VLP_OBJ1
= printing
/tests
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
1184 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1185 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1186 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1187 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1190 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1194 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1195 $(LIB_NONSMBD_OBJ
) \
1198 $(RPC_CLIENT_OBJ1
) \
1199 rpc_client
/cli_pipe.o \
1200 ..
/librpc
/rpc
/binding.o \
1204 ######################################################################
1206 ######################################################################
1207 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1208 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @CIFSUPCALL_PROGS@ \
1209 $(EXTRA_ALL_TARGETS
)
1213 nss_modules
:: $(NSS_MODULES
)
1215 pam_modules
:: $(PAM_MODULES
)
1217 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1219 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1221 gpext_modules
:: $(GPEXT_MODULES
)
1223 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1225 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1227 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1229 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1231 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1233 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1235 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1237 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1239 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1241 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1243 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1245 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1247 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1249 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1251 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1253 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1255 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1256 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1257 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1259 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1261 modules
:: SHOWFLAGS
$(MODULES
)
1263 #####################################################################
1264 ## Perl IDL Compiler
1266 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1267 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1268 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1269 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh \
1270 librpc
/idl
/messaging.idl librpc
/idl
/libnetapi.idl librpc
/idl
/notify.idl
1272 #####################################################################
1275 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1279 .SUFFIXES
: .c .o .lo
1281 .PHONY
: showflags SHOWFLAGS
1283 showflags
: SHOWFLAGS
1286 @echo
"Using CFLAGS = $(CFLAGS)"
1287 @echo
" PICFLAG = $(PICFLAG)"
1288 @echo
" LIBS = $(LIBS)"
1289 @echo
" LDFLAGS = $(LDFLAGS)"
1290 @echo
" DYNEXP = $(DYNEXP)"
1291 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1292 @echo
" SHLIBEXT = @SHLIBEXT@"
1293 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1295 # "showcflags" target for debuggin how CFLAGS are composed:
1297 .PHONY
: showcflags SHOWCFLAGS
1299 showcflags
: SHOWCFLAGS
1302 @echo
"CFLAGS = $(CFLAGS)"
1303 @echo
"FLAGS = $(FLAGS)"
1305 @echo
"FLAGS1 = @FLAGS1@"
1306 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1307 @echo
"CPPFLAGS = $(CPPFLAGS)"
1308 @echo
"ISA = $(ISA)"
1310 MAKEDIR
= || exec false
; \
1311 if
test -d
"$$dir"; then
:; else \
1312 echo mkdir
"$$dir"; \
1313 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1314 test -d
"$$dir" || \
1316 exec false
; fi || exec false
1318 # Run a static checker.
1319 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1320 # Compile a source file.
1321 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1322 # Compile a source file with the installation paths defined.
1323 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1325 COMPILE
= $(COMPILE_CC
)
1328 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1329 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1330 @if
test -n
"$(CC_CHECKER)"; then \
1331 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1334 @echo Compiling
$*.c
1335 @
$(COMPILE
) && exit
0;\
1336 echo
"The following command failed:" 1>&2;\
1337 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1338 $(COMPILE_CC) >/dev/null 2>&1
1339 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1341 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1343 # this adds support for precompiled headers. To use it, install a snapshot
1344 # of gcc-3.4 and run 'make pch' before you do the main build.
1346 rm -f $(PRECOMPILED_HEADER)
1347 $(MAKE) $(PRECOMPILED_HEADER)
1349 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1352 BINARY_PREREQS = bin/.dummy
1354 # These dependencies are only approximately correct: we want to make
1355 # sure Samba's paths are updated if ./configure is re-run. Really it
1356 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1357 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1358 # rebuild it's a bit hard.
1360 dynconfig.o: dynconfig.c Makefile
1361 @echo Compiling $*.c
1362 @$(COMPILE_CC_PATH) && exit 0;\
1363 echo "The following command failed
:" 1>&2;\
1364 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1365 $(COMPILE_CC_PATH) >/dev/null 2>&1
1367 localedir.o: localedir.c Makefile
1368 @echo Compiling $*.c
1369 @$(COMPILE_CC_PATH) && exit 0;\
1370 echo "The following command failed
:" 1>&2;\
1371 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1372 $(COMPILE_CC_PATH) >/dev/null 2>&1
1374 lib/pidfile.o: lib/pidfile.c
1375 @echo Compiling $*.c
1376 @$(COMPILE_CC_PATH) && exit 0;\
1377 echo "The following command failed
:" 1>&2;\
1378 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1379 $(COMPILE_CC_PATH) >/dev/null 2>&1
1381 lib/version.o: lib/version.c include/version.h
1382 @echo Compiling $*.c
1383 @$(COMPILE_CC_PATH) && exit 0;\
1384 echo "The following command failed
:" 1>&2;\
1385 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1386 $(COMPILE_CC_PATH) >/dev/null 2>&1
1388 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1389 @echo Compiling $*.c
1390 @$(COMPILE_CC_PATH) && exit 0;\
1391 echo "The following command failed
:" 1>&2;\
1392 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1393 $(COMPILE_CC_PATH) >/dev/null 2>&1
1395 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1397 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1400 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1401 dir=bin $(MAKEDIR); fi
1402 @: >> $@ || : > $@ # what a fancy emoticon!
1404 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@ @BUILD_POPT@
1406 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \
1407 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1408 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1409 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1410 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1412 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1414 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1415 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1416 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1418 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1420 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1421 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1422 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1424 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1426 @$(CC) -o $@ $(LDFLAGS) $(PASSDB_LIBS) $(RPCCLIENT_OBJ) \
1427 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1428 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1429 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1431 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1433 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1434 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1435 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1436 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1438 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@ @LIBNETAPI_TARGET@ @LIBLUA_TARGET@
1440 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1441 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1442 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1443 @INIPARSERLIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) $(LIBLUA_LIBS) -lm \
1446 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1448 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1449 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1451 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1453 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1454 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1456 bin/mount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_MOUNT_OBJ)
1458 @$(CC) -o $@ $(CIFS_MOUNT_OBJ) $(DYNEXP) $(LDFLAGS)
1460 bin/umount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UMOUNT_OBJ)
1462 @$(CC) -o $@ $(CIFS_UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS)
1464 bin/cifs.upcall@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UPCALL_OBJ) $(LIBSMBCLIENT_OBJ1) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1466 @$(CC) -o $@ $(CIFS_UPCALL_OBJ) $(DYNEXP) $(LDFLAGS) \
1467 -lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \
1468 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
1469 $(LIBTDB_LIBS) $(NSCD_LIBS)
1471 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1473 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1474 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1476 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1478 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1479 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1481 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1483 @$(CC) -DUSING_SMBCONTROL -o $@ \
1484 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1485 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1486 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1488 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1490 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1491 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1492 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1494 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1496 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1497 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1498 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1500 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1502 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1503 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1504 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1506 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1508 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1509 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1510 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1512 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1514 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1515 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1517 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1519 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1520 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1521 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1523 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1525 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1526 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1527 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1529 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@
1531 @$(CC) @PIE_LDFLAGS@ -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1532 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1534 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1536 @$(CC) @PIE_LDFLAGS@ -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1537 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1538 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1540 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1542 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1543 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1544 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1546 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1548 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1549 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1550 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1552 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1554 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1555 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1556 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1558 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1560 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1561 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1562 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1564 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1566 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1567 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1569 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1571 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1572 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1574 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1576 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1577 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1578 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1580 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1582 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1583 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1584 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1586 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1588 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1589 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1590 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1592 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1594 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1595 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1596 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1597 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1598 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1600 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1602 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1603 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1604 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1606 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@
1608 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1609 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1611 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1613 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1614 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1615 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1617 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@
1619 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1620 $(LIBS) $(LIBTALLOC_LIBS)
1622 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1624 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS) \
1625 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1626 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1628 bin/ldbedit: $(BINARY_PREREQS) $(LDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1630 @$(CC) -o $@ $(LDBEDIT_OBJ) $(DYNEXP) $(LDFLAGS) \
1631 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1632 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1634 bin/ldbsearch: $(BINARY_PREREQS) $(LDBSEARCH_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1636 @$(CC) -o $@ $(LDBSEARCH_OBJ) $(DYNEXP) $(LDFLAGS) \
1637 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1638 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1640 bin/ldbadd: $(BINARY_PREREQS) $(LDBADD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1642 @$(CC) -o $@ $(LDBADD_OBJ) $(DYNEXP) $(LDFLAGS) \
1643 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1644 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1646 bin/ldbmodify: $(BINARY_PREREQS) $(LDBMODIFY_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1648 @$(CC) -o $@ $(LDBMODIFY_OBJ) $(DYNEXP) $(LDFLAGS) \
1649 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1650 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1652 bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1654 @$(CC) -o $@ $(LDBDEL_OBJ) $(DYNEXP) $(LDFLAGS) \
1655 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1656 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1658 bin/ldbrename: $(BINARY_PREREQS) $(LDBRENAME_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1660 @$(CC) $(FLAGS) -o $@ $(LDBRENAME_OBJ) $(DYNEXP) $(LDFLAGS) \
1661 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1662 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1664 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1666 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1669 #####################################################################
1673 #####################################################################
1675 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1678 #-------------------------------------------------------------------
1682 #-------------------------------------------------------------------
1685 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1686 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1688 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1689 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1690 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1691 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1692 LIBTALLOC=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
1693 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1694 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1696 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1697 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
1699 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
1700 @echo Linking shared library $@
1701 @$(SHLD_DSO) $(LIBTALLOC_OBJ) @SONAMEFLAG@`basename $@`
1703 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
1705 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1707 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
1708 @echo Linking non-shared library $@
1709 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
1711 libtalloc: $(LIBTALLOC)
1716 $(LIBTALLOC_STATIC_TARGET) \
1717 $(LIBTALLOC_SHARED_TARGET) \
1718 $(LIBTALLOC_SHARED_TARGET_SONAME)
1720 installlibtalloc:: installdirs libtalloc
1721 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1722 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1723 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1724 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
1725 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1726 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1728 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1729 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1730 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
1732 uninstalllibtalloc::
1733 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1734 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1735 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
1736 -rm -f $(DESTDIR)${prefix}/include/talloc.h
1739 installlibs:: @INSTALL_LIBTALLOC@
1740 uninstalllibs:: @UNINSTALL_LIBTALLOC@
1741 cleanlibs:: cleanlibtalloc
1742 shlibs test_shlibs: @LIBTALLOC_SHARED@
1746 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
1747 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
1748 @echo "LIBTALLOC_TARGET
= @LIBTALLOC_TARGET@
"
1749 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
1751 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
1752 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
1753 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
1754 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
1755 @echo "LIBTALLOC
= $(LIBTALLOC
)"
1757 showlibs:: showlibtalloc
1759 #-------------------------------------------------------------------
1763 #-------------------------------------------------------------------
1765 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
1766 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
1768 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
1769 LIBTDB_SOVER=@LIBTDB_SOVER@
1770 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
1771 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
1772 LIBTDB=@LIBTDB_STATIC@ @LIBTDB_SHARED@
1773 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
1774 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
1776 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
1777 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
1779 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
1780 @echo Linking shared library $@
1781 @$(SHLD_DSO) $(LIBTDB_OBJ) \
1782 @SONAMEFLAG@`basename $@`
1784 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
1786 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1788 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
1789 @echo Linking non-shared library $@
1790 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
1797 $(LIBTDB_STATIC_TARGET) \
1798 $(LIBTDB_SHARED_TARGET) \
1799 $(LIBTDB_SHARED_TARGET_SONAME)
1802 installlibtdb:: installdirs libtdb
1803 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1804 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1805 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1806 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
1807 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1808 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1810 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1811 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1812 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
1815 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1816 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1817 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
1818 -rm -f $(DESTDIR)${prefix}/include/tdb.h
1821 installlibs:: @INSTALL_LIBTDB@
1822 uninstalllibs:: @UNINSTALL_LIBTDB@
1823 cleanlibs:: cleanlibtdb
1824 shlibs test_shlibs: @LIBTDB_SHARED@
1828 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
1829 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
1830 @echo "LIBTDB_TARGET
= @LIBTDB_TARGET@
"
1831 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
1833 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
1834 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
1835 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
1836 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
1837 @echo "LIBTDB
= $(LIBTDB
)"
1839 showlibs:: showlibtdb
1841 #-------------------------------------------------------------------
1845 #-------------------------------------------------------------------
1847 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
1848 ../nsswitch/libwbclient/wbc_util.o \
1849 ../nsswitch/libwbclient/wbc_pwd.o \
1850 ../nsswitch/libwbclient/wbc_idmap.o \
1851 ../nsswitch/libwbclient/wbc_sid.o \
1852 ../nsswitch/libwbclient/wbc_guid.o \
1853 ../nsswitch/libwbclient/wbc_pam.o
1854 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
1858 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
1859 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
1860 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
1861 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
1862 LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1863 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
1864 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
1866 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
1867 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
1869 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS) @LIBTALLOC_TARGET@
1870 @echo Linking shared library $@
1871 @$(SHLD_DSO) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_OBJ) \
1872 @SONAMEFLAG@`basename $@`
1874 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1876 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1878 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1879 @echo Linking non-shared library $@
1880 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1882 libwbclient: $(LIBWBCLIENT)
1886 $(LIBWBCLIENT_SYMS) \
1887 $(LIBWBCLIENT_STATIC_TARGET) \
1888 $(LIBWBCLIENT_SHARED_TARGET) \
1889 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1891 installlibwbclient:: installdirs libwbclient
1892 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1893 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1894 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1895 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
1896 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1897 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1899 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1900 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
1902 uninstalllibwbclient::
1903 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1904 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1905 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
1908 installlibs:: @INSTALL_LIBWBCLIENT@
1909 uninstalllibs:: uninstalllibwbclient
1910 cleanlibs:: cleanlibwbclient
1911 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
1915 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
1916 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
1917 @echo "LIBWBCLIENT_TARGET
= @LIBWBCLIENT_TARGET@
"
1918 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
1920 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
1921 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
1922 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
1923 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
1924 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
1926 showlibs:: showlibwbclient
1929 #-------------------------------------------------------------------
1933 #-------------------------------------------------------------------
1936 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
1937 LIBADDNS_SOVER=@LIBADDNS_SOVER@
1938 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
1939 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
1940 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
1941 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1942 LIBADDNS_HEADERS=$(srcdir)/libaddns/addns.h
1944 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) @LIBTALLOC_TARGET@
1945 @echo Linking shared library $@
1946 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
1947 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
1948 @SONAMEFLAG@`basename $@`
1950 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
1952 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1954 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
1955 @echo Linking non-shared library $@
1956 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
1958 libaddns: $(LIBADDNS)
1962 $(LIBADDNS_SHARED_TARGET) \
1963 $(LIBADDNS_SHARED_TARGET_SONAME) \
1964 $(LIBADDNS_STATIC_TARGET)
1966 installlibaddns:: installdirs libaddns
1967 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1968 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1969 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1970 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
1971 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
1972 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
1974 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1977 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
1978 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1979 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
1982 installlibs:: @INSTALL_LIBADDNS@
1983 uninstalllibs:: @UNINSTALL_LIBADDNS@
1984 cleanlibs:: cleanlibaddns
1985 shlibs test_shlibs: @LIBADDNS_SHARED@
1989 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
1990 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
1991 @echo "LIBADDNS_TARGET
= @LIBADDNS_TARGET@
"
1992 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
1994 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
1995 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
1996 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
1997 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
1998 @echo "LIBADDNS
= $(LIBADDNS
)"
2000 showlibs:: showlibaddns
2002 #-------------------------------------------------------------------
2006 #-------------------------------------------------------------------
2008 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2010 librpc/gen_ndr/ndr_libnetapi.o \
2011 lib/netapi/libnetapi.o \
2012 lib/netapi/joindomain.o \
2013 lib/netapi/serverinfo.o \
2014 lib/netapi/getdc.o \
2016 lib/netapi/group.o \
2017 lib/netapi/localgroup.o \
2020 lib/netapi/share.o \
2023 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2025 $(REG_SMBCONF_OBJ) \
2026 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2027 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2028 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(RPC_PARSE_OBJ) \
2029 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) $(LDB_OBJ) \
2030 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2033 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2034 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2035 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2036 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2037 LIBNETAPI=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
2038 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2039 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2041 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2042 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2044 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2045 @echo Linking shared library $@
2046 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2047 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2048 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
2049 @SONAMEFLAG@`basename $@`
2051 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2053 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2055 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2056 @echo Linking non-shared library $@
2057 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2059 libnetapi: $(LIBNETAPI)
2064 $(LIBNETAPI_STATIC_TARGET) \
2065 $(LIBNETAPI_SHARED_TARGET) \
2066 $(LIBNETAPI_SHARED_TARGET_SONAME)
2068 installlibnetapi:: installdirs libnetapi
2069 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2070 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2071 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2072 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2073 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2074 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2076 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2077 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2078 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2080 uninstalllibnetapi::
2081 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2082 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2083 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2084 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2087 installlibs:: @INSTALL_LIBNETAPI@
2088 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2089 cleanlibs:: cleanlibnetapi
2090 shlibs test_shlibs: @LIBNETAPI_SHARED@
2094 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2095 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2096 @echo "LIBNETAPI_TARGET
= @LIBNETAPI_TARGET@
"
2097 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2099 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2100 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2101 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2102 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2103 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2105 showlibs:: showlibnetapi
2107 #-------------------------------------------------------------------
2111 #-------------------------------------------------------------------
2113 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2114 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2115 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2116 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2117 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2118 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2119 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2121 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2122 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2124 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2125 @echo Linking shared library $@
2126 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) \
2127 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2128 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2129 @SONAMEFLAG@`basename $@`
2131 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2133 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2135 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2136 @echo Linking non-shared library $@
2137 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2139 libsmbclient: $(LIBSMBCLIENT)
2143 $(LIBSMBCLIENT_SHARED_TARGET) \
2144 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2145 $(LIBSMBCLIENT_STATIC_TARGET)
2147 installlibsmbclient:: installdirs libsmbclient
2148 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2149 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2150 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2151 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2152 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2153 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2155 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2156 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2157 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2159 installclientlib:: installlibsmbclient
2161 uninstalllibsmbclient::
2162 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2163 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2164 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2165 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2167 uninstallclientlib:: uninstalllibsmbclient
2170 installlibs:: @INSTALL_LIBSMBCLIENT@
2171 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2172 cleanlibs:: cleanlibsmbclient
2173 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2177 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2178 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2179 @echo "LIBSMBCLIENT_TARGET
= @LIBSMBCLIENT_TARGET@
"
2180 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2182 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2183 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2184 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2185 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2186 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2188 showlibs:: showlibsmbclient
2190 #-------------------------------------------------------------------
2194 #-------------------------------------------------------------------
2196 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2198 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2200 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2201 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2202 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2203 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2204 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2205 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2206 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2208 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2209 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2211 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2212 @echo Linking shared library $@
2213 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2214 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2215 $(KRB5LIBS) $(LDAP_LIBS) \
2216 @SONAMEFLAG@`basename $@`
2218 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2220 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2222 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2223 @echo Linking non-shared library $@
2224 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2226 libsmbsharemodes: $(LIBSMBSHAREMODES)
2228 cleanlibsmbsharemodes::
2230 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2231 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2232 $(LIBSMBSHAREMODES_STATIC_TARGET)
2234 installlibsmbsharemodes:: installdirs libsmbsharemodes
2235 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2236 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2237 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2238 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2239 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2240 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2242 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2243 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2244 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2246 uninstalllibsmbsharemodes::
2247 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2248 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2249 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2250 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2252 libs:: libsmbsharemodes
2253 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2254 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2255 cleanlibs:: cleanlibsmbsharemodes
2256 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2258 showlibsmbsharemodes:
2260 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2261 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2262 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2263 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2265 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2266 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2267 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2268 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2269 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2271 showlibs:: showlibsmbsharemodes
2273 #-------------------------------------------------------------------
2277 #-------------------------------------------------------------------
2279 # This is probably wrong for anything other than the GNU linker.
2280 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) @LIBTALLOC_TARGET@
2281 @echo Linking shared library $@
2282 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2283 $(LIBS) $(LIBTALLOC_LIBS) \
2284 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2285 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2286 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2288 # It would be nice to build a static bigballofmud too, but when I try
2289 # I get linker errors about dl_open and similar things. I'm not sure if
2290 # it can be fixed or if they just can't be called from a static
2293 #-------------------------------------------------------------------
2297 #-------------------------------------------------------------------
2299 LIBLUA_OBJ0 = lua-5.1.4/src/lapi.o lua-5.1.4/src/lauxlib.o \
2300 lua-5.1.4/src/lbaselib.o lua-5.1.4/src/lcode.o \
2301 lua-5.1.4/src/ldblib.o lua-5.1.4/src/ldebug.o lua-5.1.4/src/ldo.o \
2302 lua-5.1.4/src/ldump.o lua-5.1.4/src/lfunc.o lua-5.1.4/src/lgc.o \
2303 lua-5.1.4/src/linit.o lua-5.1.4/src/liolib.o lua-5.1.4/src/llex.o \
2304 lua-5.1.4/src/lmathlib.o lua-5.1.4/src/lmem.o \
2305 lua-5.1.4/src/loadlib.o lua-5.1.4/src/lobject.o \
2306 lua-5.1.4/src/lopcodes.o lua-5.1.4/src/loslib.o \
2307 lua-5.1.4/src/lparser.o lua-5.1.4/src/lstate.o \
2308 lua-5.1.4/src/lstring.o lua-5.1.4/src/lstrlib.o \
2309 lua-5.1.4/src/ltable.o lua-5.1.4/src/ltablib.o lua-5.1.4/src/ltm.o \
2310 lua-5.1.4/src/lundump.o lua-5.1.4/src/lvm.o \
2311 lua-5.1.4/src/lzio.o lua-5.1.4/src/print.o
2313 LIBLUA_OBJ = $(LIBLUA_OBJ0)
2315 LIBLUA_SHARED_TARGET=@LIBLUA_SHARED_TARGET@
2316 LIBLUA_SOVER=@LIBLUA_SOVER@
2317 LIBLUA_SHARED_TARGET_SONAME=$(LIBLUA_SHARED_TARGET).$(LIBLUA_SOVER)
2318 LIBLUA_STATIC_TARGET=@LIBLUA_STATIC_TARGET@
2319 LIBLUA=@LIBLUA_STATIC@ @LIBLUA_SHARED@
2320 LIBLUA_SYMS=$(srcdir)/exports/liblua.@SYMSEXT@
2321 LIBLUA_HEADERS=$(srcdir)/lua-5.1.4/src/lua.h
2323 $(LIBLUA_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBLUA_OBJ) $(LIBLUA_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2324 @echo Linking shared library $@
2325 @$(SHLD_DSO) $(LIBLUA_OBJ) \
2326 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2327 $(KRB5LIBS) $(LDAP_LIBS) \
2328 @SONAMEFLAG@`basename $@`
2330 $(LIBLUA_SHARED_TARGET): $(LIBLUA_SHARED_TARGET_SONAME)
2332 @ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` $@
2334 $(LIBLUA_STATIC_TARGET): $(BINARY_PREREQS) $(LIBLUA_OBJ0)
2335 @echo Linking non-shared library $@
2336 @-$(AR) -rc $@ $(LIBLUA_OBJ0)
2342 $(LIBLUA_SHARED_TARGET) \
2343 $(LIBLUA_SHARED_TARGET_SONAME) \
2344 $(LIBLUA_STATIC_TARGET)
2346 installliblua:: installdirs liblua
2347 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2348 -$(INSTALLLIBCMD_SH) $(LIBLUA_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2349 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2350 -if test -f $(LIBLUA_SHARED_TARGET_SONAME) ; then \
2351 ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` \
2352 $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)` ; \
2354 -$(INSTALLLIBCMD_A) $(LIBLUA_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2355 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2356 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBLUA_HEADERS) $(DESTDIR)${prefix}/include
2359 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2360 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET_SONAME)`
2361 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_STATIC_TARGET)`
2362 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2365 installlibs:: @INSTALL_LIBLUA@
2366 uninstalllibs:: @UNINSTALL_LIBLUA@
2367 cleanlibs:: cleanliblua
2368 shlibs test_shlibs: @LIBLUA_SHARED@
2372 @echo "LIBLUA_SHARED
= @LIBLUA_SHARED@
"
2373 @echo "LIBLUA_STATIC
= @LIBLUA_STATIC@
"
2374 @echo "LIBLUA_TARGET
= @LIBLUA_TARGET@
"
2375 @echo "LIBLUA_LIBS
= $(LIBLUA_LIBS
)"
2377 @echo "LIBLUA_SHARED_TARGET
= $(LIBLUA_SHARED_TARGET
)"
2378 @echo "LIBLUA_SOVER
= $(LIBLUA_SOVER
)"
2379 @echo "LIBLUA_SHARED TARGET_SONAME
= $(LIBLUA_SHARED_TARGET_SONAME
)"
2380 @echo "LIBLUA_STATIC_TARGET
= $(LIBLUA_STATIC_TARGET
)"
2381 @echo "LIBLUA
= $(LIBLUA
)"
2383 showlibs:: showliblua
2386 #####################################################################
2390 #####################################################################
2392 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2393 SHLD_MODULE = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2394 -o $@ @SONAMEFLAG@`basename $@`
2396 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSA_OBJ)
2398 @$(SHLD_MODULE) $(RPC_LSA_OBJ)
2400 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2402 @$(SHLD_MODULE) $(RPC_SAMR_OBJ)
2404 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVC_OBJ)
2406 @$(SHLD_MODULE) $(RPC_SVC_OBJ)
2408 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2410 @$(SHLD_MODULE) $(RPC_SVCCTL_OBJ)
2412 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2414 @$(SHLD_MODULE) $(RPC_NTSVCS_OBJ)
2416 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKS_OBJ)
2418 @$(SHLD_MODULE) $(RPC_WKS_OBJ)
2420 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOG_OBJ)
2422 @$(SHLD_MODULE) $(RPC_NETLOG_OBJ)
2424 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_REG_OBJ)
2426 @$(SHLD_MODULE) $(RPC_REG_OBJ)
2428 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2430 @$(SHLD_MODULE) $(RPC_INITSHUTDOWN_OBJ)
2432 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2434 @$(SHLD_MODULE) $(RPC_DSSETUP_OBJ)
2436 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2438 @$(SHLD_MODULE) $(RPC_SPOOLSS_OBJ)
2440 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2442 @$(SHLD_MODULE) $(RPC_EVENTLOG_OBJ)
2444 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DFS_OBJ)
2446 @$(SHLD_MODULE) $(RPC_DFS_OBJ)
2448 bin/librpc_echo.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_ECHO_OBJ)
2450 @$(SHLD_MODULE) $(RPC_ECHO_OBJ)
2452 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2454 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2455 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2456 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2459 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2461 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2462 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2463 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2464 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2467 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2469 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2470 $(WINBIND_NSS_EXTRA_LIBS) $(WINBIND_NSS_PTHREAD) \
2471 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2473 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2475 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2476 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2477 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2479 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) @LIBWBCLIENT_TARGET@
2481 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) \
2482 @SONAMEFLAG@`basename $@`
2484 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_TARGET@ @LIBWBCLIENT_TARGET@
2485 @echo "Linking shared library
$@
"
2486 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2487 $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2489 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2490 @echo "Building plugin
$@
"
2491 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2493 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2494 @echo "Building plugin
$@
"
2495 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2497 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2498 @echo "Building plugin
$@
"
2499 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2501 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2502 @echo "Building plugin
$@
"
2503 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2505 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2506 @echo "Building plugin
$@
"
2507 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2509 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2510 @echo "Building plugin
$@
"
2511 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2513 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2514 @echo "Building plugin
$@
"
2515 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2517 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2518 @echo "Building plugin
$@
"
2519 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2521 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2522 @echo "Building plugin
$@
"
2523 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2525 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2526 @echo "Building plugin
$@
"
2527 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2529 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2530 @echo "Building plugin
$@
"
2531 @$(SHLD_MODULE) passdb/pdb_tdb.o
2533 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2534 @echo "Building plugin
$@
"
2535 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2537 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2538 @echo "Building plugin
$@
"
2539 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2541 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2542 @echo "Building plugin
$@
"
2543 @$(SHLD_MODULE) winbindd/idmap_rid.o
2545 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2546 @echo "Building plugin
$@
"
2547 @$(SHLD_MODULE) winbindd/idmap_ad.o
2549 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2550 @echo "Building plugin
$@
"
2551 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2553 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2554 @echo "Building plugin
$@
"
2555 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2557 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o
2558 @echo "Building plugin
$@
"
2559 @$(SHLD_MODULE) winbindd/idmap_tdb2.o
2561 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o
2562 @echo "Building plugin
$@
"
2563 @$(SHLD_MODULE) winbindd/idmap_ldap.o
2565 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2566 @echo "Building plugin
$@
"
2567 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2569 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2570 @echo "Building plugin
$@
"
2571 @$(SHLD_MODULE) $(CP850_OBJ)
2573 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2574 @echo "Building plugin
$@
"
2575 @$(SHLD_MODULE) $(CP437_OBJ)
2577 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2578 @echo "Building plugin
$@
"
2579 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2581 # NOTE, there is no build rule for a dynamic default VFS module because
2582 # this one MUST MUST MUST be built statically.
2584 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2585 @echo "Building plugin
$@
"
2586 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2588 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2589 @echo "Building plugin
$@
"
2590 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2592 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2593 @echo "Building plugin
$@
"
2594 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2596 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2597 @echo "Building plugin
$@
"
2598 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2600 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2601 @echo "Building plugin
$@
"
2602 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2604 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2605 @echo "Building plugin
$@
"
2606 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2608 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2609 @echo "Building plugin
$@
"
2610 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2612 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2613 @echo "Building plugin
$@
"
2614 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2616 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2617 @echo "Building plugin
$@
"
2618 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2620 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2621 @echo "Building plugin
$@
"
2622 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2624 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2625 @echo "Building plugin
$@
"
2626 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2628 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2629 @echo "Building plugin
$@
"
2630 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2632 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2633 @echo "Building plugin
$@
"
2634 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2636 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2637 @echo "Building plugin
$@
"
2638 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2640 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2641 @echo "Building plugin
$@
"
2642 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2644 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2645 @echo "Building plugin
$@
"
2646 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2648 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2649 @echo "Building plugin
$@
"
2650 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2652 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2653 @echo "Building plugin
$@
"
2654 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2656 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2657 @echo "Building plugin
$@
"
2658 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2660 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2661 @echo "Building plugin
$@
"
2662 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2664 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2665 @echo "Building plugin
$@
"
2666 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2668 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2669 @echo "Building plugin
$@
"
2670 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2672 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2673 @echo "Building plugin
$@
"
2674 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2676 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2677 @echo "Building plugin
$@
"
2678 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2680 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2681 @echo "Building plugin
$@
"
2682 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2684 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2685 @echo "Building plugin
$@
"
2686 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2688 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2689 @echo "Building plugin
$@
"
2690 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2692 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2693 @echo "Building plugin
$@
"
2694 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2696 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2697 @echo "Building plugin
$@
"
2698 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2700 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2701 @echo "Building plugin
$@
"
2702 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2704 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2705 @echo "Building plugin
$@
"
2706 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2708 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2709 @echo "Building plugin
$@
"
2710 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2712 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2713 @echo "Building plugin
$@
"
2714 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2716 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2717 @echo "Building plugin
$@
"
2718 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2720 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2721 @echo "Building plugin
$@
"
2722 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2724 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2725 @echo "Building plugin
$@
"
2726 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2728 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2729 @echo "Building plugin
$@
"
2730 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2732 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2733 @echo "Building plugin
$@
"
2734 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2736 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2737 @echo "Building plugin
$@
"
2738 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2740 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2741 @echo "Building plugin
$@
"
2742 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2744 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2745 @echo "Building plugin
$@
"
2746 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2748 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2749 @echo "Building plugin
$@
"
2750 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2752 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2753 @echo "Building plugin
$@
"
2754 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2756 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2757 @echo "Building plugin
$@
"
2758 @$(SHLD_MODULE) libgpo/gpext/registry.o
2760 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2761 @echo "Building plugin
$@
"
2762 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2764 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2765 @echo "Building plugin
$@
"
2766 @$(SHLD_MODULE) libgpo/gpext/security.o
2768 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2769 @echo "Building plugin
$@
"
2770 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2772 #########################################################
2773 ## IdMap NSS plugins
2775 ## None here right now
2776 #########################################################
2778 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2780 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2781 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2784 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2785 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2787 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2788 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
2789 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2790 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
2792 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) @LIBTALLOC_TARGET@ @LIBWBCLIENT_TARGET@ @LIBTDB_TARGET@
2793 @echo "Linking shared library
$@
"
2794 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2795 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2796 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
2798 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2800 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2801 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2803 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2805 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2806 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2808 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2810 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) \
2811 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2813 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2815 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2816 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2818 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_TARGET@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
2819 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2820 torture/t_strcmp.o -L ./bin -lbigballofmud
2822 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_TARGET@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
2823 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2824 torture/t_strstr.o -L ./bin -lbigballofmud
2826 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_TARGET@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
2827 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2828 torture/t_strappend.o -L ./bin -lbigballofmud
2830 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
2831 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
2832 -L./bin -lbigballofmud
2834 bin/timelimit@EXEEXT@: script/tests/timelimit.o
2836 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
2838 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2840 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
2841 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
2842 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
2844 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2846 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
2847 $(LDFLAGS) $(DYNEEXP) $(LIBS) \
2849 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2851 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2852 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2853 @INSTALL_PAM_MODULES@ installlibs installmo
2855 install-everything:: install installmodules
2857 # DESTDIR is used here to prevent packagers wasting their time
2858 # duplicating the Makefile. Remove it and you will have the privelege
2859 # of package each samba release for muliple versions of multiple
2860 # distributions and operating systems, or at least supplying patches
2861 # to all the packaging files required for this, prior to committing
2862 # the removal of DESTDIR. Do not remove it even though you think it
2866 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
2867 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
2868 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
2869 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
2871 installservers:: all installdirs
2872 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2874 installbin:: all installdirs
2875 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2877 installcifsmount:: @CIFSMOUNT_PROGS@
2878 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(ROOTSBINDIR)
2879 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2881 installcifsupcall:: @CIFSUPCALL_PROGS@
2882 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(SBINDIR)
2883 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) @CIFSUPCALL_PROGS@
2885 # Some symlinks are required for the 'probing' of modules.
2886 # This mechanism should go at some point..
2887 installmodules:: modules installdirs
2888 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2889 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2890 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2891 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2892 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
2893 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2894 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2895 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2896 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2897 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2898 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2899 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2900 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2901 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2902 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2903 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2904 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2905 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
2906 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
2908 installscripts:: installdirs
2909 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2911 installdat:: installdirs
2912 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2914 installmsg:: installdirs
2915 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2917 installswat:: installdirs installmsg
2918 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2920 installpammodules:: $(PAM_MODULES)
2921 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
2922 @for module in $(PAM_MODULES); do \
2923 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2924 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
2925 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
2928 # revert to the previously installed version
2930 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
2931 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
2933 installman:: installdirs
2934 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
2936 installmo:: all installdirs
2937 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2942 @echo "Samba will be installed into
:"
2943 @echo " prefix: $(prefix)"
2944 @echo " bindir: $(BINDIR
)"
2945 @echo " sbindir
: $(SBINDIR
)"
2946 @echo " libdir: $(LIBDIR
)"
2947 @echo " modulesdir
: $(MODULESDIR
)"
2948 @echo " vardir
: $(VARDIR
)"
2949 @echo " mandir: $(MANDIR
)"
2950 @echo " privatedir
: $(PRIVATE_DIR
)"
2951 @echo " configdir
: $(CONFIGDIR
)"
2952 @echo " lockdir
: $(LOCKDIR
)"
2953 @echo " statedir: $(STATEDIR
)"
2954 @echo " cachedir
: $(CACHEDIR
)"
2955 @echo " piddir
: $(PIDDIR
)"
2956 @echo " swatdir
: $(SWATDIR
)"
2957 @echo " codepagedir
: $(CODEPAGEDIR
)"
2960 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
2963 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2966 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
2969 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2972 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2974 uninstallcifsmount::
2975 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2977 uninstallcifsupcall::
2978 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSUPCALL_PROGS@
2981 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2982 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2983 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2984 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2985 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2986 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2987 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2988 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2991 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2994 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2997 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2999 uninstallswat:: uninstallmsg
3000 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3002 uninstallpammodules::
3003 @for module in $(PAM_MODULES); do \
3004 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3005 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3008 # Toplevel clean files
3009 TOPFILES=dynconfig.o localedir.o
3012 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3013 ../libcli/*.o ../libcli/*/*.o \
3017 -rm -f include/build_env.h
3018 -rm -f smbd/build_options.c
3019 -rm -f $(PRECOMPILED_HEADER)
3020 -rm -f core */*~ *~ \
3021 */*.o */*/*.o */*/*/*.o \
3022 ../testsuite/*/*.o \
3023 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3024 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3025 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
3026 $(MODULES) $(TORTURE_PROGS) \
3027 $(EVERYTHING_PROGS) \
3029 .headers.stamp */src/*.o
3032 include/build_env.h: script/build_env.sh
3033 @echo Building include/build_env.h
3034 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3035 > $(builddir)/include/build_env.h
3040 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append
3043 ctags `find $(srcdir)/.. -name "*.
[ch
]" | grep -v include/proto\.h`
3046 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3047 -rm -f script/installbin.sh script/uninstallbin.sh
3049 distclean:: realclean
3051 -rm -f include/config.h Makefile
3052 -rm -f config.status config.cache so_locations
3055 realdistclean:: distclean
3056 -rm -f include/config.h.in
3057 -rm -f include/version.h
3060 # this target is really just for my use. It only works on a limited
3061 # range of machines and is used to produce a list of potentially
3062 # dead (ie. unused) functions in the code. (tridge)
3064 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3065 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3066 comm -13 nmused.txt nmfns.txt
3069 # when configure.in is updated, reconfigure
3070 $(srcdir)/configure: $(srcdir)/configure.in
3071 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3073 config.status: $(srcdir)/configure
3074 @echo "WARNING
: you need to run .
/configure
"
3076 Makefile: $(srcdir)/Makefile.in config.status
3077 @echo "WARNING
: you need to run .
/config.status
"
3079 ######################################################################
3080 # Samba Testing Framework
3082 # Check shared libs for unresolved symbols
3085 @$(LIB_PATH_VAR)=./bin && \
3086 export $(LIB_PATH_VAR) && \
3087 for module in $?; do \
3088 ./script/tests/dlopen.sh $${module} \
3092 # Check for NSS module problems.
3093 test_nss_modules:: nss_modules
3094 @echo "Testing
$(NSS_MODULES
) "
3095 @$(LIB_PATH_VAR)=./bin && \
3096 export $(LIB_PATH_VAR) && \
3097 for module in $(NSS_MODULES); do \
3098 ./script/tests/dlopen.sh $${module} \
3102 # Check for PAM module problems. Specifically, check that every module we
3103 # built can actually be loaded by a minimal PAM-aware application.
3104 test_pam_modules:: pam_modules
3105 @echo "Testing
$(PAM_MODULES
) "
3106 @$(LIB_PATH_VAR)=./bin && \
3107 export $(LIB_PATH_VAR) && \
3108 for module in $(PAM_MODULES); do \
3109 ./script/tests/dlopen.sh -lpam -ldl bin/$${module}.@SHLIBEXT@ \
3115 ## Targets for 'make test'
3118 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3120 test:: all torture timelimit
3121 @echo Running Test suite
3122 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3124 valgrindtest:: all torture timelimit
3125 @echo Running Test suite with valgrind
3126 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3127 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3128 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3129 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3130 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3131 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3133 SELFTEST_FORMAT = plain
3134 selftestdir = ../selftest
3136 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
"
3138 selftest:: all torture timelimit
3139 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3140 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3141 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3142 $(PERL) $(selftestdir)/selftest.pl \
3143 --prefix=${selftest_prefix} --target=samba3 \
3144 --testlist="$(srcdir)/selftest
/tests.sh|
" \
3145 --expected-failures=$(srcdir)/selftest/knownfail \
3146 --exclude=$(srcdir)/selftest/skip \
3147 --socket-wrapper $(TESTS) --format=$(SELFTEST_FORMAT) --immediate
3150 $(MAKE) selftest TESTS=$*
3152 # Check for Winbind struct 32/64bit padding
3154 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3155 @./script/tests/wb_pad.sh || exit 1;
3161 libsmbclient_examples: libsmbclient
3162 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3164 clean_libsmbclient_examples:
3165 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3167 libnetapi_examples: libnetapi
3168 $(MAKE) -C lib/netapi/examples
3170 clean_libnetapi_examples:
3171 $(MAKE) -C lib/netapi/examples clean