1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 selftest_prefix
=@selftest_prefix@
20 selftest_shrdir
=@selftest_shrdir@
21 smbtorture4_path
=@smbtorture4_path@
22 smbtorture4_option
=@smbtorture4_option@
23 selftest_custom_conf
=@selftest_custom_conf@
28 LIB_PATH_VAR
=@LIB_PATH_VAR@
30 ## Dynamic shared libraries build settings
31 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
32 DSO_EXPORTS
=@DSO_EXPORTS@
33 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
35 # The MODULE_EXPORTS variable contains the platform-specific linker flags
36 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
37 MODULE_EXPORTS
=@MODULE_EXPORTS@
39 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
40 # (GCC) warnings. This is done automtically for --enable-developer,
41 # --enable-picky-developer and --enable-krb5developer.
42 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
44 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
48 LDSHFLAGS
=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
49 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
51 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
59 TERMLDFLAGS
=@TERMLDFLAGS@
61 PRINT_LIBS
=@PRINT_LIBS@
65 PASSDB_LIBS
=@PASSDB_LIBS@
66 IDMAP_LIBS
=@IDMAP_LIBS@
71 WINBIND_LIBS
=@WINBIND_LIBS@
72 WINBIND_NSS_EXTRA_LIBS
=@WINBIND_NSS_EXTRA_LIBS@
73 WINBIND_NSS_PTHREAD
=@WINBIND_NSS_PTHREAD@
74 PAM_WINBIND_EXTRA_LIBS
=@PAM_WINBIND_EXTRA_LIBS@
75 DNSSD_LIBS
=@DNSSD_LIBS@
77 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
78 LIBTDB_LIBS
=@LIBTDB_LIBS@
79 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
80 LIBLUA_LIBS
=@LIBLUA_LIBS@
83 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
84 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
85 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
86 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
90 builddir
=@abs_builddir@
91 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
92 # will search for a POSIX-compliant shell, and that might not be
93 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
97 # See the autoconf manual "Installation Directory Variables" for a
98 # discussion of the subtle use of these variables.
102 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
104 ROOTSBINDIR
= @rootsbindir@
106 MODULESDIR
= @modulesdir@
107 INCLUDEDIR
=@
includedir@
108 PAMMODULESDIR
= @pammodulesdir@
109 VFSLIBDIR
= $(MODULESDIR
)/vfs
110 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
111 PDBLIBDIR
= $(MODULESDIR
)/pdb
112 RPCLIBDIR
= $(MODULESDIR
)/rpc
113 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
114 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
115 CHARSETLIBDIR
= $(MODULESDIR
)/charset
116 AUTHLIBDIR
= $(MODULESDIR
)/auth
117 CONFIGLIBDIR
= $(MODULESDIR
)/config
118 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
119 CONFIGDIR
= @configdir@
120 VARDIR
= @localstatedir@
124 # The permissions to give the executables and other data
125 INSTALLPERMS_BIN
= 0755
126 INSTALLPERMS_DATA
= 0644
128 # set these to where to find various files
129 # These can be overridden by command line switches (see smbd(8))
130 # or in smb.conf (see smb.conf(5))
131 LOGFILEBASE
= @logfilebase@
132 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
133 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
134 NCALRPCDIR
= @ncalrpcdir@
136 # This is where smbpasswd et al go
137 PRIVATEDIR
= @privatedir@
139 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
140 PRIVATE_DIR
= $(PRIVATEDIR
)
142 # This is where SWAT images and help files go
145 # This is where locale(mo) files go
146 LOCALEDIR
= @localedir@
148 # the directory where lock files go
151 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
152 CACHEDIR
= @cachedir@
153 STATEDIR
= @
statedir@
155 # Where to look for (and install) codepage databases.
156 CODEPAGEDIR
= @codepagedir@
158 # the directory where pid files go
161 FLAGS
= -I.
-I
$(srcdir) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
) -I
$(CTDBDIR
)/include $(ISA
) -I
$(srcdir)/lib
-I..
-D_SAMBA_BUILD_
=3 -I..
/source4
163 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
164 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
165 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
166 -DSBINDIR
=\"$(SBINDIR
)\" \
167 -DBINDIR
=\"$(BINDIR
)\" \
168 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
169 -DSWATDIR
=\"$(SWATDIR
)\" \
170 -DLOCKDIR
=\"$(LOCKDIR
)\" \
171 -DPIDDIR
=\"$(PIDDIR
)\" \
172 -DLIBDIR
=\"$(LIBDIR
)\" \
173 -DMODULESDIR
=\"$(MODULESDIR
)\" \
174 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
175 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
176 -DCTDBDIR
=\"$(CTDBDIR
)\" \
177 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
178 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
179 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
180 -DCACHEDIR
=\"$(CACHEDIR
)\" \
181 -DSTATEDIR
=\"$(STATEDIR
)\" \
182 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
184 # Note that all executable programs now provide for an optional executable suffix.
186 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
188 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
190 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
191 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
192 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
193 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
195 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
196 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
197 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
198 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
199 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@ bin
/ldbrename@EXEEXT@
201 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
202 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
203 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
204 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
205 bin
/tdbtorture@EXEEXT@ \
206 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
208 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
209 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
211 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
212 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
213 bin
/log2pcap@EXEEXT@ \
214 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
216 PAM_MODULES
= @PAM_MODULES@
218 NSS_MODULES
= @NSS_MODULES@
220 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
222 VFS_MODULES
= @VFS_MODULES@
223 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
224 PDB_MODULES
= @PDB_MODULES@
225 RPC_MODULES
= @RPC_MODULES@
226 IDMAP_MODULES
= @IDMAP_MODULES@
227 CHARSET_MODULES
= @CHARSET_MODULES@
228 AUTH_MODULES
= @AUTH_MODULES@
229 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
230 GPEXT_MODULES
= @GPEXT_MODULES@
231 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
232 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
233 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
235 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
237 ######################################################################
239 ######################################################################
241 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
242 lib
/dbwrap.o lib
/dbwrap_tdb.o \
244 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
246 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
248 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
250 VERSION_OBJ
= lib
/version.o
252 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
256 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
258 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
260 PASSCHANGE_OBJ
= libsmb
/passchange.o
262 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
263 ..
/librpc
/ndr
/ndr_compression.o \
264 ..
/librpc
/gen_ndr
/ndr_drsuapi.o \
265 ..
/librpc
/ndr
/ndr_drsblobs.o \
266 ..
/librpc
/gen_ndr
/ndr_drsblobs.o
268 ZLIB_OBJ
= @ZLIB_OBJS@
270 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
271 ..
/lib
/compression
/lzxpress.o \
274 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
277 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
278 ..
/librpc
/ndr
/ndr.o \
279 ..
/librpc
/ndr
/ndr_misc.o \
280 ..
/librpc
/gen_ndr
/ndr_misc.o \
281 ..
/librpc
/gen_ndr
/ndr_security.o \
282 ..
/librpc
/ndr
/ndr_sec_helper.o \
283 librpc
/ndr
/ndr_string.o \
284 ..
/librpc
/ndr
/uuid.o \
287 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
289 LIBNDR_GEN_OBJ0
= ..
/librpc
/gen_ndr
/ndr_samr.o \
290 ..
/librpc
/gen_ndr
/ndr_lsa.o
292 LIBNDR_GEN_OBJ1
= ..
/librpc
/gen_ndr
/ndr_netlogon.o \
293 ..
/librpc
/ndr
/ndr_netlogon.o
295 LIBNDR_GEN_OBJ2
= ..
/librpc
/gen_ndr
/ndr_spoolss.o \
296 ..
/librpc
/ndr
/ndr_spoolss_buf.o
298 LIBNDR_GEN_OBJ
= ..
/librpc
/gen_ndr
/ndr_wkssvc.o \
300 ..
/librpc
/gen_ndr
/ndr_dfs.o \
301 ..
/librpc
/gen_ndr
/ndr_echo.o \
302 ..
/librpc
/gen_ndr
/ndr_winreg.o \
303 ..
/librpc
/gen_ndr
/ndr_initshutdown.o \
304 ..
/librpc
/gen_ndr
/ndr_srvsvc.o \
305 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
307 ..
/librpc
/gen_ndr
/ndr_dssetup.o \
308 librpc
/gen_ndr
/ndr_notify.o \
309 ..
/librpc
/gen_ndr
/ndr_xattr.o \
310 ..
/librpc
/gen_ndr
/ndr_epmapper.o \
311 ..
/librpc
/gen_ndr
/ndr_named_pipe_auth.o \
312 ..
/librpc
/gen_ndr
/ndr_ntsvcs.o \
315 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
317 # this includes only the low level parse code, not stuff
318 # that requires knowledge of security contexts
319 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
321 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
322 rpc_client
/init_netlogon.o \
323 rpc_client
/init_lsa.o
325 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
327 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
328 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
330 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
332 $(SOCKET_WRAPPER_OBJ
) \
335 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
336 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
337 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
338 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
339 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
340 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
341 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
342 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o
344 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
345 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
348 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
349 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
350 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
351 lib
/interfaces.o lib
/memcache.o \
352 lib
/util_transfer_file.o ..
/lib
/async_req
/async_req.o \
353 ..
/lib
/async_req
/async_sock.o ..
/lib
/async_req
/async_req_ntstatus.o \
355 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
356 lib
/interface.o lib
/pidfile.o \
357 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
359 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
360 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
362 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
363 lib
/util_unistr.o lib
/util_file.o \
364 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
365 lib
/substitute.o lib
/dbwrap_util.o \
366 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
367 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
368 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
369 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
370 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
371 lib
/ldap_escape.o @CHARSET_STATIC@ \
372 lib
/secdesc.o lib
/util_seaccess.o ..
/libcli
/security
/secace.o \
373 ..
/libcli
/security
/secacl.o \
374 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
375 lib
/file_id.o lib
/idmap_cache.o \
376 ..
/libcli
/security
/dom_sid.o
378 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
379 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
381 READLINE_OBJ
= lib
/readline.o
383 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
384 # Be sure to include them into your application
385 POPT_LIB_OBJ
= lib
/popt_common.o
387 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
388 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
389 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
391 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
393 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
394 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
395 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
397 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
399 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
400 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
403 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
405 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
406 libads
/sasl.o libads
/sasl_wrapping.o \
407 libads
/krb5_setpw.o libads
/ldap_user.o \
408 libads
/ads_struct.o libads
/kerberos_keytab.o \
409 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
410 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
412 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
413 ..
/librpc
/ndr
/ndr_krb5pac.o \
414 ..
/librpc
/gen_ndr
/ndr_krb5pac.o
416 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
418 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
419 ..
/libcli
/netlogon.o \
420 ..
/libcli
/ndr_netlogon.o \
421 ..
/librpc
/gen_ndr
/ndr_nbt.o \
422 ..
/librpc
/gen_ndr
/ndr_svcctl.o \
423 ..
/librpc
/ndr
/ndr_svcctl.o
425 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
426 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
428 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
429 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
430 ERRORMAP_OBJ
= libsmb
/errormap.o
431 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
433 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
434 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
436 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
441 libsmb
/ntlm_check.o \
443 libsmb
/ntlmssp_sign.o
445 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
448 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
449 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o
451 CLDAP_OBJ
= libads
/cldap.o
$(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
453 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
454 libsmb
/clikrb5.o libsmb
/clispnego.o ..
/lib
/util
/asn1.o \
455 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
456 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
457 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
458 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
459 libsmb
/credentials.o \
460 libsmb
/clioplock.o libsmb
/clirap2.o \
461 libsmb
/smb_seal.o libsmb
/async_smb.o \
468 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
470 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
471 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
472 rpc_client
/cli_spoolss.o \
473 rpc_client
/init_spoolss.o \
474 rpc_client
/init_samr.o \
475 librpc
/rpc
/dcerpc.o \
476 ..
/librpc
/rpc
/binding.o
478 LIBMSRPC_GEN_OBJ
= ..
/librpc
/gen_ndr
/cli_lsa.o \
479 ..
/librpc
/gen_ndr
/cli_dfs.o \
480 ..
/librpc
/gen_ndr
/cli_echo.o \
481 ..
/librpc
/gen_ndr
/cli_srvsvc.o \
482 ..
/librpc
/gen_ndr
/cli_svcctl.o \
483 ..
/librpc
/gen_ndr
/cli_winreg.o \
484 ..
/librpc
/gen_ndr
/cli_initshutdown.o \
485 ..
/librpc
/gen_ndr
/cli_eventlog.o \
486 ..
/librpc
/gen_ndr
/cli_wkssvc.o \
487 ..
/librpc
/gen_ndr
/cli_netlogon.o \
488 ..
/librpc
/gen_ndr
/cli_samr.o \
489 ..
/librpc
/gen_ndr
/cli_dssetup.o \
490 ..
/librpc
/gen_ndr
/cli_ntsvcs.o \
491 ..
/librpc
/gen_ndr
/cli_epmapper.o \
492 ..
/librpc
/gen_ndr
/cli_drsuapi.o \
493 ..
/librpc
/gen_ndr
/cli_spoolss.o \
498 # registry-related objects
500 UTIL_REG_OBJ
= lib
/util_reg.o
501 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
503 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
504 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
505 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
507 REGFIO_OBJ
= registry
/regfio.o
509 REGOBJS_OBJ
= registry
/reg_objects.o
511 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
513 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
515 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
516 registry
/reg_backend_shares.o \
517 registry
/reg_backend_netlogon_params.o \
518 registry
/reg_backend_prod_options.o \
519 registry
/reg_backend_tcpip_params.o \
520 registry
/reg_backend_hkpt_params.o \
521 registry
/reg_backend_current_version.o \
522 registry
/reg_backend_perflib.o
524 REG_BASE_OBJ
= registry
/reg_api.o \
525 registry
/reg_dispatcher.o \
526 registry
/reg_cachehook.o \
529 registry
/reg_util.o \
530 $(UTIL_REG_API_OBJ
) \
532 $(REG_BACKENDS_BASE_OBJ
) \
533 $(REG_INIT_BASIC_OBJ
)
535 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
536 $(REG_BACKENDS_SMBCONF_OBJ
) \
537 $(REG_INIT_SMBCONF_OBJ
)
539 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
540 $(REG_BACKENDS_EXTRA_OBJ
) \
541 $(REG_INIT_FULL_OBJ
) \
542 registry
/reg_eventlog.o \
543 registry
/reg_perfcount.o \
544 registry
/reg_util_legacy.o
546 LIB_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_lib.o
548 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o ..
/librpc
/gen_ndr
/srv_lsa.o
550 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
551 ..
/librpc
/gen_ndr
/srv_netlogon.o
553 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
554 rpc_server
/srv_samr_util.o \
555 ..
/librpc
/gen_ndr
/srv_samr.o
557 RPC_INITSHUTDOWN_OBJ
= ..
/librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
559 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
560 ..
/librpc
/gen_ndr
/srv_winreg.o
562 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o ..
/librpc
/gen_ndr
/srv_dssetup.o
564 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
565 ..
/librpc
/gen_ndr
/srv_srvsvc.o
567 RPC_WKS_OBJ
= ..
/librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
569 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
570 ..
/librpc
/gen_ndr
/srv_svcctl.o \
571 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
572 services
/svc_netlogon.o services
/svc_winreg.o \
575 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
576 ..
/librpc
/gen_ndr
/srv_ntsvcs.o
578 RPC_DFS_OBJ
= ..
/librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
580 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o \
581 ..
/librpc
/gen_ndr
/srv_spoolss.o
583 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
584 $(LIB_EVENTLOG_OBJ
) ..
/librpc
/gen_ndr
/srv_eventlog.o
586 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
587 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
589 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o ..
/librpc
/gen_ndr
/srv_echo.o
591 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
593 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
594 rpc_parse
/parse_spoolss.o
596 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o rpc_client
/rpc_transport_np.o \
597 rpc_client
/rpc_transport_sock.o rpc_client
/rpc_transport_smbd.o
599 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
601 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
603 PRIVILEGES_OBJ
= lib
/privileges.o
605 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
607 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
608 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
609 passdb
/util_unixsids.o passdb
/lookup_sid.o \
610 passdb
/login_cache.o @PDB_STATIC@ \
611 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
612 lib
/util_nscd.o lib
/winbind_util.o
614 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
615 CP850_OBJ
= modules
/CP850.o
616 CP437_OBJ
= modules
/CP437.o
617 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
619 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
621 PROFILE_OBJ
= profile
/profile.o
622 PROFILES_OBJ
= utils
/profiles.o \
625 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
628 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
631 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
633 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
634 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
635 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
636 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
637 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
638 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
639 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
640 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
641 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
642 VFS_CAP_OBJ
= modules
/vfs_cap.o
643 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
644 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
645 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
646 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
647 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
648 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
649 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
650 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
651 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
652 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
653 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
654 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
655 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
656 VFS_CATIA_OBJ
= modules
/vfs_catia.o
657 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
658 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
659 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
660 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
661 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
662 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
663 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
664 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
665 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
666 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
667 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
668 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
669 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
670 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
671 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
672 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
673 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
674 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
675 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
676 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
677 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
678 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
680 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
682 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
684 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
686 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
687 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
688 AUTH_SAM_OBJ
= auth
/auth_sam.o
689 AUTH_SERVER_OBJ
= auth
/auth_server.o
690 AUTH_UNIX_OBJ
= auth
/auth_unix.o
691 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
692 AUTH_WBC_OBJ
= auth
/auth_wbc.o
693 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
694 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
696 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
697 auth
/auth_compat.o auth
/auth_ntlmssp.o \
698 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
700 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
702 SMBD_OBJ_MAIN
= smbd
/server.o
704 BUILDOPT_OBJ
= smbd
/build_options.o
706 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
707 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
708 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
709 smbd
/share_access.o smbd
/fileio.o \
710 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
711 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
712 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
713 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
714 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
715 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
716 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
717 smbd
/process.o smbd
/service.o smbd
/error.o \
718 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
719 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
720 smbd
/change_trust_pw.o smbd
/fake_file.o \
721 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
722 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
725 smbd
/dnsregister.o smbd
/globals.o \
726 $(MANGLE_OBJ
) @VFS_STATIC@
728 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
729 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
730 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
731 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
732 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
733 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
734 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
735 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
736 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
738 $(PRIVILEGES_BASIC_OBJ
)
740 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
741 printing
/print_cups.o printing
/print_generic.o \
742 printing
/lpq_parse.o printing
/load.o \
743 printing
/print_iprint.o
745 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
746 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
748 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
750 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
751 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
752 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
753 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
754 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
755 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
756 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
757 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
758 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
759 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
760 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
761 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
763 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
764 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
767 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
768 web
/swat.o web
/neg_lang.o
770 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
771 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
772 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
773 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
774 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
776 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
777 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
778 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
781 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
782 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
786 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
787 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
788 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
789 $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
791 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
794 TESTPARM_OBJ
= utils
/testparm.o \
795 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
798 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
799 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
800 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
802 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
804 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
805 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
806 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
807 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
808 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
810 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
812 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
813 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o \
816 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
818 DISPLAY_SEC_OBJ
= lib
/display_sec.o
820 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
821 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
822 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
823 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
824 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
825 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
826 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
827 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
830 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
831 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
832 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
833 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
834 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
835 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
837 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o localedir.o
$(WBCOMMON_OBJ
) \
838 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
840 LIBSMBCLIENT_OBJ0
= \
841 libsmb
/libsmb_cache.o \
842 libsmb
/libsmb_compat.o \
843 libsmb
/libsmb_context.o \
844 libsmb
/libsmb_dir.o \
845 libsmb
/libsmb_file.o \
846 libsmb
/libsmb_misc.o \
847 libsmb
/libsmb_path.o \
848 libsmb
/libsmb_printjob.o \
849 libsmb
/libsmb_server.o \
850 libsmb
/libsmb_stat.o \
851 libsmb
/libsmb_xattr.o \
852 libsmb
/libsmb_setget.o
854 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
855 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
856 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
857 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
858 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
860 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
862 # This shared library is intended for linking with unit test programs
863 # to test Samba internals. It's called libbigballofmud.so to
864 # discourage casual usage.
866 LIBBIGBALLOFMUD_MAJOR
= 0
868 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
869 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
870 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
872 CLIENT_OBJ1
= client
/client.o client
/clitar.o
$(RPC_CLIENT_OBJ
) \
873 ..
/librpc
/rpc
/binding.o \
878 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
879 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
880 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
881 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
884 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
885 ..
/lib
/smbconf
/smbconf_util.o \
886 ..
/lib
/smbconf
/smbconf_txt.o \
887 lib
/smbconf
/smbconf_reg.o \
888 lib
/smbconf
/smbconf_init.o
890 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
892 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
898 LIBNET_OBJ
= libnet
/libnet_join.o \
899 libnet
/libnet_keytab.o \
900 libnet
/libnet_samsync.o \
901 libnet
/libnet_samsync_ldif.o \
902 libnet
/libnet_samsync_passdb.o \
903 libnet
/libnet_samsync_display.o \
904 libnet
/libnet_samsync_keytab.o \
905 libnet
/libnet_dssync.o \
906 libnet
/libnet_dssync_keytab.o \
907 librpc
/gen_ndr
/ndr_libnet_join.o
909 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
910 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
911 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
912 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
913 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
914 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
915 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
916 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
917 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
918 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
919 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
920 auth
/token_util.o utils
/net_dom.o utils
/net_share.o utils
/net_lua.o \
923 # these are not processed by make proto
924 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
926 NET_OBJ
= $(NET_OBJ1
) \
927 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
928 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
929 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
930 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
931 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
932 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
933 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
934 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
935 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
936 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
938 @LIBWBCLIENT_STATIC@ \
939 $(PRIVILEGES_BASIC_OBJ
) @LIBLUA_STATIC@ \
942 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
943 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
946 CIFS_MOUNT_OBJ
= client
/mount.cifs.o client
/mtab.o
948 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o client
/mtab.o
950 CIFS_UPCALL_OBJ
= client
/cifs.upcall.o
952 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
953 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
955 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
956 torture
/denytest.o torture
/mangle_test.o
958 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
959 $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
960 lib
/wb_reqtrans.o lib
/wbclient.o \
961 @LIBWBCLIENT_STATIC@ \
964 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
968 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
972 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
973 $(LIBSMB_OBJ
) $(LDB_OBJ
) $(LIB_NONSMBD_OBJ
) \
976 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) $(KRBCLIENT_OBJ
) \
980 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
981 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
982 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
985 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
987 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
989 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
991 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
992 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
995 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
996 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
997 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
998 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1000 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1002 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
1003 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1004 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
1006 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1008 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1010 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1011 ..
/librpc
/gen_ndr
/ndr_eventlog.o \
1012 ..
/librpc
/gen_ndr
/ndr_lsa.o
1014 SHARESEC_OBJ0
= utils
/sharesec.o
1015 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1019 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1020 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSAMBA_OBJ
)
1022 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1023 @libreplacedir@
/test/getifaddrs.o \
1024 @libreplacedir@
/test/os2_delete.o \
1025 @libreplacedir@
/test/strptime.o \
1026 @libreplacedir@
/test/main.o \
1029 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1031 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LDB_OBJ
) \
1032 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1035 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1036 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
1039 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1040 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1041 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1042 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1045 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
1047 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1050 winbindd
/idmap_hash
/idmap_hash.o \
1051 winbindd
/idmap_hash
/mapfile.o
1054 winbindd
/idmap_adex
/idmap_adex.o \
1055 winbindd
/idmap_adex
/cell_util.o \
1056 winbindd
/idmap_adex
/likewise_cell.o \
1057 winbindd
/idmap_adex
/provider_unified.o \
1058 winbindd
/idmap_adex
/gc_util.o \
1059 winbindd
/idmap_adex
/domain_util.o
1062 winbindd
/winbindd.o \
1063 winbindd
/winbindd_user.o \
1064 winbindd
/winbindd_group.o \
1065 winbindd
/winbindd_util.o \
1066 winbindd
/winbindd_cache.o \
1067 winbindd
/winbindd_pam.o \
1068 winbindd
/winbindd_sid.o \
1069 winbindd
/winbindd_misc.o \
1070 winbindd
/winbindd_cm.o \
1071 winbindd
/winbindd_wins.o \
1072 winbindd
/winbindd_rpc.o \
1073 winbindd
/winbindd_reconnect.o \
1074 winbindd
/winbindd_ads.o \
1075 winbindd
/winbindd_passdb.o \
1076 winbindd
/winbindd_dual.o \
1077 winbindd
/winbindd_async.o \
1078 winbindd
/winbindd_creds.o \
1079 winbindd
/winbindd_cred_cache.o \
1080 winbindd
/winbindd_ccache_access.o \
1081 winbindd
/winbindd_domain.o \
1082 winbindd
/winbindd_idmap.o \
1083 winbindd
/winbindd_locator.o \
1084 winbindd
/winbindd_ndr.o \
1089 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1090 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1091 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1092 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1093 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1094 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1095 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1096 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
) \
1099 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1100 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1101 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1103 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1105 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1106 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1107 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1108 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1109 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1111 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1112 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1113 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1115 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1116 lib
/ldb
/modules
/objectclass.o \
1117 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1119 # enabled in configure.in
1120 LDB_LDAP_OBJ
=@LDBLDAP@
1122 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1124 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1125 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1126 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1127 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1130 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1131 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1132 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1133 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1134 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1135 LDBRENAME_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbrename.o
1137 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1138 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1140 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1141 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1143 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1144 iniparser_build
/strlib.o
1146 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1147 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1149 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1150 $(SOCKET_WRAPPER_OBJ
)
1152 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1153 $(SOCKET_WRAPPER_OBJ
)
1155 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1156 $(SOCKET_WRAPPER_OBJ
)
1159 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1161 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1162 ..
/lib
/util
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1163 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1164 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1165 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1166 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1167 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1170 VLP_OBJ1
= printing
/tests
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) ..
/librpc
/rpc
/binding.o
1172 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1173 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1174 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1175 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1178 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1182 @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1183 $(LIB_NONSMBD_OBJ
) \
1186 $(RPC_CLIENT_OBJ1
) \
1187 rpc_client
/cli_pipe.o \
1188 ..
/librpc
/rpc
/binding.o \
1192 ######################################################################
1194 ######################################################################
1195 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1196 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @CIFSUPCALL_PROGS@ \
1197 $(EXTRA_ALL_TARGETS
)
1201 nss_modules
:: $(NSS_MODULES
)
1203 pam_modules
:: $(PAM_MODULES
)
1205 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1207 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1209 gpext_modules
:: $(GPEXT_MODULES
)
1211 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
)
1213 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1215 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1217 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1219 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1221 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1223 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1225 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1227 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1229 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1231 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1233 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1235 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1237 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1239 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1241 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1243 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1244 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1245 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1247 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1249 modules
:: SHOWFLAGS
$(MODULES
)
1251 #####################################################################
1252 ## Perl IDL Compiler
1254 @PIDL_OUTPUTDIR
="../librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1255 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1256 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1257 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh \
1258 librpc
/idl
/messaging.idl librpc
/idl
/libnetapi.idl librpc
/idl
/notify.idl
1260 #####################################################################
1263 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1267 .SUFFIXES
: .c .o .lo
1270 @echo
"Using CFLAGS = $(CFLAGS)"
1271 @echo
" PICFLAG = $(PICFLAG)"
1272 @echo
" LIBS = $(LIBS)"
1273 @echo
" LDFLAGS = $(LDFLAGS)"
1274 @echo
" DYNEXP = $(DYNEXP)"
1275 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1276 @echo
" SHLIBEXT = @SHLIBEXT@"
1277 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1279 MAKEDIR
= || exec false
; \
1280 if
test -d
"$$dir"; then
:; else \
1281 echo mkdir
"$$dir"; \
1282 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1283 test -d
"$$dir" || \
1285 exec false
; fi || exec false
1287 # Run a static checker.
1288 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1289 # Compile a source file.
1290 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1291 # Compile a source file with the installation paths defined.
1292 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1294 COMPILE
= $(COMPILE_CC
)
1297 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1298 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1299 @if
test -n
"$(CC_CHECKER)"; then \
1300 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1303 @echo Compiling
$*.c
1304 @
$(COMPILE
) && exit
0;\
1305 echo
"The following command failed:" 1>&2;\
1306 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1307 $(COMPILE_CC) >/dev/null 2>&1
1308 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1310 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1312 # this adds support for precompiled headers. To use it, install a snapshot
1313 # of gcc-3.4 and run 'make pch' before you do the main build.
1315 rm -f $(PRECOMPILED_HEADER)
1316 $(MAKE) $(PRECOMPILED_HEADER)
1318 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1321 BINARY_PREREQS = bin/.dummy
1323 # These dependencies are only approximately correct: we want to make
1324 # sure Samba's paths are updated if ./configure is re-run. Really it
1325 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1326 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1327 # rebuild it's a bit hard.
1329 dynconfig.o: dynconfig.c Makefile
1330 @echo Compiling $*.c
1331 @$(COMPILE_CC_PATH) && exit 0;\
1332 echo "The following command failed
:" 1>&2;\
1333 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1334 $(COMPILE_CC_PATH) >/dev/null 2>&1
1336 localedir.o: localedir.c Makefile
1337 @echo Compiling $*.c
1338 @$(COMPILE_CC_PATH) && exit 0;\
1339 echo "The following command failed
:" 1>&2;\
1340 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1341 $(COMPILE_CC_PATH) >/dev/null 2>&1
1343 lib/pidfile.o: lib/pidfile.c
1344 @echo Compiling $*.c
1345 @$(COMPILE_CC_PATH) && exit 0;\
1346 echo "The following command failed
:" 1>&2;\
1347 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1348 $(COMPILE_CC_PATH) >/dev/null 2>&1
1350 lib/version.o: lib/version.c include/version.h
1351 @echo Compiling $*.c
1352 @$(COMPILE_CC_PATH) && exit 0;\
1353 echo "The following command failed
:" 1>&2;\
1354 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1355 $(COMPILE_CC_PATH) >/dev/null 2>&1
1357 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1358 @echo Compiling $*.c
1359 @$(COMPILE_CC_PATH) && exit 0;\
1360 echo "The following command failed
:" 1>&2;\
1361 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1362 $(COMPILE_CC_PATH) >/dev/null 2>&1
1364 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1366 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1369 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1370 dir=bin $(MAKEDIR); fi
1371 @: >> $@ || : > $@ # what a fancy emoticon!
1373 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1375 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) \
1376 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1377 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) \
1378 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1379 $(WINBIND_LIBS) $(ZLIB_LIBS)
1381 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1383 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1384 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1385 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1387 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1389 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1390 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1391 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1393 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1395 @$(CC) -o $@ $(LDFLAGS) $(PASSDB_LIBS) $(RPCCLIENT_OBJ) \
1396 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1397 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1398 $(WINBIND_LIBS) $(ZLIB_LIBS)
1400 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1402 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1403 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1404 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1405 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1407 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@ @LIBLUA_SHARED@
1409 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1410 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1411 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1412 @INIPARSERLIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBNETAPI_LIBS) $(LIBLUA_LIBS) -lm \
1415 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1417 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1418 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1420 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1422 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1423 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1425 bin/mount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_MOUNT_OBJ) @BUILD_POPT@
1427 @$(CC) -o $@ $(CIFS_MOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(POPT_LIBS)
1429 bin/umount.cifs@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UMOUNT_OBJ) @BUILD_POPT@
1431 @$(CC) -o $@ $(CIFS_UMOUNT_OBJ) $(DYNEXP) $(LDFLAGS) $(POPT_LIBS)
1433 bin/cifs.upcall@EXEEXT@: $(BINARY_PREREQS) $(CIFS_UPCALL_OBJ) $(LIBSMBCLIENT_OBJ1) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1435 @$(CC) -o $@ $(CIFS_UPCALL_OBJ) $(DYNEXP) $(LDFLAGS) \
1436 -lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \
1437 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) \
1438 $(LIBTDB_LIBS) $(NSCD_LIBS)
1440 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1442 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1443 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1445 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1447 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1448 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1450 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1452 @$(CC) -DUSING_SMBCONTROL -o $@ \
1453 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1454 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1455 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1457 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1459 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1460 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1461 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1463 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1465 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1466 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1467 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1469 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1471 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1472 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1473 $(LIBTDB_LIBS) $(WINBIND_LIBS)
1475 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1477 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1478 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1479 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1481 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1483 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1484 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1486 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1488 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1489 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1490 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(WINBIND_LIBS)
1492 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1494 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1495 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1496 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1498 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1500 @$(CC) @PIE_LDFLAGS@ -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1501 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1503 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1505 @$(CC) @PIE_LDFLAGS@ -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1506 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1507 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1509 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1511 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1512 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1513 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1515 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1517 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1518 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1519 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1521 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1523 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1524 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1525 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1527 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1529 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1530 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1531 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1533 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1535 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1536 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1538 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1540 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1541 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1543 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1545 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1546 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1547 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1549 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1551 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1552 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1553 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1555 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1557 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1558 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1559 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(ZLIB_LIBS)
1561 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1563 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1564 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1565 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1566 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1567 $(WINBIND_LIBS) $(ZLIB_LIBS)
1569 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1571 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1572 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1573 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1575 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1577 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1578 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1580 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1582 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1583 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1584 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1586 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
1588 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1589 $(LIBS) $(LIBTALLOC_LIBS)
1591 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1593 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(LIBS) \
1594 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1595 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1597 bin/ldbedit: $(BINARY_PREREQS) $(LDBEDIT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1599 @$(CC) -o $@ $(LDBEDIT_OBJ) $(DYNEXP) $(LDFLAGS) \
1600 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1601 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1603 bin/ldbsearch: $(BINARY_PREREQS) $(LDBSEARCH_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1605 @$(CC) -o $@ $(LDBSEARCH_OBJ) $(DYNEXP) $(LDFLAGS) \
1606 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1607 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1609 bin/ldbadd: $(BINARY_PREREQS) $(LDBADD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1611 @$(CC) -o $@ $(LDBADD_OBJ) $(DYNEXP) $(LDFLAGS) \
1612 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1613 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1615 bin/ldbmodify: $(BINARY_PREREQS) $(LDBMODIFY_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1617 @$(CC) -o $@ $(LDBMODIFY_OBJ) $(DYNEXP) $(LDFLAGS) \
1618 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1619 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1621 bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1623 @$(CC) -o $@ $(LDBDEL_OBJ) $(DYNEXP) $(LDFLAGS) \
1624 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1625 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1627 bin/ldbrename: $(BINARY_PREREQS) $(LDBRENAME_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1629 @$(CC) $(FLAGS) -o $@ $(LDBRENAME_OBJ) $(DYNEXP) $(LDFLAGS) \
1630 $(LIBS) $(POPT_LIBS) $(LDAP_LIBS) \
1631 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
1634 #####################################################################
1638 #####################################################################
1640 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1643 #-------------------------------------------------------------------
1647 #-------------------------------------------------------------------
1650 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1651 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1653 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1654 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1655 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1656 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1657 LIBTALLOC=$(LIBTALLOC_STATIC_TARGET) @LIBTALLOC_SHARED@
1658 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1659 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1661 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1662 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
1664 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
1665 @echo Linking shared library $@
1666 @$(SHLD_DSO) $(LIBTALLOC_OBJ) @SONAMEFLAG@`basename $@`
1668 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
1670 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1672 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
1673 @echo Linking non-shared library $@
1674 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
1676 libtalloc: $(LIBTALLOC)
1681 $(LIBTALLOC_STATIC_TARGET) \
1682 $(LIBTALLOC_SHARED_TARGET) \
1683 $(LIBTALLOC_SHARED_TARGET_SONAME)
1685 installlibtalloc:: installdirs libtalloc
1686 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1687 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1688 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1689 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
1690 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1691 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1693 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1694 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1695 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
1697 uninstalllibtalloc::
1698 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
1699 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1700 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
1701 -rm -f $(DESTDIR)${prefix}/include/talloc.h
1704 installlibs:: @INSTALL_LIBTALLOC@
1705 uninstalllibs:: @UNINSTALL_LIBTALLOC@
1706 cleanlibs:: cleanlibtalloc
1707 shlibs test_shlibs: @LIBTALLOC_SHARED@
1709 #-------------------------------------------------------------------
1713 #-------------------------------------------------------------------
1715 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
1716 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
1718 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
1719 LIBTDB_SOVER=@LIBTDB_SOVER@
1720 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
1721 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
1722 LIBTDB=$(LIBTDB_STATIC_TARGET) @LIBTDB_SHARED@
1723 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
1724 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
1726 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
1727 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
1729 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
1730 @echo Linking shared library $@
1731 @$(SHLD_DSO) $(LIBTDB_OBJ) \
1732 @SONAMEFLAG@`basename $@`
1734 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
1736 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1738 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
1739 @echo Linking non-shared library $@
1740 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
1747 $(LIBTDB_STATIC_TARGET) \
1748 $(LIBTDB_SHARED_TARGET) \
1749 $(LIBTDB_SHARED_TARGET_SONAME)
1752 installlibtdb:: installdirs libtdb
1753 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1754 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1755 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1756 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
1757 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1758 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1760 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1761 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1762 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
1765 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
1766 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1767 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
1768 -rm -f $(DESTDIR)${prefix}/include/tdb.h
1771 installlibs:: @INSTALL_LIBTDB@
1772 uninstalllibs:: @UNINSTALL_LIBTDB@
1773 cleanlibs:: cleanlibtdb
1774 shlibs test_shlibs: @LIBTDB_SHARED@
1776 #-------------------------------------------------------------------
1780 #-------------------------------------------------------------------
1782 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
1783 ../nsswitch/libwbclient/wbc_util.o \
1784 ../nsswitch/libwbclient/wbc_pwd.o \
1785 ../nsswitch/libwbclient/wbc_idmap.o \
1786 ../nsswitch/libwbclient/wbc_sid.o \
1787 ../nsswitch/libwbclient/wbc_guid.o \
1788 ../nsswitch/libwbclient/wbc_pam.o
1789 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
1791 @LIBTALLOC_STATIC@ $(LIBREPLACE_OBJ)
1793 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
1794 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
1795 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
1796 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
1797 LIBWBCLIENT=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1798 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
1799 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
1801 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
1802 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
1804 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS) @LIBTALLOC_SHARED@
1805 @echo Linking shared library $@
1806 @$(SHLD_DSO) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_OBJ) \
1807 @SONAMEFLAG@`basename $@`
1809 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1811 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1813 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1814 @echo Linking non-shared library $@
1815 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
1817 libwbclient: $(LIBWBCLIENT)
1821 $(LIBWBCLIENT_SYMS) \
1822 $(LIBWBCLIENT_STATIC_TARGET) \
1823 $(LIBWBCLIENT_SHARED_TARGET) \
1824 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
1826 installlibwbclient:: installdirs libwbclient
1827 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1828 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1829 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1830 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
1831 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1832 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1834 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1835 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
1837 uninstalllibwbclient::
1838 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1839 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1840 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
1843 installlibs:: @INSTALL_LIBWBCLIENT@
1844 uninstalllibs:: uninstalllibwbclient
1845 cleanlibs:: cleanlibwbclient
1846 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
1849 #-------------------------------------------------------------------
1853 #-------------------------------------------------------------------
1856 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
1857 LIBADDNS_SOVER=@LIBADDNS_SOVER@
1858 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
1859 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
1860 LIBADDNS=$(LIBADDNS_STATIC_TARGET) @LIBADDNS_SHARED@
1861 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1862 LIBADDNS_HEADERS=$(srcdir)/libaddns/addns.h
1864 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) @LIBTALLOC_SHARED@
1865 @echo Linking shared library $@
1866 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
1867 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
1868 @SONAMEFLAG@`basename $@`
1870 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
1872 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1874 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
1875 @echo Linking non-shared library $@
1876 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
1878 libaddns: $(LIBADDNS)
1882 $(LIBADDNS_SHARED_TARGET) \
1883 $(LIBADDNS_SHARED_TARGET_SONAME) \
1884 $(LIBADDNS_STATIC_TARGET)
1886 installlibaddns:: installdirs libaddns
1887 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1888 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1889 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1890 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
1891 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
1892 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
1894 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1897 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
1898 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
1899 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
1902 installlibs:: @INSTALL_LIBADDNS@
1903 uninstalllibs:: @UNINSTALL_LIBADDNS@
1904 cleanlibs:: cleanlibaddns
1905 shlibs test_shlibs: @LIBADDNS_SHARED@
1907 #-------------------------------------------------------------------
1911 #-------------------------------------------------------------------
1913 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
1915 librpc/gen_ndr/ndr_libnetapi.o \
1916 lib/netapi/libnetapi.o \
1917 lib/netapi/joindomain.o \
1918 lib/netapi/serverinfo.o \
1919 lib/netapi/getdc.o \
1921 lib/netapi/group.o \
1922 lib/netapi/localgroup.o \
1925 lib/netapi/share.o \
1928 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
1930 $(REG_SMBCONF_OBJ) \
1931 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
1932 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
1933 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) $(RPC_PARSE_OBJ) \
1934 $(PASSDB_OBJ) @LIBWBCLIENT_STATIC@ $(SMBLDAP_OBJ) $(GROUPDB_OBJ) $(LDB_OBJ) \
1935 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
1938 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
1939 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
1940 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
1941 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
1942 LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@
1943 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
1944 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
1946 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
1947 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
1949 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1950 @echo Linking shared library $@
1951 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
1952 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \
1953 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
1954 @SONAMEFLAG@`basename $@`
1956 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
1958 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
1960 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
1961 @echo Linking non-shared library $@
1962 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
1964 libnetapi: $(LIBNETAPI)
1969 $(LIBNETAPI_STATIC_TARGET) \
1970 $(LIBNETAPI_SHARED_TARGET) \
1971 $(LIBNETAPI_SHARED_TARGET_SONAME)
1973 installlibnetapi:: installdirs libnetapi
1974 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
1975 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
1976 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
1977 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
1978 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
1979 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
1981 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
1982 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
1983 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
1985 uninstalllibnetapi::
1986 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
1987 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
1988 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
1989 -rm -f $(DESTDIR)${prefix}/include/netapi.h
1992 installlibs:: @INSTALL_LIBNETAPI@
1993 uninstalllibs:: @UNINSTALL_LIBNETAPI@
1994 cleanlibs:: cleanlibnetapi
1995 shlibs test_shlibs: @LIBNETAPI_SHARED@
1997 #-------------------------------------------------------------------
2001 #-------------------------------------------------------------------
2003 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2004 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2005 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2006 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2007 LIBSMBCLIENT=$(LIBSMBCLIENT_STATIC_TARGET) @LIBSMBCLIENT_SHARED@
2008 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2009 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2011 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2012 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2014 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2015 @echo Linking shared library $@
2016 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) \
2017 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) $(LIBS) \
2018 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2019 @SONAMEFLAG@`basename $@`
2021 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2023 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2025 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2026 @echo Linking non-shared library $@
2027 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2029 libsmbclient: $(LIBSMBCLIENT)
2033 $(LIBSMBCLIENT_SHARED_TARGET) \
2034 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2035 $(LIBSMBCLIENT_STATIC_TARGET)
2037 installlibsmbclient:: installdirs libsmbclient
2038 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2039 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2040 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2041 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2042 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2043 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2045 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2046 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2047 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2049 installclientlib:: installlibsmbclient
2051 uninstalllibsmbclient::
2052 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2053 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2054 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2055 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2057 uninstallclientlib:: uninstalllibsmbclient
2060 installlibs:: @INSTALL_LIBSMBCLIENT@
2061 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2062 cleanlibs:: cleanlibsmbclient
2063 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2065 #-------------------------------------------------------------------
2069 #-------------------------------------------------------------------
2071 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2073 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0) @LIBTDB_STATIC@
2075 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2076 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2077 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2078 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2079 LIBSMBSHAREMODES=$(LIBSMBSHAREMODES_STATIC_TARGET) @LIBSMBSHAREMODES_SHARED@
2080 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2081 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2083 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2084 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2086 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2087 @echo Linking shared library $@
2088 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2089 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2090 $(KRB5LIBS) $(LDAP_LIBS) \
2091 @SONAMEFLAG@`basename $@`
2093 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2095 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2097 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2098 @echo Linking non-shared library $@
2099 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2101 libsmbsharemodes: $(LIBSMBSHAREMODES)
2103 cleanlibsmbsharemodes::
2105 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2106 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2107 $(LIBSMBSHAREMODES_STATIC_TARGET)
2109 installlibsmbsharemodes:: installdirs libsmbsharemodes
2110 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2111 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2112 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2113 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2114 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2115 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2117 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2118 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2119 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2121 uninstalllibsmbsharemodes::
2122 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2123 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2124 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2125 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2127 libs:: libsmbsharemodes
2128 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2129 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2130 cleanlibs:: cleanlibsmbsharemodes
2131 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2133 #-------------------------------------------------------------------
2137 #-------------------------------------------------------------------
2139 # This is probably wrong for anything other than the GNU linker.
2140 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) @LIBTALLOC_SHARED@
2141 @echo Linking shared library $@
2142 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2143 $(LIBS) $(LIBTALLOC_LIBS) \
2144 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2145 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2146 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2148 # It would be nice to build a static bigballofmud too, but when I try
2149 # I get linker errors about dl_open and similar things. I'm not sure if
2150 # it can be fixed or if they just can't be called from a static
2153 #-------------------------------------------------------------------
2157 #-------------------------------------------------------------------
2159 LIBLUA_OBJ0 = lua-5.1.4/src/lapi.o lua-5.1.4/src/lauxlib.o \
2160 lua-5.1.4/src/lbaselib.o lua-5.1.4/src/lcode.o \
2161 lua-5.1.4/src/ldblib.o lua-5.1.4/src/ldebug.o lua-5.1.4/src/ldo.o \
2162 lua-5.1.4/src/ldump.o lua-5.1.4/src/lfunc.o lua-5.1.4/src/lgc.o \
2163 lua-5.1.4/src/linit.o lua-5.1.4/src/liolib.o lua-5.1.4/src/llex.o \
2164 lua-5.1.4/src/lmathlib.o lua-5.1.4/src/lmem.o \
2165 lua-5.1.4/src/loadlib.o lua-5.1.4/src/lobject.o \
2166 lua-5.1.4/src/lopcodes.o lua-5.1.4/src/loslib.o \
2167 lua-5.1.4/src/lparser.o lua-5.1.4/src/lstate.o \
2168 lua-5.1.4/src/lstring.o lua-5.1.4/src/lstrlib.o \
2169 lua-5.1.4/src/ltable.o lua-5.1.4/src/ltablib.o lua-5.1.4/src/ltm.o \
2170 lua-5.1.4/src/lundump.o lua-5.1.4/src/lvm.o \
2171 lua-5.1.4/src/lzio.o lua-5.1.4/src/print.o
2173 LIBLUA_OBJ = $(LIBLUA_OBJ0)
2175 LIBLUA_SHARED_TARGET=@LIBLUA_SHARED_TARGET@
2176 LIBLUA_SOVER=@LIBLUA_SOVER@
2177 LIBLUA_SHARED_TARGET_SONAME=$(LIBLUA_SHARED_TARGET).$(LIBLUA_SOVER)
2178 LIBLUA_STATIC_TARGET=@LIBLUA_STATIC_TARGET@
2179 LIBLUA=$(LIBLUA_STATIC_TARGET) @LIBLUA_SHARED@
2180 LIBLUA_SYMS=$(srcdir)/exports/liblua.@SYMSEXT@
2181 LIBLUA_HEADERS=$(srcdir)/lua-5.1.4/src/lua.h
2183 $(LIBLUA_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBLUA_OBJ) $(LIBLUA_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2184 @echo Linking shared library $@
2185 @$(SHLD_DSO) $(LIBLUA_OBJ) \
2186 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2187 $(KRB5LIBS) $(LDAP_LIBS) \
2188 @SONAMEFLAG@`basename $@`
2190 $(LIBLUA_SHARED_TARGET): $(LIBLUA_SHARED_TARGET_SONAME)
2192 @ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` $@
2194 $(LIBLUA_STATIC_TARGET): $(BINARY_PREREQS) $(LIBLUA_OBJ0)
2195 @echo Linking non-shared library $@
2196 @-$(AR) -rc $@ $(LIBLUA_OBJ0)
2202 $(LIBLUA_SHARED_TARGET) \
2203 $(LIBLUA_SHARED_TARGET_SONAME) \
2204 $(LIBLUA_STATIC_TARGET)
2206 installliblua:: installdirs liblua
2207 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2208 -$(INSTALLLIBCMD_SH) $(LIBLUA_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2209 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2210 -if test -f $(LIBLUA_SHARED_TARGET_SONAME) ; then \
2211 ln -f -s `basename $(LIBLUA_SHARED_TARGET_SONAME)` \
2212 $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)` ; \
2214 -$(INSTALLLIBCMD_A) $(LIBLUA_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2215 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2216 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBLUA_HEADERS) $(DESTDIR)${prefix}/include
2219 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET)`
2220 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_SHARED_TARGET_SONAME)`
2221 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBLUA_STATIC_TARGET)`
2222 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2225 installlibs:: @INSTALL_LIBLUA@
2226 uninstalllibs:: @UNINSTALL_LIBLUA@
2227 cleanlibs:: cleanliblua
2228 shlibs test_shlibs: @LIBLUA_SHARED@
2231 #####################################################################
2235 #####################################################################
2237 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2238 SHLD_MODULE = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2239 -o $@ @SONAMEFLAG@`basename $@`
2241 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSA_OBJ)
2243 @$(SHLD_MODULE) $(RPC_LSA_OBJ)
2245 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2247 @$(SHLD_MODULE) $(RPC_SAMR_OBJ)
2249 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVC_OBJ)
2251 @$(SHLD_MODULE) $(RPC_SVC_OBJ)
2253 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2255 @$(SHLD_MODULE) $(RPC_SVCCTL_OBJ)
2257 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2259 @$(SHLD_MODULE) $(RPC_NTSVCS_OBJ)
2261 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKS_OBJ)
2263 @$(SHLD_MODULE) $(RPC_WKS_OBJ)
2265 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOG_OBJ)
2267 @$(SHLD_MODULE) $(RPC_NETLOG_OBJ)
2269 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_REG_OBJ)
2271 @$(SHLD_MODULE) $(RPC_REG_OBJ)
2273 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2275 @$(SHLD_MODULE) $(RPC_INITSHUTDOWN_OBJ)
2277 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2279 @$(SHLD_MODULE) $(RPC_DSSETUP_OBJ)
2281 bin/librpc_spoolss2.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2283 @$(SHLD_MODULE) $(RPC_SPOOLSS_OBJ)
2285 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2287 @$(SHLD_MODULE) $(RPC_EVENTLOG_OBJ)
2289 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DFS_OBJ)
2291 @$(SHLD_MODULE) $(RPC_DFS_OBJ)
2293 bin/librpc_echo.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_ECHO_OBJ)
2295 @$(SHLD_MODULE) $(RPC_ECHO_OBJ)
2297 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2299 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2300 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2301 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) \
2304 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2306 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2307 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2308 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2309 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS) \
2312 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2314 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2315 $(WINBIND_NSS_EXTRA_LIBS) $(WINBIND_NSS_PTHREAD) \
2316 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2318 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2320 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2321 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2322 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2324 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) @LIBWBCLIENT_SHARED@
2326 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(WINBIND_LIBS) \
2327 @SONAMEFLAG@`basename $@`
2329 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@
2330 @echo "Linking shared library
$@
"
2331 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2332 $(PAM_WINBIND_EXTRA_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) @SONAMEFLAG@`basename $@`
2334 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2335 @echo "Building plugin
$@
"
2336 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2338 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2339 @echo "Building plugin
$@
"
2340 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2342 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2343 @echo "Building plugin
$@
"
2344 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2346 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2347 @echo "Building plugin
$@
"
2348 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2350 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2351 @echo "Building plugin
$@
"
2352 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2354 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2355 @echo "Building plugin
$@
"
2356 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2358 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2359 @echo "Building plugin
$@
"
2360 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2362 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2363 @echo "Building plugin
$@
"
2364 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2366 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2367 @echo "Building plugin
$@
"
2368 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2370 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2371 @echo "Building plugin
$@
"
2372 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2374 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2375 @echo "Building plugin
$@
"
2376 @$(SHLD_MODULE) passdb/pdb_tdb.o
2378 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2379 @echo "Building plugin
$@
"
2380 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2382 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2383 @echo "Building plugin
$@
"
2384 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2386 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2387 @echo "Building plugin
$@
"
2388 @$(SHLD_MODULE) winbindd/idmap_rid.o
2390 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2391 @echo "Building plugin
$@
"
2392 @$(SHLD_MODULE) winbindd/idmap_ad.o
2394 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2395 @echo "Building plugin
$@
"
2396 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2398 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2399 @echo "Building plugin
$@
"
2400 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2402 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o
2403 @echo "Building plugin
$@
"
2404 @$(SHLD_MODULE) winbindd/idmap_tdb2.o
2406 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o
2407 @echo "Building plugin
$@
"
2408 @$(SHLD_MODULE) winbindd/idmap_ldap.o
2410 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2411 @echo "Building plugin
$@
"
2412 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2414 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2415 @echo "Building plugin
$@
"
2416 @$(SHLD_MODULE) $(CP850_OBJ)
2418 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2419 @echo "Building plugin
$@
"
2420 @$(SHLD_MODULE) $(CP437_OBJ)
2422 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2423 @echo "Building plugin
$@
"
2424 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2426 # NOTE, there is no build rule for a dynamic default VFS module because
2427 # this one MUST MUST MUST be built statically.
2429 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2430 @echo "Building plugin
$@
"
2431 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2433 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2434 @echo "Building plugin
$@
"
2435 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2437 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2438 @echo "Building plugin
$@
"
2439 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2441 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2442 @echo "Building plugin
$@
"
2443 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2445 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2446 @echo "Building plugin
$@
"
2447 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2449 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2450 @echo "Building plugin
$@
"
2451 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2453 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2454 @echo "Building plugin
$@
"
2455 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2457 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2458 @echo "Building plugin
$@
"
2459 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2461 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2462 @echo "Building plugin
$@
"
2463 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2465 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2466 @echo "Building plugin
$@
"
2467 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2469 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2470 @echo "Building plugin
$@
"
2471 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2473 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2474 @echo "Building plugin
$@
"
2475 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2477 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2478 @echo "Building plugin
$@
"
2479 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2481 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2482 @echo "Building plugin
$@
"
2483 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2485 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2486 @echo "Building plugin
$@
"
2487 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2489 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2490 @echo "Building plugin
$@
"
2491 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2493 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2494 @echo "Building plugin
$@
"
2495 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2497 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2498 @echo "Building plugin
$@
"
2499 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2501 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2502 @echo "Building plugin
$@
"
2503 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2505 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2506 @echo "Building plugin
$@
"
2507 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2509 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2510 @echo "Building plugin
$@
"
2511 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2513 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2514 @echo "Building plugin
$@
"
2515 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2517 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2518 @echo "Building plugin
$@
"
2519 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2521 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2522 @echo "Building plugin
$@
"
2523 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2525 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2526 @echo "Building plugin
$@
"
2527 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2529 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2530 @echo "Building plugin
$@
"
2531 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2533 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2534 @echo "Building plugin
$@
"
2535 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2537 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2538 @echo "Building plugin
$@
"
2539 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2541 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2542 @echo "Building plugin
$@
"
2543 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2545 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2546 @echo "Building plugin
$@
"
2547 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2549 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2550 @echo "Building plugin
$@
"
2551 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2553 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2554 @echo "Building plugin
$@
"
2555 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2557 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2558 @echo "Building plugin
$@
"
2559 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2561 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2562 @echo "Building plugin
$@
"
2563 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2565 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2566 @echo "Building plugin
$@
"
2567 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2569 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2570 @echo "Building plugin
$@
"
2571 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2573 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2574 @echo "Building plugin
$@
"
2575 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2577 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2578 @echo "Building plugin
$@
"
2579 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2581 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2582 @echo "Building plugin
$@
"
2583 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2585 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2586 @echo "Building plugin
$@
"
2587 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2589 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2590 @echo "Building plugin
$@
"
2591 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2593 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2594 @echo "Building plugin
$@
"
2595 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2597 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2598 @echo "Building plugin
$@
"
2599 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2601 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2602 @echo "Building plugin
$@
"
2603 @$(SHLD_MODULE) libgpo/gpext/registry.o
2605 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2606 @echo "Building plugin
$@
"
2607 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2609 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2610 @echo "Building plugin
$@
"
2611 @$(SHLD_MODULE) libgpo/gpext/security.o
2613 #########################################################
2614 ## IdMap NSS plugins
2616 ## None here right now
2617 #########################################################
2619 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2621 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
2622 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2625 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
2626 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2628 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
2629 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
2630 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
2631 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
2633 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2634 @echo "Linking shared library
$@
"
2635 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) -lpam $(DYNEXP) \
2636 $(LIBS) $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
2637 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(WINBIND_LIBS)
2639 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2641 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
2642 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2644 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2646 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
2647 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2649 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2651 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) \
2652 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2654 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2656 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
2657 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2659 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
2660 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2661 torture/t_strcmp.o -L ./bin -lbigballofmud
2663 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
2664 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2665 torture/t_strstr.o -L ./bin -lbigballofmud
2667 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) @LIBTALLOC_SHARED@ bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
2668 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
2669 torture/t_strappend.o -L ./bin -lbigballofmud
2671 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
2672 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
2673 -L./bin -lbigballofmud
2675 bin/timelimit@EXEEXT@: script/tests/timelimit.o
2677 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
2679 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2681 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
2682 $(LIBS) $(LIBTALLOC_LIBS) @LIBTDB_SHARED@ $(WINBIND_LIBS) \
2683 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
2685 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2687 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
2688 $(LDFLAGS) $(DYNEEXP) $(LIBS) \
2690 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2692 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2693 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2694 @INSTALL_PAM_MODULES@ installlibs installmo
2696 install-everything:: install installmodules
2698 # DESTDIR is used here to prevent packagers wasting their time
2699 # duplicating the Makefile. Remove it and you will have the privelege
2700 # of package each samba release for muliple versions of multiple
2701 # distributions and operating systems, or at least supplying patches
2702 # to all the packaging files required for this, prior to committing
2703 # the removal of DESTDIR. Do not remove it even though you think it
2707 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
2708 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
2709 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
2710 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
2712 installservers:: all installdirs
2713 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2715 installbin:: all installdirs
2716 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2718 installcifsmount:: @CIFSMOUNT_PROGS@
2719 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(ROOTSBINDIR)
2720 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2722 installcifsupcall:: @CIFSUPCALL_PROGS@
2723 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(SBINDIR)
2724 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) @CIFSUPCALL_PROGS@
2726 # Some symlinks are required for the 'probing' of modules.
2727 # This mechanism should go at some point..
2728 installmodules:: modules installdirs
2729 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2730 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2731 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2732 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2733 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
2734 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2735 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2736 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2737 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2738 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2739 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2740 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2741 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2742 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2743 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2744 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2745 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2746 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
2747 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
2749 installscripts:: installdirs
2750 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2752 installdat:: installdirs
2753 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2755 installmsg:: installdirs
2756 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
2758 installswat:: installdirs installmsg
2759 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2761 installpammodules:: $(PAM_MODULES)
2762 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
2763 @for module in $(PAM_MODULES); do \
2764 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2765 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
2766 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
2769 # revert to the previously installed version
2771 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
2772 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
2774 installman:: installdirs
2775 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
2777 installmo:: all installdirs
2778 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2783 @echo "Samba will be installed into
:"
2784 @echo " prefix: $(prefix)"
2785 @echo " bindir: $(BINDIR
)"
2786 @echo " sbindir
: $(SBINDIR
)"
2787 @echo " libdir: $(LIBDIR
)"
2788 @echo " modulesdir
: $(MODULESDIR
)"
2789 @echo " vardir
: $(VARDIR
)"
2790 @echo " mandir: $(MANDIR
)"
2791 @echo " privatedir
: $(PRIVATE_DIR
)"
2792 @echo " configdir
: $(CONFIGDIR
)"
2793 @echo " lockdir
: $(LOCKDIR
)"
2794 @echo " statedir: $(STATEDIR
)"
2795 @echo " cachedir
: $(CACHEDIR
)"
2796 @echo " piddir
: $(PIDDIR
)"
2797 @echo " swatdir
: $(SWATDIR
)"
2798 @echo " codepagedir
: $(CODEPAGEDIR
)"
2801 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
2804 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
2807 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
2810 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
2813 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
2815 uninstallcifsmount::
2816 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSMOUNT_PROGS@
2818 uninstallcifsupcall::
2819 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(ROOTSBINDIR) @CIFSUPCALL_PROGS@
2822 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
2823 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
2824 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(RPCLIBDIR) $(RPC_MODULES)
2825 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
2826 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
2827 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
2828 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
2829 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
2832 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
2835 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2838 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
2840 uninstallswat:: uninstallmsg
2841 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
2843 uninstallpammodules::
2844 @for module in $(PAM_MODULES); do \
2845 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2846 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
2849 # Toplevel clean files
2850 TOPFILES=dynconfig.o localedir.o
2853 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
2854 ../libcli/*.o ../libcli/*/*.o \
2858 -rm -f include/build_env.h
2859 -rm -f smbd/build_options.c
2860 -rm -f $(PRECOMPILED_HEADER)
2861 -rm -f core */*~ *~ \
2862 */*.o */*/*.o */*/*/*.o \
2863 ../testsuite/*/*.o \
2864 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*.@SHLIBEXT@ \
2865 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
2866 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(ROOT_SBIN_PROGS) \
2867 $(MODULES) $(TORTURE_PROGS) \
2868 $(EVERYTHING_PROGS) \
2870 .headers.stamp */src/*.o
2873 include/build_env.h: script/build_env.sh
2874 @echo Building include/build_env.h
2875 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
2876 > $(builddir)/include/build_env.h
2881 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append
2884 ctags `find $(srcdir)/.. -name "*.
[ch
]" | grep -v include/proto\.h`
2887 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
2888 -rm -f script/installbin.sh script/uninstallbin.sh
2890 distclean:: realclean
2892 -rm -f include/config.h Makefile
2893 -rm -f config.status config.cache so_locations
2896 realdistclean:: distclean
2897 -rm -f include/config.h.in
2898 -rm -f include/version.h
2901 # this target is really just for my use. It only works on a limited
2902 # range of machines and is used to produce a list of potentially
2903 # dead (ie. unused) functions in the code. (tridge)
2905 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
2906 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
2907 comm -13 nmused.txt nmfns.txt
2910 # when configure.in is updated, reconfigure
2911 $(srcdir)/configure: $(srcdir)/configure.in
2912 @echo "WARNING
: you need to rerun .
/autogen.sh
"
2914 config.status: $(srcdir)/configure
2915 @echo "WARNING
: you need to run .
/configure
"
2917 Makefile: $(srcdir)/Makefile.in config.status
2918 @echo "WARNING
: you need to run .
/config.status
"
2920 ######################################################################
2921 # Samba Testing Framework
2923 # Check shared libs for unresolved symbols
2926 @$(LIB_PATH_VAR)=./bin && \
2927 export $(LIB_PATH_VAR) && \
2928 for module in $?; do \
2929 ./script/tests/dlopen.sh $${module} \
2933 # Check for NSS module problems.
2934 test_nss_modules:: nss_modules
2935 @echo "Testing
$(NSS_MODULES
) "
2936 @$(LIB_PATH_VAR)=./bin && \
2937 export $(LIB_PATH_VAR) && \
2938 for module in $(NSS_MODULES); do \
2939 ./script/tests/dlopen.sh $${module} \
2943 # Check for PAM module problems. Specifically, check that every module we
2944 # built can actually be loaded by a minimal PAM-aware application.
2945 test_pam_modules:: pam_modules
2946 @echo "Testing
$(PAM_MODULES
) "
2947 @$(LIB_PATH_VAR)=./bin && \
2948 export $(LIB_PATH_VAR) && \
2949 for module in $(PAM_MODULES); do \
2950 ./script/tests/dlopen.sh -lpam -ldl bin/$${module}.@SHLIBEXT@ \
2956 ## Targets for 'make test'
2959 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
2961 test:: all torture timelimit
2962 @echo Running Test suite
2963 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
2965 valgrindtest:: all torture timelimit
2966 @echo Running Test suite with valgrind
2967 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
2968 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2969 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2970 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
2971 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
2972 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
2974 SELFTEST_FORMAT = plain
2975 selftestdir = ../selftest
2977 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
"
2979 selftest:: all torture timelimit
2980 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
2981 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
2982 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
2983 $(PERL) $(selftestdir)/selftest.pl \
2984 --prefix=${selftest_prefix} --target=samba3 \
2985 --testlist="$(srcdir)/selftest
/tests.sh|
" \
2986 --expected-failures=$(srcdir)/selftest/knownfail \
2987 --exclude=$(srcdir)/selftest/skip \
2988 --socket-wrapper $(TESTS) --format=$(SELFTEST_FORMAT) --immediate
2991 $(MAKE) selftest TESTS=$*
2993 # Check for Winbind struct 32/64bit padding
2995 @echo "Testing winbind request
/response structure for
32/64bit padding
"
2996 @./script/tests/wb_pad.sh || exit 1;
3002 libsmbclient_examples: libsmbclient
3003 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3005 clean_libsmbclient_examples:
3006 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3008 libnetapi_examples: libnetapi
3009 $(MAKE) -C lib/netapi/examples
3011 clean_libnetapi_examples:
3012 $(MAKE) -C lib/netapi/examples clean