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@
194 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
195 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
196 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
197 -DSBINDIR
=\"$(SBINDIR
)\" \
198 -DBINDIR
=\"$(BINDIR
)\" \
199 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
200 -DSWATDIR
=\"$(SWATDIR
)\" \
201 -DLOCKDIR
=\"$(LOCKDIR
)\" \
202 -DPIDDIR
=\"$(PIDDIR
)\" \
203 -DLIBDIR
=\"$(LIBDIR
)\" \
204 -DMODULESDIR
=\"$(MODULESDIR
)\" \
205 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
206 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
207 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
208 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
209 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
210 -DCACHEDIR
=\"$(CACHEDIR
)\" \
211 -DSTATEDIR
=\"$(STATEDIR
)\" \
212 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
213 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
215 # Note that all executable programs now provide for an optional executable suffix.
217 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
219 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
220 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
221 bin
/smbta-util@EXEEXT@
222 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
223 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
226 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
227 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
228 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
230 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
231 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
232 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
233 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
235 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
237 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
238 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
240 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
241 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
242 bin
/log2pcap@EXEEXT@ \
243 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
244 bin
/dbwrap_tool@EXEEXT@ \
245 bin
/dbwrap_torture@EXEEXT@
247 PAM_MODULES
= @PAM_MODULES@
249 NSS_MODULES
= @NSS_MODULES@
251 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
253 VFS_MODULES
= @VFS_MODULES@
254 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
255 PDB_MODULES
= @PDB_MODULES@
256 IDMAP_MODULES
= @IDMAP_MODULES@
257 CHARSET_MODULES
= @CHARSET_MODULES@
258 AUTH_MODULES
= @AUTH_MODULES@
259 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
260 GPEXT_MODULES
= @GPEXT_MODULES@
261 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
262 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
263 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
265 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
267 ######################################################################
269 ######################################################################
271 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
272 lib
/dbwrap.o lib
/dbwrap_tdb.o \
277 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
279 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
281 VERSION_OBJ
= lib
/version.o
283 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
287 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
289 AVAHI_OBJ
= @AVAHI_OBJ@
291 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
293 PASSCHANGE_OBJ
= libsmb
/passchange.o
295 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
296 ..
/librpc
/ndr
/ndr_compression.o \
297 librpc
/gen_ndr
/ndr_drsuapi.o \
298 ..
/librpc
/ndr
/ndr_drsblobs.o \
299 librpc
/gen_ndr
/ndr_drsblobs.o
301 ZLIB_OBJ
= @ZLIB_OBJS@
303 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
304 ..
/lib
/compression
/lzxpress.o \
307 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
310 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
311 ..
/librpc
/ndr
/ndr_ntlmssp.o
313 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
314 ..
/librpc
/ndr
/ndr.o \
315 ..
/librpc
/ndr
/ndr_misc.o \
316 librpc
/gen_ndr
/ndr_misc.o \
317 librpc
/gen_ndr
/ndr_security.o \
318 ..
/librpc
/ndr
/ndr_sec_helper.o \
319 ..
/librpc
/ndr
/ndr_string.o \
320 ..
/librpc
/ndr
/uuid.o \
322 librpc
/gen_ndr
/ndr_dcerpc.o
324 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
325 librpc
/gen_ndr
/ndr_lsa.o
327 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
328 ..
/librpc
/ndr
/ndr_netlogon.o
330 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
331 ..
/librpc
/ndr
/ndr_schannel.o
333 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
334 ..
/librpc
/ndr
/ndr_spoolss_buf.o
336 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
337 ..
/librpc
/ndr
/ndr_ntprinting.o \
339 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
340 librpc
/ndr
/ndr_preg.o
342 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
343 ..
/librpc
/ndr
/ndr_xattr.o
345 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/cli_spoolss.o \
346 librpc
/gen_ndr
/ndr_spoolss_c.o \
347 rpc_client
/cli_spoolss.o \
348 rpc_client
/init_spoolss.o
350 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
352 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/cli_winreg.o \
353 librpc
/gen_ndr
/ndr_winreg_c.o
355 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
357 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
359 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
361 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/cli_echo.o \
362 librpc
/gen_ndr
/ndr_echo_c.o
364 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
366 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
368 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
370 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
372 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
374 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
375 librpc
/gen_ndr
/ndr_lsa_c.o \
376 rpc_client
/cli_lsarpc.o \
377 rpc_client
/init_lsa.o
379 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/cli_samr.o \
380 librpc
/gen_ndr
/ndr_samr_c.o \
381 rpc_client
/cli_samr.o
383 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
384 rpc_client
/cli_netlogon.o
386 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
388 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
390 librpc
/gen_ndr
/ndr_dfs.o \
391 librpc
/gen_ndr
/ndr_echo.o \
392 librpc
/gen_ndr
/ndr_winreg.o \
393 librpc
/gen_ndr
/ndr_initshutdown.o \
394 librpc
/gen_ndr
/ndr_srvsvc.o \
395 librpc
/gen_ndr
/ndr_eventlog.o \
396 $(LIBNDR_NETLOGON_OBJ
) \
397 librpc
/gen_ndr
/ndr_dssetup.o \
398 librpc
/gen_ndr
/ndr_epmapper.o \
399 librpc
/gen_ndr
/ndr_ntsvcs.o \
400 $(LIBNDR_SPOOLSS_OBJ
)
402 # this includes only the low level parse code, not stuff
403 # that requires knowledge of security contexts
404 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
406 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
408 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
409 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
413 $(SOCKET_WRAPPER_OBJ
) \
416 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
417 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
418 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
419 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
420 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
421 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
422 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
423 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
424 ..
/lib
/util
/tevent_werror.o \
425 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
426 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
429 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
430 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
431 ..
/lib
/crypto
/md4.o \
432 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
433 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
435 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
436 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
437 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
438 lib
/interfaces.o lib
/memcache.o \
442 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
444 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
445 lib
/interface.o lib
/pidfile.o \
446 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
448 ..
/libds
/common
/flag_mapping.o \
449 lib
/access.o lib
/smbrun.o \
450 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
452 lib
/util_str.o lib
/clobber.o lib
/util_sid.o \
453 lib
/util_unistr.o lib
/util_file.o \
454 lib
/util.o lib
/util_names.o \
455 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
456 lib
/substitute.o lib
/dbwrap_util.o \
457 lib
/ms_fnmatch.o lib
/errmap_unix.o \
458 lib
/tallocmsg.o lib
/dmallocmsg.o \
459 libsmb
/clisigning.o libsmb
/smb_signing.o \
460 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
461 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
462 lib
/sessionid_tdb.o \
463 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
464 lib
/server_contexts.o \
465 lib
/ldap_escape.o @CHARSET_STATIC@ \
466 lib
/secdesc.o ..
/libcli
/security
/access_check.o \
467 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
468 ..
/libcli
/security
/sddl.o \
469 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
471 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
472 lib
/file_id.o lib
/idmap_cache.o \
473 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
474 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o
476 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
477 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
479 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
481 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
482 # Be sure to include them into your application
483 POPT_LIB_OBJ
= lib
/popt_common.o
485 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
486 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
487 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
489 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
491 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
492 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
493 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
495 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
497 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
498 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
501 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
503 LIBADS_OBJ
= libads
/ldap.o \
504 libads
/sasl.o libads
/sasl_wrapping.o \
505 libads
/krb5_setpw.o \
506 libads
/kerberos_util.o \
508 libads
/ads_struct.o libads
/kerberos_keytab.o \
509 libads
/disp_sec.o libads
/ldap_utils.o \
510 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
512 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
513 ..
/librpc
/ndr
/ndr_krb5pac.o \
514 librpc
/gen_ndr
/ndr_krb5pac.o
516 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
518 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
519 librpc
/gen_ndr
/ndr_secrets.o
521 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
522 ..
/libcli
/netlogon
/netlogon.o \
523 ..
/libcli
/netlogon
/ndr_netlogon.o \
524 librpc
/gen_ndr
/ndr_nbt.o \
525 librpc
/gen_ndr
/ndr_svcctl.o \
526 ..
/librpc
/ndr
/ndr_svcctl.o
528 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
529 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o libsmb
/conncache.o \
530 libads
/dns.o libads
/sitename_cache.o
532 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
533 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
534 ERRORMAP_OBJ
= libsmb
/errormap.o
535 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
537 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
539 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
541 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
545 ..
/libcli
/auth
/ntlm_check.o \
547 libsmb
/ntlmssp_wrap.o \
548 ..
/libcli
/auth
/ntlmssp.o \
549 ..
/libcli
/auth
/ntlmssp_sign.o \
550 $(LIBNDR_NTLMSSP_OBJ
) \
551 ..
/libcli
/auth
/ntlmssp_ndr.o \
552 ..
/libcli
/auth
/ntlmssp_server.o
554 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
557 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
558 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o lib
/ldb_compat.o
560 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
561 ..
/lib
/tsocket
/tsocket_helpers.o \
562 ..
/lib
/tsocket
/tsocket_bsd.o
564 CLDAP_OBJ
= libads
/cldap.o \
565 ..
/libcli
/cldap
/cldap.o \
566 ..
/lib
/util
/idtree.o \
567 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
) $(LIBTSOCKET_OBJ
)
569 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
571 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
572 ..
/libcli
/auth
/schannel_sign.o \
573 ..
/libcli
/auth
/schannel_state_tdb.o \
574 $(LIBNDR_SCHANNEL_OBJ
)
576 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
577 libsmb
/clikrb5.o libsmb
/clispnego.o \
578 ..
/libcli
/auth
/spnego_parse.o \
580 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
581 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
582 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
583 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
584 libsmb
/clioplock.o libsmb
/clirap2.o \
585 libsmb
/smb_seal.o libsmb
/async_smb.o \
586 libsmb
/cli_np_tstream.o \
587 libsmb
/smbsock_connect.o \
594 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
595 rpc_client
/cli_pipe.o \
596 librpc
/crypto
/gse_krb5.o \
597 librpc
/crypto
/gse.o \
598 librpc
/crypto
/cli_spnego.o \
599 librpc
/rpc
/rpc_common.o \
600 rpc_client
/rpc_transport_np.o \
601 rpc_client
/rpc_transport_sock.o \
602 rpc_client
/rpc_transport_tstream.o \
603 ..
/librpc
/rpc
/binding.o \
604 ..
/librpc
/rpc
/dcerpc_util.o \
605 ..
/librpc
/rpc
/binding_handle.o \
606 librpc
/rpc
/dcerpc_helpers.o \
607 $(LIBCLI_EPMAPPER_OBJ
)
609 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
612 # registry-related objects
614 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
616 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
617 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
618 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
620 REGFIO_OBJ
= registry
/regfio.o \
623 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
625 REGOBJS_OBJ
= registry
/reg_objects.o
627 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
629 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
631 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
632 registry
/reg_backend_shares.o \
633 registry
/reg_backend_netlogon_params.o \
634 registry
/reg_backend_prod_options.o \
635 registry
/reg_backend_tcpip_params.o \
636 registry
/reg_backend_hkpt_params.o \
637 registry
/reg_backend_current_version.o \
638 registry
/reg_backend_perflib.o
640 REG_BASE_OBJ
= registry
/reg_api.o \
641 registry
/reg_dispatcher.o \
642 registry
/reg_cachehook.o \
644 registry
/reg_util_internal.o \
646 $(REG_BACKENDS_BASE_OBJ
) \
647 $(REG_INIT_BASIC_OBJ
)
649 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
650 registry
/reg_util_token.o \
651 registry
/reg_api_util.o \
652 $(REG_BACKENDS_SMBCONF_OBJ
) \
653 $(REG_INIT_SMBCONF_OBJ
)
655 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
656 $(REG_BACKENDS_EXTRA_OBJ
) \
657 $(REG_INIT_FULL_OBJ
) \
658 registry
/reg_eventlog.o \
659 registry
/reg_perfcount.o \
660 librpc
/gen_ndr
/ndr_perfcount.o
662 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
664 RPC_LSARPC_OBJ
= rpc_server
/srv_lsa_nt.o \
665 librpc
/gen_ndr
/srv_lsa.o
667 RPC_NETLOGON_OBJ
= rpc_server
/srv_netlog_nt.o \
668 librpc
/gen_ndr
/srv_netlogon.o
670 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
671 rpc_server
/srv_samr_util.o \
672 rpc_server
/srv_samr_chgpasswd.o \
673 librpc
/gen_ndr
/srv_samr.o
675 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
677 RPC_WINREG_OBJ
= rpc_server
/srv_winreg_nt.o \
678 librpc
/gen_ndr
/srv_winreg.o
680 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
682 RPC_SRVSVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
683 librpc
/gen_ndr
/srv_srvsvc.o
685 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
686 rpc_server
/srv_wkssvc_nt.o
688 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
689 librpc
/gen_ndr
/srv_svcctl.o \
690 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
691 services
/svc_netlogon.o services
/svc_winreg.o \
694 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
695 librpc
/gen_ndr
/srv_ntsvcs.o
697 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
698 rpc_server
/srv_dfs_nt.o
700 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
701 rpc_server
/srv_spoolss_util.o \
702 librpc
/gen_ndr
/srv_spoolss.o
704 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
705 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
707 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
708 librpc
/gen_ndr
/ndr_named_pipe_auth.o
710 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
711 rpc_server
/rpc_handles.o
713 RPC_SERVICE
= rpc_server
/rpc_server.o
715 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
716 rpc_server
/dcesrv_gssapi.o \
717 rpc_server
/dcesrv_spnego.o
719 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
720 $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
722 RPC_RPCECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
724 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
725 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
726 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
727 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
728 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) \
729 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
730 $(LIBCLI_SPOOLSS_OBJ
) \
731 $(LIBCLI_WINREG_OBJ
) \
732 $(LIBCLI_SRVSVC_OBJ
) \
735 $(LIBCLI_NETLOGON_OBJ
) \
736 $(RPC_CLIENT_SCHANNEL_OBJ
) \
737 rpc_client
/init_netlogon.o \
738 rpc_client
/init_samr.o
740 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
742 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
744 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
746 PRIVILEGES_OBJ
= lib
/privileges.o
748 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
750 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
751 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
752 passdb
/util_unixsids.o passdb
/lookup_sid.o \
753 passdb
/login_cache.o @PDB_STATIC@ \
754 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
755 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
757 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
758 CP850_OBJ
= modules
/CP850.o
759 CP437_OBJ
= modules
/CP437.o
760 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
762 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
764 PROFILE_OBJ
= profile
/profile.o
765 PROFILES_OBJ
= utils
/profiles.o \
768 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
772 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
775 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
776 librpc
/gen_ndr
/ndr_notify.o
778 FNAME_UTIL_OBJ
= smbd
/filename_util.o
780 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
781 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
782 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
783 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
784 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
785 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
786 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
787 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
788 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
789 VFS_CAP_OBJ
= modules
/vfs_cap.o
790 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
791 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
792 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
793 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
794 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
795 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
796 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
797 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
798 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
799 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
800 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
801 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
802 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
803 VFS_CATIA_OBJ
= modules
/vfs_catia.o
804 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
805 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
806 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
807 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
808 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
809 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
810 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
811 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
812 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
813 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
814 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
815 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
816 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
817 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
818 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
819 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
820 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
821 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
822 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
823 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
824 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
825 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
826 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
827 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
828 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
829 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
830 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
832 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
834 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
836 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
838 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
839 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
840 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
841 AUTH_SERVER_OBJ
= auth
/auth_server.o
842 AUTH_UNIX_OBJ
= auth
/auth_unix.o
843 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
844 AUTH_WBC_OBJ
= auth
/auth_wbc.o
845 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
846 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
848 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
850 auth
/server_info_sam.o \
854 auth
/auth_compat.o auth
/auth_ntlmssp.o \
855 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
857 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
859 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
861 BUILDOPT_OBJ
= smbd
/build_options.o
863 SMBD_OBJ_SRV
= smbd
/server_reload.o \
864 smbd
/files.o smbd
/connection.o \
865 smbd
/utmp.o smbd
/session.o \
866 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
867 smbd
/share_access.o smbd
/fileio.o \
868 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
869 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
870 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
871 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
872 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
873 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
874 smbd
/posix_acls.o lib
/sysacls.o \
875 smbd
/process.o smbd
/service.o smbd
/error.o \
876 printing
/printspoolss.o \
877 lib
/sysquotas.o lib
/sysquotas_linux.o \
878 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
879 lib
/sysquotas_nfs.o \
881 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
882 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
883 smbd
/dmapi.o smbd
/signing.o \
885 smbd
/dnsregister.o smbd
/globals.o \
887 smbd
/smb2_signing.o \
889 smbd
/smb2_negprot.o \
890 smbd
/smb2_sesssetup.o \
899 smbd
/smb2_keepalive.o \
902 smbd
/smb2_getinfo.o \
903 smbd
/smb2_setinfo.o \
905 ..
/libcli
/smb
/smb2_create_blob.o \
906 $(MANGLE_OBJ
) @VFS_STATIC@
908 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
910 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
911 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
912 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
913 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
914 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
915 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
916 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
918 $(PRIVILEGES_BASIC_OBJ
) \
920 $(REG_API_REGF_OBJ
) \
923 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
924 printing
/print_cups.o printing
/print_generic.o \
925 printing
/lpq_parse.o printing
/load.o \
926 printing
/print_iprint.o printing
/print_standard.o \
927 printing
/printer_list.o
929 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
930 PRINTBACKEND_OBJ
= printing
/printing.o \
931 printing
/nt_printing.o \
932 printing
/nt_printing_tdb.o \
933 printing
/nt_printing_migrate.o \
934 printing
/nt_printing_ads.o \
935 librpc
/gen_ndr
/ndr_ntprinting.o \
936 ..
/librpc
/ndr
/ndr_ntprinting.o \
939 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
941 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
942 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
943 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
944 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
945 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
946 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
947 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
948 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
949 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
950 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
951 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
952 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
954 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
955 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
958 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
959 web
/swat.o web
/neg_lang.o
961 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
962 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
963 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
964 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
965 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
967 rpc_client
/init_lsa.o
969 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
970 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
971 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
972 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
974 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
975 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
977 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
978 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
979 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
980 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
981 $(LIBMSRPC_GEN_OBJ
) \
985 TESTPARM_OBJ
= utils
/testparm.o \
986 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
989 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
991 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
993 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
994 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
995 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
997 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
999 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1000 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1001 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1002 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1003 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1004 $(LIBCLI_SAMR_OBJ
) \
1005 rpc_client
/init_lsa.o
1007 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1008 $(LIBSAMBA_OBJ
) $(LIBTSOCKET_OBJ
) \
1009 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1010 $(LIBCLI_LDAP_NDR_OBJ
) \
1011 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1013 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1015 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1017 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1018 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1019 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1020 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1021 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1022 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1023 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1024 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1025 rpcclient
/cmd_winreg.o \
1028 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1029 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1030 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1031 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1032 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1033 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1034 $(LIBCLI_SPOOLSS_OBJ
) \
1035 $(LIBCLI_EVENTLOG_OBJ
) \
1036 $(LIBCLI_NTSVCS_OBJ
) \
1037 $(LIBCLI_DRSUAPI_OBJ
) \
1039 $(LIBCLI_ECHO_OBJ
) \
1040 $(LIBCLI_DSSETUP_OBJ
) \
1041 $(LIBCLI_WKSSVC_OBJ
) \
1042 $(LIBCLI_SRVSVC_OBJ
) \
1044 $(LIBCLI_SAMR_OBJ
) \
1045 $(LIBCLI_WINREG_OBJ
) \
1046 $(LIBCLI_NETLOGON_OBJ
) \
1047 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1048 rpc_client
/init_netlogon.o \
1049 rpc_client
/init_samr.o
1051 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1052 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1054 LIBSMBCLIENT_THREAD_OBJ
= \
1055 libsmb
/libsmb_thread_impl.o \
1056 libsmb
/libsmb_thread_posix.o
1058 LIBSMBCLIENT_OBJ0
= \
1059 libsmb
/libsmb_cache.o \
1060 libsmb
/libsmb_compat.o \
1061 libsmb
/libsmb_context.o \
1062 libsmb
/libsmb_dir.o \
1063 libsmb
/libsmb_file.o \
1064 libsmb
/libsmb_misc.o \
1065 libsmb
/libsmb_path.o \
1066 libsmb
/libsmb_printjob.o \
1067 libsmb
/libsmb_server.o \
1068 libsmb
/libsmb_stat.o \
1069 libsmb
/libsmb_xattr.o \
1070 libsmb
/libsmb_setget.o
1072 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1073 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1074 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1075 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1076 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1077 $(LIBCLI_SRVSVC_OBJ
) \
1080 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1082 # This shared library is intended for linking with unit test programs
1083 # to test Samba internals. It's called libbigballofmud.so to
1084 # discourage casual usage.
1086 LIBBIGBALLOFMUD_MAJOR
= 0
1088 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1089 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1090 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1092 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1093 client
/dnsbrowse.o \
1096 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1097 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1098 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1099 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1100 $(DISPLAY_SEC_OBJ
) \
1101 $(LIBCLI_SRVSVC_OBJ
)
1103 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1104 ..
/lib
/smbconf
/smbconf_util.o \
1105 ..
/lib
/smbconf
/smbconf_txt.o \
1106 lib
/smbconf
/smbconf_reg.o \
1107 lib
/smbconf
/smbconf_init.o
1109 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1111 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1112 $(LIB_NONSMBD_OBJ
) \
1117 LIBNET_OBJ
= libnet
/libnet_join.o \
1118 libnet
/libnet_keytab.o \
1119 librpc
/gen_ndr
/ndr_libnet_join.o
1121 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1122 libnet
/libnet_dssync_keytab.o \
1123 ..
/libcli
/drsuapi
/repl_decrypt.o
1125 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1126 libnet
/libnet_samsync_ldif.o \
1127 libnet
/libnet_samsync_passdb.o \
1128 libnet
/libnet_samsync_display.o \
1129 libnet
/libnet_samsync_keytab.o \
1130 ..
/libcli
/samsync
/decrypt.o
1132 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1133 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1134 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1135 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1136 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1137 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1138 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1139 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1140 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1141 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1142 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
1143 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1144 utils
/net_g_lock.o \
1145 utils
/net_serverid.o \
1146 utils
/net_eventlog.o \
1147 utils
/net_printing.o \
1148 $(LIBNDR_NTPRINTING_OBJ
) \
1149 $(LIBNDR_PREG_OBJ
) \
1150 $(LIBCLI_SPOOLSS_OBJ
) \
1151 $(LIBCLI_WINREG_OBJ
) \
1152 $(LIBCLI_DRSUAPI_OBJ
) \
1153 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1154 $(LIBCLI_DSSETUP_OBJ
) \
1155 $(LIBCLI_SVCCTL_OBJ
) \
1156 $(LIBCLI_WKSSVC_OBJ
) \
1157 $(LIBCLI_SRVSVC_OBJ
) \
1159 $(LIBCLI_SAMR_OBJ
) \
1160 $(LIBCLI_NETLOGON_OBJ
) \
1161 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1162 rpc_client
/init_netlogon.o \
1163 rpc_client
/init_samr.o \
1164 registry
/reg_parse.o registry
/reg_format.o \
1165 registry
/reg_parse_internal.o registry
/reg_import.o \
1166 lib
/cbuf.o lib
/srprs.o
1168 # these are not processed by make proto
1169 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1171 NET_OBJ
= $(NET_OBJ1
) \
1172 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1173 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1174 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1175 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1176 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1177 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1178 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1179 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1180 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1181 $(REG_SMBCONF_OBJ
) \
1182 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1185 $(PRIVILEGES_BASIC_OBJ
) \
1186 $(LIB_EVENTLOG_OBJ
) localedir.o
1188 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1189 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1192 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1193 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1195 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1196 torture
/denytest.o torture
/mangle_test.o \
1198 torture
/test_async_echo.o \
1199 torture
/test_smbsock_any_connect.o \
1200 torture
/test_posix_append.o
1202 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1203 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1204 @LIBWBCLIENT_STATIC@ \
1205 torture
/wbc_async.o \
1207 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1209 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1210 $(LIB_NONSMBD_OBJ
) \
1213 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1214 $(LIB_NONSMBD_OBJ
) \
1217 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1218 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1219 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1221 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1223 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1224 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1225 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1228 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1230 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1232 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1234 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1235 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1236 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1238 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1239 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1240 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1241 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1244 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1246 $(LIB_NONSMBD_OBJ
) \
1247 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1248 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1251 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1253 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1255 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1256 librpc
/gen_ndr
/ndr_eventlog.o \
1257 librpc
/gen_ndr
/ndr_lsa.o
1259 SHARESEC_OBJ0
= utils
/sharesec.o
1260 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1264 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1265 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1267 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1268 @libreplacedir@
/test/getifaddrs.o \
1269 @libreplacedir@
/test/os2_delete.o \
1270 @libreplacedir@
/test/strptime.o \
1271 @libreplacedir@
/test/main.o \
1272 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1274 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1276 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1277 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1280 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1281 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1283 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1284 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1285 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1286 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1289 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1291 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1293 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1296 winbindd
/idmap_hash
/idmap_hash.o \
1297 winbindd
/idmap_hash
/mapfile.o
1300 winbindd
/idmap_adex
/idmap_adex.o \
1301 winbindd
/idmap_adex
/cell_util.o \
1302 winbindd
/idmap_adex
/likewise_cell.o \
1303 winbindd
/idmap_adex
/provider_unified.o \
1304 winbindd
/idmap_adex
/gc_util.o \
1305 winbindd
/idmap_adex
/domain_util.o
1308 winbindd
/winbindd.o \
1309 winbindd
/winbindd_group.o \
1310 winbindd
/winbindd_util.o \
1311 winbindd
/winbindd_cache.o \
1312 winbindd
/winbindd_pam.o \
1313 winbindd
/winbindd_misc.o \
1314 winbindd
/winbindd_cm.o \
1315 winbindd
/winbindd_wins.o \
1316 winbindd
/winbindd_msrpc.o \
1317 winbindd
/winbindd_rpc.o \
1318 winbindd
/winbindd_reconnect.o \
1319 winbindd
/winbindd_ads.o \
1320 winbindd
/winbindd_samr.o \
1321 winbindd
/winbindd_dual.o \
1322 winbindd
/winbindd_dual_ndr.o \
1323 winbindd
/winbindd_dual_srv.o \
1324 librpc
/gen_ndr
/ndr_wbint_c.o \
1325 librpc
/gen_ndr
/srv_wbint.o \
1326 librpc
/gen_ndr
/ndr_wbint.o \
1327 winbindd
/winbindd_async.o \
1328 winbindd
/winbindd_creds.o \
1329 winbindd
/winbindd_cred_cache.o \
1330 winbindd
/winbindd_ccache_access.o \
1331 winbindd
/winbindd_domain.o \
1332 winbindd
/winbindd_idmap.o \
1333 winbindd
/winbindd_locator.o \
1334 winbindd
/winbindd_ndr.o \
1335 winbindd
/wb_ping.o \
1336 winbindd
/wb_lookupsid.o \
1337 winbindd
/wb_lookupname.o \
1338 winbindd
/wb_sid2uid.o \
1339 winbindd
/wb_sid2gid.o \
1340 winbindd
/wb_uid2sid.o \
1341 winbindd
/wb_gid2sid.o \
1342 winbindd
/wb_queryuser.o \
1343 winbindd
/wb_lookupuseraliases.o \
1344 winbindd
/wb_lookupusergroups.o \
1345 winbindd
/wb_getpwsid.o \
1346 winbindd
/wb_gettoken.o \
1347 winbindd
/wb_seqnum.o \
1348 winbindd
/wb_seqnums.o \
1349 winbindd
/wb_group_members.o \
1350 winbindd
/wb_getgrsid.o \
1351 winbindd
/wb_query_user_list.o \
1352 winbindd
/wb_fill_pwent.o \
1353 winbindd
/wb_next_pwent.o \
1354 winbindd
/wb_next_grent.o \
1355 winbindd
/wb_dsgetdcname.o \
1356 winbindd
/winbindd_lookupsid.o \
1357 winbindd
/winbindd_lookupname.o \
1358 winbindd
/winbindd_sid_to_uid.o \
1359 winbindd
/winbindd_sid_to_gid.o \
1360 winbindd
/winbindd_uid_to_sid.o \
1361 winbindd
/winbindd_gid_to_sid.o \
1362 winbindd
/winbindd_allocate_uid.o \
1363 winbindd
/winbindd_allocate_gid.o \
1364 winbindd
/winbindd_getpwsid.o \
1365 winbindd
/winbindd_getpwnam.o \
1366 winbindd
/winbindd_getpwuid.o \
1367 winbindd
/winbindd_getsidaliases.o \
1368 winbindd
/winbindd_getuserdomgroups.o \
1369 winbindd
/winbindd_getgroups.o \
1370 winbindd
/winbindd_show_sequence.o \
1371 winbindd
/winbindd_getgrgid.o \
1372 winbindd
/winbindd_getgrnam.o \
1373 winbindd
/winbindd_getusersids.o \
1374 winbindd
/winbindd_lookuprids.o \
1375 winbindd
/winbindd_setpwent.o \
1376 winbindd
/winbindd_getpwent.o \
1377 winbindd
/winbindd_endpwent.o \
1378 winbindd
/winbindd_setgrent.o \
1379 winbindd
/winbindd_getgrent.o \
1380 winbindd
/winbindd_endgrent.o \
1381 winbindd
/winbindd_dsgetdcname.o \
1382 winbindd
/winbindd_getdcname.o \
1383 winbindd
/winbindd_list_users.o \
1384 winbindd
/winbindd_list_groups.o \
1385 winbindd
/winbindd_check_machine_acct.o \
1386 winbindd
/winbindd_change_machine_acct.o \
1387 winbindd
/winbindd_ping_dc.o \
1388 winbindd
/winbindd_pam_auth.o \
1389 winbindd
/winbindd_pam_auth_crap.o \
1390 winbindd
/winbindd_pam_chauthtok.o \
1391 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1392 winbindd
/winbindd_pam_logoff.o \
1396 auth
/check_samsec.o \
1397 auth
/server_info.o \
1398 auth
/server_info_sam.o \
1404 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1405 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1406 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1407 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1408 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1409 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1410 $(RPC_NCACN_NP
) $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1411 $(NPA_TSTREAM_OBJ
) \
1412 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1413 $(LIBADS_SERVER_OBJ
) \
1414 $(TDB_VALIDATE_OBJ
) \
1415 $(LIBCLI_DSSETUP_OBJ
) \
1417 $(LIBCLI_SAMR_OBJ
) \
1418 $(LIBCLI_NETLOGON_OBJ
) \
1419 rpc_client
/init_netlogon.o \
1420 rpc_client
/init_samr.o
1422 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1423 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1424 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1426 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1428 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1429 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1431 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1432 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1434 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1435 ..
/lib
/iniparser_build
/strlib.o
1437 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1438 $(SOCKET_WRAPPER_OBJ
)
1440 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1441 $(SOCKET_WRAPPER_OBJ
)
1443 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1444 $(SOCKET_WRAPPER_OBJ
)
1446 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1447 $(SOCKET_WRAPPER_OBJ
)
1449 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1450 $(SOCKET_WRAPPER_OBJ
)
1453 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1455 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1456 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o libads
/kerberos.o \
1457 libsmb
/samlogon_cache.o \
1458 $(LIBADS_SERVER_OBJ
) \
1459 $(PASSDB_OBJ
) $(LIBTSOCKET_OBJ
) $(GROUPDB_OBJ
) \
1460 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1462 $(LIBCLI_LDAP_NDR_OBJ
) \
1463 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1466 VLP_OBJ
= printing
/tests
/vlp.o \
1467 ..
/lib
/util
/util_tdb.o \
1468 $(LIBSAMBAUTIL_OBJ
) \
1471 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1475 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1476 $(LIB_NONSMBD_OBJ
) \
1481 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1483 $(LIB_NONSMBD_OBJ
) \
1486 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1488 $(LIB_NONSMBD_OBJ
) \
1492 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1494 $(LIB_NONSMBD_OBJ
) \
1498 ######################################################################
1500 ######################################################################
1501 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1502 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1503 $(EXTRA_ALL_TARGETS
)
1507 nss_modules
:: $(NSS_MODULES
)
1509 pam_modules
:: $(PAM_MODULES
)
1511 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1513 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1515 gpext_modules
:: $(GPEXT_MODULES
)
1517 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1519 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1521 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1523 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1525 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1527 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1529 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1531 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1533 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1535 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1537 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1539 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1541 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1543 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1545 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1547 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1549 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1550 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1551 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1553 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1555 modules
:: SHOWFLAGS
$(MODULES
)
1558 #####################################################################
1559 ## Perl IDL Compiler
1561 IDL_FILES
= librpc
/idl
/messaging.idl \
1562 librpc
/idl
/libnetapi.idl \
1563 librpc
/idl
/notify.idl \
1564 librpc
/idl
/wbint.idl \
1565 librpc
/idl
/perfcount.idl \
1566 librpc
/idl
/secrets.idl \
1567 librpc
/idl
/libnet_join.idl \
1571 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1572 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1573 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1574 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1577 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1578 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1579 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1580 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1582 #####################################################################
1585 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1589 .SUFFIXES
: .c .o .lo
1591 .PHONY
: showflags SHOWFLAGS
1593 showflags
: SHOWFLAGS
1596 @echo
"Using CFLAGS = $(CFLAGS)"
1597 @echo
" PICFLAG = $(PICFLAG)"
1598 @echo
" LIBS = $(LIBS)"
1599 @echo
" LDFLAGS = $(LDFLAGS)"
1600 @echo
" DYNEXP = $(DYNEXP)"
1601 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1602 @echo
" SHLIBEXT = @SHLIBEXT@"
1603 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1605 # "showcflags" target for debuggin how CFLAGS are composed:
1607 .PHONY
: showcflags SHOWCFLAGS
1609 showcflags
: SHOWCFLAGS
1612 @echo
"CFLAGS = $(CFLAGS)"
1613 @echo
"FLAGS = $(FLAGS)"
1615 @echo
"FLAGS1 = @FLAGS1@"
1616 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1617 @echo
"CPPFLAGS = $(CPPFLAGS)"
1618 @echo
"ISA = $(ISA)"
1620 MAKEDIR
= || exec false
; \
1621 if
test -d
"$$dir"; then
:; else \
1622 echo mkdir
"$$dir"; \
1623 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1624 test -d
"$$dir" || \
1626 exec false
; fi || exec false
1628 # Run a static checker.
1629 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1630 # Compile a source file.
1631 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1632 # Compile a source file with the installation paths defined.
1633 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1635 COMPILE
= $(COMPILE_CC
)
1638 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1639 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1640 @if
test -n
"$(CC_CHECKER)"; then \
1641 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1644 @echo Compiling
$*.c
1645 @
$(COMPILE
) && exit
0;\
1646 echo
"The following command failed:" 1>&2;\
1647 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1648 $(COMPILE_CC) >/dev/null 2>&1
1649 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1651 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1653 # this adds support for precompiled headers. To use it, install a snapshot
1654 # of gcc-3.4 and run 'make pch' before you do the main build.
1656 rm -f $(PRECOMPILED_HEADER)
1657 $(MAKE) $(PRECOMPILED_HEADER)
1659 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1662 BINARY_PREREQS = bin/.dummy
1664 # These dependencies are only approximately correct: we want to make
1665 # sure Samba's paths are updated if ./configure is re-run. Really it
1666 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1667 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1668 # rebuild it's a bit hard.
1670 dynconfig.o: dynconfig.c Makefile
1671 @echo Compiling $*.c
1672 @$(COMPILE_CC_PATH) && exit 0;\
1673 echo "The following command failed
:" 1>&2;\
1674 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1675 $(COMPILE_CC_PATH) >/dev/null 2>&1
1677 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1678 @echo Compiling $*.c
1679 @$(COMPILE_CC_PATH) && exit 0;\
1680 echo "The following command failed
:" 1>&2;\
1681 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1682 $(COMPILE_CC_PATH) >/dev/null 2>&1
1684 ### Start section of object files that require PTHREAD_CFLAGS
1685 ../nsswitch/wins.o: ../nsswitch/wins.c
1686 @echo Compiling $*.c
1687 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1688 echo "The following command failed
:" 1>&2;\
1689 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1690 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1692 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1693 @echo Compiling $*.c
1694 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1695 echo "The following command failed
:" 1>&2;\
1696 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1697 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1699 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1700 @echo Compiling $*.c
1701 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1702 echo "The following command failed
:" 1>&2;\
1703 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1704 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1706 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1707 @echo Compiling $*.c
1708 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1709 echo "The following command failed
:" 1>&2;\
1710 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1711 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1712 ### End section of object files that require PTHREAD_CFLAGS
1714 localedir.o: localedir.c Makefile
1715 @echo Compiling $*.c
1716 @$(COMPILE_CC_PATH) && exit 0;\
1717 echo "The following command failed
:" 1>&2;\
1718 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1719 $(COMPILE_CC_PATH) >/dev/null 2>&1
1721 lib/pidfile.o: lib/pidfile.c
1722 @echo Compiling $*.c
1723 @$(COMPILE_CC_PATH) && exit 0;\
1724 echo "The following command failed
:" 1>&2;\
1725 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1726 $(COMPILE_CC_PATH) >/dev/null 2>&1
1728 lib/version.o: lib/version.c include/version.h
1729 @echo Compiling $*.c
1730 @$(COMPILE_CC_PATH) && exit 0;\
1731 echo "The following command failed
:" 1>&2;\
1732 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1733 $(COMPILE_CC_PATH) >/dev/null 2>&1
1735 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1736 @echo Compiling $*.c
1737 @$(COMPILE_CC_PATH) && exit 0;\
1738 echo "The following command failed
:" 1>&2;\
1739 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1740 $(COMPILE_CC_PATH) >/dev/null 2>&1
1742 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1744 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1747 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1748 dir=bin $(MAKEDIR); fi
1749 @: >> $@ || : > $@ # what a fancy emoticon!
1751 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1753 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1754 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1755 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1756 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1757 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1759 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1761 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1762 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1763 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1764 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1766 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1768 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1769 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1770 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1772 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1774 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1775 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1776 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1777 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1779 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1781 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1782 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1783 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1784 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1786 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1788 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1789 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1790 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1791 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1794 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1796 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1797 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1799 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1801 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1802 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1803 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1805 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1807 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1808 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1810 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1812 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1813 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1815 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1817 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1818 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1820 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1822 @$(CC) -DUSING_SMBCONTROL -o $@ \
1823 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1824 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1825 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1827 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1829 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1830 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1831 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1833 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1835 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1836 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1837 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1839 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1841 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1842 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1843 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1845 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1847 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1848 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1849 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1851 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1853 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1854 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1856 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1858 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1859 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1860 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1862 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1864 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1865 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1866 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1868 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1870 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1871 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1873 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1875 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1876 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1877 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1879 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1881 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1882 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1883 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1884 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1886 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1888 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1889 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1890 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1892 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1894 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1895 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1896 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1898 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1900 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1901 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1902 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1904 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1906 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1907 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1909 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1911 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1912 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1914 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1916 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1917 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1918 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1919 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1921 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ)
1923 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
1925 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1927 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1928 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1929 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1931 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1933 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1934 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1935 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1936 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1937 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1939 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1941 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1942 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1943 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1945 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1947 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1948 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1950 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1952 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1953 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1954 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1955 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1957 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1959 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1960 $(LIBS) $(LIBTALLOC_LIBS)
1962 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1964 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1965 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1966 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1967 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1969 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1971 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1974 #####################################################################
1978 #####################################################################
1980 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1983 #-------------------------------------------------------------------
1987 #-------------------------------------------------------------------
1990 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1991 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1993 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1994 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1995 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1996 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1997 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1998 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2000 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2001 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2003 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2004 @echo Linking shared library $@
2005 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2007 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
2009 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2011 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2012 @echo Linking non-shared library $@
2013 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2014 libtalloc: $(LIBTALLOC)
2019 $(LIBTALLOC_STATIC_TARGET) \
2020 $(LIBTALLOC_SHARED_TARGET) \
2021 $(LIBTALLOC_SHARED_TARGET_SONAME)
2023 installlibtalloc:: installdirs libtalloc
2024 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2025 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2026 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2027 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2028 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2029 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2031 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2032 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2033 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2035 uninstalllibtalloc::
2036 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2037 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2038 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2039 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2042 installlibs:: @INSTALL_LIBTALLOC@
2043 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2044 cleanlibs:: cleanlibtalloc
2045 shlibs test_shlibs: @LIBTALLOC_SHARED@
2049 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2050 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2051 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2053 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2054 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2055 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2056 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2057 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2059 showlibs:: showlibtalloc
2061 #-------------------------------------------------------------------
2065 #-------------------------------------------------------------------
2067 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2068 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2070 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2071 LIBTDB_SOVER=@LIBTDB_SOVER@
2072 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
2073 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2074 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2075 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2077 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2078 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2080 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2081 @echo Linking shared library $@
2082 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2083 @SONAMEFLAG@`basename $@`
2085 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
2087 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2089 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2090 @echo Linking non-shared library $@
2091 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2098 $(LIBTDB_STATIC_TARGET) \
2099 $(LIBTDB_SHARED_TARGET) \
2100 $(LIBTDB_SHARED_TARGET_SONAME)
2103 installlibtdb:: installdirs libtdb
2104 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2105 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2106 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2107 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2108 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2109 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2111 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2112 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2113 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2116 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2117 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2118 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2119 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2122 installlibs:: @INSTALL_LIBTDB@
2123 uninstalllibs:: @UNINSTALL_LIBTDB@
2124 cleanlibs:: cleanlibtdb
2125 shlibs test_shlibs: @LIBTDB_SHARED@
2129 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2130 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2131 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2133 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2134 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2135 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2136 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2137 @echo "LIBTDB
= $(LIBTDB
)"
2139 showlibs:: showlibtdb
2141 #-------------------------------------------------------------------
2145 #-------------------------------------------------------------------
2147 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2148 ../nsswitch/libwbclient/wbc_util.o \
2149 ../nsswitch/libwbclient/wbc_pwd.o \
2150 ../nsswitch/libwbclient/wbc_idmap.o \
2151 ../nsswitch/libwbclient/wbc_sid.o \
2152 ../nsswitch/libwbclient/wbc_guid.o \
2153 ../nsswitch/libwbclient/wbc_pam.o
2155 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2158 ../lib/util/blocking.o \
2159 $(SOCKET_WRAPPER_OBJ)
2161 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2162 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2163 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
2164 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2165 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2166 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2168 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2169 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2171 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2172 @echo Linking shared library $@
2173 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2174 @SONAMEFLAG@`basename $@`
2176 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2178 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2180 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2181 @echo Linking non-shared library $@
2182 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2184 libwbclient: $(LIBWBCLIENT)
2188 $(LIBWBCLIENT_SYMS) \
2189 $(LIBWBCLIENT_STATIC_TARGET) \
2190 $(LIBWBCLIENT_SHARED_TARGET) \
2191 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2193 installlibwbclient:: installdirs libwbclient
2194 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2195 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2196 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2197 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2198 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2199 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2201 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2202 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2203 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2205 uninstalllibwbclient::
2206 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2207 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2208 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2209 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2212 installlibs:: @INSTALL_LIBWBCLIENT@
2213 uninstalllibs:: uninstalllibwbclient
2214 cleanlibs:: cleanlibwbclient
2215 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2219 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2220 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2221 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2223 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2224 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2225 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2226 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2227 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2229 showlibs:: showlibwbclient
2232 #-------------------------------------------------------------------
2236 #-------------------------------------------------------------------
2239 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2240 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2241 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
2242 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2243 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2244 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2245 LIBADDNS_HEADERS=$(srcdir)/../lib/addns/addns.h
2247 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2248 @echo Linking shared library $@
2249 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2250 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2251 @SONAMEFLAG@`basename $@`
2253 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2255 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2257 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2258 @echo Linking non-shared library $@
2259 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2261 libaddns: $(LIBADDNS)
2265 $(LIBADDNS_SHARED_TARGET) \
2266 $(LIBADDNS_SHARED_TARGET_SONAME) \
2267 $(LIBADDNS_STATIC_TARGET)
2269 installlibaddns:: installdirs libaddns
2270 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2271 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2272 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2273 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2274 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2275 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2277 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2280 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2281 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2282 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2285 installlibs:: @INSTALL_LIBADDNS@
2286 uninstalllibs:: @UNINSTALL_LIBADDNS@
2287 cleanlibs:: cleanlibaddns
2288 shlibs test_shlibs: @LIBADDNS_SHARED@
2292 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2293 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2294 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2296 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2297 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2298 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2299 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2300 @echo "LIBADDNS
= $(LIBADDNS
)"
2302 showlibs:: showlibaddns
2304 #-------------------------------------------------------------------
2308 #-------------------------------------------------------------------
2310 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2312 librpc/gen_ndr/ndr_libnetapi.o \
2313 lib/netapi/libnetapi.o \
2314 lib/netapi/joindomain.o \
2315 lib/netapi/serverinfo.o \
2316 lib/netapi/getdc.o \
2318 lib/netapi/group.o \
2319 lib/netapi/localgroup.o \
2322 lib/netapi/share.o \
2324 lib/netapi/shutdown.o \
2325 lib/netapi/netlogon.o
2327 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2329 $(REG_SMBCONF_OBJ) \
2330 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2331 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2332 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2333 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2334 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2336 $(LIBCLI_INITSHUTDOWN_OBJ) \
2337 $(LIBCLI_WKSSVC_OBJ) \
2338 $(LIBCLI_SRVSVC_OBJ) \
2340 $(LIBCLI_SAMR_OBJ) \
2341 $(LIBCLI_NETLOGON_OBJ) \
2342 $(RPC_CLIENT_SCHANNEL_OBJ) \
2343 rpc_client/init_netlogon.o \
2344 rpc_client/init_samr.o
2346 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2347 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2348 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2349 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2350 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2351 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2353 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2354 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2356 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2357 @echo Linking shared library $@
2358 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2359 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2360 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2361 @SONAMEFLAG@`basename $@`
2363 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2365 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2367 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2368 @echo Linking non-shared library $@
2369 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2371 libnetapi: $(LIBNETAPI)
2376 $(LIBNETAPI_STATIC_TARGET) \
2377 $(LIBNETAPI_SHARED_TARGET) \
2378 $(LIBNETAPI_SHARED_TARGET_SONAME)
2380 installlibnetapi:: installdirs libnetapi
2381 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2382 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2383 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2384 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2385 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2386 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2388 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2389 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2390 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2392 uninstalllibnetapi::
2393 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2394 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2395 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2396 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2399 installlibs:: @INSTALL_LIBNETAPI@
2400 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2401 cleanlibs:: cleanlibnetapi
2402 shlibs test_shlibs: @LIBNETAPI_SHARED@
2406 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2407 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2408 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2410 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2411 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2412 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2413 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2414 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2416 showlibs:: showlibnetapi
2418 #-------------------------------------------------------------------
2422 #-------------------------------------------------------------------
2424 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2425 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2426 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2427 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2428 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2429 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2430 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2432 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2433 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2435 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2436 @echo Linking shared library $@
2437 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2438 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2439 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2440 @SONAMEFLAG@`basename $@`
2442 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2444 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2446 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2447 @echo Linking non-shared library $@
2448 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2450 libsmbclient: $(LIBSMBCLIENT)
2454 $(LIBSMBCLIENT_SHARED_TARGET) \
2455 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2456 $(LIBSMBCLIENT_STATIC_TARGET)
2458 installlibsmbclient:: installdirs libsmbclient
2459 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2460 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2461 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2462 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2463 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2464 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2466 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2467 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2468 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2470 installclientlib:: installlibsmbclient
2472 uninstalllibsmbclient::
2473 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2474 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2475 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2476 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2478 uninstallclientlib:: uninstalllibsmbclient
2481 installlibs:: @INSTALL_LIBSMBCLIENT@
2482 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2483 cleanlibs:: cleanlibsmbclient
2484 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2488 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2489 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2490 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2492 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2493 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2494 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2495 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2496 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2498 showlibs:: showlibsmbclient
2500 #-------------------------------------------------------------------
2504 #-------------------------------------------------------------------
2506 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2508 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2510 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2511 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2512 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2513 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2514 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2515 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2516 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2518 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2519 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2521 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2522 @echo Linking shared library $@
2523 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2524 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2525 @SONAMEFLAG@`basename $@`
2527 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2529 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2531 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2532 @echo Linking non-shared library $@
2533 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2535 libsmbsharemodes: $(LIBSMBSHAREMODES)
2537 cleanlibsmbsharemodes::
2539 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2540 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2541 $(LIBSMBSHAREMODES_STATIC_TARGET)
2543 installlibsmbsharemodes:: installdirs libsmbsharemodes
2544 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2545 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2546 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2547 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2548 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2549 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2551 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2552 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2553 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2555 uninstalllibsmbsharemodes::
2556 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2557 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2558 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2559 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2561 libs:: libsmbsharemodes
2562 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2563 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2564 cleanlibs:: cleanlibsmbsharemodes
2565 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2567 showlibsmbsharemodes:
2569 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2570 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2571 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2572 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2574 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2575 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2576 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2577 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2578 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2580 showlibs:: showlibsmbsharemodes
2582 #-------------------------------------------------------------------
2586 #-------------------------------------------------------------------
2588 # This is probably wrong for anything other than the GNU linker.
2589 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2590 @echo Linking shared library $@
2591 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2592 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2593 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2594 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2595 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2597 # It would be nice to build a static bigballofmud too, but when I try
2598 # I get linker errors about dl_open and similar things. I'm not sure if
2599 # it can be fixed or if they just can't be called from a static
2602 #####################################################################
2606 #####################################################################
2608 # Linker command to link our shared libraries:
2609 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2610 -o $@ @SONAMEFLAG@`basename $@`
2611 # Linker command to link samba internal plugin modules:
2612 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2613 -o $@ @SONAMEFLAG@`basename $@`
2615 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2617 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2619 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2621 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2623 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2625 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2627 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2629 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2631 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2633 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2635 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2637 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2639 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2641 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2643 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2645 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2647 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2649 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2651 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2653 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2655 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2657 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2659 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2661 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2663 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2665 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2667 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2669 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2671 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2673 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2674 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2675 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2678 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB)
2680 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2681 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2684 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2686 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2687 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2688 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2690 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2692 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2693 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2694 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2696 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2698 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2699 @SONAMEFLAG@`basename $@`
2701 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2702 @echo "Linking shared library
$@
"
2703 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2704 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2710 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2711 @echo "Building plugin
$@
"
2712 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2714 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2715 @echo "Building plugin
$@
"
2716 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2718 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2719 @echo "Building plugin
$@
"
2720 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2722 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2723 @echo "Building plugin
$@
"
2724 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2726 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2727 @echo "Building plugin
$@
"
2728 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2730 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2731 @echo "Building plugin
$@
"
2732 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2734 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2735 @echo "Building plugin
$@
"
2736 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2738 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2739 @echo "Building plugin
$@
"
2740 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2742 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2743 @echo "Building plugin
$@
"
2744 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2746 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2747 @echo "Building plugin
$@
"
2748 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2750 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2751 @echo "Building plugin
$@
"
2752 @$(SHLD_MODULE) passdb/pdb_ads.o
2754 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2755 @echo "Building plugin
$@
"
2756 @$(SHLD_MODULE) passdb/pdb_tdb.o
2758 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2759 @echo "Building plugin
$@
"
2760 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2762 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2763 @echo "Building plugin
$@
"
2764 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2766 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2767 @echo "Building plugin
$@
"
2768 @$(SHLD_MODULE) winbindd/idmap_rid.o
2770 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2771 @echo "Building plugin
$@
"
2772 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2774 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2775 @echo "Building plugin
$@
"
2776 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2778 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2779 @echo "Building plugin
$@
"
2780 @$(SHLD_MODULE) winbindd/idmap_ad.o
2782 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2783 @echo "Building plugin
$@
"
2784 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2786 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2787 @echo "Building plugin
$@
"
2788 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2790 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2791 @echo "Building plugin
$@
"
2792 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2794 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2795 @echo "Building plugin
$@
"
2796 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2798 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2799 @echo "Building plugin
$@
"
2800 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2802 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2803 @echo "Building plugin
$@
"
2804 @$(SHLD_MODULE) $(CP850_OBJ)
2806 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2807 @echo "Building plugin
$@
"
2808 @$(SHLD_MODULE) $(CP437_OBJ)
2810 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2811 @echo "Building plugin
$@
"
2812 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2814 # NOTE, there is no build rule for a dynamic default VFS module because
2815 # this one MUST MUST MUST be built statically.
2817 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2818 @echo "Building plugin
$@
"
2819 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2821 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2822 @echo "Building plugin
$@
"
2823 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2825 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2826 @echo "Building plugin
$@
"
2827 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2829 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2830 @echo "Building plugin
$@
"
2831 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2833 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2834 @echo "Building plugin
$@
"
2835 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2837 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2838 @echo "Building plugin
$@
"
2839 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2841 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2842 @echo "Building plugin
$@
"
2843 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2845 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2846 @echo "Building plugin
$@
"
2847 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2849 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2850 @echo "Building plugin
$@
"
2851 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2853 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2854 @echo "Building plugin
$@
"
2855 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2857 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2858 @echo "Building plugin
$@
"
2859 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2861 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2862 @echo "Building plugin
$@
"
2863 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2865 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2866 @echo "Building plugin
$@
"
2867 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2869 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2870 @echo "Building plugin
$@
"
2871 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2873 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2874 @echo "Building plugin
$@
"
2875 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2877 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2878 @echo "Building plugin
$@
"
2879 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2881 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2882 @echo "Building plugin
$@
"
2883 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2885 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2886 @echo "Building plugin
$@
"
2887 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2889 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2890 @echo "Building plugin
$@
"
2891 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2893 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2894 @echo "Building plugin
$@
"
2895 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2897 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2898 @echo "Building plugin
$@
"
2899 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2901 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2902 @echo "Building plugin
$@
"
2903 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2905 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2906 @echo "Building plugin
$@
"
2907 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2909 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2910 @echo "Building plugin
$@
"
2911 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2913 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2914 @echo "Building plugin
$@
"
2915 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2917 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2918 @echo "Building plugin
$@
"
2919 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2921 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2922 @echo "Building plugin
$@
"
2923 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2925 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2926 @echo "Building plugin
$@
"
2927 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2929 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2930 @echo "Building plugin
$@
"
2931 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2933 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2934 @echo "Building plugin
$@
"
2935 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2937 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2938 @echo "Building plugin
$@
"
2939 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2941 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2942 @echo "Building plugin
$@
"
2943 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2945 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2946 @echo "Building plugin
$@
"
2947 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2949 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2950 @echo "Building plugin
$@
"
2951 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2953 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2954 @echo "Building plugin
$@
"
2955 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2957 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2958 @echo "Building plugin
$@
"
2959 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2961 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2962 @echo "Building plugin
$@
"
2963 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2965 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2966 @echo "Building plugin
$@
"
2967 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2969 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2970 @echo "Building plugin
$@
"
2971 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2973 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2974 @echo "Building plugin
$@
"
2975 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2977 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2978 @echo "Building plugin
$@
"
2979 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2981 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2982 @echo "Building plugin
$@
"
2983 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2985 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2986 @echo "Building plugin
$@
"
2987 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2989 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2990 @echo "Building plugin
$@
"
2991 @$(SHLD_MODULE) libgpo/gpext/registry.o
2993 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2994 @echo "Building plugin
$@
"
2995 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2997 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2998 @echo "Building plugin
$@
"
2999 @$(SHLD_MODULE) libgpo/gpext/security.o
3001 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3002 @echo "Building plugin
$@
"
3003 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3005 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3006 @echo "Building plugin
$@
"
3007 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3009 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3010 @echo "Building plugin
$@
"
3011 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3013 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3014 @echo "Building plugin
$@
"
3015 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3017 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3018 @echo "Building plugin
$@
"
3019 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3021 #########################################################
3022 ## IdMap NSS plugins
3024 ## None here right now
3025 #########################################################
3027 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3029 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3030 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3033 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3034 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3036 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3037 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
3038 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3039 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3041 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3042 @echo "Linking shared library
$@
"
3043 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3044 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3045 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3047 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3049 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3050 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3052 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3054 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3055 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3057 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3059 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3061 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3063 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3065 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3067 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3068 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3070 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3071 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3072 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3074 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3075 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3076 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3078 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3079 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3080 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3082 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3083 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3084 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3086 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3088 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3090 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3092 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3093 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3094 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3096 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3098 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3099 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3100 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3101 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3103 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3105 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3106 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3108 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3110 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3111 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3113 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3115 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3116 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3119 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3121 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3122 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3124 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3126 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3127 $(LDFLAGS) $(DYNEXP) \
3128 $(LIBS) $(POPT_LIBS) \
3129 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3130 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3132 install:: installservers installbin installman \
3133 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3134 @INSTALL_PAM_MODULES@ installlibs installmo
3136 install-everything:: install installmodules
3138 # DESTDIR is used here to prevent packagers wasting their time
3139 # duplicating the Makefile. Remove it and you will have the privelege
3140 # of package each samba release for muliple versions of multiple
3141 # distributions and operating systems, or at least supplying patches
3142 # to all the packaging files required for this, prior to committing
3143 # the removal of DESTDIR. Do not remove it even though you think it
3147 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3148 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3149 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3151 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3153 installservers:: all installdirs
3154 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3156 installbin:: all installdirs
3157 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3159 # Some symlinks are required for the 'probing' of modules.
3160 # This mechanism should go at some point..
3161 installmodules:: modules installdirs
3162 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3163 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3164 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3165 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3166 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3167 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3168 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3169 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3170 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3171 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3172 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3173 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3174 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3175 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3176 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3177 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3178 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3179 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3181 installscripts:: installdirs
3182 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3184 installdat:: installdirs
3185 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3187 installmsg:: installdirs
3188 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3190 installswat:: installdirs installmsg
3191 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3193 installpammodules:: $(PAM_MODULES)
3194 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3195 @for module in $(PAM_MODULES); do \
3196 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3197 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3198 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3201 # revert to the previously installed version
3203 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3204 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3206 installman:: installdirs
3207 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3209 installmo:: all installdirs
3210 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3215 @echo "Samba will be installed into
:"
3216 @echo " prefix: $(prefix)"
3217 @echo " bindir: $(BINDIR
)"
3218 @echo " sbindir
: $(SBINDIR
)"
3219 @echo " libdir: $(LIBDIR
)"
3220 @echo " modulesdir
: $(MODULESDIR
)"
3221 @echo " vardir
: $(VARDIR
)"
3222 @echo " mandir: $(MANDIR
)"
3223 @echo " privatedir
: $(PRIVATE_DIR
)"
3224 @echo " configdir
: $(CONFIGDIR
)"
3225 @echo " lockdir
: $(LOCKDIR
)"
3226 @echo " statedir: $(STATEDIR
)"
3227 @echo " cachedir
: $(CACHEDIR
)"
3228 @echo " piddir
: $(PIDDIR
)"
3229 @echo " nmbdsocketdir
: $(NMBSOCKETDIR
)"
3230 @echo " swatdir
: $(SWATDIR
)"
3231 @echo " datadir: ${DATADIR}"
3232 @echo " codepagedir
: $(CODEPAGEDIR
)"
3235 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3238 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3241 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3244 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3247 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3250 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3251 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3252 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3253 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3254 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3255 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3256 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3259 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3262 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3265 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3267 uninstallswat:: uninstallmsg
3268 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3270 uninstallpammodules::
3271 @for module in $(PAM_MODULES); do \
3272 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3273 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3276 # Toplevel clean files
3277 TOPFILES=dynconfig.o localedir.o
3280 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3282 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3284 ../libgpo/*.o ../libgpo/*/*.o \
3285 ../libds/*.o ../libds/*/*.o
3288 -rm -f include/build_env.h
3289 -rm -f smbd/build_options.c
3290 -rm -f $(PRECOMPILED_HEADER)
3291 -rm -f core */*~ *~ \
3292 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3293 ../testsuite/*/*.o \
3294 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3296 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3297 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3298 $(MODULES) $(TORTURE_PROGS) \
3299 $(EVERYTHING_PROGS) \
3301 .headers.stamp */src/*.o
3304 include/build_env.h: script/build_env.sh
3305 @echo Building include/build_env.h
3306 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3307 > $(builddir)/include/build_env.h
3313 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3316 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3319 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3320 -rm -f script/installbin.sh script/uninstallbin.sh
3322 distclean:: realclean
3324 -rm -f include/config.h Makefile
3325 -rm -f config.status config.cache so_locations
3328 realdistclean:: distclean
3329 -rm -f include/config.h.in
3330 -rm -f include/version.h
3333 # this target is really just for my use. It only works on a limited
3334 # range of machines and is used to produce a list of potentially
3335 # dead (ie. unused) functions in the code. (tridge)
3337 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3338 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3339 comm -13 nmused.txt nmfns.txt
3342 # when configure.in is updated, reconfigure
3343 $(srcdir)/configure: $(srcdir)/configure.in
3344 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3346 config.status: $(srcdir)/configure
3347 @echo "WARNING
: you need to run .
/configure
"
3349 Makefile: $(srcdir)/Makefile.in config.status
3350 @echo "WARNING
: you need to run .
/config.status
"
3352 ######################################################################
3353 # Samba Testing Framework
3355 # Check shared libs for unresolved symbols
3358 @$(LIB_PATH_VAR)=./bin && \
3359 export $(LIB_PATH_VAR) && \
3360 for module in $?; do \
3361 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3365 # Check for NSS module problems.
3366 test_nss_modules:: nss_modules
3367 @echo "Testing
$(NSS_MODULES
) "
3368 @$(LIB_PATH_VAR)=./bin && \
3369 export $(LIB_PATH_VAR) && \
3370 for module in $(NSS_MODULES); do \
3371 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3375 # Check for PAM module problems. Specifically, check that every module we
3376 # built can actually be loaded by a minimal PAM-aware application.
3377 test_pam_modules:: pam_modules
3378 @echo "Testing
$(PAM_MODULES
) "
3379 @$(LIB_PATH_VAR)=./bin && \
3380 export $(LIB_PATH_VAR) && \
3381 for module in $(PAM_MODULES); do \
3382 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3388 ## Targets for 'make test'
3391 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3393 oldtest:: all torture timelimit
3394 @echo Running Test suite
3395 @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}
3397 valgrindtest:: all torture timelimit
3398 @echo Running Test suite with valgrind
3399 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3400 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3401 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3402 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3403 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3404 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3406 selftestdir = ../selftest
3408 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3410 test:: all torture timelimit
3411 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3412 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3413 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3414 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3415 SOURCEDIR="$(srcdir)" \
3416 VFSLIBDIR="$(builddir
)/bin
" \
3417 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3418 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3419 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3420 $(srcdir)/selftest/s3-selftest.sh
3423 $(MAKE) test TESTS=$*
3426 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3429 $(MAKE) test SUBUNIT_FORMATTER=cat
3431 SELFTEST_TESTENV = dc
3434 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3437 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3438 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3439 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3440 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3444 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3445 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3446 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3447 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3451 # Check for Winbind struct 32/64bit padding
3453 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3454 @./script/tests/wb_pad.sh || exit 1;
3460 libsmbclient_examples: libsmbclient
3461 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3463 clean_libsmbclient_examples:
3464 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3466 libnetapi_examples: libnetapi
3467 $(MAKE) -C lib/netapi/examples
3469 clean_libnetapi_examples:
3470 $(MAKE) -C lib/netapi/examples clean
3472 ../source4/configure: ../buildtools/scripts/configure.waf
3473 cd ../source4 && ./autogen.sh
3475 samba4-configure: ../source4/configure
3476 @CFLAGS='' $(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
3477 CFLAGS='' ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
3479 .PHONY: samba4-configure
3481 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
3482 cd ../source4 && $(MAKE) bin/smbtorture
3483 cp ../source4/bin/smbtorture bin/smbtorture4
3485 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
3486 cd ../source4 && $(MAKE) bin/ndrdump
3487 cp ../source4/bin/ndrdump bin/ndrdump4
3489 .PHONY: bin/smbtorture4