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@
94 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
95 # will search for a POSIX-compliant shell, and that might not be
96 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
100 # See the autoconf manual "Installation Directory Variables" for a
101 # discussion of the subtle use of these variables.
105 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
107 ROOTSBINDIR
= @rootsbindir@
109 MODULESDIR
= @modulesdir@
110 INCLUDEDIR
=@
includedir@
111 PAMMODULESDIR
= @pammodulesdir@
112 VFSLIBDIR
= $(MODULESDIR
)/vfs
113 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
114 PDBLIBDIR
= $(MODULESDIR
)/pdb
115 RPCLIBDIR
= $(MODULESDIR
)/rpc
116 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
117 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
118 CHARSETLIBDIR
= $(MODULESDIR
)/charset
119 AUTHLIBDIR
= $(MODULESDIR
)/auth
120 CONFIGLIBDIR
= $(MODULESDIR
)/config
121 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
122 CONFIGDIR
= @configdir@
123 VARDIR
= @localstatedir@
127 # The permissions to give the executables and other data
128 INSTALLPERMS_BIN
= 0755
129 INSTALLPERMS_DATA
= 0644
131 # set these to where to find various files
132 # These can be overridden by command line switches (see smbd(8))
133 # or in smb.conf (see smb.conf(5))
134 LOGFILEBASE
= @logfilebase@
135 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
136 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
137 NCALRPCDIR
= @ncalrpcdir@
139 # This is where smbpasswd et al go
140 PRIVATEDIR
= @privatedir@
142 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
143 PRIVATE_DIR
= $(PRIVATEDIR
)
145 # This is where SWAT images and help files go
148 # This is where locale(mo) files go
149 LOCALEDIR
= @localedir@
151 # the directory where lock files go
154 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
155 CACHEDIR
= @cachedir@
156 STATEDIR
= @
statedir@
158 # Where to look for (and install) codepage databases.
159 CODEPAGEDIR
= @codepagedir@
161 # the directory where pid files go
175 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
176 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
177 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
178 -DSBINDIR
=\"$(SBINDIR
)\" \
179 -DBINDIR
=\"$(BINDIR
)\" \
180 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
181 -DSWATDIR
=\"$(SWATDIR
)\" \
182 -DLOCKDIR
=\"$(LOCKDIR
)\" \
183 -DPIDDIR
=\"$(PIDDIR
)\" \
184 -DLIBDIR
=\"$(LIBDIR
)\" \
185 -DMODULESDIR
=\"$(MODULESDIR
)\" \
186 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
187 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
188 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
189 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
190 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
191 -DCACHEDIR
=\"$(CACHEDIR
)\" \
192 -DSTATEDIR
=\"$(STATEDIR
)\" \
193 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
195 # Note that all executable programs now provide for an optional executable suffix.
197 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
199 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
201 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
202 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
203 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
204 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
206 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
207 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
208 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
209 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
210 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@ bin
/ldbrename@EXEEXT@
212 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
213 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
214 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
215 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
216 bin
/tdbtorture@EXEEXT@ \
217 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
219 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
220 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
222 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
223 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
224 bin
/log2pcap@EXEEXT@ \
225 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
226 bin
/dbwrap_tool@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 \
300 ..
/librpc
/gen_ndr
/ndr_dcerpc.o
302 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
304 LIBNDR_GEN_OBJ0
= ..
/librpc
/gen_ndr
/ndr_samr.o \
305 ..
/librpc
/gen_ndr
/ndr_lsa.o
307 LIBNDR_GEN_OBJ1
= ..
/librpc
/gen_ndr
/ndr_netlogon.o \
308 ..
/librpc
/ndr
/ndr_netlogon.o
310 LIBNDR_GEN_OBJ2
= ..
/librpc
/gen_ndr
/ndr_spoolss.o \
311 ..
/librpc
/ndr
/ndr_spoolss_buf.o
313 LIBNDR_GEN_OBJ
= ..
/librpc
/gen_ndr
/ndr_wkssvc.o \
315 ..
/librpc
/gen_ndr
/ndr_dfs.o \
316 ..
/librpc
/gen_ndr
/ndr_echo.o \
317 ..
/librpc
/gen_ndr
/ndr_winreg.o \
318 ..
/librpc
/gen_ndr
/ndr_initshutdown.o \
319 ..
/librpc
/gen_ndr
/ndr_srvsvc.o \
320 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
322 ..
/librpc
/gen_ndr
/ndr_dssetup.o \
323 librpc
/gen_ndr
/ndr_notify.o \
324 ..
/librpc
/gen_ndr
/ndr_xattr.o \
325 ..
/librpc
/gen_ndr
/ndr_epmapper.o \
326 ..
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
327 ..
/librpc
/gen_ndr
/ndr_ntsvcs.o \
330 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
332 # this includes only the low level parse code, not stuff
333 # that requires knowledge of security contexts
334 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
)
336 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
337 rpc_client
/init_netlogon.o \
338 rpc_client
/init_lsa.o
340 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
342 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
343 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
347 $(SOCKET_WRAPPER_OBJ
) \
350 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
351 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
352 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
353 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
354 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
355 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
356 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
357 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
358 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o
360 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
361 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
362 ..
/lib
/crypto
/md4.o \
363 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o
365 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
366 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
367 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
368 lib
/interfaces.o lib
/memcache.o \
369 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
371 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
372 lib
/interface.o lib
/pidfile.o \
373 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
376 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
377 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
379 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
380 lib
/util_unistr.o lib
/util_file.o \
381 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
382 lib
/substitute.o lib
/dbwrap_util.o \
383 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
384 lib
/tallocmsg.o lib
/dmallocmsg.o \
385 libsmb
/clisigning.o libsmb
/smb_signing.o \
386 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
387 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
388 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
389 lib
/ldap_escape.o @CHARSET_STATIC@ \
390 lib
/secdesc.o lib
/util_seaccess.o ..
/libcli
/security
/secace.o \
391 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
393 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
394 lib
/file_id.o lib
/idmap_cache.o \
395 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o
397 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
398 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
400 READLINE_OBJ
= lib
/readline.o
402 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
403 # Be sure to include them into your application
404 POPT_LIB_OBJ
= lib
/popt_common.o
406 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
407 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
408 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
410 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
412 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
413 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
414 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
416 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
418 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
419 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
422 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
424 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
425 libads
/sasl.o libads
/sasl_wrapping.o \
426 libads
/krb5_setpw.o libads
/ldap_user.o \
427 libads
/ads_struct.o libads
/kerberos_keytab.o \
428 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
429 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
431 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
432 ..
/librpc
/ndr
/ndr_krb5pac.o \
433 ..
/librpc
/gen_ndr
/ndr_krb5pac.o
435 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
437 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
438 ..
/libcli
/netlogon.o \
439 ..
/libcli
/ndr_netlogon.o \
440 ..
/librpc
/gen_ndr
/ndr_nbt.o \
441 ..
/librpc
/gen_ndr
/ndr_svcctl.o \
442 ..
/librpc
/ndr
/ndr_svcctl.o
444 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
445 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
447 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
448 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
449 ERRORMAP_OBJ
= libsmb
/errormap.o
450 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
452 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
454 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
456 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
461 ..
/libcli
/auth
/ntlm_check.o \
463 libsmb
/ntlmssp_sign.o
465 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
468 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
469 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o
471 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
472 ..
/lib
/tsocket
/tsocket_helpers.o \
473 ..
/lib
/tsocket
/tsocket_bsd.o
475 CLDAP_OBJ
= libads
/cldap.o \
476 ..
/libcli
/cldap
/cldap.o \
477 ..
/lib
/util
/idtree.o \
478 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
) $(LIBTSOCKET_OBJ
)
480 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o
482 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
483 libsmb
/clikrb5.o libsmb
/clispnego.o ..
/lib
/util
/asn1.o \
484 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
485 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
486 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
487 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
488 libsmb
/credentials.o ..
/libcli
/auth
/credentials.o \
489 libsmb
/clioplock.o libsmb
/clirap2.o \
490 libsmb
/smb_seal.o libsmb
/async_smb.o \
497 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
499 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
500 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
501 rpc_client
/cli_spoolss.o \
502 rpc_client
/init_spoolss.o \
503 rpc_client
/init_samr.o \
504 librpc
/rpc
/dcerpc.o \
505 ..
/librpc
/rpc
/binding.o
507 LIBMSRPC_GEN_OBJ
= ..
/librpc
/gen_ndr
/cli_lsa.o \
508 ..
/librpc
/gen_ndr
/cli_dfs.o \
509 ..
/librpc
/gen_ndr
/cli_echo.o \
510 ..
/librpc
/gen_ndr
/cli_srvsvc.o \
511 ..
/librpc
/gen_ndr
/cli_svcctl.o \
512 ..
/librpc
/gen_ndr
/cli_winreg.o \
513 ..
/librpc
/gen_ndr
/cli_initshutdown.o \
514 ..
/librpc
/gen_ndr
/cli_eventlog.o \
515 ..
/librpc
/gen_ndr
/cli_wkssvc.o \
516 ..
/librpc
/gen_ndr
/cli_netlogon.o \
517 ..
/librpc
/gen_ndr
/cli_samr.o \
518 ..
/librpc
/gen_ndr
/cli_dssetup.o \
519 ..
/librpc
/gen_ndr
/cli_ntsvcs.o \
520 ..
/librpc
/gen_ndr
/cli_epmapper.o \
521 ..
/librpc
/gen_ndr
/cli_drsuapi.o \
522 ..
/librpc
/gen_ndr
/cli_spoolss.o \
527 # registry-related objects
529 UTIL_REG_OBJ
= lib
/util_reg.o
530 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
532 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
533 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
534 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
536 REGFIO_OBJ
= registry
/regfio.o
538 REGOBJS_OBJ
= registry
/reg_objects.o
540 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
542 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
544 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
545 registry
/reg_backend_shares.o \
546 registry
/reg_backend_netlogon_params.o \
547 registry
/reg_backend_prod_options.o \
548 registry
/reg_backend_tcpip_params.o \
549 registry
/reg_backend_hkpt_params.o \
550 registry
/reg_backend_current_version.o \
551 registry
/reg_backend_perflib.o
553 REG_BASE_OBJ
= registry
/reg_api.o \
554 registry
/reg_dispatcher.o \
555 registry
/reg_cachehook.o \
558 registry
/reg_util.o \
559 $(UTIL_REG_API_OBJ
) \
561 $(REG_BACKENDS_BASE_OBJ
) \
562 $(REG_INIT_BASIC_OBJ
)
564 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
565 $(REG_BACKENDS_SMBCONF_OBJ
) \
566 $(REG_INIT_SMBCONF_OBJ
)
568 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
569 $(REG_BACKENDS_EXTRA_OBJ
) \
570 $(REG_INIT_FULL_OBJ
) \
571 registry
/reg_eventlog.o \
572 registry
/reg_perfcount.o \
573 registry
/reg_util_legacy.o
575 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
577 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o ..
/librpc
/gen_ndr
/srv_lsa.o
579 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
580 ..
/librpc
/gen_ndr
/srv_netlogon.o
582 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
583 rpc_server
/srv_samr_util.o \
584 ..
/librpc
/gen_ndr
/srv_samr.o
586 RPC_INITSHUTDOWN_OBJ
= ..
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
588 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
589 ..
/librpc
/gen_ndr
/srv_winreg.o
591 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o ..
/librpc
/gen_ndr
/srv_dssetup.o
593 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
594 ..
/librpc
/gen_ndr
/srv_srvsvc.o
596 RPC_WKS_OBJ
= ..
/librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
598 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
599 ..
/librpc
/gen_ndr
/srv_svcctl.o \
600 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
601 services
/svc_netlogon.o services
/svc_winreg.o \
604 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
605 ..
/librpc
/gen_ndr
/srv_ntsvcs.o
607 RPC_DFS_OBJ
= ..
/librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
609 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
610 ..
/librpc
/gen_ndr
/srv_spoolss.o
612 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
613 $(LIB_EVENTLOG_OBJ
) ..
/librpc
/gen_ndr
/srv_eventlog.o
615 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
616 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
618 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o ..
/librpc
/gen_ndr
/srv_echo.o
620 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
622 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
)
624 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o rpc_client
/rpc_transport_np.o \
625 rpc_client
/rpc_transport_sock.o rpc_client
/rpc_transport_smbd.o
627 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
629 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
631 PRIVILEGES_OBJ
= lib
/privileges.o
633 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
635 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
636 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
637 passdb
/util_unixsids.o passdb
/lookup_sid.o \
638 passdb
/login_cache.o @PDB_STATIC@ \
639 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
640 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
642 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
643 CP850_OBJ
= modules
/CP850.o
644 CP437_OBJ
= modules
/CP437.o
645 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
647 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
649 PROFILE_OBJ
= profile
/profile.o
650 PROFILES_OBJ
= utils
/profiles.o \
653 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
656 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
659 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
661 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
662 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
663 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
664 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
665 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
666 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
667 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
668 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
669 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
670 VFS_CAP_OBJ
= modules
/vfs_cap.o
671 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
672 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
673 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
674 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
675 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
676 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
677 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
678 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
679 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
680 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
681 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
682 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
683 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
684 VFS_CATIA_OBJ
= modules
/vfs_catia.o
685 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
686 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
687 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
688 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
689 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
690 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
691 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
692 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
693 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
694 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
695 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
696 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
697 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
698 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
699 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
700 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
701 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
702 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
703 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
704 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
705 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
706 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
707 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
709 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
711 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
713 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
715 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
716 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
717 AUTH_SAM_OBJ
= auth
/auth_sam.o
718 AUTH_SERVER_OBJ
= auth
/auth_server.o
719 AUTH_UNIX_OBJ
= auth
/auth_unix.o
720 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
721 AUTH_WBC_OBJ
= auth
/auth_wbc.o
722 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
723 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
725 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
726 auth
/auth_compat.o auth
/auth_ntlmssp.o \
727 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
729 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
731 SMBD_OBJ_MAIN
= smbd
/server.o
733 BUILDOPT_OBJ
= smbd
/build_options.o
735 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
736 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
737 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
738 smbd
/share_access.o smbd
/fileio.o \
739 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
740 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
741 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
742 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
743 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
744 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
745 smbd
/posix_acls.o lib
/sysacls.o \
746 smbd
/process.o smbd
/service.o smbd
/error.o \
747 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
748 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
749 smbd
/change_trust_pw.o smbd
/fake_file.o \
750 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
751 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
752 smbd
/dmapi.o smbd
/signing.o \
754 smbd
/dnsregister.o smbd
/globals.o \
756 smbd
/smb2_signing.o \
758 smbd
/smb2_negprot.o \
759 smbd
/smb2_sesssetup.o \
767 smbd
/smb2_keepalive.o \
768 $(MANGLE_OBJ
) @VFS_STATIC@
770 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
771 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
772 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
773 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
774 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
775 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
776 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
777 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
778 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) \
780 $(PRIVILEGES_BASIC_OBJ
)
782 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
783 printing
/print_cups.o printing
/print_generic.o \
784 printing
/lpq_parse.o printing
/load.o \
785 printing
/print_iprint.o
787 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
788 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
790 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
792 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
793 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
794 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
795 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
796 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
797 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
798 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
799 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
800 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
801 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
802 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
803 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
805 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
806 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
809 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
810 web
/swat.o web
/neg_lang.o
812 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
813 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
814 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
815 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
816 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
818 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
819 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
820 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
823 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
824 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
828 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
829 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
830 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
831 $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
833 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
836 TESTPARM_OBJ
= utils
/testparm.o \
837 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
840 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
841 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
842 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
844 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
846 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
847 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
848 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
849 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
850 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
852 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
854 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
855 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o \
858 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
860 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
862 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
863 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
864 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
865 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
866 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
867 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
868 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
869 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
872 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
873 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
874 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
875 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
876 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
877 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
879 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o localedir.o
$(WBCOMMON_OBJ
) \
880 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
882 LIBSMBCLIENT_OBJ0
= \
883 libsmb
/libsmb_cache.o \
884 libsmb
/libsmb_compat.o \
885 libsmb
/libsmb_context.o \
886 libsmb
/libsmb_dir.o \
887 libsmb
/libsmb_file.o \
888 libsmb
/libsmb_misc.o \
889 libsmb
/libsmb_path.o \
890 libsmb
/libsmb_printjob.o \
891 libsmb
/libsmb_server.o \
892 libsmb
/libsmb_stat.o \
893 libsmb
/libsmb_xattr.o \
894 libsmb
/libsmb_setget.o \
895 libsmb
/libsmb_thread_impl.o \
896 libsmb
/libsmb_thread_posix.o
898 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
899 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
900 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
901 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
902 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
904 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
906 # This shared library is intended for linking with unit test programs
907 # to test Samba internals. It's called libbigballofmud.so to
908 # discourage casual usage.
910 LIBBIGBALLOFMUD_MAJOR
= 0
912 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
913 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
914 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
916 CLIENT_OBJ1
= client
/client.o client
/clitar.o
$(RPC_CLIENT_OBJ
) \
917 ..
/librpc
/rpc
/binding.o \
922 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
923 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
924 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
925 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
928 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
929 ..
/lib
/smbconf
/smbconf_util.o \
930 ..
/lib
/smbconf
/smbconf_txt.o \
931 lib
/smbconf
/smbconf_reg.o \
932 lib
/smbconf
/smbconf_init.o
934 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
936 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
942 LIBNET_OBJ
= libnet
/libnet_join.o \
943 libnet
/libnet_keytab.o \
944 librpc
/gen_ndr
/ndr_libnet_join.o
946 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
947 libnet
/libnet_dssync_keytab.o \
948 ..
/libcli
/drsuapi
/repl_decrypt.o
950 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
951 libnet
/libnet_samsync_ldif.o \
952 libnet
/libnet_samsync_passdb.o \
953 libnet
/libnet_samsync_display.o \
954 libnet
/libnet_samsync_keytab.o \
955 ..
/libcli
/samsync
/decrypt.o
957 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
958 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
959 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
960 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
961 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
962 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
963 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
964 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
965 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
966 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
967 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
968 auth
/token_util.o utils
/net_dom.o utils
/net_share.o utils
/net_lua.o \
971 # these are not processed by make proto
972 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
974 NET_OBJ
= $(NET_OBJ1
) \
975 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
976 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
977 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
978 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
979 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
980 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
981 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
982 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
983 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
985 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
987 $(PRIVILEGES_BASIC_OBJ
) \
990 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
991 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
994 CIFS_MOUNT_OBJ
= ..
/client
/mount.cifs.o ..
/client
/mtab.o
996 CIFS_UMOUNT_OBJ
= ..
/client
/umount.cifs.o ..
/client
/mtab.o
998 CIFS_UPCALL_OBJ
= ..
/client
/cifs.upcall.o
1000 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1001 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1003 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1004 torture
/denytest.o torture
/mangle_test.o
1006 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
1007 $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1008 @LIBWBCLIENT_STATIC@ \
1011 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
1012 $(LIB_NONSMBD_OBJ
) \
1015 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
1016 $(LIB_NONSMBD_OBJ
) \
1019 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1020 $(LIBSMB_OBJ
) $(LDB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1023 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
1024 $(LIB_NONSMBD_OBJ
) \
1027 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1028 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1029 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
1032 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1034 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1036 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1038 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
1039 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1042 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1043 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
1044 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1045 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1047 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1049 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
1050 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1051 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
1053 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1055 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1057 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1058 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
1059 ..
/librpc
/gen_ndr
/ndr_lsa.o
1061 SHARESEC_OBJ0
= utils
/sharesec.o
1062 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1066 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1067 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSAMBA_OBJ
)
1069 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1070 @libreplacedir@
/test/getifaddrs.o \
1071 @libreplacedir@
/test/os2_delete.o \
1072 @libreplacedir@
/test/strptime.o \
1073 @libreplacedir@
/test/main.o \
1076 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1078 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
1079 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1082 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1083 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
1084 $(LIBNDR_GEN_OBJ0
) $(LDB_OBJ
)
1086 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1087 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1088 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1089 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1092 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
1094 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1097 winbindd
/idmap_hash
/idmap_hash.o \
1098 winbindd
/idmap_hash
/mapfile.o
1101 winbindd
/idmap_adex
/idmap_adex.o \
1102 winbindd
/idmap_adex
/cell_util.o \
1103 winbindd
/idmap_adex
/likewise_cell.o \
1104 winbindd
/idmap_adex
/provider_unified.o \
1105 winbindd
/idmap_adex
/gc_util.o \
1106 winbindd
/idmap_adex
/domain_util.o
1109 winbindd
/winbindd.o \
1110 winbindd
/winbindd_user.o \
1111 winbindd
/winbindd_group.o \
1112 winbindd
/winbindd_util.o \
1113 winbindd
/winbindd_cache.o \
1114 winbindd
/winbindd_pam.o \
1115 winbindd
/winbindd_sid.o \
1116 winbindd
/winbindd_misc.o \
1117 winbindd
/winbindd_cm.o \
1118 winbindd
/winbindd_wins.o \
1119 winbindd
/winbindd_rpc.o \
1120 winbindd
/winbindd_reconnect.o \
1121 winbindd
/winbindd_ads.o \
1122 winbindd
/winbindd_passdb.o \
1123 winbindd
/winbindd_dual.o \
1124 winbindd
/winbindd_async.o \
1125 winbindd
/winbindd_creds.o \
1126 winbindd
/winbindd_cred_cache.o \
1127 winbindd
/winbindd_ccache_access.o \
1128 winbindd
/winbindd_domain.o \
1129 winbindd
/winbindd_idmap.o \
1130 winbindd
/winbindd_locator.o \
1131 winbindd
/winbindd_ndr.o \
1136 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1137 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1138 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1139 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1140 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1141 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1142 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1143 $(LIBADS_SERVER_OBJ
) $(LDB_OBJ
) \
1146 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1147 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1148 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1150 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1152 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1153 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1154 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1155 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1156 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1158 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1159 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1160 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1162 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1163 lib
/ldb
/modules
/objectclass.o \
1164 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1166 # enabled in configure.in
1167 LDB_LDAP_OBJ
=@LDBLDAP@
1169 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1171 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1172 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
1173 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1174 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1177 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1178 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1179 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1180 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1181 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1182 LDBRENAME_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbrename.o
1184 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1185 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1187 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1188 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1190 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1191 iniparser_build
/strlib.o
1193 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1194 $(SOCKET_WRAPPER_OBJ
)
1196 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1197 $(SOCKET_WRAPPER_OBJ
)
1199 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1200 $(SOCKET_WRAPPER_OBJ
)
1202 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBTDB_OBJ
) \
1203 $(SOCKET_WRAPPER_OBJ
)
1206 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1208 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1209 ..
/lib
/util
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1210 $(LIBADS_SERVER_OBJ
) \
1211 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1212 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1213 $(LDB_OBJ
) $(WBCOMMON_OBJ
) \
1214 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
) @BUILD_INIPARSER@
1217 VLP_OBJ1
= printing
/tests
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
1219 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1220 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1221 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1222 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1225 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1229 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1230 $(LIB_NONSMBD_OBJ
) \
1233 $(RPC_CLIENT_OBJ1
) \
1234 rpc_client
/cli_pipe.o \
1235 ..
/librpc
/rpc
/binding.o \
1238 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1240 $(LIB_NONSMBD_OBJ
) \
1243 ######################################################################
1245 ######################################################################
1246 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1247 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @CIFSUPCALL_PROGS@ \
1248 $(EXTRA_ALL_TARGETS
)
1252 nss_modules
:: $(NSS_MODULES
)
1254 pam_modules
:: $(PAM_MODULES
)
1256 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1258 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1260 gpext_modules
:: $(GPEXT_MODULES
)
1262 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1264 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1266 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1268 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1270 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1272 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1274 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1276 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1278 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1280 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1282 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1284 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1286 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1288 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1290 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1292 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1294 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1295 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1296 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1298 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1300 modules
:: SHOWFLAGS
$(MODULES
)
1302 #####################################################################
1303 ## Perl IDL Compiler
1305 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1306 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1307 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1308 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh \
1309 librpc
/idl
/messaging.idl librpc
/idl
/libnetapi.idl librpc
/idl
/notify.idl
1311 #####################################################################
1314 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1318 .SUFFIXES
: .c .o .lo
1320 .PHONY
: showflags SHOWFLAGS
1322 showflags
: SHOWFLAGS
1325 @echo
"Using CFLAGS = $(CFLAGS)"
1326 @echo
" PICFLAG = $(PICFLAG)"
1327 @echo
" LIBS = $(LIBS)"
1328 @echo
" LDFLAGS = $(LDFLAGS)"
1329 @echo
" DYNEXP = $(DYNEXP)"
1330 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1331 @echo
" SHLIBEXT = @SHLIBEXT@"
1332 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1334 # "showcflags" target for debuggin how CFLAGS are composed:
1336 .PHONY
: showcflags SHOWCFLAGS
1338 showcflags
: SHOWCFLAGS
1341 @echo
"CFLAGS = $(CFLAGS)"
1342 @echo
"FLAGS = $(FLAGS)"
1344 @echo
"FLAGS1 = @FLAGS1@"
1345 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1346 @echo
"CPPFLAGS = $(CPPFLAGS)"
1347 @echo
"ISA = $(ISA)"
1349 MAKEDIR
= || exec false
; \
1350 if
test -d
"$$dir"; then
:; else \
1351 echo mkdir
"$$dir"; \
1352 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1353 test -d
"$$dir" || \
1355 exec false
; fi || exec false
1357 # Run a static checker.
1358 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1359 # Compile a source file.
1360 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1361 # Compile a source file with the installation paths defined.
1362 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1364 COMPILE
= $(COMPILE_CC
)
1367 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1368 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1369 @if
test -n
"$(CC_CHECKER)"; then \
1370 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1373 @echo Compiling
$*.c
1374 @
$(COMPILE
) && exit
0;\
1375 echo
"The following command failed:" 1>&2;\
1376 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1377 $(COMPILE_CC) >/dev/null 2>&1
1378 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1380 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1382 # this adds support for precompiled headers. To use it, install a snapshot
1383 # of gcc-3.4 and run 'make pch' before you do the main build.
1385 rm -f $(PRECOMPILED_HEADER)
1386 $(MAKE) $(PRECOMPILED_HEADER)
1388 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1391 BINARY_PREREQS = bin/.dummy
1393 # These dependencies are only approximately correct: we want to make
1394 # sure Samba's paths are updated if ./configure is re-run. Really it
1395 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1396 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1397 # rebuild it's a bit hard.
1399 dynconfig.o: dynconfig.c Makefile
1400 @echo Compiling $*.c
1401 @$(COMPILE_CC_PATH) && exit 0;\
1402 echo "The following command failed
:" 1>&2;\
1403 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1404 $(COMPILE_CC_PATH) >/dev/null 2>&1
1406 localedir.o: localedir.c Makefile
1407 @echo Compiling $*.c
1408 @$(COMPILE_CC_PATH) && exit 0;\
1409 echo "The following command failed
:" 1>&2;\
1410 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1411 $(COMPILE_CC_PATH) >/dev/null 2>&1
1413 lib/pidfile.o: lib/pidfile.c
1414 @echo Compiling $*.c
1415 @$(COMPILE_CC_PATH) && exit 0;\
1416 echo "The following command failed
:" 1>&2;\
1417 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1418 $(COMPILE_CC_PATH) >/dev/null 2>&1
1420 lib/version.o: lib/version.c include/version.h
1421 @echo Compiling $*.c
1422 @$(COMPILE_CC_PATH) && exit 0;\
1423 echo "The following command failed
:" 1>&2;\
1424 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1425 $(COMPILE_CC_PATH) >/dev/null 2>&1
1427 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1428 @echo Compiling $*.c
1429 @$(COMPILE_CC_PATH) && exit 0;\
1430 echo "The following command failed
:" 1>&2;\
1431 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1432 $(COMPILE_CC_PATH) >/dev/null 2>&1
1434 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1436 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1439 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1440 dir=bin $(MAKEDIR); fi
1441 @: >> $@ || : > $@ # what a fancy emoticon!
1443 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@ @BUILD_POPT@
1445 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1446 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1447 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1448 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1449 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1451 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1453 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1454 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1455 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1457 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1459 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1460 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1461 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1463 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1465 @$(CC) -o $@ $(LDFLAGS) $(PASSDB_LIBS) $(RPCCLIENT_OBJ) \
1466 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1467 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1468 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1470 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1472 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1473 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1474 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1475 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1477 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@ @LIBNETAPI_TARGET@ @LIBLUA_TARGET@
1479 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1480 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1481 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1482 @INIPARSERLIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) $(LIBLUA_LIBS) -lm \
1485 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1487 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1488 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1490 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1492 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1493 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1495 bin/mount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_MOUNT_OBJ)
1497 @$(CC) -o $@ $(CIFS_MOUNT_OBJ) $(DYNEXP) $(LDFLAGS)
1499 bin/umount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UMOUNT_OBJ)
1501 @$(CC) -o $@ $(CIFS_UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS)
1503 bin/cifs.upcall@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UPCALL_OBJ) $(LIBSMBCLIENT_OBJ1) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1505 @$(CC) -o $@ $(CIFS_UPCALL_OBJ) $(DYNEXP) $(LDFLAGS) \
1506 -lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \
1507 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
1508 $(LIBTDB_LIBS) $(NSCD_LIBS)
1510 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1512 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1513 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1515 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1517 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1518 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1520 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1522 @$(CC) -DUSING_SMBCONTROL -o $@ \
1523 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1524 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1525 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1527 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1529 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1530 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1531 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1533 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1535 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1536 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1537 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1539 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1541 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1542 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1543 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1545 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1547 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1548 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1549 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1551 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1553 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1554 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1556 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1558 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1559 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1560 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1562 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1564 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1565 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1566 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1568 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@
1570 @$(CC) @PIE_LDFLAGS@ -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1571 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1573 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1575 @$(CC) @PIE_LDFLAGS@ -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1576 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1577 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1579 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1581 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1582 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1583 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1585 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1587 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1588 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1589 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1591 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1593 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1594 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1595 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1597 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1599 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1600 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1601 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1603 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1605 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1606 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1608 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1610 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1611 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1613 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1615 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1616 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1617 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1619 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1621 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1622 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1623 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1625 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1627 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1628 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1629 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1631 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1633 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1634 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1635 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1636 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1637 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1639 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1641 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1642 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1643 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1645 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@
1647 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1648 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1650 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1652 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1653 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1654 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1656 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@
1658 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1659 $(LIBS) $(LIBTALLOC_LIBS)
1661 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
1663 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS) \
1664 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1665 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1667 bin/ldbedit: $(BINARY_PREREQS) $(LDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1669 @$(CC) -o $@ $(LDBEDIT_OBJ) $(DYNEXP) $(LDFLAGS) \
1670 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1671 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1673 bin/ldbsearch: $(BINARY_PREREQS) $(LDBSEARCH_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1675 @$(CC) -o $@ $(LDBSEARCH_OBJ) $(DYNEXP) $(LDFLAGS) \
1676 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1677 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1679 bin/ldbadd: $(BINARY_PREREQS) $(LDBADD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1681 @$(CC) -o $@ $(LDBADD_OBJ) $(DYNEXP) $(LDFLAGS) \
1682 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1683 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1685 bin/ldbmodify: $(BINARY_PREREQS) $(LDBMODIFY_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1687 @$(CC) -o $@ $(LDBMODIFY_OBJ) $(DYNEXP) $(LDFLAGS) \
1688 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1689 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1691 bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1693 @$(CC) -o $@ $(LDBDEL_OBJ) $(DYNEXP) $(LDFLAGS) \
1694 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1695 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1697 bin/ldbrename: $(BINARY_PREREQS) $(LDBRENAME_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
1699 @$(CC) $(FLAGS) -o $@ $(LDBRENAME_OBJ) $(DYNEXP) $(LDFLAGS) \
1700 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1701 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1703 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1705 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1708 #####################################################################
1712 #####################################################################
1714 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1717 #-------------------------------------------------------------------
1721 #-------------------------------------------------------------------
1724 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1725 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1727 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1728 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1729 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1730 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1731 LIBTALLOC=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
1732 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1733 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1735 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1736 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
1738 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
1739 @echo Linking shared library $@
1740 @$(SHLD_DSO) $(LIBTALLOC_OBJ) @SONAMEFLAG@`basename $@`
1742 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
1744 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1746 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
1747 @echo Linking non-shared library $@
1748 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
1750 libtalloc: $(LIBTALLOC)
1755 $(LIBTALLOC_STATIC_TARGET) \
1756 $(LIBTALLOC_SHARED_TARGET) \
1757 $(LIBTALLOC_SHARED_TARGET_SONAME)
1759 installlibtalloc:: installdirs libtalloc
1760 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1761 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1762 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1763 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
1764 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1765 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1767 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1768 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1769 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
1771 uninstalllibtalloc::
1772 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1773 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1774 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
1775 -rm -f $(DESTDIR)${prefix}/include/talloc.h
1778 installlibs:: @INSTALL_LIBTALLOC@
1779 uninstalllibs:: @UNINSTALL_LIBTALLOC@
1780 cleanlibs:: cleanlibtalloc
1781 shlibs test_shlibs: @LIBTALLOC_SHARED@
1785 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
1786 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
1787 @echo "LIBTALLOC_TARGET
= @LIBTALLOC_TARGET@
"
1788 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
1790 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
1791 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
1792 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
1793 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
1794 @echo "LIBTALLOC
= $(LIBTALLOC
)"
1796 showlibs:: showlibtalloc
1798 #-------------------------------------------------------------------
1802 #-------------------------------------------------------------------
1804 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
1805 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
1807 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
1808 LIBTDB_SOVER=@LIBTDB_SOVER@
1809 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
1810 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
1811 LIBTDB=@LIBTDB_STATIC@ @LIBTDB_SHARED@
1812 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
1813 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
1815 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
1816 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
1818 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
1819 @echo Linking shared library $@
1820 @$(SHLD_DSO) $(LIBTDB_OBJ) \
1821 @SONAMEFLAG@`basename $@`
1823 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
1825 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1827 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
1828 @echo Linking non-shared library $@
1829 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
1836 $(LIBTDB_STATIC_TARGET) \
1837 $(LIBTDB_SHARED_TARGET) \
1838 $(LIBTDB_SHARED_TARGET_SONAME)
1841 installlibtdb:: installdirs libtdb
1842 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1843 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1844 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1845 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
1846 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1847 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1849 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1850 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1851 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
1854 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1855 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1856 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
1857 -rm -f $(DESTDIR)${prefix}/include/tdb.h
1860 installlibs:: @INSTALL_LIBTDB@
1861 uninstalllibs:: @UNINSTALL_LIBTDB@
1862 cleanlibs:: cleanlibtdb
1863 shlibs test_shlibs: @LIBTDB_SHARED@
1867 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
1868 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
1869 @echo "LIBTDB_TARGET
= @LIBTDB_TARGET@
"
1870 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
1872 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
1873 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
1874 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
1875 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
1876 @echo "LIBTDB
= $(LIBTDB
)"
1878 showlibs:: showlibtdb
1880 #-------------------------------------------------------------------
1884 #-------------------------------------------------------------------
1886 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
1887 ../nsswitch/libwbclient/wbc_util.o \
1888 ../nsswitch/libwbclient/wbc_pwd.o \
1889 ../nsswitch/libwbclient/wbc_idmap.o \
1890 ../nsswitch/libwbclient/wbc_sid.o \
1891 ../nsswitch/libwbclient/wbc_guid.o \
1892 ../nsswitch/libwbclient/wbc_pam.o \
1893 ../nsswitch/libwbclient/wb_reqtrans.o \
1894 ../nsswitch/libwbclient/wbc_async.o
1896 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
1900 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
1901 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
1902 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
1903 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
1904 LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1905 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
1906 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h \
1907 $(srcdir)/../nsswitch/libwbclient/wbc_async.h
1909 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
1910 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
1912 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS) @LIBTALLOC_TARGET@
1913 @echo Linking shared library $@
1914 @$(SHLD_DSO) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_OBJ) \
1915 @SONAMEFLAG@`basename $@`
1917 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1919 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1921 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1922 @echo Linking non-shared library $@
1923 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1925 libwbclient: $(LIBWBCLIENT)
1929 $(LIBWBCLIENT_SYMS) \
1930 $(LIBWBCLIENT_STATIC_TARGET) \
1931 $(LIBWBCLIENT_SHARED_TARGET) \
1932 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1934 installlibwbclient:: installdirs libwbclient
1935 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1936 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1937 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1938 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
1939 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1940 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1942 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1943 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
1945 uninstalllibwbclient::
1946 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1947 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1948 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
1951 installlibs:: @INSTALL_LIBWBCLIENT@
1952 uninstalllibs:: uninstalllibwbclient
1953 cleanlibs:: cleanlibwbclient
1954 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
1958 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
1959 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
1960 @echo "LIBWBCLIENT_TARGET
= @LIBWBCLIENT_TARGET@
"
1961 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
1963 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
1964 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
1965 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
1966 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
1967 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
1969 showlibs:: showlibwbclient
1972 #-------------------------------------------------------------------
1976 #-------------------------------------------------------------------
1979 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
1980 LIBADDNS_SOVER=@LIBADDNS_SOVER@
1981 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
1982 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
1983 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
1984 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1985 LIBADDNS_HEADERS=$(srcdir)/libaddns/addns.h
1987 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) @LIBTALLOC_TARGET@
1988 @echo Linking shared library $@
1989 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
1990 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
1991 @SONAMEFLAG@`basename $@`
1993 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
1995 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1997 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
1998 @echo Linking non-shared library $@
1999 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2001 libaddns: $(LIBADDNS)
2005 $(LIBADDNS_SHARED_TARGET) \
2006 $(LIBADDNS_SHARED_TARGET_SONAME) \
2007 $(LIBADDNS_STATIC_TARGET)
2009 installlibaddns:: installdirs libaddns
2010 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2011 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2012 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2013 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2014 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2015 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2017 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2020 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2021 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2022 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2025 installlibs:: @INSTALL_LIBADDNS@
2026 uninstalllibs:: @UNINSTALL_LIBADDNS@
2027 cleanlibs:: cleanlibaddns
2028 shlibs test_shlibs: @LIBADDNS_SHARED@
2032 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2033 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2034 @echo "LIBADDNS_TARGET
= @LIBADDNS_TARGET@
"
2035 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2037 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2038 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2039 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2040 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2041 @echo "LIBADDNS
= $(LIBADDNS
)"
2043 showlibs:: showlibaddns
2045 #-------------------------------------------------------------------
2049 #-------------------------------------------------------------------
2051 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2053 librpc/gen_ndr/ndr_libnetapi.o \
2054 lib/netapi/libnetapi.o \
2055 lib/netapi/joindomain.o \
2056 lib/netapi/serverinfo.o \
2057 lib/netapi/getdc.o \
2059 lib/netapi/group.o \
2060 lib/netapi/localgroup.o \
2063 lib/netapi/share.o \
2065 lib/netapi/shutdown.o
2067 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2069 $(REG_SMBCONF_OBJ) \
2070 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2071 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2072 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(RPC_PARSE_OBJ) \
2073 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) $(LDB_OBJ) \
2074 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2077 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2078 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2079 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2080 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2081 LIBNETAPI=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
2082 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2083 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2085 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2086 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2088 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2089 @echo Linking shared library $@
2090 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2091 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2092 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
2093 @SONAMEFLAG@`basename $@`
2095 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2097 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2099 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2100 @echo Linking non-shared library $@
2101 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2103 libnetapi: $(LIBNETAPI)
2108 $(LIBNETAPI_STATIC_TARGET) \
2109 $(LIBNETAPI_SHARED_TARGET) \
2110 $(LIBNETAPI_SHARED_TARGET_SONAME)
2112 installlibnetapi:: installdirs libnetapi
2113 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2114 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2115 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2116 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2117 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2118 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2120 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2121 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2122 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2124 uninstalllibnetapi::
2125 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2126 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2127 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2128 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2131 installlibs:: @INSTALL_LIBNETAPI@
2132 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2133 cleanlibs:: cleanlibnetapi
2134 shlibs test_shlibs: @LIBNETAPI_SHARED@
2138 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2139 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2140 @echo "LIBNETAPI_TARGET
= @LIBNETAPI_TARGET@
"
2141 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2143 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2144 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2145 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2146 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2147 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2149 showlibs:: showlibnetapi
2151 #-------------------------------------------------------------------
2155 #-------------------------------------------------------------------
2157 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2158 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2159 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2160 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2161 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2162 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2163 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2165 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2166 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2168 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2169 @echo Linking shared library $@
2170 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) \
2171 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2172 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2173 @SONAMEFLAG@`basename $@`
2175 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2177 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2179 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2180 @echo Linking non-shared library $@
2181 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2183 libsmbclient: $(LIBSMBCLIENT)
2187 $(LIBSMBCLIENT_SHARED_TARGET) \
2188 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2189 $(LIBSMBCLIENT_STATIC_TARGET)
2191 installlibsmbclient:: installdirs libsmbclient
2192 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2193 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2194 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2195 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2196 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2197 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2199 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2200 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2201 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2203 installclientlib:: installlibsmbclient
2205 uninstalllibsmbclient::
2206 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2207 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2208 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2209 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2211 uninstallclientlib:: uninstalllibsmbclient
2214 installlibs:: @INSTALL_LIBSMBCLIENT@
2215 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2216 cleanlibs:: cleanlibsmbclient
2217 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2221 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2222 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2223 @echo "LIBSMBCLIENT_TARGET
= @LIBSMBCLIENT_TARGET@
"
2224 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2226 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2227 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2228 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2229 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2230 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2232 showlibs:: showlibsmbclient
2234 #-------------------------------------------------------------------
2238 #-------------------------------------------------------------------
2240 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2242 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2244 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2245 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2246 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2247 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2248 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2249 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2250 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2252 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2253 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2255 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2256 @echo Linking shared library $@
2257 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2258 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2259 $(KRB5LIBS) $(LDAP_LIBS) \
2260 @SONAMEFLAG@`basename $@`
2262 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2264 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2266 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2267 @echo Linking non-shared library $@
2268 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2270 libsmbsharemodes: $(LIBSMBSHAREMODES)
2272 cleanlibsmbsharemodes::
2274 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2275 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2276 $(LIBSMBSHAREMODES_STATIC_TARGET)
2278 installlibsmbsharemodes:: installdirs libsmbsharemodes
2279 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2280 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2281 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2282 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2283 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2284 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2286 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2287 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2288 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2290 uninstalllibsmbsharemodes::
2291 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2292 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2293 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2294 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2296 libs:: libsmbsharemodes
2297 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2298 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2299 cleanlibs:: cleanlibsmbsharemodes
2300 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2302 showlibsmbsharemodes:
2304 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2305 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2306 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2307 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2309 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2310 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2311 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2312 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2313 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2315 showlibs:: showlibsmbsharemodes
2317 #-------------------------------------------------------------------
2321 #-------------------------------------------------------------------
2323 # This is probably wrong for anything other than the GNU linker.
2324 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) @LIBTALLOC_TARGET@
2325 @echo Linking shared library $@
2326 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2327 $(LIBS) $(LIBTALLOC_LIBS) \
2328 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2329 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2330 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2332 # It would be nice to build a static bigballofmud too, but when I try
2333 # I get linker errors about dl_open and similar things. I'm not sure if
2334 # it can be fixed or if they just can't be called from a static
2337 #-------------------------------------------------------------------
2341 #-------------------------------------------------------------------
2343 LIBLUA_OBJ0 = lua-5.1.4/src/lapi.o lua-5.1.4/src/lauxlib.o \
2344 lua-5.1.4/src/lbaselib.o lua-5.1.4/src/lcode.o \
2345 lua-5.1.4/src/ldblib.o lua-5.1.4/src/ldebug.o lua-5.1.4/src/ldo.o \
2346 lua-5.1.4/src/ldump.o lua-5.1.4/src/lfunc.o lua-5.1.4/src/lgc.o \
2347 lua-5.1.4/src/linit.o lua-5.1.4/src/liolib.o lua-5.1.4/src/llex.o \
2348 lua-5.1.4/src/lmathlib.o lua-5.1.4/src/lmem.o \
2349 lua-5.1.4/src/loadlib.o lua-5.1.4/src/lobject.o \
2350 lua-5.1.4/src/lopcodes.o lua-5.1.4/src/loslib.o \
2351 lua-5.1.4/src/lparser.o lua-5.1.4/src/lstate.o \
2352 lua-5.1.4/src/lstring.o lua-5.1.4/src/lstrlib.o \
2353 lua-5.1.4/src/ltable.o lua-5.1.4/src/ltablib.o lua-5.1.4/src/ltm.o \
2354 lua-5.1.4/src/lundump.o lua-5.1.4/src/lvm.o \
2355 lua-5.1.4/src/lzio.o lua-5.1.4/src/print.o
2357 LIBLUA_OBJ = $(LIBLUA_OBJ0)
2359 LIBLUA_SHARED_TARGET=@LIBLUA_SHARED_TARGET@
2360 LIBLUA_SOVER=@LIBLUA_SOVER@
2361 LIBLUA_SHARED_TARGET_SONAME=$(LIBLUA_SHARED_TARGET).$(LIBLUA_SOVER)
2362 LIBLUA_STATIC_TARGET=@LIBLUA_STATIC_TARGET@
2363 LIBLUA=@LIBLUA_STATIC@ @LIBLUA_SHARED@
2364 LIBLUA_SYMS=$(srcdir)/exports/liblua.@SYMSEXT@
2365 LIBLUA_HEADERS=$(srcdir)/lua-5.1.4/src/lua.h
2367 $(LIBLUA_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBLUA_OBJ) $(LIBLUA_SYMS) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2368 @echo Linking shared library $@
2369 @$(SHLD_DSO) $(LIBLUA_OBJ) \
2370 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2371 $(KRB5LIBS) $(LDAP_LIBS) \
2372 @SONAMEFLAG@`basename $@`
2374 $(LIBLUA_SHARED_TARGET): $(LIBLUA_SHARED_TARGET_SONAME)
2376 @ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` $@
2378 $(LIBLUA_STATIC_TARGET): $(BINARY_PREREQS) $(LIBLUA_OBJ0)
2379 @echo Linking non-shared library $@
2380 @-$(AR) -rc $@ $(LIBLUA_OBJ0)
2386 $(LIBLUA_SHARED_TARGET) \
2387 $(LIBLUA_SHARED_TARGET_SONAME) \
2388 $(LIBLUA_STATIC_TARGET)
2390 installliblua:: installdirs liblua
2391 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2392 -$(INSTALLLIBCMD_SH) $(LIBLUA_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2393 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2394 -if test -f $(LIBLUA_SHARED_TARGET_SONAME) ; then \
2395 ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` \
2396 $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)` ; \
2398 -$(INSTALLLIBCMD_A) $(LIBLUA_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2399 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2400 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBLUA_HEADERS) $(DESTDIR)${prefix}/include
2403 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2404 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET_SONAME)`
2405 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_STATIC_TARGET)`
2406 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2409 installlibs:: @INSTALL_LIBLUA@
2410 uninstalllibs:: @UNINSTALL_LIBLUA@
2411 cleanlibs:: cleanliblua
2412 shlibs test_shlibs: @LIBLUA_SHARED@
2416 @echo "LIBLUA_SHARED
= @LIBLUA_SHARED@
"
2417 @echo "LIBLUA_STATIC
= @LIBLUA_STATIC@
"
2418 @echo "LIBLUA_TARGET
= @LIBLUA_TARGET@
"
2419 @echo "LIBLUA_LIBS
= $(LIBLUA_LIBS
)"
2421 @echo "LIBLUA_SHARED_TARGET
= $(LIBLUA_SHARED_TARGET
)"
2422 @echo "LIBLUA_SOVER
= $(LIBLUA_SOVER
)"
2423 @echo "LIBLUA_SHARED TARGET_SONAME
= $(LIBLUA_SHARED_TARGET_SONAME
)"
2424 @echo "LIBLUA_STATIC_TARGET
= $(LIBLUA_STATIC_TARGET
)"
2425 @echo "LIBLUA
= $(LIBLUA
)"
2427 showlibs:: showliblua
2430 #####################################################################
2434 #####################################################################
2436 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2437 SHLD_MODULE = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2438 -o $@ @SONAMEFLAG@`basename $@`
2440 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSA_OBJ)
2442 @$(SHLD_MODULE) $(RPC_LSA_OBJ)
2444 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2446 @$(SHLD_MODULE) $(RPC_SAMR_OBJ)
2448 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVC_OBJ)
2450 @$(SHLD_MODULE) $(RPC_SVC_OBJ)
2452 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2454 @$(SHLD_MODULE) $(RPC_SVCCTL_OBJ)
2456 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2458 @$(SHLD_MODULE) $(RPC_NTSVCS_OBJ)
2460 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKS_OBJ)
2462 @$(SHLD_MODULE) $(RPC_WKS_OBJ)
2464 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOG_OBJ)
2466 @$(SHLD_MODULE) $(RPC_NETLOG_OBJ)
2468 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_REG_OBJ)
2470 @$(SHLD_MODULE) $(RPC_REG_OBJ)
2472 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2474 @$(SHLD_MODULE) $(RPC_INITSHUTDOWN_OBJ)
2476 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2478 @$(SHLD_MODULE) $(RPC_DSSETUP_OBJ)
2480 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2482 @$(SHLD_MODULE) $(RPC_SPOOLSS_OBJ)
2484 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2486 @$(SHLD_MODULE) $(RPC_EVENTLOG_OBJ)
2488 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DFS_OBJ)
2490 @$(SHLD_MODULE) $(RPC_DFS_OBJ)
2492 bin/librpc_echo.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_ECHO_OBJ)
2494 @$(SHLD_MODULE) $(RPC_ECHO_OBJ)
2496 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2498 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2499 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2500 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2503 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2505 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2506 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2507 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2508 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2511 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2513 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2514 $(WINBIND_NSS_EXTRA_LIBS) $(WINBIND_NSS_PTHREAD) \
2515 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2517 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2519 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2520 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2521 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2523 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) @LIBWBCLIENT_TARGET@
2525 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) \
2526 @SONAMEFLAG@`basename $@`
2528 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_TARGET@ @LIBWBCLIENT_TARGET@
2529 @echo "Linking shared library
$@
"
2530 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2531 $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2533 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2534 @echo "Building plugin
$@
"
2535 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2537 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2538 @echo "Building plugin
$@
"
2539 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2541 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2542 @echo "Building plugin
$@
"
2543 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2545 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2546 @echo "Building plugin
$@
"
2547 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2549 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2550 @echo "Building plugin
$@
"
2551 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2553 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2554 @echo "Building plugin
$@
"
2555 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2557 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2558 @echo "Building plugin
$@
"
2559 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2561 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2562 @echo "Building plugin
$@
"
2563 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2565 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2566 @echo "Building plugin
$@
"
2567 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2569 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2570 @echo "Building plugin
$@
"
2571 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2573 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2574 @echo "Building plugin
$@
"
2575 @$(SHLD_MODULE) passdb/pdb_ads.o
2577 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2578 @echo "Building plugin
$@
"
2579 @$(SHLD_MODULE) passdb/pdb_tdb.o
2581 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2582 @echo "Building plugin
$@
"
2583 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2585 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2586 @echo "Building plugin
$@
"
2587 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2589 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2590 @echo "Building plugin
$@
"
2591 @$(SHLD_MODULE) winbindd/idmap_rid.o
2593 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2594 @echo "Building plugin
$@
"
2595 @$(SHLD_MODULE) winbindd/idmap_ad.o
2597 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2598 @echo "Building plugin
$@
"
2599 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2601 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2602 @echo "Building plugin
$@
"
2603 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2605 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o
2606 @echo "Building plugin
$@
"
2607 @$(SHLD_MODULE) winbindd/idmap_tdb2.o
2609 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o
2610 @echo "Building plugin
$@
"
2611 @$(SHLD_MODULE) winbindd/idmap_ldap.o
2613 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2614 @echo "Building plugin
$@
"
2615 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2617 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2618 @echo "Building plugin
$@
"
2619 @$(SHLD_MODULE) $(CP850_OBJ)
2621 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2622 @echo "Building plugin
$@
"
2623 @$(SHLD_MODULE) $(CP437_OBJ)
2625 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2626 @echo "Building plugin
$@
"
2627 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2629 # NOTE, there is no build rule for a dynamic default VFS module because
2630 # this one MUST MUST MUST be built statically.
2632 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2633 @echo "Building plugin
$@
"
2634 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2636 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2637 @echo "Building plugin
$@
"
2638 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2640 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2641 @echo "Building plugin
$@
"
2642 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2644 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2645 @echo "Building plugin
$@
"
2646 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2648 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2649 @echo "Building plugin
$@
"
2650 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2652 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2653 @echo "Building plugin
$@
"
2654 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2656 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2657 @echo "Building plugin
$@
"
2658 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2660 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2661 @echo "Building plugin
$@
"
2662 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2664 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2665 @echo "Building plugin
$@
"
2666 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2668 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2669 @echo "Building plugin
$@
"
2670 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2672 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2673 @echo "Building plugin
$@
"
2674 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2676 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2677 @echo "Building plugin
$@
"
2678 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2680 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2681 @echo "Building plugin
$@
"
2682 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2684 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2685 @echo "Building plugin
$@
"
2686 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2688 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2689 @echo "Building plugin
$@
"
2690 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2692 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2693 @echo "Building plugin
$@
"
2694 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2696 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2697 @echo "Building plugin
$@
"
2698 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2700 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2701 @echo "Building plugin
$@
"
2702 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2704 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2705 @echo "Building plugin
$@
"
2706 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2708 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2709 @echo "Building plugin
$@
"
2710 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2712 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2713 @echo "Building plugin
$@
"
2714 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2716 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2717 @echo "Building plugin
$@
"
2718 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2720 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2721 @echo "Building plugin
$@
"
2722 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2724 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2725 @echo "Building plugin
$@
"
2726 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2728 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2729 @echo "Building plugin
$@
"
2730 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2732 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2733 @echo "Building plugin
$@
"
2734 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2736 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2737 @echo "Building plugin
$@
"
2738 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2740 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2741 @echo "Building plugin
$@
"
2742 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2744 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2745 @echo "Building plugin
$@
"
2746 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2748 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2749 @echo "Building plugin
$@
"
2750 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2752 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2753 @echo "Building plugin
$@
"
2754 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2756 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2757 @echo "Building plugin
$@
"
2758 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2760 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2761 @echo "Building plugin
$@
"
2762 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2764 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2765 @echo "Building plugin
$@
"
2766 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2768 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2769 @echo "Building plugin
$@
"
2770 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2772 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2773 @echo "Building plugin
$@
"
2774 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2776 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2777 @echo "Building plugin
$@
"
2778 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2780 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2781 @echo "Building plugin
$@
"
2782 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2784 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2785 @echo "Building plugin
$@
"
2786 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2788 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2789 @echo "Building plugin
$@
"
2790 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2792 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2793 @echo "Building plugin
$@
"
2794 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2796 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2797 @echo "Building plugin
$@
"
2798 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2800 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2801 @echo "Building plugin
$@
"
2802 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2804 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2805 @echo "Building plugin
$@
"
2806 @$(SHLD_MODULE) libgpo/gpext/registry.o
2808 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2809 @echo "Building plugin
$@
"
2810 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2812 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2813 @echo "Building plugin
$@
"
2814 @$(SHLD_MODULE) libgpo/gpext/security.o
2816 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2817 @echo "Building plugin
$@
"
2818 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
2820 #########################################################
2821 ## IdMap NSS plugins
2823 ## None here right now
2824 #########################################################
2826 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2828 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2829 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2832 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2833 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2835 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2836 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
2837 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2838 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
2840 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) @LIBTALLOC_TARGET@ @LIBWBCLIENT_TARGET@ @LIBTDB_TARGET@
2841 @echo "Linking shared library
$@
"
2842 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2843 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2844 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
2846 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2848 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2849 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2851 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2853 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2854 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2856 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2858 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) \
2859 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2861 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2863 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2864 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2866 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_TARGET@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
2867 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2868 torture/t_strcmp.o -L ./bin -lbigballofmud
2870 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_TARGET@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
2871 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2872 torture/t_strstr.o -L ./bin -lbigballofmud
2874 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_TARGET@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
2875 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2876 torture/t_strappend.o -L ./bin -lbigballofmud
2878 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
2879 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
2880 -L./bin -lbigballofmud
2882 bin/timelimit@EXEEXT@: script/tests/timelimit.o
2884 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
2886 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@ @LIBWBCLIENT_TARGET@
2888 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
2889 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
2890 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
2892 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2894 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
2895 $(LDFLAGS) $(DYNEEXP) $(LIBS) \
2897 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2899 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) @LIBTALLOC_TARGET@ @LIBTDB_TARGET@
2901 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
2902 $(LDFLAGS) $(DYNEEXP) $(LIBS) \
2904 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2906 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
2907 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
2909 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2910 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2911 @INSTALL_PAM_MODULES@ installlibs installmo
2913 install-everything:: install installmodules
2915 # DESTDIR is used here to prevent packagers wasting their time
2916 # duplicating the Makefile. Remove it and you will have the privelege
2917 # of package each samba release for muliple versions of multiple
2918 # distributions and operating systems, or at least supplying patches
2919 # to all the packaging files required for this, prior to committing
2920 # the removal of DESTDIR. Do not remove it even though you think it
2924 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
2925 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
2926 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
2927 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
2929 installservers:: all installdirs
2930 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2932 installbin:: all installdirs
2933 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2935 installcifsmount:: @CIFSMOUNT_PROGS@
2936 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(ROOTSBINDIR)
2937 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2939 installcifsupcall:: @CIFSUPCALL_PROGS@
2940 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(SBINDIR)
2941 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) @CIFSUPCALL_PROGS@
2943 # Some symlinks are required for the 'probing' of modules.
2944 # This mechanism should go at some point..
2945 installmodules:: modules installdirs
2946 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2947 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2948 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2949 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2950 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
2951 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2952 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2953 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2954 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2955 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2956 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2957 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2958 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2959 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2960 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2961 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2962 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2963 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
2964 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
2966 installscripts:: installdirs
2967 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2969 installdat:: installdirs
2970 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2972 installmsg:: installdirs
2973 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2975 installswat:: installdirs installmsg
2976 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2978 installpammodules:: $(PAM_MODULES)
2979 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
2980 @for module in $(PAM_MODULES); do \
2981 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2982 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
2983 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
2986 # revert to the previously installed version
2988 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
2989 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
2991 installman:: installdirs
2992 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
2994 installmo:: all installdirs
2995 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3000 @echo "Samba will be installed into
:"
3001 @echo " prefix: $(prefix)"
3002 @echo " bindir: $(BINDIR
)"
3003 @echo " sbindir
: $(SBINDIR
)"
3004 @echo " libdir: $(LIBDIR
)"
3005 @echo " modulesdir
: $(MODULESDIR
)"
3006 @echo " vardir
: $(VARDIR
)"
3007 @echo " mandir: $(MANDIR
)"
3008 @echo " privatedir
: $(PRIVATE_DIR
)"
3009 @echo " configdir
: $(CONFIGDIR
)"
3010 @echo " lockdir
: $(LOCKDIR
)"
3011 @echo " statedir: $(STATEDIR
)"
3012 @echo " cachedir
: $(CACHEDIR
)"
3013 @echo " piddir
: $(PIDDIR
)"
3014 @echo " swatdir
: $(SWATDIR
)"
3015 @echo " codepagedir
: $(CODEPAGEDIR
)"
3018 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3021 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3024 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3027 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3030 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3032 uninstallcifsmount::
3033 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
3035 uninstallcifsupcall::
3036 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSUPCALL_PROGS@
3039 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3040 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3041 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
3042 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3043 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3044 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3045 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3046 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3049 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3052 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3055 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3057 uninstallswat:: uninstallmsg
3058 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3060 uninstallpammodules::
3061 @for module in $(PAM_MODULES); do \
3062 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3063 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3066 # Toplevel clean files
3067 TOPFILES=dynconfig.o localedir.o
3070 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3071 ../libcli/*.o ../libcli/*/*.o \
3075 -rm -f include/build_env.h
3076 -rm -f smbd/build_options.c
3077 -rm -f $(PRECOMPILED_HEADER)
3078 -rm -f core */*~ *~ \
3079 */*.o */*/*.o */*/*/*.o \
3080 ../testsuite/*/*.o \
3081 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3082 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3083 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
3084 $(MODULES) $(TORTURE_PROGS) \
3085 $(EVERYTHING_PROGS) \
3087 .headers.stamp */src/*.o
3090 include/build_env.h: script/build_env.sh
3091 @echo Building include/build_env.h
3092 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3093 > $(builddir)/include/build_env.h
3098 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3101 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3104 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3105 -rm -f script/installbin.sh script/uninstallbin.sh
3107 distclean:: realclean
3109 -rm -f include/config.h Makefile
3110 -rm -f config.status config.cache so_locations
3113 realdistclean:: distclean
3114 -rm -f include/config.h.in
3115 -rm -f include/version.h
3118 # this target is really just for my use. It only works on a limited
3119 # range of machines and is used to produce a list of potentially
3120 # dead (ie. unused) functions in the code. (tridge)
3122 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3123 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3124 comm -13 nmused.txt nmfns.txt
3127 # when configure.in is updated, reconfigure
3128 $(srcdir)/configure: $(srcdir)/configure.in
3129 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3131 config.status: $(srcdir)/configure
3132 @echo "WARNING
: you need to run .
/configure
"
3134 Makefile: $(srcdir)/Makefile.in config.status
3135 @echo "WARNING
: you need to run .
/config.status
"
3137 ######################################################################
3138 # Samba Testing Framework
3140 # Check shared libs for unresolved symbols
3143 @$(LIB_PATH_VAR)=./bin && \
3144 export $(LIB_PATH_VAR) && \
3145 for module in $?; do \
3146 ./script/tests/dlopen.sh $${module} \
3150 # Check for NSS module problems.
3151 test_nss_modules:: nss_modules
3152 @echo "Testing
$(NSS_MODULES
) "
3153 @$(LIB_PATH_VAR)=./bin && \
3154 export $(LIB_PATH_VAR) && \
3155 for module in $(NSS_MODULES); do \
3156 ./script/tests/dlopen.sh $${module} \
3160 # Check for PAM module problems. Specifically, check that every module we
3161 # built can actually be loaded by a minimal PAM-aware application.
3162 test_pam_modules:: pam_modules
3163 @echo "Testing
$(PAM_MODULES
) "
3164 @$(LIB_PATH_VAR)=./bin && \
3165 export $(LIB_PATH_VAR) && \
3166 for module in $(PAM_MODULES); do \
3167 ./script/tests/dlopen.sh -lpam -ldl bin/$${module}.@SHLIBEXT@ \
3173 ## Targets for 'make test'
3176 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3178 test:: all torture timelimit
3179 @echo Running Test suite
3180 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3182 valgrindtest:: all torture timelimit
3183 @echo Running Test suite with valgrind
3184 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3185 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3186 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3187 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3188 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3189 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3191 SELFTEST_FORMAT = plain
3192 selftestdir = ../selftest
3194 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
"
3196 selftest:: all torture timelimit
3197 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3198 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3199 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3200 $(PERL) $(selftestdir)/selftest.pl \
3201 --prefix=${selftest_prefix} --target=samba3 \
3202 --testlist="$(srcdir)/selftest
/tests.sh|
" \
3203 --expected-failures=$(srcdir)/selftest/knownfail \
3204 --exclude=$(srcdir)/selftest/skip \
3205 --socket-wrapper $(TESTS) --format=$(SELFTEST_FORMAT) --immediate
3208 $(MAKE) selftest TESTS=$*
3210 # Check for Winbind struct 32/64bit padding
3212 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3213 @./script/tests/wb_pad.sh || exit 1;
3219 libsmbclient_examples: libsmbclient
3220 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3222 clean_libsmbclient_examples:
3223 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3225 libnetapi_examples: libnetapi
3226 $(MAKE) -C lib/netapi/examples
3228 clean_libnetapi_examples:
3229 $(MAKE) -C lib/netapi/examples clean