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
/ndr_winreg_c.o
354 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
356 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
358 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
360 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
362 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
364 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
366 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
368 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
370 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
372 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
373 librpc
/gen_ndr
/ndr_lsa_c.o \
374 rpc_client
/cli_lsarpc.o \
375 rpc_client
/init_lsa.o
377 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/cli_samr.o \
378 librpc
/gen_ndr
/ndr_samr_c.o \
379 rpc_client
/cli_samr.o
381 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
382 rpc_client
/cli_netlogon.o
384 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
386 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
388 librpc
/gen_ndr
/ndr_dfs.o \
389 librpc
/gen_ndr
/ndr_echo.o \
390 librpc
/gen_ndr
/ndr_winreg.o \
391 librpc
/gen_ndr
/ndr_initshutdown.o \
392 librpc
/gen_ndr
/ndr_srvsvc.o \
393 librpc
/gen_ndr
/ndr_eventlog.o \
394 $(LIBNDR_NETLOGON_OBJ
) \
395 librpc
/gen_ndr
/ndr_dssetup.o \
396 librpc
/gen_ndr
/ndr_epmapper.o \
397 librpc
/gen_ndr
/ndr_ntsvcs.o \
398 $(LIBNDR_SPOOLSS_OBJ
)
400 # this includes only the low level parse code, not stuff
401 # that requires knowledge of security contexts
402 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
404 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
406 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
407 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
411 $(SOCKET_WRAPPER_OBJ
) \
414 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
415 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
416 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
417 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
418 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
419 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
420 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
421 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
422 ..
/lib
/util
/tevent_werror.o \
423 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
424 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
427 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
428 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
429 ..
/lib
/crypto
/md4.o \
430 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
431 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
433 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
434 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
435 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
436 lib
/interfaces.o lib
/memcache.o \
440 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
442 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
443 lib
/interface.o lib
/pidfile.o \
444 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
446 ..
/libds
/common
/flag_mapping.o \
447 lib
/access.o lib
/smbrun.o \
448 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
450 lib
/util_str.o lib
/clobber.o lib
/util_sid.o \
451 lib
/util_unistr.o lib
/util_file.o \
452 lib
/util.o lib
/util_names.o \
453 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
454 lib
/substitute.o lib
/dbwrap_util.o \
455 lib
/ms_fnmatch.o lib
/errmap_unix.o \
456 lib
/tallocmsg.o lib
/dmallocmsg.o \
457 libsmb
/clisigning.o libsmb
/smb_signing.o \
458 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
459 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
460 lib
/sessionid_tdb.o \
461 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
462 lib
/server_contexts.o \
463 lib
/ldap_escape.o @CHARSET_STATIC@ \
464 lib
/secdesc.o ..
/libcli
/security
/access_check.o \
465 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
466 ..
/libcli
/security
/sddl.o \
467 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
469 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
470 lib
/file_id.o lib
/idmap_cache.o \
471 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
472 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o
474 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
475 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
477 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
479 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
480 # Be sure to include them into your application
481 POPT_LIB_OBJ
= lib
/popt_common.o
483 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
484 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
485 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
487 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
489 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
490 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
491 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
493 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
495 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
496 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
499 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
501 LIBADS_OBJ
= libads
/ldap.o \
502 libads
/sasl.o libads
/sasl_wrapping.o \
503 libads
/krb5_setpw.o \
504 libads
/kerberos_util.o \
506 libads
/ads_struct.o libads
/kerberos_keytab.o \
507 libads
/disp_sec.o libads
/ldap_utils.o \
508 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
510 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
511 ..
/librpc
/ndr
/ndr_krb5pac.o \
512 librpc
/gen_ndr
/ndr_krb5pac.o
514 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
516 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
517 librpc
/gen_ndr
/ndr_secrets.o
519 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
520 ..
/libcli
/netlogon
/netlogon.o \
521 ..
/libcli
/netlogon
/ndr_netlogon.o \
522 librpc
/gen_ndr
/ndr_nbt.o \
523 librpc
/gen_ndr
/ndr_svcctl.o \
524 ..
/librpc
/ndr
/ndr_svcctl.o
526 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
527 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o libsmb
/conncache.o \
528 libads
/dns.o libads
/sitename_cache.o
530 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
531 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
532 ERRORMAP_OBJ
= libsmb
/errormap.o
533 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
535 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
537 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
539 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
543 ..
/libcli
/auth
/ntlm_check.o \
545 libsmb
/ntlmssp_wrap.o \
546 ..
/libcli
/auth
/ntlmssp.o \
547 ..
/libcli
/auth
/ntlmssp_sign.o \
548 $(LIBNDR_NTLMSSP_OBJ
) \
549 ..
/libcli
/auth
/ntlmssp_ndr.o \
550 ..
/libcli
/auth
/ntlmssp_server.o
552 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
555 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
556 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o lib
/ldb_compat.o
558 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
559 ..
/lib
/tsocket
/tsocket_helpers.o \
560 ..
/lib
/tsocket
/tsocket_bsd.o
562 CLDAP_OBJ
= libads
/cldap.o \
563 ..
/libcli
/cldap
/cldap.o \
564 ..
/lib
/util
/idtree.o \
565 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
) $(LIBTSOCKET_OBJ
)
567 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
569 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
570 ..
/libcli
/auth
/schannel_sign.o \
571 ..
/libcli
/auth
/schannel_state_tdb.o \
572 $(LIBNDR_SCHANNEL_OBJ
)
574 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
575 libsmb
/clikrb5.o libsmb
/clispnego.o \
576 ..
/libcli
/auth
/spnego_parse.o \
578 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
579 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
580 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
581 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
582 libsmb
/clioplock.o libsmb
/clirap2.o \
583 libsmb
/smb_seal.o libsmb
/async_smb.o \
584 libsmb
/cli_np_tstream.o \
585 libsmb
/smbsock_connect.o \
592 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
593 rpc_client
/cli_pipe.o \
594 librpc
/crypto
/gse_krb5.o \
595 librpc
/crypto
/gse.o \
596 librpc
/crypto
/cli_spnego.o \
597 librpc
/rpc
/rpc_common.o \
598 rpc_client
/rpc_transport_np.o \
599 rpc_client
/rpc_transport_sock.o \
600 rpc_client
/rpc_transport_tstream.o \
601 ..
/librpc
/rpc
/binding.o \
602 ..
/librpc
/rpc
/dcerpc_util.o \
603 ..
/librpc
/rpc
/binding_handle.o \
604 librpc
/rpc
/dcerpc_helpers.o \
605 $(LIBCLI_EPMAPPER_OBJ
)
607 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
610 # registry-related objects
612 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
614 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
615 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
616 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
618 REGFIO_OBJ
= registry
/regfio.o \
621 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
623 REGOBJS_OBJ
= registry
/reg_objects.o
625 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
627 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
629 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
630 registry
/reg_backend_shares.o \
631 registry
/reg_backend_netlogon_params.o \
632 registry
/reg_backend_prod_options.o \
633 registry
/reg_backend_tcpip_params.o \
634 registry
/reg_backend_hkpt_params.o \
635 registry
/reg_backend_current_version.o \
636 registry
/reg_backend_perflib.o
638 REG_BASE_OBJ
= registry
/reg_api.o \
639 registry
/reg_dispatcher.o \
640 registry
/reg_cachehook.o \
642 registry
/reg_util_internal.o \
644 $(REG_BACKENDS_BASE_OBJ
) \
645 $(REG_INIT_BASIC_OBJ
)
647 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
648 registry
/reg_util_token.o \
649 registry
/reg_api_util.o \
650 $(REG_BACKENDS_SMBCONF_OBJ
) \
651 $(REG_INIT_SMBCONF_OBJ
)
653 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
654 $(REG_BACKENDS_EXTRA_OBJ
) \
655 $(REG_INIT_FULL_OBJ
) \
656 registry
/reg_eventlog.o \
657 registry
/reg_perfcount.o \
658 librpc
/gen_ndr
/ndr_perfcount.o
660 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
662 RPC_LSARPC_OBJ
= rpc_server
/srv_lsa_nt.o \
663 librpc
/gen_ndr
/srv_lsa.o
665 RPC_NETLOGON_OBJ
= rpc_server
/srv_netlog_nt.o \
666 librpc
/gen_ndr
/srv_netlogon.o
668 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
669 rpc_server
/srv_samr_util.o \
670 rpc_server
/srv_samr_chgpasswd.o \
671 librpc
/gen_ndr
/srv_samr.o
673 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
675 RPC_WINREG_OBJ
= rpc_server
/srv_winreg_nt.o \
676 librpc
/gen_ndr
/srv_winreg.o
678 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
680 RPC_SRVSVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
681 librpc
/gen_ndr
/srv_srvsvc.o
683 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
684 rpc_server
/srv_wkssvc_nt.o
686 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
687 librpc
/gen_ndr
/srv_svcctl.o \
688 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
689 services
/svc_netlogon.o services
/svc_winreg.o \
692 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
693 librpc
/gen_ndr
/srv_ntsvcs.o
695 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
696 rpc_server
/srv_dfs_nt.o
698 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
699 rpc_server
/srv_spoolss_util.o \
700 librpc
/gen_ndr
/srv_spoolss.o
702 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
703 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
705 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
706 librpc
/gen_ndr
/ndr_named_pipe_auth.o
708 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
709 rpc_server
/rpc_handles.o
711 RPC_SERVICE
= rpc_server
/rpc_server.o
713 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
714 rpc_server
/dcesrv_gssapi.o \
715 rpc_server
/dcesrv_spnego.o
717 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
718 $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
720 RPC_RPCECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
722 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
723 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
724 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
725 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
726 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) \
727 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
728 $(LIBCLI_SPOOLSS_OBJ
) \
729 $(LIBCLI_WINREG_OBJ
) \
730 $(LIBCLI_SRVSVC_OBJ
) \
733 $(LIBCLI_NETLOGON_OBJ
) \
734 $(RPC_CLIENT_SCHANNEL_OBJ
) \
735 rpc_client
/init_netlogon.o \
736 rpc_client
/init_samr.o
738 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
740 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
742 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
744 PRIVILEGES_OBJ
= lib
/privileges.o
746 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
748 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
749 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
750 passdb
/util_unixsids.o passdb
/lookup_sid.o \
751 passdb
/login_cache.o @PDB_STATIC@ \
752 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
753 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
755 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
756 CP850_OBJ
= modules
/CP850.o
757 CP437_OBJ
= modules
/CP437.o
758 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
760 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
762 PROFILE_OBJ
= profile
/profile.o
763 PROFILES_OBJ
= utils
/profiles.o \
766 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
770 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
773 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
774 librpc
/gen_ndr
/ndr_notify.o
776 FNAME_UTIL_OBJ
= smbd
/filename_util.o
778 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
779 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
780 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
781 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
782 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
783 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
784 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
785 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
786 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
787 VFS_CAP_OBJ
= modules
/vfs_cap.o
788 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
789 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
790 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
791 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
792 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
793 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
794 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
795 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
796 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
797 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
798 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
799 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
800 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
801 VFS_CATIA_OBJ
= modules
/vfs_catia.o
802 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
803 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
804 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
805 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
806 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
807 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
808 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
809 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
810 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
811 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
812 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
813 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
814 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
815 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
816 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
817 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
818 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
819 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
820 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
821 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
822 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
823 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
824 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
825 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
826 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
827 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
828 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
830 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
832 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
834 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
836 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
837 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
838 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
839 AUTH_SERVER_OBJ
= auth
/auth_server.o
840 AUTH_UNIX_OBJ
= auth
/auth_unix.o
841 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
842 AUTH_WBC_OBJ
= auth
/auth_wbc.o
843 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
844 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
846 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
848 auth
/server_info_sam.o \
852 auth
/auth_compat.o auth
/auth_ntlmssp.o \
853 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
855 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
857 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
859 BUILDOPT_OBJ
= smbd
/build_options.o
861 SMBD_OBJ_SRV
= smbd
/server_reload.o \
862 smbd
/files.o smbd
/connection.o \
863 smbd
/utmp.o smbd
/session.o \
864 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
865 smbd
/share_access.o smbd
/fileio.o \
866 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
867 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
868 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
869 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
870 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
871 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
872 smbd
/posix_acls.o lib
/sysacls.o \
873 smbd
/process.o smbd
/service.o smbd
/error.o \
874 printing
/printspoolss.o \
875 lib
/sysquotas.o lib
/sysquotas_linux.o \
876 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
877 lib
/sysquotas_nfs.o \
879 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
880 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
881 smbd
/dmapi.o smbd
/signing.o \
883 smbd
/dnsregister.o smbd
/globals.o \
885 smbd
/smb2_signing.o \
887 smbd
/smb2_negprot.o \
888 smbd
/smb2_sesssetup.o \
897 smbd
/smb2_keepalive.o \
900 smbd
/smb2_getinfo.o \
901 smbd
/smb2_setinfo.o \
903 ..
/libcli
/smb
/smb2_create_blob.o \
904 $(MANGLE_OBJ
) @VFS_STATIC@
906 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
908 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
909 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
910 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
911 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
912 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
913 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
914 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
916 $(PRIVILEGES_BASIC_OBJ
) \
918 $(REG_API_REGF_OBJ
) \
921 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
922 printing
/print_cups.o printing
/print_generic.o \
923 printing
/lpq_parse.o printing
/load.o \
924 printing
/print_iprint.o printing
/print_standard.o \
925 printing
/printer_list.o
927 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
928 PRINTBACKEND_OBJ
= printing
/printing.o \
929 printing
/nt_printing.o \
930 printing
/nt_printing_tdb.o \
931 printing
/nt_printing_migrate.o \
932 printing
/nt_printing_ads.o \
933 librpc
/gen_ndr
/ndr_ntprinting.o \
934 ..
/librpc
/ndr
/ndr_ntprinting.o \
937 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
939 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
940 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
941 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
942 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
943 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
944 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
945 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
946 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
947 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
948 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
949 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
950 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
952 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
953 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
956 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
957 web
/swat.o web
/neg_lang.o
959 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
960 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
961 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
962 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
963 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
965 rpc_client
/init_lsa.o
967 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
968 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
969 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
970 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
972 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
973 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
975 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
976 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
977 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
978 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
979 $(LIBMSRPC_GEN_OBJ
) \
983 TESTPARM_OBJ
= utils
/testparm.o \
984 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
987 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
989 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
991 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
992 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
993 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
995 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
997 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
998 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
999 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1000 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1001 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1002 $(LIBCLI_SAMR_OBJ
) \
1003 rpc_client
/init_lsa.o
1005 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1006 $(LIBSAMBA_OBJ
) $(LIBTSOCKET_OBJ
) \
1007 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1008 $(LIBCLI_LDAP_NDR_OBJ
) \
1009 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1011 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1013 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1015 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1016 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1017 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1018 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1019 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1020 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1021 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1022 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1023 rpcclient
/cmd_winreg.o \
1026 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1027 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1028 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1029 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1030 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1031 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1032 $(LIBCLI_SPOOLSS_OBJ
) \
1033 $(LIBCLI_EVENTLOG_OBJ
) \
1034 $(LIBCLI_NTSVCS_OBJ
) \
1035 $(LIBCLI_DRSUAPI_OBJ
) \
1037 $(LIBCLI_ECHO_OBJ
) \
1038 $(LIBCLI_DSSETUP_OBJ
) \
1039 $(LIBCLI_WKSSVC_OBJ
) \
1040 $(LIBCLI_SRVSVC_OBJ
) \
1042 $(LIBCLI_SAMR_OBJ
) \
1043 $(LIBCLI_WINREG_OBJ
) \
1044 $(LIBCLI_NETLOGON_OBJ
) \
1045 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1046 rpc_client
/init_netlogon.o \
1047 rpc_client
/init_samr.o
1049 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1050 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1052 LIBSMBCLIENT_THREAD_OBJ
= \
1053 libsmb
/libsmb_thread_impl.o \
1054 libsmb
/libsmb_thread_posix.o
1056 LIBSMBCLIENT_OBJ0
= \
1057 libsmb
/libsmb_cache.o \
1058 libsmb
/libsmb_compat.o \
1059 libsmb
/libsmb_context.o \
1060 libsmb
/libsmb_dir.o \
1061 libsmb
/libsmb_file.o \
1062 libsmb
/libsmb_misc.o \
1063 libsmb
/libsmb_path.o \
1064 libsmb
/libsmb_printjob.o \
1065 libsmb
/libsmb_server.o \
1066 libsmb
/libsmb_stat.o \
1067 libsmb
/libsmb_xattr.o \
1068 libsmb
/libsmb_setget.o
1070 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1071 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1072 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1073 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1074 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1075 $(LIBCLI_SRVSVC_OBJ
) \
1078 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1080 # This shared library is intended for linking with unit test programs
1081 # to test Samba internals. It's called libbigballofmud.so to
1082 # discourage casual usage.
1084 LIBBIGBALLOFMUD_MAJOR
= 0
1086 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1087 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1088 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1090 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1091 client
/dnsbrowse.o \
1094 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1095 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1096 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1097 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1098 $(DISPLAY_SEC_OBJ
) \
1099 $(LIBCLI_SRVSVC_OBJ
)
1101 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1102 ..
/lib
/smbconf
/smbconf_util.o \
1103 ..
/lib
/smbconf
/smbconf_txt.o \
1104 lib
/smbconf
/smbconf_reg.o \
1105 lib
/smbconf
/smbconf_init.o
1107 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1109 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1110 $(LIB_NONSMBD_OBJ
) \
1115 LIBNET_OBJ
= libnet
/libnet_join.o \
1116 libnet
/libnet_keytab.o \
1117 librpc
/gen_ndr
/ndr_libnet_join.o
1119 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1120 libnet
/libnet_dssync_keytab.o \
1121 ..
/libcli
/drsuapi
/repl_decrypt.o
1123 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1124 libnet
/libnet_samsync_ldif.o \
1125 libnet
/libnet_samsync_passdb.o \
1126 libnet
/libnet_samsync_display.o \
1127 libnet
/libnet_samsync_keytab.o \
1128 ..
/libcli
/samsync
/decrypt.o
1130 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1131 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1132 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1133 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1134 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1135 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1136 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1137 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1138 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1139 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1140 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
1141 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1142 utils
/net_g_lock.o \
1143 utils
/net_serverid.o \
1144 utils
/net_eventlog.o \
1145 utils
/net_printing.o \
1146 $(LIBNDR_NTPRINTING_OBJ
) \
1147 $(LIBNDR_PREG_OBJ
) \
1148 $(LIBCLI_SPOOLSS_OBJ
) \
1149 $(LIBCLI_WINREG_OBJ
) \
1150 $(LIBCLI_DRSUAPI_OBJ
) \
1151 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1152 $(LIBCLI_DSSETUP_OBJ
) \
1153 $(LIBCLI_SVCCTL_OBJ
) \
1154 $(LIBCLI_WKSSVC_OBJ
) \
1155 $(LIBCLI_SRVSVC_OBJ
) \
1157 $(LIBCLI_SAMR_OBJ
) \
1158 $(LIBCLI_NETLOGON_OBJ
) \
1159 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1160 rpc_client
/init_netlogon.o \
1161 rpc_client
/init_samr.o \
1162 registry
/reg_parse.o registry
/reg_format.o \
1163 registry
/reg_parse_internal.o registry
/reg_import.o \
1164 lib
/cbuf.o lib
/srprs.o
1166 # these are not processed by make proto
1167 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1169 NET_OBJ
= $(NET_OBJ1
) \
1170 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1171 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1172 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1173 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1174 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1175 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1176 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1177 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1178 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1179 $(REG_SMBCONF_OBJ
) \
1180 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1183 $(PRIVILEGES_BASIC_OBJ
) \
1184 $(LIB_EVENTLOG_OBJ
) localedir.o
1186 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1187 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1190 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1191 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1193 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1194 torture
/denytest.o torture
/mangle_test.o \
1196 torture
/test_async_echo.o \
1197 torture
/test_smbsock_any_connect.o \
1198 torture
/test_posix_append.o
1200 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1201 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1202 @LIBWBCLIENT_STATIC@ \
1203 torture
/wbc_async.o \
1205 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1207 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1208 $(LIB_NONSMBD_OBJ
) \
1211 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1212 $(LIB_NONSMBD_OBJ
) \
1215 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1216 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1217 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1219 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1221 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1222 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1223 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1226 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1228 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1230 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1232 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1233 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1234 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1236 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1237 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1238 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1239 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1242 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1244 $(LIB_NONSMBD_OBJ
) \
1245 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1246 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1249 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1251 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1253 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1254 librpc
/gen_ndr
/ndr_eventlog.o \
1255 librpc
/gen_ndr
/ndr_lsa.o
1257 SHARESEC_OBJ0
= utils
/sharesec.o
1258 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1262 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1263 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1265 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1266 @libreplacedir@
/test/getifaddrs.o \
1267 @libreplacedir@
/test/os2_delete.o \
1268 @libreplacedir@
/test/strptime.o \
1269 @libreplacedir@
/test/main.o \
1270 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1272 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1274 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1275 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1278 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1279 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1281 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1282 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1283 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1284 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1287 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1289 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1291 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1294 winbindd
/idmap_hash
/idmap_hash.o \
1295 winbindd
/idmap_hash
/mapfile.o
1298 winbindd
/idmap_adex
/idmap_adex.o \
1299 winbindd
/idmap_adex
/cell_util.o \
1300 winbindd
/idmap_adex
/likewise_cell.o \
1301 winbindd
/idmap_adex
/provider_unified.o \
1302 winbindd
/idmap_adex
/gc_util.o \
1303 winbindd
/idmap_adex
/domain_util.o
1306 winbindd
/winbindd.o \
1307 winbindd
/winbindd_group.o \
1308 winbindd
/winbindd_util.o \
1309 winbindd
/winbindd_cache.o \
1310 winbindd
/winbindd_pam.o \
1311 winbindd
/winbindd_misc.o \
1312 winbindd
/winbindd_cm.o \
1313 winbindd
/winbindd_wins.o \
1314 winbindd
/winbindd_msrpc.o \
1315 winbindd
/winbindd_rpc.o \
1316 winbindd
/winbindd_reconnect.o \
1317 winbindd
/winbindd_ads.o \
1318 winbindd
/winbindd_samr.o \
1319 winbindd
/winbindd_dual.o \
1320 winbindd
/winbindd_dual_ndr.o \
1321 winbindd
/winbindd_dual_srv.o \
1322 librpc
/gen_ndr
/ndr_wbint_c.o \
1323 librpc
/gen_ndr
/srv_wbint.o \
1324 librpc
/gen_ndr
/ndr_wbint.o \
1325 winbindd
/winbindd_async.o \
1326 winbindd
/winbindd_creds.o \
1327 winbindd
/winbindd_cred_cache.o \
1328 winbindd
/winbindd_ccache_access.o \
1329 winbindd
/winbindd_domain.o \
1330 winbindd
/winbindd_idmap.o \
1331 winbindd
/winbindd_locator.o \
1332 winbindd
/winbindd_ndr.o \
1333 winbindd
/wb_ping.o \
1334 winbindd
/wb_lookupsid.o \
1335 winbindd
/wb_lookupname.o \
1336 winbindd
/wb_sid2uid.o \
1337 winbindd
/wb_sid2gid.o \
1338 winbindd
/wb_uid2sid.o \
1339 winbindd
/wb_gid2sid.o \
1340 winbindd
/wb_queryuser.o \
1341 winbindd
/wb_lookupuseraliases.o \
1342 winbindd
/wb_lookupusergroups.o \
1343 winbindd
/wb_getpwsid.o \
1344 winbindd
/wb_gettoken.o \
1345 winbindd
/wb_seqnum.o \
1346 winbindd
/wb_seqnums.o \
1347 winbindd
/wb_group_members.o \
1348 winbindd
/wb_getgrsid.o \
1349 winbindd
/wb_query_user_list.o \
1350 winbindd
/wb_fill_pwent.o \
1351 winbindd
/wb_next_pwent.o \
1352 winbindd
/wb_next_grent.o \
1353 winbindd
/wb_dsgetdcname.o \
1354 winbindd
/winbindd_lookupsid.o \
1355 winbindd
/winbindd_lookupname.o \
1356 winbindd
/winbindd_sid_to_uid.o \
1357 winbindd
/winbindd_sid_to_gid.o \
1358 winbindd
/winbindd_uid_to_sid.o \
1359 winbindd
/winbindd_gid_to_sid.o \
1360 winbindd
/winbindd_allocate_uid.o \
1361 winbindd
/winbindd_allocate_gid.o \
1362 winbindd
/winbindd_getpwsid.o \
1363 winbindd
/winbindd_getpwnam.o \
1364 winbindd
/winbindd_getpwuid.o \
1365 winbindd
/winbindd_getsidaliases.o \
1366 winbindd
/winbindd_getuserdomgroups.o \
1367 winbindd
/winbindd_getgroups.o \
1368 winbindd
/winbindd_show_sequence.o \
1369 winbindd
/winbindd_getgrgid.o \
1370 winbindd
/winbindd_getgrnam.o \
1371 winbindd
/winbindd_getusersids.o \
1372 winbindd
/winbindd_lookuprids.o \
1373 winbindd
/winbindd_setpwent.o \
1374 winbindd
/winbindd_getpwent.o \
1375 winbindd
/winbindd_endpwent.o \
1376 winbindd
/winbindd_setgrent.o \
1377 winbindd
/winbindd_getgrent.o \
1378 winbindd
/winbindd_endgrent.o \
1379 winbindd
/winbindd_dsgetdcname.o \
1380 winbindd
/winbindd_getdcname.o \
1381 winbindd
/winbindd_list_users.o \
1382 winbindd
/winbindd_list_groups.o \
1383 winbindd
/winbindd_check_machine_acct.o \
1384 winbindd
/winbindd_change_machine_acct.o \
1385 winbindd
/winbindd_ping_dc.o \
1386 winbindd
/winbindd_pam_auth.o \
1387 winbindd
/winbindd_pam_auth_crap.o \
1388 winbindd
/winbindd_pam_chauthtok.o \
1389 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1390 winbindd
/winbindd_pam_logoff.o \
1394 auth
/check_samsec.o \
1395 auth
/server_info.o \
1396 auth
/server_info_sam.o \
1402 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1403 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1404 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1405 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1406 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1407 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1408 $(RPC_NCACN_NP
) $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1409 $(NPA_TSTREAM_OBJ
) \
1410 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1411 $(LIBADS_SERVER_OBJ
) \
1412 $(TDB_VALIDATE_OBJ
) \
1413 $(LIBCLI_DSSETUP_OBJ
) \
1415 $(LIBCLI_SAMR_OBJ
) \
1416 $(LIBCLI_NETLOGON_OBJ
) \
1417 rpc_client
/init_netlogon.o \
1418 rpc_client
/init_samr.o
1420 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1421 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1422 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1424 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1426 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1427 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1429 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1430 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1432 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1433 ..
/lib
/iniparser_build
/strlib.o
1435 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1436 $(SOCKET_WRAPPER_OBJ
)
1438 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1439 $(SOCKET_WRAPPER_OBJ
)
1441 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1442 $(SOCKET_WRAPPER_OBJ
)
1444 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1445 $(SOCKET_WRAPPER_OBJ
)
1447 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1448 $(SOCKET_WRAPPER_OBJ
)
1451 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1453 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1454 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o libads
/kerberos.o \
1455 libsmb
/samlogon_cache.o \
1456 $(LIBADS_SERVER_OBJ
) \
1457 $(PASSDB_OBJ
) $(LIBTSOCKET_OBJ
) $(GROUPDB_OBJ
) \
1458 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1460 $(LIBCLI_LDAP_NDR_OBJ
) \
1461 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1464 VLP_OBJ
= printing
/tests
/vlp.o \
1465 ..
/lib
/util
/util_tdb.o \
1466 $(LIBSAMBAUTIL_OBJ
) \
1469 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1473 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1474 $(LIB_NONSMBD_OBJ
) \
1479 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1481 $(LIB_NONSMBD_OBJ
) \
1484 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1486 $(LIB_NONSMBD_OBJ
) \
1490 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1492 $(LIB_NONSMBD_OBJ
) \
1496 ######################################################################
1498 ######################################################################
1499 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1500 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1501 $(EXTRA_ALL_TARGETS
)
1505 nss_modules
:: $(NSS_MODULES
)
1507 pam_modules
:: $(PAM_MODULES
)
1509 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1511 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1513 gpext_modules
:: $(GPEXT_MODULES
)
1515 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1517 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1519 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1521 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1523 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1525 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1527 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1529 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1531 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1533 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1535 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1537 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1539 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1541 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1543 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1545 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1547 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1548 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1549 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1551 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1553 modules
:: SHOWFLAGS
$(MODULES
)
1556 #####################################################################
1557 ## Perl IDL Compiler
1559 IDL_FILES
= librpc
/idl
/messaging.idl \
1560 librpc
/idl
/libnetapi.idl \
1561 librpc
/idl
/notify.idl \
1562 librpc
/idl
/wbint.idl \
1563 librpc
/idl
/perfcount.idl \
1564 librpc
/idl
/secrets.idl \
1565 librpc
/idl
/libnet_join.idl \
1569 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1570 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1571 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1572 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1575 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1576 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1577 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1578 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1580 #####################################################################
1583 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1587 .SUFFIXES
: .c .o .lo
1589 .PHONY
: showflags SHOWFLAGS
1591 showflags
: SHOWFLAGS
1594 @echo
"Using CFLAGS = $(CFLAGS)"
1595 @echo
" PICFLAG = $(PICFLAG)"
1596 @echo
" LIBS = $(LIBS)"
1597 @echo
" LDFLAGS = $(LDFLAGS)"
1598 @echo
" DYNEXP = $(DYNEXP)"
1599 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1600 @echo
" SHLIBEXT = @SHLIBEXT@"
1601 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1603 # "showcflags" target for debuggin how CFLAGS are composed:
1605 .PHONY
: showcflags SHOWCFLAGS
1607 showcflags
: SHOWCFLAGS
1610 @echo
"CFLAGS = $(CFLAGS)"
1611 @echo
"FLAGS = $(FLAGS)"
1613 @echo
"FLAGS1 = @FLAGS1@"
1614 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1615 @echo
"CPPFLAGS = $(CPPFLAGS)"
1616 @echo
"ISA = $(ISA)"
1618 MAKEDIR
= || exec false
; \
1619 if
test -d
"$$dir"; then
:; else \
1620 echo mkdir
"$$dir"; \
1621 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1622 test -d
"$$dir" || \
1624 exec false
; fi || exec false
1626 # Run a static checker.
1627 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1628 # Compile a source file.
1629 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1630 # Compile a source file with the installation paths defined.
1631 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1633 COMPILE
= $(COMPILE_CC
)
1636 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1637 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1638 @if
test -n
"$(CC_CHECKER)"; then \
1639 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1642 @echo Compiling
$*.c
1643 @
$(COMPILE
) && exit
0;\
1644 echo
"The following command failed:" 1>&2;\
1645 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1646 $(COMPILE_CC) >/dev/null 2>&1
1647 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1649 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1651 # this adds support for precompiled headers. To use it, install a snapshot
1652 # of gcc-3.4 and run 'make pch' before you do the main build.
1654 rm -f $(PRECOMPILED_HEADER)
1655 $(MAKE) $(PRECOMPILED_HEADER)
1657 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1660 BINARY_PREREQS = bin/.dummy
1662 # These dependencies are only approximately correct: we want to make
1663 # sure Samba's paths are updated if ./configure is re-run. Really it
1664 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1665 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1666 # rebuild it's a bit hard.
1668 dynconfig.o: dynconfig.c Makefile
1669 @echo Compiling $*.c
1670 @$(COMPILE_CC_PATH) && exit 0;\
1671 echo "The following command failed
:" 1>&2;\
1672 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1673 $(COMPILE_CC_PATH) >/dev/null 2>&1
1675 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1676 @echo Compiling $*.c
1677 @$(COMPILE_CC_PATH) && exit 0;\
1678 echo "The following command failed
:" 1>&2;\
1679 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1680 $(COMPILE_CC_PATH) >/dev/null 2>&1
1682 ### Start section of object files that require PTHREAD_CFLAGS
1683 ../nsswitch/wins.o: ../nsswitch/wins.c
1684 @echo Compiling $*.c
1685 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1686 echo "The following command failed
:" 1>&2;\
1687 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1688 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1690 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1691 @echo Compiling $*.c
1692 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1693 echo "The following command failed
:" 1>&2;\
1694 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1695 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1697 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1698 @echo Compiling $*.c
1699 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1700 echo "The following command failed
:" 1>&2;\
1701 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1702 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1704 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1705 @echo Compiling $*.c
1706 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1707 echo "The following command failed
:" 1>&2;\
1708 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1709 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1710 ### End section of object files that require PTHREAD_CFLAGS
1712 localedir.o: localedir.c Makefile
1713 @echo Compiling $*.c
1714 @$(COMPILE_CC_PATH) && exit 0;\
1715 echo "The following command failed
:" 1>&2;\
1716 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1717 $(COMPILE_CC_PATH) >/dev/null 2>&1
1719 lib/pidfile.o: lib/pidfile.c
1720 @echo Compiling $*.c
1721 @$(COMPILE_CC_PATH) && exit 0;\
1722 echo "The following command failed
:" 1>&2;\
1723 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1724 $(COMPILE_CC_PATH) >/dev/null 2>&1
1726 lib/version.o: lib/version.c include/version.h
1727 @echo Compiling $*.c
1728 @$(COMPILE_CC_PATH) && exit 0;\
1729 echo "The following command failed
:" 1>&2;\
1730 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1731 $(COMPILE_CC_PATH) >/dev/null 2>&1
1733 smbd/build_options.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1734 @echo Compiling $*.c
1735 @$(COMPILE_CC_PATH) && exit 0;\
1736 echo "The following command failed
:" 1>&2;\
1737 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1738 $(COMPILE_CC_PATH) >/dev/null 2>&1
1740 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1742 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1745 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1746 dir=bin $(MAKEDIR); fi
1747 @: >> $@ || : > $@ # what a fancy emoticon!
1749 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1751 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1752 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1753 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1754 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1755 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1757 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1759 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1760 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1761 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1762 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1764 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1766 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1767 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1768 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1770 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1772 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1773 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1774 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1775 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1777 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1779 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1780 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1781 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1782 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1784 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1786 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1787 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1788 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1789 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1792 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1794 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1795 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1797 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1799 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1800 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1801 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1803 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1805 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1806 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1808 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1810 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1811 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1813 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1815 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1816 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1818 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1820 @$(CC) -DUSING_SMBCONTROL -o $@ \
1821 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1822 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1823 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1825 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1827 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1828 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1829 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1831 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1833 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1834 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1835 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1837 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1839 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1840 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1841 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1843 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1845 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1846 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1847 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1849 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1851 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1852 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1854 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1856 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1857 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1858 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1860 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1862 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1863 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1864 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1866 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1868 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1869 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1871 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1873 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1874 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1875 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1877 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1879 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1880 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1881 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1882 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1884 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1886 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1887 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1888 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1890 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1892 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1893 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1894 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1896 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1898 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1899 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1900 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1902 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1904 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1905 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1907 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1909 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1910 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1912 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1914 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1915 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1916 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1917 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1919 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ)
1921 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
1923 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1925 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1926 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1927 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1929 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1931 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1932 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1933 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1934 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1935 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1937 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1939 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1940 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1941 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1943 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1945 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1946 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1948 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1950 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1951 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1952 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1953 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1955 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1957 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1958 $(LIBS) $(LIBTALLOC_LIBS)
1960 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1962 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1963 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1964 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1965 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1967 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1969 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1972 #####################################################################
1976 #####################################################################
1978 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1981 #-------------------------------------------------------------------
1985 #-------------------------------------------------------------------
1988 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1989 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1991 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1992 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
1993 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
1994 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
1995 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
1996 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
1998 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
1999 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2001 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2002 @echo Linking shared library $@
2003 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2005 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
2007 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2009 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2010 @echo Linking non-shared library $@
2011 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2012 libtalloc: $(LIBTALLOC)
2017 $(LIBTALLOC_STATIC_TARGET) \
2018 $(LIBTALLOC_SHARED_TARGET) \
2019 $(LIBTALLOC_SHARED_TARGET_SONAME)
2021 installlibtalloc:: installdirs libtalloc
2022 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2023 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2024 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2025 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2026 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2027 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2029 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2030 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2031 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2033 uninstalllibtalloc::
2034 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2035 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2036 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2037 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2040 installlibs:: @INSTALL_LIBTALLOC@
2041 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2042 cleanlibs:: cleanlibtalloc
2043 shlibs test_shlibs: @LIBTALLOC_SHARED@
2047 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2048 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2049 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2051 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2052 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2053 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2054 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2055 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2057 showlibs:: showlibtalloc
2059 #-------------------------------------------------------------------
2063 #-------------------------------------------------------------------
2065 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2066 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2068 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2069 LIBTDB_SOVER=@LIBTDB_SOVER@
2070 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
2071 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2072 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2073 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2075 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2076 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2078 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2079 @echo Linking shared library $@
2080 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2081 @SONAMEFLAG@`basename $@`
2083 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
2085 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2087 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2088 @echo Linking non-shared library $@
2089 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2096 $(LIBTDB_STATIC_TARGET) \
2097 $(LIBTDB_SHARED_TARGET) \
2098 $(LIBTDB_SHARED_TARGET_SONAME)
2101 installlibtdb:: installdirs libtdb
2102 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2103 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2104 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2105 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2106 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2107 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2109 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2110 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2111 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2114 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2115 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2116 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2117 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2120 installlibs:: @INSTALL_LIBTDB@
2121 uninstalllibs:: @UNINSTALL_LIBTDB@
2122 cleanlibs:: cleanlibtdb
2123 shlibs test_shlibs: @LIBTDB_SHARED@
2127 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2128 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2129 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2131 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2132 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2133 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2134 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2135 @echo "LIBTDB
= $(LIBTDB
)"
2137 showlibs:: showlibtdb
2139 #-------------------------------------------------------------------
2143 #-------------------------------------------------------------------
2145 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2146 ../nsswitch/libwbclient/wbc_util.o \
2147 ../nsswitch/libwbclient/wbc_pwd.o \
2148 ../nsswitch/libwbclient/wbc_idmap.o \
2149 ../nsswitch/libwbclient/wbc_sid.o \
2150 ../nsswitch/libwbclient/wbc_guid.o \
2151 ../nsswitch/libwbclient/wbc_pam.o
2153 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2156 ../lib/util/blocking.o \
2157 $(SOCKET_WRAPPER_OBJ)
2159 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2160 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2161 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
2162 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2163 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2164 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2166 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2167 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2169 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2170 @echo Linking shared library $@
2171 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2172 @SONAMEFLAG@`basename $@`
2174 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2176 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2178 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2179 @echo Linking non-shared library $@
2180 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2182 libwbclient: $(LIBWBCLIENT)
2186 $(LIBWBCLIENT_SYMS) \
2187 $(LIBWBCLIENT_STATIC_TARGET) \
2188 $(LIBWBCLIENT_SHARED_TARGET) \
2189 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2191 installlibwbclient:: installdirs libwbclient
2192 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2193 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2194 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2195 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2196 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2197 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2199 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2200 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2201 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2203 uninstalllibwbclient::
2204 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2205 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2206 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2207 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2210 installlibs:: @INSTALL_LIBWBCLIENT@
2211 uninstalllibs:: uninstalllibwbclient
2212 cleanlibs:: cleanlibwbclient
2213 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2217 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2218 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2219 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2221 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2222 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2223 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2224 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2225 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2227 showlibs:: showlibwbclient
2230 #-------------------------------------------------------------------
2234 #-------------------------------------------------------------------
2237 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2238 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2239 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
2240 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2241 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2242 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2243 LIBADDNS_HEADERS=$(srcdir)/../lib/addns/addns.h
2245 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2246 @echo Linking shared library $@
2247 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2248 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2249 @SONAMEFLAG@`basename $@`
2251 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2253 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2255 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2256 @echo Linking non-shared library $@
2257 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2259 libaddns: $(LIBADDNS)
2263 $(LIBADDNS_SHARED_TARGET) \
2264 $(LIBADDNS_SHARED_TARGET_SONAME) \
2265 $(LIBADDNS_STATIC_TARGET)
2267 installlibaddns:: installdirs libaddns
2268 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2269 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2270 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2271 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2272 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2273 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2275 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2278 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2279 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2280 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2283 installlibs:: @INSTALL_LIBADDNS@
2284 uninstalllibs:: @UNINSTALL_LIBADDNS@
2285 cleanlibs:: cleanlibaddns
2286 shlibs test_shlibs: @LIBADDNS_SHARED@
2290 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2291 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2292 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2294 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2295 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2296 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2297 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2298 @echo "LIBADDNS
= $(LIBADDNS
)"
2300 showlibs:: showlibaddns
2302 #-------------------------------------------------------------------
2306 #-------------------------------------------------------------------
2308 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2310 librpc/gen_ndr/ndr_libnetapi.o \
2311 lib/netapi/libnetapi.o \
2312 lib/netapi/joindomain.o \
2313 lib/netapi/serverinfo.o \
2314 lib/netapi/getdc.o \
2316 lib/netapi/group.o \
2317 lib/netapi/localgroup.o \
2320 lib/netapi/share.o \
2322 lib/netapi/shutdown.o \
2323 lib/netapi/netlogon.o
2325 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2327 $(REG_SMBCONF_OBJ) \
2328 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2329 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2330 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2331 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2332 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2334 $(LIBCLI_INITSHUTDOWN_OBJ) \
2335 $(LIBCLI_WKSSVC_OBJ) \
2336 $(LIBCLI_SRVSVC_OBJ) \
2338 $(LIBCLI_SAMR_OBJ) \
2339 $(LIBCLI_NETLOGON_OBJ) \
2340 $(RPC_CLIENT_SCHANNEL_OBJ) \
2341 rpc_client/init_netlogon.o \
2342 rpc_client/init_samr.o
2344 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2345 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2346 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2347 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2348 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2349 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2351 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2352 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2354 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2355 @echo Linking shared library $@
2356 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2357 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2358 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2359 @SONAMEFLAG@`basename $@`
2361 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2363 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2365 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2366 @echo Linking non-shared library $@
2367 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2369 libnetapi: $(LIBNETAPI)
2374 $(LIBNETAPI_STATIC_TARGET) \
2375 $(LIBNETAPI_SHARED_TARGET) \
2376 $(LIBNETAPI_SHARED_TARGET_SONAME)
2378 installlibnetapi:: installdirs libnetapi
2379 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2380 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2381 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2382 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2383 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2384 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2386 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2387 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2388 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2390 uninstalllibnetapi::
2391 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2392 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2393 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2394 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2397 installlibs:: @INSTALL_LIBNETAPI@
2398 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2399 cleanlibs:: cleanlibnetapi
2400 shlibs test_shlibs: @LIBNETAPI_SHARED@
2404 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2405 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2406 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2408 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2409 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2410 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2411 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2412 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2414 showlibs:: showlibnetapi
2416 #-------------------------------------------------------------------
2420 #-------------------------------------------------------------------
2422 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2423 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2424 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2425 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2426 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2427 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2428 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2430 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2431 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2433 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2434 @echo Linking shared library $@
2435 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2436 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2437 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2438 @SONAMEFLAG@`basename $@`
2440 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2442 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2444 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2445 @echo Linking non-shared library $@
2446 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2448 libsmbclient: $(LIBSMBCLIENT)
2452 $(LIBSMBCLIENT_SHARED_TARGET) \
2453 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2454 $(LIBSMBCLIENT_STATIC_TARGET)
2456 installlibsmbclient:: installdirs libsmbclient
2457 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2458 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2459 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2460 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2461 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2462 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2464 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2465 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2466 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2468 installclientlib:: installlibsmbclient
2470 uninstalllibsmbclient::
2471 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2472 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2473 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2474 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2476 uninstallclientlib:: uninstalllibsmbclient
2479 installlibs:: @INSTALL_LIBSMBCLIENT@
2480 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2481 cleanlibs:: cleanlibsmbclient
2482 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2486 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2487 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2488 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2490 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2491 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2492 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2493 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2494 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2496 showlibs:: showlibsmbclient
2498 #-------------------------------------------------------------------
2502 #-------------------------------------------------------------------
2504 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2506 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2508 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2509 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2510 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2511 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2512 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2513 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2514 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2516 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2517 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2519 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2520 @echo Linking shared library $@
2521 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2522 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2523 @SONAMEFLAG@`basename $@`
2525 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2527 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2529 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2530 @echo Linking non-shared library $@
2531 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2533 libsmbsharemodes: $(LIBSMBSHAREMODES)
2535 cleanlibsmbsharemodes::
2537 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2538 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2539 $(LIBSMBSHAREMODES_STATIC_TARGET)
2541 installlibsmbsharemodes:: installdirs libsmbsharemodes
2542 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2543 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2544 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2545 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2546 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2547 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2549 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2550 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2551 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2553 uninstalllibsmbsharemodes::
2554 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2555 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2556 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2557 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2559 libs:: libsmbsharemodes
2560 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2561 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2562 cleanlibs:: cleanlibsmbsharemodes
2563 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2565 showlibsmbsharemodes:
2567 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2568 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2569 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2570 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2572 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2573 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2574 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2575 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2576 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2578 showlibs:: showlibsmbsharemodes
2580 #-------------------------------------------------------------------
2584 #-------------------------------------------------------------------
2586 # This is probably wrong for anything other than the GNU linker.
2587 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2588 @echo Linking shared library $@
2589 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2590 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2591 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2592 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2593 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2595 # It would be nice to build a static bigballofmud too, but when I try
2596 # I get linker errors about dl_open and similar things. I'm not sure if
2597 # it can be fixed or if they just can't be called from a static
2600 #####################################################################
2604 #####################################################################
2606 # Linker command to link our shared libraries:
2607 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2608 -o $@ @SONAMEFLAG@`basename $@`
2609 # Linker command to link samba internal plugin modules:
2610 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2611 -o $@ @SONAMEFLAG@`basename $@`
2613 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2615 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2617 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2619 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2621 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2623 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2625 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2627 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2629 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2631 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2633 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2635 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2637 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2639 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2641 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2643 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2645 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2647 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2649 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2651 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2653 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2655 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2657 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2659 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2661 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2663 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2665 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2667 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2669 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2671 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2672 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2673 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2676 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB)
2678 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2679 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2682 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2684 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2685 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2686 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2688 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2690 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2691 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2692 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2694 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2696 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2697 @SONAMEFLAG@`basename $@`
2699 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2700 @echo "Linking shared library
$@
"
2701 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2702 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2708 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2709 @echo "Building plugin
$@
"
2710 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2712 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2713 @echo "Building plugin
$@
"
2714 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2716 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2717 @echo "Building plugin
$@
"
2718 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2720 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2721 @echo "Building plugin
$@
"
2722 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2724 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2725 @echo "Building plugin
$@
"
2726 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2728 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2729 @echo "Building plugin
$@
"
2730 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2732 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2733 @echo "Building plugin
$@
"
2734 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2736 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2737 @echo "Building plugin
$@
"
2738 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2740 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2741 @echo "Building plugin
$@
"
2742 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2744 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2745 @echo "Building plugin
$@
"
2746 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2748 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2749 @echo "Building plugin
$@
"
2750 @$(SHLD_MODULE) passdb/pdb_ads.o
2752 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2753 @echo "Building plugin
$@
"
2754 @$(SHLD_MODULE) passdb/pdb_tdb.o
2756 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2757 @echo "Building plugin
$@
"
2758 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2760 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2761 @echo "Building plugin
$@
"
2762 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2764 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2765 @echo "Building plugin
$@
"
2766 @$(SHLD_MODULE) winbindd/idmap_rid.o
2768 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2769 @echo "Building plugin
$@
"
2770 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2772 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2773 @echo "Building plugin
$@
"
2774 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2776 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2777 @echo "Building plugin
$@
"
2778 @$(SHLD_MODULE) winbindd/idmap_ad.o
2780 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2781 @echo "Building plugin
$@
"
2782 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2784 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2785 @echo "Building plugin
$@
"
2786 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2788 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2789 @echo "Building plugin
$@
"
2790 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2792 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2793 @echo "Building plugin
$@
"
2794 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2796 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2797 @echo "Building plugin
$@
"
2798 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2800 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2801 @echo "Building plugin
$@
"
2802 @$(SHLD_MODULE) $(CP850_OBJ)
2804 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2805 @echo "Building plugin
$@
"
2806 @$(SHLD_MODULE) $(CP437_OBJ)
2808 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2809 @echo "Building plugin
$@
"
2810 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2812 # NOTE, there is no build rule for a dynamic default VFS module because
2813 # this one MUST MUST MUST be built statically.
2815 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2816 @echo "Building plugin
$@
"
2817 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2819 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2820 @echo "Building plugin
$@
"
2821 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2823 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2824 @echo "Building plugin
$@
"
2825 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2827 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2828 @echo "Building plugin
$@
"
2829 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2831 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2832 @echo "Building plugin
$@
"
2833 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2835 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2836 @echo "Building plugin
$@
"
2837 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2839 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2840 @echo "Building plugin
$@
"
2841 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2843 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2844 @echo "Building plugin
$@
"
2845 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2847 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2848 @echo "Building plugin
$@
"
2849 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2851 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2852 @echo "Building plugin
$@
"
2853 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2855 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2856 @echo "Building plugin
$@
"
2857 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2859 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2860 @echo "Building plugin
$@
"
2861 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2863 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2864 @echo "Building plugin
$@
"
2865 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2867 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2868 @echo "Building plugin
$@
"
2869 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2871 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2872 @echo "Building plugin
$@
"
2873 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2875 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2876 @echo "Building plugin
$@
"
2877 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2879 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2880 @echo "Building plugin
$@
"
2881 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2883 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2884 @echo "Building plugin
$@
"
2885 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2887 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2888 @echo "Building plugin
$@
"
2889 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2891 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2892 @echo "Building plugin
$@
"
2893 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ)
2895 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2896 @echo "Building plugin
$@
"
2897 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2899 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2900 @echo "Building plugin
$@
"
2901 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2903 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2904 @echo "Building plugin
$@
"
2905 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2907 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2908 @echo "Building plugin
$@
"
2909 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2911 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2912 @echo "Building plugin
$@
"
2913 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2915 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2916 @echo "Building plugin
$@
"
2917 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2919 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2920 @echo "Building plugin
$@
"
2921 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2923 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2924 @echo "Building plugin
$@
"
2925 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2927 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2928 @echo "Building plugin
$@
"
2929 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2931 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2932 @echo "Building plugin
$@
"
2933 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2935 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2936 @echo "Building plugin
$@
"
2937 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2939 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2940 @echo "Building plugin
$@
"
2941 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2943 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2944 @echo "Building plugin
$@
"
2945 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2947 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2948 @echo "Building plugin
$@
"
2949 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2951 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2952 @echo "Building plugin
$@
"
2953 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2955 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2956 @echo "Building plugin
$@
"
2957 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2959 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2960 @echo "Building plugin
$@
"
2961 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2963 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2964 @echo "Building plugin
$@
"
2965 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2967 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2968 @echo "Building plugin
$@
"
2969 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2971 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2972 @echo "Building plugin
$@
"
2973 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2975 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2976 @echo "Building plugin
$@
"
2977 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2979 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2980 @echo "Building plugin
$@
"
2981 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2983 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2984 @echo "Building plugin
$@
"
2985 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2987 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2988 @echo "Building plugin
$@
"
2989 @$(SHLD_MODULE) libgpo/gpext/registry.o
2991 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2992 @echo "Building plugin
$@
"
2993 @$(SHLD_MODULE) libgpo/gpext/scripts.o
2995 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
2996 @echo "Building plugin
$@
"
2997 @$(SHLD_MODULE) libgpo/gpext/security.o
2999 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3000 @echo "Building plugin
$@
"
3001 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3003 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3004 @echo "Building plugin
$@
"
3005 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3007 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3008 @echo "Building plugin
$@
"
3009 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3011 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3012 @echo "Building plugin
$@
"
3013 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3015 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3016 @echo "Building plugin
$@
"
3017 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3019 #########################################################
3020 ## IdMap NSS plugins
3022 ## None here right now
3023 #########################################################
3025 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3027 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3028 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3031 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3032 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3034 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3035 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
3036 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3037 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3039 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3040 @echo "Linking shared library
$@
"
3041 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3042 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3043 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3045 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3047 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3048 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3050 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3052 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3053 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3055 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3057 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3059 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3061 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3063 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3065 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3066 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3068 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3069 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3070 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3072 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3073 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3074 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3076 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3077 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3078 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3080 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3081 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3082 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3084 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3086 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3088 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3090 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3091 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3092 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3094 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3096 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3097 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3098 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3099 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3101 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3103 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3104 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3106 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3108 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3109 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3111 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3113 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3114 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3117 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3119 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3120 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3122 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3124 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3125 $(LDFLAGS) $(DYNEXP) \
3126 $(LIBS) $(POPT_LIBS) \
3127 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3128 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3130 install:: installservers installbin installman \
3131 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3132 @INSTALL_PAM_MODULES@ installlibs installmo
3134 install-everything:: install installmodules
3136 # DESTDIR is used here to prevent packagers wasting their time
3137 # duplicating the Makefile. Remove it and you will have the privelege
3138 # of package each samba release for muliple versions of multiple
3139 # distributions and operating systems, or at least supplying patches
3140 # to all the packaging files required for this, prior to committing
3141 # the removal of DESTDIR. Do not remove it even though you think it
3145 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3146 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3147 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3149 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3151 installservers:: all installdirs
3152 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3154 installbin:: all installdirs
3155 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3157 # Some symlinks are required for the 'probing' of modules.
3158 # This mechanism should go at some point..
3159 installmodules:: modules installdirs
3160 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3161 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3162 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3163 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3164 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3165 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3166 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3167 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3168 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3169 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3170 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3171 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3172 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3173 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3174 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3175 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3176 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3177 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3179 installscripts:: installdirs
3180 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3182 installdat:: installdirs
3183 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3185 installmsg:: installdirs
3186 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3188 installswat:: installdirs installmsg
3189 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3191 installpammodules:: $(PAM_MODULES)
3192 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3193 @for module in $(PAM_MODULES); do \
3194 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3195 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3196 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3199 # revert to the previously installed version
3201 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3202 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3204 installman:: installdirs
3205 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3207 installmo:: all installdirs
3208 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3213 @echo "Samba will be installed into
:"
3214 @echo " prefix: $(prefix)"
3215 @echo " bindir: $(BINDIR
)"
3216 @echo " sbindir
: $(SBINDIR
)"
3217 @echo " libdir: $(LIBDIR
)"
3218 @echo " modulesdir
: $(MODULESDIR
)"
3219 @echo " vardir
: $(VARDIR
)"
3220 @echo " mandir: $(MANDIR
)"
3221 @echo " privatedir
: $(PRIVATE_DIR
)"
3222 @echo " configdir
: $(CONFIGDIR
)"
3223 @echo " lockdir
: $(LOCKDIR
)"
3224 @echo " statedir: $(STATEDIR
)"
3225 @echo " cachedir
: $(CACHEDIR
)"
3226 @echo " piddir
: $(PIDDIR
)"
3227 @echo " nmbdsocketdir
: $(NMBSOCKETDIR
)"
3228 @echo " swatdir
: $(SWATDIR
)"
3229 @echo " datadir: ${DATADIR}"
3230 @echo " codepagedir
: $(CODEPAGEDIR
)"
3233 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3236 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3239 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3242 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3245 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3248 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3249 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3250 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3251 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3252 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3253 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3254 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3257 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3260 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3263 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3265 uninstallswat:: uninstallmsg
3266 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3268 uninstallpammodules::
3269 @for module in $(PAM_MODULES); do \
3270 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3271 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3274 # Toplevel clean files
3275 TOPFILES=dynconfig.o localedir.o
3278 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3280 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3282 ../libgpo/*.o ../libgpo/*/*.o \
3283 ../libds/*.o ../libds/*/*.o
3286 -rm -f include/build_env.h
3287 -rm -f smbd/build_options.c
3288 -rm -f $(PRECOMPILED_HEADER)
3289 -rm -f core */*~ *~ \
3290 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3291 ../testsuite/*/*.o \
3292 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3294 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3295 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3296 $(MODULES) $(TORTURE_PROGS) \
3297 $(EVERYTHING_PROGS) \
3299 .headers.stamp */src/*.o
3302 include/build_env.h: script/build_env.sh
3303 @echo Building include/build_env.h
3304 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3305 > $(builddir)/include/build_env.h
3311 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3314 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3317 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3318 -rm -f script/installbin.sh script/uninstallbin.sh
3320 distclean:: realclean
3322 -rm -f include/config.h Makefile
3323 -rm -f config.status config.cache so_locations
3326 realdistclean:: distclean
3327 -rm -f include/config.h.in
3328 -rm -f include/version.h
3331 # this target is really just for my use. It only works on a limited
3332 # range of machines and is used to produce a list of potentially
3333 # dead (ie. unused) functions in the code. (tridge)
3335 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3336 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3337 comm -13 nmused.txt nmfns.txt
3340 # when configure.in is updated, reconfigure
3341 $(srcdir)/configure: $(srcdir)/configure.in
3342 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3344 config.status: $(srcdir)/configure
3345 @echo "WARNING
: you need to run .
/configure
"
3347 Makefile: $(srcdir)/Makefile.in config.status
3348 @echo "WARNING
: you need to run .
/config.status
"
3350 ######################################################################
3351 # Samba Testing Framework
3353 # Check shared libs for unresolved symbols
3356 @$(LIB_PATH_VAR)=./bin && \
3357 export $(LIB_PATH_VAR) && \
3358 for module in $?; do \
3359 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3363 # Check for NSS module problems.
3364 test_nss_modules:: nss_modules
3365 @echo "Testing
$(NSS_MODULES
) "
3366 @$(LIB_PATH_VAR)=./bin && \
3367 export $(LIB_PATH_VAR) && \
3368 for module in $(NSS_MODULES); do \
3369 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3373 # Check for PAM module problems. Specifically, check that every module we
3374 # built can actually be loaded by a minimal PAM-aware application.
3375 test_pam_modules:: pam_modules
3376 @echo "Testing
$(PAM_MODULES
) "
3377 @$(LIB_PATH_VAR)=./bin && \
3378 export $(LIB_PATH_VAR) && \
3379 for module in $(PAM_MODULES); do \
3380 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3386 ## Targets for 'make test'
3389 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3391 oldtest:: all torture timelimit
3392 @echo Running Test suite
3393 @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}
3395 valgrindtest:: all torture timelimit
3396 @echo Running Test suite with valgrind
3397 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3398 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3399 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3400 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3401 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3402 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3404 selftestdir = ../selftest
3406 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3408 test:: all torture timelimit
3409 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3410 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3411 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3412 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3413 SOURCEDIR="$(srcdir)" \
3414 VFSLIBDIR="$(builddir
)/bin
" \
3415 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3416 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3417 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3418 $(srcdir)/selftest/s3-selftest.sh
3421 $(MAKE) test TESTS=$*
3424 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3427 $(MAKE) test SUBUNIT_FORMATTER=cat
3429 SELFTEST_TESTENV = dc
3432 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3435 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3436 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3437 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3438 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3442 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3443 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3444 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3445 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3449 # Check for Winbind struct 32/64bit padding
3451 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3452 @./script/tests/wb_pad.sh || exit 1;
3458 libsmbclient_examples: libsmbclient
3459 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3461 clean_libsmbclient_examples:
3462 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3464 libnetapi_examples: libnetapi
3465 $(MAKE) -C lib/netapi/examples
3467 clean_libnetapi_examples:
3468 $(MAKE) -C lib/netapi/examples clean
3470 ../source4/configure: ../buildtools/scripts/configure.waf
3471 cd ../source4 && ./autogen.sh
3473 samba4-configure: ../source4/configure
3474 @CFLAGS='' $(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
3475 CFLAGS='' ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
3477 .PHONY: samba4-configure
3479 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
3480 cd ../source4 && $(MAKE) bin/smbtorture
3481 cp ../source4/bin/smbtorture bin/smbtorture4
3483 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
3484 cd ../source4 && $(MAKE) bin/ndrdump
3485 cp ../source4/bin/ndrdump bin/ndrdump4
3487 .PHONY: bin/smbtorture4