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 automatically for --enable-developer,
41 # --enable-picky-developer and --enable-krb5developer.
42 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
45 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
50 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
51 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
52 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
54 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
63 TERMLDFLAGS
=@TERMLDFLAGS@
65 PRINT_LIBS
=@PRINT_LIBS@
69 PASSDB_LIBS
=@PASSDB_LIBS@
70 IDMAP_LIBS
=@IDMAP_LIBS@
75 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
76 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
77 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
78 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
79 DNSSD_LIBS
=@DNSSD_LIBS@
80 AVAHI_LIBS
=@AVAHI_LIBS@
82 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
83 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
84 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
85 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
86 LIBTDB_LIBS
=@LIBTDB_LIBS@
88 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
89 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
90 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
91 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
93 TALLOCTORT
= @TALLOCTORT@
95 TDBBACKUP
= @TDBBACKUP@
98 TDBRESTORE
= @TDBRESTORE@
99 TDBTORTURE
= @TDBTORTURE@
102 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
103 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
104 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
105 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
109 builddir
=@abs_builddir@
110 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
111 # will search for a POSIX-compliant shell, and that might not be
112 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
116 # See the autoconf manual "Installation Directory Variables" for a
117 # discussion of the subtle use of these variables.
121 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
123 ROOTSBINDIR
= @rootsbindir@
125 MODULESDIR
= @modulesdir@
126 INCLUDEDIR
=@
includedir@
127 PAMMODULESDIR
= @pammodulesdir@
128 VFSLIBDIR
= $(MODULESDIR
)/vfs
129 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
130 PDBLIBDIR
= $(MODULESDIR
)/pdb
131 RPCLIBDIR
= $(MODULESDIR
)/rpc
132 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
133 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
134 CHARSETLIBDIR
= $(MODULESDIR
)/charset
135 AUTHLIBDIR
= $(MODULESDIR
)/auth
136 CONFIGLIBDIR
= $(MODULESDIR
)/config
137 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
138 CONFIGDIR
= @configdir@
139 VARDIR
= @localstatedir@
143 # The permissions to give the executables and other data
144 INSTALLPERMS_BIN
= 0755
145 INSTALLPERMS_DATA
= 0644
147 # set these to where to find various files
148 # These can be overridden by command line switches (see smbd(8))
149 # or in smb.conf (see smb.conf(5))
150 LOGFILEBASE
= @logfilebase@
151 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
152 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
153 NCALRPCDIR
= @ncalrpcdir@
155 # This is where smbpasswd et al go
156 PRIVATEDIR
= @privatedir@
158 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
159 PRIVATE_DIR
= $(PRIVATEDIR
)
161 # This is where SWAT images and help files go
164 # This is where locale(mo) files go
165 LOCALEDIR
= @localedir@
167 # the directory where lock files go
170 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
171 CACHEDIR
= @cachedir@
172 STATEDIR
= @
statedir@
174 # Where to look for (and install) codepage databases.
175 CODEPAGEDIR
= @codepagedir@
177 # the directory where pid files go
180 # the directory where nmbd listens on the unexpected socket
181 NMBDSOCKETDIR
= @nmbdsocketdir@
193 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
194 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
195 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
196 -DSBINDIR
=\"$(SBINDIR
)\" \
197 -DBINDIR
=\"$(BINDIR
)\" \
198 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
199 -DSWATDIR
=\"$(SWATDIR
)\" \
200 -DLOCKDIR
=\"$(LOCKDIR
)\" \
201 -DPIDDIR
=\"$(PIDDIR
)\" \
202 -DLIBDIR
=\"$(LIBDIR
)\" \
203 -DMODULESDIR
=\"$(MODULESDIR
)\" \
204 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
205 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
206 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
207 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
208 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
209 -DCACHEDIR
=\"$(CACHEDIR
)\" \
210 -DSTATEDIR
=\"$(STATEDIR
)\" \
211 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
212 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
214 # Note that all executable programs now provide for an optional executable suffix.
216 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
218 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
219 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
220 bin
/smbta-util@EXEEXT@
221 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
222 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
225 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
226 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
227 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
229 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
230 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
231 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
232 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
234 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
236 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
237 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
239 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
240 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
241 bin
/log2pcap@EXEEXT@ \
242 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
243 bin
/dbwrap_tool@EXEEXT@ \
244 bin
/dbwrap_torture@EXEEXT@
246 PAM_MODULES
= @PAM_MODULES@
248 NSS_MODULES
= @NSS_MODULES@
250 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
252 VFS_MODULES
= @VFS_MODULES@
253 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
254 PDB_MODULES
= @PDB_MODULES@
255 IDMAP_MODULES
= @IDMAP_MODULES@
256 CHARSET_MODULES
= @CHARSET_MODULES@
257 AUTH_MODULES
= @AUTH_MODULES@
258 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
259 GPEXT_MODULES
= @GPEXT_MODULES@
260 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
261 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
262 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
264 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
266 ######################################################################
268 ######################################################################
270 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
271 lib
/dbwrap.o lib
/dbwrap_tdb.o \
276 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
278 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
280 VERSION_OBJ
= lib
/version.o
282 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
286 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
288 AVAHI_OBJ
= @AVAHI_OBJ@
290 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
292 PASSCHANGE_OBJ
= libsmb
/passchange.o
294 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
295 ..
/librpc
/ndr
/ndr_compression.o \
296 librpc
/gen_ndr
/ndr_drsuapi.o \
297 ..
/librpc
/ndr
/ndr_drsblobs.o \
298 librpc
/gen_ndr
/ndr_drsblobs.o
300 ZLIB_OBJ
= @ZLIB_OBJS@
302 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
303 ..
/lib
/compression
/lzxpress.o \
306 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
309 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
310 ..
/librpc
/ndr
/ndr_ntlmssp.o
312 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
313 ..
/librpc
/ndr
/ndr.o \
314 ..
/librpc
/ndr
/ndr_misc.o \
315 librpc
/gen_ndr
/ndr_misc.o \
316 librpc
/gen_ndr
/ndr_security.o \
317 ..
/librpc
/ndr
/ndr_sec_helper.o \
318 ..
/librpc
/ndr
/ndr_string.o \
319 ..
/librpc
/ndr
/uuid.o \
321 librpc
/gen_ndr
/ndr_dcerpc.o
323 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
324 librpc
/gen_ndr
/ndr_lsa.o
326 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
327 ..
/librpc
/ndr
/ndr_netlogon.o
329 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
330 ..
/librpc
/ndr
/ndr_schannel.o
332 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
333 ..
/librpc
/ndr
/ndr_spoolss_buf.o
335 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
336 ..
/librpc
/ndr
/ndr_ntprinting.o \
338 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
339 librpc
/ndr
/ndr_preg.o
341 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
342 ..
/librpc
/ndr
/ndr_xattr.o
344 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
345 rpc_client
/cli_spoolss.o \
346 rpc_client
/init_spoolss.o
348 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
350 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o
352 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
354 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
356 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
358 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
360 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
362 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
364 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
366 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
368 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
370 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/ndr_lsa_c.o \
371 rpc_client
/cli_lsarpc.o \
372 rpc_client
/init_lsa.o
374 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/ndr_samr_c.o \
375 rpc_client
/cli_samr.o
377 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
378 rpc_client
/cli_netlogon.o
380 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
382 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
384 librpc
/gen_ndr
/ndr_dfs.o \
385 librpc
/gen_ndr
/ndr_echo.o \
386 librpc
/gen_ndr
/ndr_winreg.o \
387 librpc
/gen_ndr
/ndr_initshutdown.o \
388 librpc
/gen_ndr
/ndr_srvsvc.o \
389 librpc
/gen_ndr
/ndr_eventlog.o \
390 $(LIBNDR_NETLOGON_OBJ
) \
391 librpc
/gen_ndr
/ndr_dssetup.o \
392 librpc
/gen_ndr
/ndr_epmapper.o \
393 librpc
/gen_ndr
/ndr_ntsvcs.o \
394 $(LIBNDR_SPOOLSS_OBJ
)
396 # this includes only the low level parse code, not stuff
397 # that requires knowledge of security contexts
398 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
400 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
402 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
403 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
407 $(SOCKET_WRAPPER_OBJ
) \
410 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
411 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
412 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
413 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
414 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
415 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
416 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
417 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
418 ..
/lib
/util
/tevent_werror.o \
419 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
420 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
423 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
424 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
425 ..
/lib
/crypto
/md4.o \
426 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
427 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
429 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
430 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
431 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
432 lib
/interfaces.o lib
/memcache.o \
436 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
439 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
440 lib
/interface.o lib
/pidfile.o \
441 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
443 ..
/libds
/common
/flag_mapping.o \
444 lib
/access.o lib
/smbrun.o \
445 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
447 lib
/util_str.o lib
/clobber.o lib
/util_sid.o \
448 lib
/util_unistr.o lib
/util_file.o \
449 lib
/util.o lib
/util_names.o \
450 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
451 lib
/substitute.o lib
/dbwrap_util.o \
452 lib
/ms_fnmatch.o lib
/errmap_unix.o \
453 lib
/tallocmsg.o lib
/dmallocmsg.o \
454 libsmb
/clisigning.o libsmb
/smb_signing.o \
455 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
456 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
457 lib
/sessionid_tdb.o \
458 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
459 lib
/server_contexts.o \
460 lib
/ldap_escape.o @CHARSET_STATIC@ \
461 lib
/secdesc.o ..
/libcli
/security
/access_check.o \
462 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
463 ..
/libcli
/security
/sddl.o \
464 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
466 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
467 lib
/file_id.o lib
/idmap_cache.o \
468 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
469 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o
471 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
472 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
474 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
476 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
477 # Be sure to include them into your application
478 POPT_LIB_OBJ
= lib
/popt_common.o
480 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
481 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
482 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
484 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
486 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
487 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
488 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
490 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
492 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
493 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
496 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
498 LIBADS_OBJ
= libads
/ldap.o \
499 libads
/sasl.o libads
/sasl_wrapping.o \
500 libads
/krb5_setpw.o \
501 libads
/kerberos_util.o \
503 libads
/ads_struct.o libads
/kerberos_keytab.o \
504 libads
/disp_sec.o libads
/ldap_utils.o \
505 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
507 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
508 ..
/librpc
/ndr
/ndr_krb5pac.o \
509 librpc
/gen_ndr
/ndr_krb5pac.o
511 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
513 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
514 librpc
/gen_ndr
/ndr_secrets.o
516 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
517 ..
/libcli
/netlogon
/netlogon.o \
518 ..
/libcli
/netlogon
/ndr_netlogon.o \
519 librpc
/gen_ndr
/ndr_nbt.o \
520 librpc
/gen_ndr
/ndr_svcctl.o \
521 ..
/librpc
/ndr
/ndr_svcctl.o
523 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
524 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o libsmb
/conncache.o \
525 libads
/dns.o libads
/sitename_cache.o
527 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
528 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
529 ERRORMAP_OBJ
= libsmb
/errormap.o
530 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
532 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
534 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
536 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
540 ..
/libcli
/auth
/ntlm_check.o \
542 libsmb
/ntlmssp_wrap.o \
543 ..
/libcli
/auth
/ntlmssp.o \
544 ..
/libcli
/auth
/ntlmssp_sign.o \
545 $(LIBNDR_NTLMSSP_OBJ
) \
546 ..
/libcli
/auth
/ntlmssp_ndr.o \
547 ..
/libcli
/auth
/ntlmssp_server.o
549 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
552 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
553 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o lib
/ldb_compat.o
555 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
556 ..
/lib
/tsocket
/tsocket_helpers.o \
557 ..
/lib
/tsocket
/tsocket_bsd.o
559 CLDAP_OBJ
= libads
/cldap.o \
560 ..
/libcli
/cldap
/cldap.o \
561 ..
/lib
/util
/idtree.o \
562 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
) $(LIBTSOCKET_OBJ
)
564 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
566 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
567 ..
/libcli
/auth
/schannel_sign.o \
568 ..
/libcli
/auth
/schannel_state_tdb.o \
569 $(LIBNDR_SCHANNEL_OBJ
)
571 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
572 libsmb
/clikrb5.o libsmb
/clispnego.o \
573 ..
/libcli
/auth
/spnego_parse.o \
575 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
576 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
577 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
578 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
579 libsmb
/clioplock.o libsmb
/clirap2.o \
580 libsmb
/smb_seal.o libsmb
/async_smb.o \
581 libsmb
/cli_np_tstream.o \
582 libsmb
/smbsock_connect.o \
589 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
590 rpc_client
/cli_pipe.o \
591 librpc
/crypto
/gse_krb5.o \
592 librpc
/crypto
/gse.o \
593 librpc
/crypto
/cli_spnego.o \
594 librpc
/rpc
/rpc_common.o \
595 rpc_client
/rpc_transport_np.o \
596 rpc_client
/rpc_transport_sock.o \
597 rpc_client
/rpc_transport_tstream.o \
598 ..
/librpc
/rpc
/binding.o \
599 ..
/librpc
/rpc
/dcerpc_util.o \
600 ..
/librpc
/rpc
/binding_handle.o \
601 librpc
/rpc
/dcerpc_helpers.o \
602 $(LIBCLI_EPMAPPER_OBJ
)
604 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
607 # registry-related objects
609 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
611 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
612 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
613 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
615 REGFIO_OBJ
= registry
/regfio.o \
618 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
620 REGOBJS_OBJ
= registry
/reg_objects.o
622 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
624 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
626 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
627 registry
/reg_backend_shares.o \
628 registry
/reg_backend_netlogon_params.o \
629 registry
/reg_backend_prod_options.o \
630 registry
/reg_backend_tcpip_params.o \
631 registry
/reg_backend_hkpt_params.o \
632 registry
/reg_backend_current_version.o \
633 registry
/reg_backend_perflib.o
635 REG_BASE_OBJ
= registry
/reg_api.o \
636 registry
/reg_dispatcher.o \
637 registry
/reg_cachehook.o \
639 registry
/reg_util_internal.o \
641 $(REG_BACKENDS_BASE_OBJ
) \
642 $(REG_INIT_BASIC_OBJ
)
644 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
645 registry
/reg_util_token.o \
646 registry
/reg_api_util.o \
647 $(REG_BACKENDS_SMBCONF_OBJ
) \
648 $(REG_INIT_SMBCONF_OBJ
)
650 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
651 $(REG_BACKENDS_EXTRA_OBJ
) \
652 $(REG_INIT_FULL_OBJ
) \
653 registry
/reg_eventlog.o \
654 registry
/reg_perfcount.o \
655 librpc
/gen_ndr
/ndr_perfcount.o
657 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
659 RPC_LSARPC_OBJ
= rpc_server
/srv_lsa_nt.o \
660 librpc
/gen_ndr
/srv_lsa.o
662 RPC_NETLOGON_OBJ
= rpc_server
/srv_netlog_nt.o \
663 librpc
/gen_ndr
/srv_netlogon.o
665 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
666 rpc_server
/srv_samr_util.o \
667 rpc_server
/srv_samr_chgpasswd.o \
668 librpc
/gen_ndr
/srv_samr.o
670 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
672 RPC_WINREG_OBJ
= rpc_server
/srv_winreg_nt.o \
673 librpc
/gen_ndr
/srv_winreg.o
675 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
677 RPC_SRVSVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
678 librpc
/gen_ndr
/srv_srvsvc.o
680 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
681 rpc_server
/srv_wkssvc_nt.o
683 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
684 librpc
/gen_ndr
/srv_svcctl.o \
685 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
686 services
/svc_netlogon.o services
/svc_winreg.o \
689 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
690 librpc
/gen_ndr
/srv_ntsvcs.o
692 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
693 rpc_server
/srv_dfs_nt.o
695 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
696 rpc_server
/srv_spoolss_util.o \
697 librpc
/gen_ndr
/srv_spoolss.o
699 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
700 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
702 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
703 librpc
/gen_ndr
/ndr_named_pipe_auth.o
705 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
706 rpc_server
/rpc_handles.o
708 RPC_SERVICE
= rpc_server
/rpc_server.o
710 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
711 rpc_server
/dcesrv_gssapi.o \
712 rpc_server
/dcesrv_spnego.o
714 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
715 $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
717 RPC_RPCECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
719 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
720 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
721 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
722 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
723 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) \
724 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
725 $(LIBCLI_SPOOLSS_OBJ
) \
726 $(LIBCLI_WINREG_OBJ
) \
727 $(LIBCLI_SRVSVC_OBJ
) \
730 $(LIBCLI_NETLOGON_OBJ
) \
731 $(RPC_CLIENT_SCHANNEL_OBJ
) \
732 rpc_client
/init_netlogon.o \
733 rpc_client
/init_samr.o
735 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
737 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
739 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
741 PRIVILEGES_OBJ
= lib
/privileges.o
743 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
745 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
746 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
747 passdb
/util_unixsids.o passdb
/lookup_sid.o \
748 passdb
/login_cache.o @PDB_STATIC@ \
749 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
750 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
752 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
753 CP850_OBJ
= modules
/CP850.o
754 CP437_OBJ
= modules
/CP437.o
755 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
757 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
759 PROFILE_OBJ
= profile
/profile.o
760 PROFILES_OBJ
= utils
/profiles.o \
763 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
767 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
770 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
771 librpc
/gen_ndr
/ndr_notify.o librpc
/gen_ndr
/ndr_file_id.o
773 FNAME_UTIL_OBJ
= smbd
/filename_util.o
775 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
776 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
777 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
778 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
779 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
780 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
781 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
782 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
783 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
784 VFS_CAP_OBJ
= modules
/vfs_cap.o
785 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
786 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
787 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
788 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
789 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
790 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
791 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
792 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
793 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
794 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
795 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
796 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
797 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
798 VFS_CATIA_OBJ
= modules
/vfs_catia.o
799 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
800 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
801 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
802 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
803 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
804 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
805 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
806 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
807 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
808 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
809 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
810 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
811 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
812 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
813 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
814 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
815 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
816 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
817 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
818 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
819 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
820 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
821 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
822 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
823 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
824 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
825 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
827 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
829 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
831 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
833 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
834 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
835 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
836 AUTH_SERVER_OBJ
= auth
/auth_server.o
837 AUTH_UNIX_OBJ
= auth
/auth_unix.o
838 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
839 AUTH_WBC_OBJ
= auth
/auth_wbc.o
840 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
841 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
843 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
845 auth
/server_info_sam.o \
849 auth
/auth_compat.o auth
/auth_ntlmssp.o \
850 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
852 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
854 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
856 BUILDOPT_OBJ
= smbd
/build_options.o
858 SMBD_OBJ_SRV
= smbd
/server_reload.o \
859 smbd
/files.o smbd
/connection.o \
860 smbd
/utmp.o smbd
/session.o \
861 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
862 smbd
/share_access.o smbd
/fileio.o \
863 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
864 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
865 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
866 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
867 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
868 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
869 smbd
/posix_acls.o lib
/sysacls.o \
870 smbd
/process.o smbd
/service.o smbd
/error.o \
871 printing
/printspoolss.o \
872 lib
/sysquotas.o lib
/sysquotas_linux.o \
873 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
874 lib
/sysquotas_nfs.o \
876 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
877 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
878 smbd
/dmapi.o smbd
/signing.o \
880 smbd
/dnsregister.o smbd
/globals.o \
882 smbd
/smb2_signing.o \
884 smbd
/smb2_negprot.o \
885 smbd
/smb2_sesssetup.o \
894 smbd
/smb2_keepalive.o \
897 smbd
/smb2_getinfo.o \
898 smbd
/smb2_setinfo.o \
900 ..
/libcli
/smb
/smb2_create_blob.o \
901 $(MANGLE_OBJ
) @VFS_STATIC@
903 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
905 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
906 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
907 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
908 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
909 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
910 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
911 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
913 $(PRIVILEGES_BASIC_OBJ
) \
915 $(REG_API_REGF_OBJ
) \
918 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
919 printing
/print_cups.o printing
/print_generic.o \
920 printing
/lpq_parse.o printing
/load.o \
921 printing
/print_iprint.o printing
/print_standard.o \
922 printing
/printer_list.o
924 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
925 PRINTBACKEND_OBJ
= printing
/printing.o \
926 printing
/nt_printing.o \
927 printing
/nt_printing_tdb.o \
928 printing
/nt_printing_migrate.o \
929 printing
/nt_printing_ads.o \
930 librpc
/gen_ndr
/ndr_ntprinting.o \
931 ..
/librpc
/ndr
/ndr_ntprinting.o \
934 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
936 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
937 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
938 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
939 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
940 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
941 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
942 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
943 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
944 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
945 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
946 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
947 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
949 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
950 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
953 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
954 web
/swat.o web
/neg_lang.o
956 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
957 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
958 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
959 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
960 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
962 rpc_client
/init_lsa.o
964 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
965 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
966 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
967 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
969 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
970 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
972 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
973 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
974 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
975 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
976 $(LIBMSRPC_GEN_OBJ
) \
980 TESTPARM_OBJ
= utils
/testparm.o \
981 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
984 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
986 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
988 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
989 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
990 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
992 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
994 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
995 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
996 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
997 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
998 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1000 rpc_client
/init_lsa.o
1002 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1003 $(LIBSAMBA_OBJ
) $(LIBTSOCKET_OBJ
) \
1004 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1005 $(LIBCLI_LDAP_NDR_OBJ
) \
1006 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1008 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1010 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1012 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1013 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1014 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1015 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1016 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1017 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1018 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1019 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1020 rpcclient
/cmd_winreg.o \
1023 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1024 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1025 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1026 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1027 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1028 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1029 $(LIBCLI_SPOOLSS_OBJ
) \
1030 $(LIBCLI_EVENTLOG_OBJ
) \
1031 $(LIBCLI_NTSVCS_OBJ
) \
1032 $(LIBCLI_DRSUAPI_OBJ
) \
1034 $(LIBCLI_ECHO_OBJ
) \
1035 $(LIBCLI_DSSETUP_OBJ
) \
1036 $(LIBCLI_WKSSVC_OBJ
) \
1037 $(LIBCLI_SRVSVC_OBJ
) \
1039 $(LIBCLI_SAMR_OBJ
) \
1040 $(LIBCLI_WINREG_OBJ
) \
1041 $(LIBCLI_NETLOGON_OBJ
) \
1042 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1043 rpc_client
/init_netlogon.o \
1044 rpc_client
/init_samr.o
1046 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1047 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1049 LIBSMBCLIENT_THREAD_OBJ
= \
1050 libsmb
/libsmb_thread_impl.o \
1051 libsmb
/libsmb_thread_posix.o
1053 LIBSMBCLIENT_OBJ0
= \
1054 libsmb
/libsmb_cache.o \
1055 libsmb
/libsmb_compat.o \
1056 libsmb
/libsmb_context.o \
1057 libsmb
/libsmb_dir.o \
1058 libsmb
/libsmb_file.o \
1059 libsmb
/libsmb_misc.o \
1060 libsmb
/libsmb_path.o \
1061 libsmb
/libsmb_printjob.o \
1062 libsmb
/libsmb_server.o \
1063 libsmb
/libsmb_stat.o \
1064 libsmb
/libsmb_xattr.o \
1065 libsmb
/libsmb_setget.o
1067 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1068 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1069 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1070 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1071 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1072 $(LIBCLI_SRVSVC_OBJ
) \
1075 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1077 # This shared library is intended for linking with unit test programs
1078 # to test Samba internals. It's called libbigballofmud.so to
1079 # discourage casual usage.
1081 LIBBIGBALLOFMUD_MAJOR
= 0
1083 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1084 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1085 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1087 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1088 client
/dnsbrowse.o \
1091 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1092 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1093 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1094 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1095 $(DISPLAY_SEC_OBJ
) \
1096 $(LIBCLI_SRVSVC_OBJ
)
1098 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1099 ..
/lib
/smbconf
/smbconf_util.o \
1100 ..
/lib
/smbconf
/smbconf_txt.o \
1101 lib
/smbconf
/smbconf_reg.o \
1102 lib
/smbconf
/smbconf_init.o
1104 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1106 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1107 $(LIB_NONSMBD_OBJ
) \
1112 LIBNET_OBJ
= libnet
/libnet_join.o \
1113 libnet
/libnet_keytab.o \
1114 librpc
/gen_ndr
/ndr_libnet_join.o
1116 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1117 libnet
/libnet_dssync_passdb.o \
1118 libnet
/libnet_dssync_keytab.o \
1119 ..
/libcli
/drsuapi
/repl_decrypt.o
1121 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1122 libnet
/libnet_samsync_ldif.o \
1123 libnet
/libnet_samsync_passdb.o \
1124 libnet
/libnet_samsync_display.o \
1125 libnet
/libnet_samsync_keytab.o \
1126 ..
/libcli
/samsync
/decrypt.o
1128 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1129 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1130 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1131 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1132 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1133 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1134 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1135 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1136 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1137 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1138 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
1139 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1140 utils
/net_g_lock.o \
1141 utils
/net_serverid.o \
1142 utils
/net_eventlog.o \
1143 utils
/net_printing.o \
1144 $(LIBNDR_NTPRINTING_OBJ
) \
1145 $(LIBNDR_PREG_OBJ
) \
1146 $(LIBCLI_SPOOLSS_OBJ
) \
1147 $(LIBCLI_WINREG_OBJ
) \
1148 $(LIBCLI_DRSUAPI_OBJ
) \
1149 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1150 $(LIBCLI_DSSETUP_OBJ
) \
1151 $(LIBCLI_SVCCTL_OBJ
) \
1152 $(LIBCLI_WKSSVC_OBJ
) \
1153 $(LIBCLI_SRVSVC_OBJ
) \
1155 $(LIBCLI_SAMR_OBJ
) \
1156 $(LIBCLI_NETLOGON_OBJ
) \
1157 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1158 rpc_client
/init_netlogon.o \
1159 rpc_client
/init_samr.o \
1160 registry
/reg_parse.o registry
/reg_format.o \
1161 registry
/reg_parse_internal.o registry
/reg_import.o \
1162 lib
/cbuf.o lib
/srprs.o
1164 # these are not processed by make proto
1165 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1167 NET_OBJ
= $(NET_OBJ1
) \
1168 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1169 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1170 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1171 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1172 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1173 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1174 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1175 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1176 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1177 $(REG_SMBCONF_OBJ
) \
1178 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1181 $(PRIVILEGES_BASIC_OBJ
) \
1182 $(LIB_EVENTLOG_OBJ
) localedir.o
1184 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1185 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1188 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1189 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1191 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1192 torture
/denytest.o torture
/mangle_test.o \
1194 torture
/test_async_echo.o \
1195 torture
/test_smbsock_any_connect.o \
1196 torture
/test_addrchange.o \
1197 torture
/test_posix_append.o
1199 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1200 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1201 @LIBWBCLIENT_STATIC@ \
1202 torture
/wbc_async.o \
1204 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1206 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1207 $(LIB_NONSMBD_OBJ
) \
1210 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1211 $(LIB_NONSMBD_OBJ
) \
1214 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1215 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1216 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1218 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1220 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1221 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1222 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1225 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1227 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1229 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1231 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1232 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1233 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1235 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1236 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1237 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1238 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1241 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1243 $(LIB_NONSMBD_OBJ
) \
1244 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1245 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1248 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1250 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1252 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1253 librpc
/gen_ndr
/ndr_eventlog.o \
1254 librpc
/gen_ndr
/ndr_lsa.o
1256 SHARESEC_OBJ0
= utils
/sharesec.o
1257 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1261 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1262 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1264 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1265 @libreplacedir@
/test/getifaddrs.o \
1266 @libreplacedir@
/test/os2_delete.o \
1267 @libreplacedir@
/test/strptime.o \
1268 @libreplacedir@
/test/main.o \
1269 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1271 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1273 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1274 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1277 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1278 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1280 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1281 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1282 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1283 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1286 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1288 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1290 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1293 winbindd
/idmap_hash
/idmap_hash.o \
1294 winbindd
/idmap_hash
/mapfile.o
1297 winbindd
/idmap_adex
/idmap_adex.o \
1298 winbindd
/idmap_adex
/cell_util.o \
1299 winbindd
/idmap_adex
/likewise_cell.o \
1300 winbindd
/idmap_adex
/provider_unified.o \
1301 winbindd
/idmap_adex
/gc_util.o \
1302 winbindd
/idmap_adex
/domain_util.o
1305 winbindd
/winbindd.o \
1306 winbindd
/winbindd_group.o \
1307 winbindd
/winbindd_util.o \
1308 winbindd
/winbindd_cache.o \
1309 winbindd
/winbindd_pam.o \
1310 winbindd
/winbindd_misc.o \
1311 winbindd
/winbindd_cm.o \
1312 winbindd
/winbindd_wins.o \
1313 winbindd
/winbindd_msrpc.o \
1314 winbindd
/winbindd_rpc.o \
1315 winbindd
/winbindd_reconnect.o \
1316 winbindd
/winbindd_ads.o \
1317 winbindd
/winbindd_samr.o \
1318 winbindd
/winbindd_dual.o \
1319 winbindd
/winbindd_dual_ndr.o \
1320 winbindd
/winbindd_dual_srv.o \
1321 librpc
/gen_ndr
/ndr_wbint_c.o \
1322 librpc
/gen_ndr
/srv_wbint.o \
1323 librpc
/gen_ndr
/ndr_wbint.o \
1324 winbindd
/winbindd_async.o \
1325 winbindd
/winbindd_creds.o \
1326 winbindd
/winbindd_cred_cache.o \
1327 winbindd
/winbindd_ccache_access.o \
1328 winbindd
/winbindd_domain.o \
1329 winbindd
/winbindd_idmap.o \
1330 winbindd
/winbindd_locator.o \
1331 winbindd
/winbindd_ndr.o \
1332 winbindd
/wb_ping.o \
1333 winbindd
/wb_lookupsid.o \
1334 winbindd
/wb_lookupname.o \
1335 winbindd
/wb_sid2uid.o \
1336 winbindd
/wb_sid2gid.o \
1337 winbindd
/wb_uid2sid.o \
1338 winbindd
/wb_gid2sid.o \
1339 winbindd
/wb_queryuser.o \
1340 winbindd
/wb_lookupuseraliases.o \
1341 winbindd
/wb_lookupusergroups.o \
1342 winbindd
/wb_getpwsid.o \
1343 winbindd
/wb_gettoken.o \
1344 winbindd
/wb_seqnum.o \
1345 winbindd
/wb_seqnums.o \
1346 winbindd
/wb_group_members.o \
1347 winbindd
/wb_getgrsid.o \
1348 winbindd
/wb_query_user_list.o \
1349 winbindd
/wb_fill_pwent.o \
1350 winbindd
/wb_next_pwent.o \
1351 winbindd
/wb_next_grent.o \
1352 winbindd
/wb_dsgetdcname.o \
1353 winbindd
/winbindd_lookupsid.o \
1354 winbindd
/winbindd_lookupname.o \
1355 winbindd
/winbindd_sid_to_uid.o \
1356 winbindd
/winbindd_sid_to_gid.o \
1357 winbindd
/winbindd_uid_to_sid.o \
1358 winbindd
/winbindd_gid_to_sid.o \
1359 winbindd
/winbindd_allocate_uid.o \
1360 winbindd
/winbindd_allocate_gid.o \
1361 winbindd
/winbindd_getpwsid.o \
1362 winbindd
/winbindd_getpwnam.o \
1363 winbindd
/winbindd_getpwuid.o \
1364 winbindd
/winbindd_getsidaliases.o \
1365 winbindd
/winbindd_getuserdomgroups.o \
1366 winbindd
/winbindd_getgroups.o \
1367 winbindd
/winbindd_show_sequence.o \
1368 winbindd
/winbindd_getgrgid.o \
1369 winbindd
/winbindd_getgrnam.o \
1370 winbindd
/winbindd_getusersids.o \
1371 winbindd
/winbindd_lookuprids.o \
1372 winbindd
/winbindd_setpwent.o \
1373 winbindd
/winbindd_getpwent.o \
1374 winbindd
/winbindd_endpwent.o \
1375 winbindd
/winbindd_setgrent.o \
1376 winbindd
/winbindd_getgrent.o \
1377 winbindd
/winbindd_endgrent.o \
1378 winbindd
/winbindd_dsgetdcname.o \
1379 winbindd
/winbindd_getdcname.o \
1380 winbindd
/winbindd_list_users.o \
1381 winbindd
/winbindd_list_groups.o \
1382 winbindd
/winbindd_check_machine_acct.o \
1383 winbindd
/winbindd_change_machine_acct.o \
1384 winbindd
/winbindd_ping_dc.o \
1385 winbindd
/winbindd_pam_auth.o \
1386 winbindd
/winbindd_pam_auth_crap.o \
1387 winbindd
/winbindd_pam_chauthtok.o \
1388 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1389 winbindd
/winbindd_pam_logoff.o \
1393 auth
/check_samsec.o \
1394 auth
/server_info.o \
1395 auth
/server_info_sam.o \
1401 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1402 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1403 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1404 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1405 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1406 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1407 $(RPC_NCACN_NP
) $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1408 $(NPA_TSTREAM_OBJ
) \
1409 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1410 $(LIBADS_SERVER_OBJ
) \
1411 $(TDB_VALIDATE_OBJ
) \
1412 $(LIBCLI_DSSETUP_OBJ
) \
1414 $(LIBCLI_SAMR_OBJ
) \
1415 $(LIBCLI_NETLOGON_OBJ
) \
1416 rpc_client
/init_netlogon.o \
1417 rpc_client
/init_samr.o
1419 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1420 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1421 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1423 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1425 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1426 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1428 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1429 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1431 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1432 ..
/lib
/iniparser_build
/strlib.o
1434 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1435 $(SOCKET_WRAPPER_OBJ
)
1437 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1438 $(SOCKET_WRAPPER_OBJ
)
1440 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1441 $(SOCKET_WRAPPER_OBJ
)
1443 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1444 $(SOCKET_WRAPPER_OBJ
)
1446 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1447 $(SOCKET_WRAPPER_OBJ
)
1450 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1452 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1453 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o libads
/kerberos.o \
1454 libsmb
/samlogon_cache.o \
1455 $(LIBADS_SERVER_OBJ
) \
1456 $(PASSDB_OBJ
) $(LIBTSOCKET_OBJ
) $(GROUPDB_OBJ
) \
1457 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1459 $(LIBCLI_LDAP_NDR_OBJ
) \
1460 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1463 VLP_OBJ
= printing
/tests
/vlp.o \
1464 ..
/lib
/util
/util_tdb.o \
1465 $(LIBSAMBAUTIL_OBJ
) \
1468 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1472 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1473 $(LIB_NONSMBD_OBJ
) \
1478 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1480 $(LIB_NONSMBD_OBJ
) \
1483 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1485 $(LIB_NONSMBD_OBJ
) \
1489 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1491 $(LIB_NONSMBD_OBJ
) \
1495 ######################################################################
1497 ######################################################################
1498 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1499 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1500 $(EXTRA_ALL_TARGETS
)
1504 nss_modules
:: $(NSS_MODULES
)
1506 pam_modules
:: $(PAM_MODULES
)
1508 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1510 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1512 gpext_modules
:: $(GPEXT_MODULES
)
1514 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1516 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1518 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1520 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1522 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1524 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1526 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1528 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1530 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1532 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1534 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1536 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1538 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1540 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1542 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1544 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1546 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1547 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1548 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1550 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1552 modules
:: SHOWFLAGS
$(MODULES
)
1555 #####################################################################
1556 ## Perl IDL Compiler
1558 IDL_FILES
= librpc
/idl
/messaging.idl \
1559 librpc
/idl
/libnetapi.idl \
1560 librpc
/idl
/notify.idl \
1561 librpc
/idl
/wbint.idl \
1562 librpc
/idl
/perfcount.idl \
1563 librpc
/idl
/secrets.idl \
1564 librpc
/idl
/libnet_join.idl \
1568 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1569 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1570 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1571 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1574 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1575 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1576 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1577 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1579 #####################################################################
1582 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1586 .SUFFIXES
: .c .o .lo
1588 .PHONY
: showflags SHOWFLAGS
1590 showflags
: SHOWFLAGS
1593 @echo
"Using CFLAGS = $(CFLAGS)"
1594 @echo
" PICFLAG = $(PICFLAG)"
1595 @echo
" LIBS = $(LIBS)"
1596 @echo
" LDFLAGS = $(LDFLAGS)"
1597 @echo
" DYNEXP = $(DYNEXP)"
1598 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1599 @echo
" SHLIBEXT = @SHLIBEXT@"
1600 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1602 # "showcflags" target for debuggin how CFLAGS are composed:
1604 .PHONY
: showcflags SHOWCFLAGS
1606 showcflags
: SHOWCFLAGS
1609 @echo
"CFLAGS = $(CFLAGS)"
1610 @echo
"FLAGS = $(FLAGS)"
1612 @echo
"FLAGS1 = @FLAGS1@"
1613 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1614 @echo
"CPPFLAGS = $(CPPFLAGS)"
1615 @echo
"ISA = $(ISA)"
1617 MAKEDIR
= || exec false
; \
1618 if
test -d
"$$dir"; then
:; else \
1619 echo mkdir
"$$dir"; \
1620 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1621 test -d
"$$dir" || \
1623 exec false
; fi || exec false
1625 # Run a static checker.
1626 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1627 # Compile a source file.
1628 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1629 # Compile a source file with the installation paths defined.
1630 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1632 COMPILE
= $(COMPILE_CC
)
1635 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1636 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1637 @if
test -n
"$(CC_CHECKER)"; then \
1638 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1641 @echo Compiling
$*.c
1642 @
$(COMPILE
) && exit
0;\
1643 echo
"The following command failed:" 1>&2;\
1644 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1645 $(COMPILE_CC) >/dev/null 2>&1
1646 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1648 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1650 # this adds support for precompiled headers. To use it, install a snapshot
1651 # of gcc-3.4 and run 'make pch' before you do the main build.
1653 rm -f $(PRECOMPILED_HEADER)
1654 $(MAKE) $(PRECOMPILED_HEADER)
1656 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1659 BINARY_PREREQS = bin/.dummy
1661 # These dependencies are only approximately correct: we want to make
1662 # sure Samba's paths are updated if ./configure is re-run. Really it
1663 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1664 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1665 # rebuild it's a bit hard.
1667 dynconfig.o: dynconfig.c Makefile
1668 @echo Compiling $*.c
1669 @$(COMPILE_CC_PATH) && exit 0;\
1670 echo "The following command failed
:" 1>&2;\
1671 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1672 $(COMPILE_CC_PATH) >/dev/null 2>&1
1674 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1675 @echo Compiling $*.c
1676 @$(COMPILE_CC_PATH) && exit 0;\
1677 echo "The following command failed
:" 1>&2;\
1678 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1679 $(COMPILE_CC_PATH) >/dev/null 2>&1
1681 ### Start section of object files that require PTHREAD_CFLAGS
1682 ../nsswitch/wins.o: ../nsswitch/wins.c
1683 @echo Compiling $*.c
1684 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1685 echo "The following command failed
:" 1>&2;\
1686 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1687 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1689 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1690 @echo Compiling $*.c
1691 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1692 echo "The following command failed
:" 1>&2;\
1693 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1694 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1696 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1697 @echo Compiling $*.c
1698 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1699 echo "The following command failed
:" 1>&2;\
1700 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1701 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1703 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1704 @echo Compiling $*.c
1705 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1706 echo "The following command failed
:" 1>&2;\
1707 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1708 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1709 ### End section of object files that require PTHREAD_CFLAGS
1711 localedir.o: localedir.c Makefile
1712 @echo Compiling $*.c
1713 @$(COMPILE_CC_PATH) && exit 0;\
1714 echo "The following command failed
:" 1>&2;\
1715 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1716 $(COMPILE_CC_PATH) >/dev/null 2>&1
1718 lib/pidfile.o: lib/pidfile.c
1719 @echo Compiling $*.c
1720 @$(COMPILE_CC_PATH) && exit 0;\
1721 echo "The following command failed
:" 1>&2;\
1722 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1723 $(COMPILE_CC_PATH) >/dev/null 2>&1
1725 lib/version.o: lib/version.c include/version.h
1726 @echo Compiling $*.c
1727 @$(COMPILE_CC_PATH) && exit 0;\
1728 echo "The following command failed
:" 1>&2;\
1729 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1730 $(COMPILE_CC_PATH) >/dev/null 2>&1
1732 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1733 @echo Compiling $*.c
1734 @$(COMPILE_CC_PATH) && exit 0;\
1735 echo "The following command failed
:" 1>&2;\
1736 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1737 $(COMPILE_CC_PATH) >/dev/null 2>&1
1739 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1741 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1744 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1745 dir=bin $(MAKEDIR); fi
1746 @: >> $@ || : > $@ # what a fancy emoticon!
1748 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1750 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1751 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1752 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1753 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1754 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1756 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1758 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1759 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1760 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1761 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1763 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1765 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1766 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1767 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1769 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1771 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1772 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1773 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1774 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1776 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1778 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1779 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1780 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1781 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1783 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1785 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1786 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1787 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1788 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1791 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1793 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1794 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1796 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1798 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1799 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1800 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1802 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1804 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1805 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1807 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1809 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1810 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1812 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1814 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1815 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1817 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1819 @$(CC) -DUSING_SMBCONTROL -o $@ \
1820 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1821 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1822 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1824 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1826 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1827 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1828 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1830 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1832 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1833 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1834 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1836 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1838 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1839 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1840 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1842 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1844 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1845 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1846 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1848 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1850 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1851 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1853 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1855 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1856 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1857 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1859 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1861 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1862 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1863 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1865 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1867 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1868 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1870 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1872 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1873 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1874 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1876 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1878 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1879 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1880 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1881 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1883 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1885 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1886 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1887 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1889 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1891 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1892 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1893 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1895 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1897 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1898 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1899 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1901 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1903 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1904 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1906 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1908 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1909 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1911 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1913 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1914 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1915 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1916 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1918 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ)
1920 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
1922 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1924 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1925 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1926 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1928 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1930 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1931 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1932 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1933 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1934 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1936 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1938 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1939 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1940 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1942 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1944 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1945 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1947 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1949 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1950 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1951 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1952 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1954 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1956 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1957 $(LIBS) $(LIBTALLOC_LIBS)
1959 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1961 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1962 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1963 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1964 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1966 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1968 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1971 #####################################################################
1975 #####################################################################
1977 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1980 #-------------------------------------------------------------------
1984 #-------------------------------------------------------------------
1987 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1988 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1990 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1991 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1992 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1993 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1994 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1995 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1997 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1998 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2000 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2001 @echo Linking shared library $@
2002 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2004 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
2006 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2008 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2009 @echo Linking non-shared library $@
2010 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2011 libtalloc: $(LIBTALLOC)
2016 $(LIBTALLOC_STATIC_TARGET) \
2017 $(LIBTALLOC_SHARED_TARGET) \
2018 $(LIBTALLOC_SHARED_TARGET_SONAME)
2020 installlibtalloc:: installdirs libtalloc
2021 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2022 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2023 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2024 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2025 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2026 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2028 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2029 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2030 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2032 uninstalllibtalloc::
2033 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2034 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2035 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2036 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2039 installlibs:: @INSTALL_LIBTALLOC@
2040 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2041 cleanlibs:: cleanlibtalloc
2042 shlibs test_shlibs: @LIBTALLOC_SHARED@
2046 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2047 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2048 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2050 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2051 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2052 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2053 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2054 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2056 showlibs:: showlibtalloc
2058 #-------------------------------------------------------------------
2062 #-------------------------------------------------------------------
2064 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2065 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2067 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2068 LIBTDB_SOVER=@LIBTDB_SOVER@
2069 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
2070 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2071 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2072 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2074 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2075 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2077 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2078 @echo Linking shared library $@
2079 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2080 @SONAMEFLAG@`basename $@`
2082 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
2084 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2086 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2087 @echo Linking non-shared library $@
2088 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2095 $(LIBTDB_STATIC_TARGET) \
2096 $(LIBTDB_SHARED_TARGET) \
2097 $(LIBTDB_SHARED_TARGET_SONAME)
2100 installlibtdb:: installdirs libtdb
2101 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2102 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2103 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2104 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2105 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2106 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2108 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2109 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2110 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2113 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2114 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2115 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2116 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2119 installlibs:: @INSTALL_LIBTDB@
2120 uninstalllibs:: @UNINSTALL_LIBTDB@
2121 cleanlibs:: cleanlibtdb
2122 shlibs test_shlibs: @LIBTDB_SHARED@
2126 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2127 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2128 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2130 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2131 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2132 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2133 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2134 @echo "LIBTDB
= $(LIBTDB
)"
2136 showlibs:: showlibtdb
2138 #-------------------------------------------------------------------
2142 #-------------------------------------------------------------------
2144 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2145 ../nsswitch/libwbclient/wbc_util.o \
2146 ../nsswitch/libwbclient/wbc_pwd.o \
2147 ../nsswitch/libwbclient/wbc_idmap.o \
2148 ../nsswitch/libwbclient/wbc_sid.o \
2149 ../nsswitch/libwbclient/wbc_guid.o \
2150 ../nsswitch/libwbclient/wbc_pam.o
2152 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2155 ../lib/util/blocking.o \
2156 $(SOCKET_WRAPPER_OBJ)
2158 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2159 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2160 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
2161 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2162 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2163 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2165 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2166 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2168 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2169 @echo Linking shared library $@
2170 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2171 @SONAMEFLAG@`basename $@`
2173 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2175 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2177 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2178 @echo Linking non-shared library $@
2179 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2181 libwbclient: $(LIBWBCLIENT)
2185 $(LIBWBCLIENT_SYMS) \
2186 $(LIBWBCLIENT_STATIC_TARGET) \
2187 $(LIBWBCLIENT_SHARED_TARGET) \
2188 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2190 installlibwbclient:: installdirs libwbclient
2191 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2192 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2193 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2194 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2195 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2196 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2198 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2199 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2200 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2202 uninstalllibwbclient::
2203 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2204 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2205 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2206 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2209 installlibs:: @INSTALL_LIBWBCLIENT@
2210 uninstalllibs:: uninstalllibwbclient
2211 cleanlibs:: cleanlibwbclient
2212 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2216 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2217 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2218 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2220 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2221 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2222 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2223 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2224 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2226 showlibs:: showlibwbclient
2229 #-------------------------------------------------------------------
2233 #-------------------------------------------------------------------
2236 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2237 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2238 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
2239 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2240 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2241 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2242 LIBADDNS_HEADERS=$(srcdir)/../lib/addns/addns.h
2244 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2245 @echo Linking shared library $@
2246 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2247 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2248 @SONAMEFLAG@`basename $@`
2250 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2252 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2254 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2255 @echo Linking non-shared library $@
2256 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2258 libaddns: $(LIBADDNS)
2262 $(LIBADDNS_SHARED_TARGET) \
2263 $(LIBADDNS_SHARED_TARGET_SONAME) \
2264 $(LIBADDNS_STATIC_TARGET)
2266 installlibaddns:: installdirs libaddns
2267 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2268 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2269 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2270 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2271 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2272 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2274 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2277 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2278 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2279 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2282 installlibs:: @INSTALL_LIBADDNS@
2283 uninstalllibs:: @UNINSTALL_LIBADDNS@
2284 cleanlibs:: cleanlibaddns
2285 shlibs test_shlibs: @LIBADDNS_SHARED@
2289 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2290 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2291 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2293 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2294 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2295 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2296 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2297 @echo "LIBADDNS
= $(LIBADDNS
)"
2299 showlibs:: showlibaddns
2301 #-------------------------------------------------------------------
2305 #-------------------------------------------------------------------
2307 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2309 librpc/gen_ndr/ndr_libnetapi.o \
2310 lib/netapi/libnetapi.o \
2311 lib/netapi/joindomain.o \
2312 lib/netapi/serverinfo.o \
2313 lib/netapi/getdc.o \
2315 lib/netapi/group.o \
2316 lib/netapi/localgroup.o \
2319 lib/netapi/share.o \
2321 lib/netapi/shutdown.o \
2322 lib/netapi/netlogon.o
2324 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2326 $(REG_SMBCONF_OBJ) \
2327 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2328 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2329 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2330 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2331 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2333 $(LIBCLI_INITSHUTDOWN_OBJ) \
2334 $(LIBCLI_WKSSVC_OBJ) \
2335 $(LIBCLI_SRVSVC_OBJ) \
2337 $(LIBCLI_SAMR_OBJ) \
2338 $(LIBCLI_NETLOGON_OBJ) \
2339 $(RPC_CLIENT_SCHANNEL_OBJ) \
2340 rpc_client/init_netlogon.o \
2341 rpc_client/init_samr.o
2343 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2344 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2345 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2346 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2347 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2348 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2350 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2351 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2353 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2354 @echo Linking shared library $@
2355 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2356 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2357 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2358 @SONAMEFLAG@`basename $@`
2360 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2362 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2364 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2365 @echo Linking non-shared library $@
2366 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2368 libnetapi: $(LIBNETAPI)
2373 $(LIBNETAPI_STATIC_TARGET) \
2374 $(LIBNETAPI_SHARED_TARGET) \
2375 $(LIBNETAPI_SHARED_TARGET_SONAME)
2377 installlibnetapi:: installdirs libnetapi
2378 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2379 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2380 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2381 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2382 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2383 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2385 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2386 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2387 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2389 uninstalllibnetapi::
2390 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2391 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2392 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2393 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2396 installlibs:: @INSTALL_LIBNETAPI@
2397 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2398 cleanlibs:: cleanlibnetapi
2399 shlibs test_shlibs: @LIBNETAPI_SHARED@
2403 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2404 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2405 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2407 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2408 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2409 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2410 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2411 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2413 showlibs:: showlibnetapi
2415 #-------------------------------------------------------------------
2419 #-------------------------------------------------------------------
2421 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2422 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2423 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2424 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2425 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2426 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2427 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2429 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2430 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2432 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2433 @echo Linking shared library $@
2434 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2435 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2436 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2437 @SONAMEFLAG@`basename $@`
2439 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2441 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2443 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2444 @echo Linking non-shared library $@
2445 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2447 libsmbclient: $(LIBSMBCLIENT)
2451 $(LIBSMBCLIENT_SHARED_TARGET) \
2452 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2453 $(LIBSMBCLIENT_STATIC_TARGET)
2455 installlibsmbclient:: installdirs libsmbclient
2456 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2457 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2458 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2459 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2460 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2461 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2463 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2464 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2465 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2467 installclientlib:: installlibsmbclient
2469 uninstalllibsmbclient::
2470 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2471 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2472 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2473 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2475 uninstallclientlib:: uninstalllibsmbclient
2478 installlibs:: @INSTALL_LIBSMBCLIENT@
2479 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2480 cleanlibs:: cleanlibsmbclient
2481 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2485 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2486 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2487 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2489 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2490 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2491 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2492 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2493 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2495 showlibs:: showlibsmbclient
2497 #-------------------------------------------------------------------
2501 #-------------------------------------------------------------------
2503 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2505 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2507 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2508 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2509 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2510 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2511 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2512 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2513 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2515 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2516 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2518 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2519 @echo Linking shared library $@
2520 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2521 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2522 @SONAMEFLAG@`basename $@`
2524 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2526 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2528 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2529 @echo Linking non-shared library $@
2530 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2532 libsmbsharemodes: $(LIBSMBSHAREMODES)
2534 cleanlibsmbsharemodes::
2536 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2537 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2538 $(LIBSMBSHAREMODES_STATIC_TARGET)
2540 installlibsmbsharemodes:: installdirs libsmbsharemodes
2541 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2542 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2543 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2544 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2545 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2546 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2548 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2549 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2550 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2552 uninstalllibsmbsharemodes::
2553 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2554 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2555 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2556 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2558 libs:: libsmbsharemodes
2559 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2560 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2561 cleanlibs:: cleanlibsmbsharemodes
2562 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2564 showlibsmbsharemodes:
2566 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2567 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2568 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2569 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2571 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2572 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2573 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2574 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2575 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2577 showlibs:: showlibsmbsharemodes
2579 #-------------------------------------------------------------------
2583 #-------------------------------------------------------------------
2585 # This is probably wrong for anything other than the GNU linker.
2586 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2587 @echo Linking shared library $@
2588 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2589 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2590 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2591 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2592 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2594 # It would be nice to build a static bigballofmud too, but when I try
2595 # I get linker errors about dl_open and similar things. I'm not sure if
2596 # it can be fixed or if they just can't be called from a static
2599 #####################################################################
2603 #####################################################################
2605 # Linker command to link our shared libraries:
2606 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2607 -o $@ @SONAMEFLAG@`basename $@`
2608 # Linker command to link samba internal plugin modules:
2609 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2610 -o $@ @SONAMEFLAG@`basename $@`
2612 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2614 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2616 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2618 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2620 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2622 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2624 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2626 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2628 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2630 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2632 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2634 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2636 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2638 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2640 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2642 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2644 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2646 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2648 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2650 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2652 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2654 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2656 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2658 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2660 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2662 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2664 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2666 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2668 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2670 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2671 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2672 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2675 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB)
2677 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2678 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2681 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2683 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2684 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2685 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2687 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2689 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2690 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2691 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2693 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2695 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2696 @SONAMEFLAG@`basename $@`
2698 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2699 @echo "Linking shared library
$@
"
2700 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2701 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2707 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2708 @echo "Building plugin
$@
"
2709 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2711 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2712 @echo "Building plugin
$@
"
2713 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2715 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2716 @echo "Building plugin
$@
"
2717 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2719 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2720 @echo "Building plugin
$@
"
2721 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2723 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2724 @echo "Building plugin
$@
"
2725 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2727 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2728 @echo "Building plugin
$@
"
2729 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2731 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2732 @echo "Building plugin
$@
"
2733 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2735 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2736 @echo "Building plugin
$@
"
2737 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2739 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2740 @echo "Building plugin
$@
"
2741 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2743 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2744 @echo "Building plugin
$@
"
2745 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2747 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2748 @echo "Building plugin
$@
"
2749 @$(SHLD_MODULE) passdb/pdb_ads.o
2751 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2752 @echo "Building plugin
$@
"
2753 @$(SHLD_MODULE) passdb/pdb_tdb.o
2755 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2756 @echo "Building plugin
$@
"
2757 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2759 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2760 @echo "Building plugin
$@
"
2761 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2763 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2764 @echo "Building plugin
$@
"
2765 @$(SHLD_MODULE) winbindd/idmap_rid.o
2767 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2768 @echo "Building plugin
$@
"
2769 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2771 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2772 @echo "Building plugin
$@
"
2773 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2775 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2776 @echo "Building plugin
$@
"
2777 @$(SHLD_MODULE) winbindd/idmap_ad.o
2779 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2780 @echo "Building plugin
$@
"
2781 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2783 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2784 @echo "Building plugin
$@
"
2785 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2787 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2788 @echo "Building plugin
$@
"
2789 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2791 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2792 @echo "Building plugin
$@
"
2793 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2795 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2796 @echo "Building plugin
$@
"
2797 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2799 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2800 @echo "Building plugin
$@
"
2801 @$(SHLD_MODULE) $(CP850_OBJ)
2803 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2804 @echo "Building plugin
$@
"
2805 @$(SHLD_MODULE) $(CP437_OBJ)
2807 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2808 @echo "Building plugin
$@
"
2809 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2811 # NOTE, there is no build rule for a dynamic default VFS module because
2812 # this one MUST MUST MUST be built statically.
2814 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2815 @echo "Building plugin
$@
"
2816 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2818 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2819 @echo "Building plugin
$@
"
2820 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2822 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2823 @echo "Building plugin
$@
"
2824 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2826 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2827 @echo "Building plugin
$@
"
2828 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2830 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2831 @echo "Building plugin
$@
"
2832 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2834 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2835 @echo "Building plugin
$@
"
2836 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2838 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2842 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2846 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2850 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2854 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2855 @echo "Building plugin
$@
"
2856 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2858 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2862 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2866 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2870 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2874 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2875 @echo "Building plugin
$@
"
2876 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2878 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2879 @echo "Building plugin
$@
"
2880 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2882 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2883 @echo "Building plugin
$@
"
2884 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2886 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2887 @echo "Building plugin
$@
"
2888 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2890 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2891 @echo "Building plugin
$@
"
2892 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2894 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2895 @echo "Building plugin
$@
"
2896 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2898 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2899 @echo "Building plugin
$@
"
2900 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2902 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2903 @echo "Building plugin
$@
"
2904 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2906 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2907 @echo "Building plugin
$@
"
2908 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2910 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2911 @echo "Building plugin
$@
"
2912 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2914 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2915 @echo "Building plugin
$@
"
2916 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2918 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2919 @echo "Building plugin
$@
"
2920 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2922 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2923 @echo "Building plugin
$@
"
2924 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2926 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2927 @echo "Building plugin
$@
"
2928 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2930 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2931 @echo "Building plugin
$@
"
2932 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2934 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2935 @echo "Building plugin
$@
"
2936 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2938 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2939 @echo "Building plugin
$@
"
2940 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2942 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2943 @echo "Building plugin
$@
"
2944 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2946 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2947 @echo "Building plugin
$@
"
2948 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2950 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2951 @echo "Building plugin
$@
"
2952 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2954 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2955 @echo "Building plugin
$@
"
2956 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2958 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2959 @echo "Building plugin
$@
"
2960 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2962 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2963 @echo "Building plugin
$@
"
2964 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2966 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2967 @echo "Building plugin
$@
"
2968 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2970 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2971 @echo "Building plugin
$@
"
2972 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2974 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2975 @echo "Building plugin
$@
"
2976 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2978 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2979 @echo "Building plugin
$@
"
2980 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2982 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2983 @echo "Building plugin
$@
"
2984 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2986 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2987 @echo "Building plugin
$@
"
2988 @$(SHLD_MODULE) libgpo/gpext/registry.o
2990 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2991 @echo "Building plugin
$@
"
2992 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2994 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2995 @echo "Building plugin
$@
"
2996 @$(SHLD_MODULE) libgpo/gpext/security.o
2998 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
2999 @echo "Building plugin
$@
"
3000 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3002 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3003 @echo "Building plugin
$@
"
3004 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3006 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3007 @echo "Building plugin
$@
"
3008 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3010 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3011 @echo "Building plugin
$@
"
3012 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3014 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3015 @echo "Building plugin
$@
"
3016 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3018 #########################################################
3019 ## IdMap NSS plugins
3021 ## None here right now
3022 #########################################################
3024 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3026 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3027 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3030 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3031 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3033 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3034 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
3035 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3036 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3038 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3039 @echo "Linking shared library
$@
"
3040 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3041 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3042 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3044 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3046 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3047 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3049 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3051 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3052 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3054 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3056 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3058 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3060 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3062 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3064 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3065 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3067 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3068 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3069 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3071 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3072 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3073 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3075 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3076 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3077 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3079 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3080 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3081 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3083 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3085 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3087 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3089 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3090 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3091 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3093 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3095 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3096 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3097 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3098 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3100 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3102 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3103 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3105 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3107 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3108 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3110 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3112 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3113 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3116 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3118 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3119 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3121 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3123 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3124 $(LDFLAGS) $(DYNEXP) \
3125 $(LIBS) $(POPT_LIBS) \
3126 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3127 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3129 install:: installservers installbin installman \
3130 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3131 @INSTALL_PAM_MODULES@ installlibs installmo
3133 install-everything:: install installmodules
3135 # DESTDIR is used here to prevent packagers wasting their time
3136 # duplicating the Makefile. Remove it and you will have the privelege
3137 # of package each samba release for muliple versions of multiple
3138 # distributions and operating systems, or at least supplying patches
3139 # to all the packaging files required for this, prior to committing
3140 # the removal of DESTDIR. Do not remove it even though you think it
3144 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3145 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3146 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3148 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3150 installservers:: all installdirs
3151 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3153 installbin:: all installdirs
3154 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3156 # Some symlinks are required for the 'probing' of modules.
3157 # This mechanism should go at some point..
3158 installmodules:: modules installdirs
3159 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3160 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3161 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3162 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3163 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3164 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3165 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3166 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3167 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3168 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3169 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3170 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3171 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3172 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3173 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3174 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3175 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3176 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3178 installscripts:: installdirs
3179 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3181 installdat:: installdirs
3182 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3184 installmsg:: installdirs
3185 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3187 installswat:: installdirs installmsg
3188 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3190 installpammodules:: $(PAM_MODULES)
3191 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3192 @for module in $(PAM_MODULES); do \
3193 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3194 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3195 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3198 # revert to the previously installed version
3200 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3201 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3203 installman:: installdirs
3204 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3206 installmo:: all installdirs
3207 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3212 @echo "Samba will be installed into
:"
3213 @echo " prefix: $(prefix)"
3214 @echo " bindir: $(BINDIR
)"
3215 @echo " sbindir
: $(SBINDIR
)"
3216 @echo " libdir: $(LIBDIR
)"
3217 @echo " modulesdir
: $(MODULESDIR
)"
3218 @echo " vardir
: $(VARDIR
)"
3219 @echo " mandir: $(MANDIR
)"
3220 @echo " privatedir
: $(PRIVATE_DIR
)"
3221 @echo " configdir
: $(CONFIGDIR
)"
3222 @echo " lockdir
: $(LOCKDIR
)"
3223 @echo " statedir: $(STATEDIR
)"
3224 @echo " cachedir
: $(CACHEDIR
)"
3225 @echo " piddir
: $(PIDDIR
)"
3226 @echo " nmbdsocketdir
: $(NMBSOCKETDIR
)"
3227 @echo " swatdir
: $(SWATDIR
)"
3228 @echo " datadir: ${DATADIR}"
3229 @echo " codepagedir
: $(CODEPAGEDIR
)"
3232 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3235 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3238 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3241 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3244 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3247 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3248 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3249 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3250 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3251 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3252 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3253 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3256 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3259 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3262 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3264 uninstallswat:: uninstallmsg
3265 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3267 uninstallpammodules::
3268 @for module in $(PAM_MODULES); do \
3269 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3270 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3273 # Toplevel clean files
3274 TOPFILES=dynconfig.o localedir.o
3277 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3279 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3281 ../libgpo/*.o ../libgpo/*/*.o \
3282 ../libds/*.o ../libds/*/*.o
3285 -rm -f include/build_env.h
3286 -rm -f smbd/build_options.c
3287 -rm -f $(PRECOMPILED_HEADER)
3288 -rm -f core */*~ *~ \
3289 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3290 ../testsuite/*/*.o \
3291 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3293 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3294 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3295 $(MODULES) $(TORTURE_PROGS) \
3296 $(EVERYTHING_PROGS) \
3298 .headers.stamp */src/*.o
3301 include/build_env.h: script/build_env.sh
3302 @echo Building include/build_env.h
3303 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3304 > $(builddir)/include/build_env.h
3310 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3313 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3316 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3317 -rm -f script/installbin.sh script/uninstallbin.sh
3319 distclean:: realclean
3321 -rm -f include/config.h Makefile
3322 -rm -f config.status config.cache so_locations
3325 realdistclean:: distclean
3326 -rm -f include/config.h.in
3327 -rm -f include/version.h
3330 # this target is really just for my use. It only works on a limited
3331 # range of machines and is used to produce a list of potentially
3332 # dead (ie. unused) functions in the code. (tridge)
3334 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3335 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3336 comm -13 nmused.txt nmfns.txt
3339 # when configure.in is updated, reconfigure
3340 $(srcdir)/configure: $(srcdir)/configure.in
3341 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3343 config.status: $(srcdir)/configure
3344 @echo "WARNING
: you need to run .
/configure
"
3346 Makefile: $(srcdir)/Makefile.in config.status
3347 @echo "WARNING
: you need to run .
/config.status
"
3349 ######################################################################
3350 # Samba Testing Framework
3352 # Check shared libs for unresolved symbols
3355 @$(LIB_PATH_VAR)=./bin && \
3356 export $(LIB_PATH_VAR) && \
3357 for module in $?; do \
3358 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3362 # Check for NSS module problems.
3363 test_nss_modules:: nss_modules
3364 @echo "Testing
$(NSS_MODULES
) "
3365 @$(LIB_PATH_VAR)=./bin && \
3366 export $(LIB_PATH_VAR) && \
3367 for module in $(NSS_MODULES); do \
3368 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3372 # Check for PAM module problems. Specifically, check that every module we
3373 # built can actually be loaded by a minimal PAM-aware application.
3374 test_pam_modules:: pam_modules
3375 @echo "Testing
$(PAM_MODULES
) "
3376 @$(LIB_PATH_VAR)=./bin && \
3377 export $(LIB_PATH_VAR) && \
3378 for module in $(PAM_MODULES); do \
3379 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3385 ## Targets for 'make test'
3388 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3390 oldtest:: all torture timelimit
3391 @echo Running Test suite
3392 @LIB_PATH_VAR=$(LIB_PATH_VAR) PERL="$(PERL
)" NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/@WINBIND_NSS@
" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3394 valgrindtest:: all torture timelimit
3395 @echo Running Test suite with valgrind
3396 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3397 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3398 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3399 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3400 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3401 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3403 selftestdir = ../selftest
3405 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3407 test:: all torture timelimit
3408 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3409 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3410 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3411 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3412 SOURCEDIR="$(srcdir)" \
3413 VFSLIBDIR="$(builddir
)/bin
" \
3414 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3415 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3416 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3417 $(srcdir)/selftest/s3-selftest.sh
3420 $(MAKE) test TESTS=$*
3423 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3426 $(MAKE) test SUBUNIT_FORMATTER=cat
3428 SELFTEST_TESTENV = dc
3431 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3434 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3435 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3436 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3437 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3441 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3442 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3443 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3444 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3448 # Check for Winbind struct 32/64bit padding
3450 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3451 @./script/tests/wb_pad.sh || exit 1;
3457 libsmbclient_examples: libsmbclient
3458 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3460 clean_libsmbclient_examples:
3461 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3463 libnetapi_examples: libnetapi
3464 $(MAKE) -C lib/netapi/examples
3466 clean_libnetapi_examples:
3467 $(MAKE) -C lib/netapi/examples clean
3469 ../source4/configure: ../buildtools/scripts/configure.waf
3470 cd ../source4 && ./autogen.sh
3472 samba4-configure: ../source4/configure
3473 @CFLAGS='' $(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
3474 CFLAGS='' ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
3476 .PHONY: samba4-configure
3478 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
3479 cd ../source4 && $(MAKE) bin/smbtorture
3480 cp ../source4/bin/smbtorture bin/smbtorture4
3482 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
3483 cd ../source4 && $(MAKE) bin/ndrdump
3484 cp ../source4/bin/ndrdump bin/ndrdump4
3486 .PHONY: bin/smbtorture4