1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 selftest_prefix
=@selftest_prefix@
20 selftest_shrdir
=@selftest_shrdir@
21 smbtorture4_path
=@smbtorture4_path@
22 smbtorture4_option
=@smbtorture4_option@
23 selftest_custom_conf
=@selftest_custom_conf@
28 LIB_PATH_VAR
=@LIB_PATH_VAR@
30 ## Dynamic shared libraries build settings
31 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
32 DSO_EXPORTS
=@DSO_EXPORTS@
33 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
35 # The MODULE_EXPORTS variable contains the platform-specific linker flags
36 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
37 MODULE_EXPORTS
=@MODULE_EXPORTS@
39 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
40 # (GCC) warnings. This is done automatically for --enable-developer,
41 # --enable-picky-developer and --enable-krb5developer.
42 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
45 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
50 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
51 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
52 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
54 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
63 TERMLDFLAGS
=@TERMLDFLAGS@
65 PRINT_LIBS
=@PRINT_LIBS@
69 PASSDB_LIBS
=@PASSDB_LIBS@
70 IDMAP_LIBS
=@IDMAP_LIBS@
75 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
76 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
77 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
78 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
79 DNSSD_LIBS
=@DNSSD_LIBS@
80 AVAHI_LIBS
=@AVAHI_LIBS@
82 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
83 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
84 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
85 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
86 LIBTDB_LIBS
=@LIBTDB_LIBS@
88 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
89 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
90 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
91 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
93 TALLOCTORT
= @TALLOCTORT@
95 TDBBACKUP
= @TDBBACKUP@
98 TDBRESTORE
= @TDBRESTORE@
99 TDBTORTURE
= @TDBTORTURE@
102 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
103 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
104 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
105 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
109 builddir
=@abs_builddir@
110 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
111 # will search for a POSIX-compliant shell, and that might not be
112 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
116 # See the autoconf manual "Installation Directory Variables" for a
117 # discussion of the subtle use of these variables.
121 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
123 ROOTSBINDIR
= @rootsbindir@
125 MODULESDIR
= @modulesdir@
126 INCLUDEDIR
=@
includedir@
127 PAMMODULESDIR
= @pammodulesdir@
128 VFSLIBDIR
= $(MODULESDIR
)/vfs
129 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
130 PDBLIBDIR
= $(MODULESDIR
)/pdb
131 RPCLIBDIR
= $(MODULESDIR
)/rpc
132 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
133 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
134 CHARSETLIBDIR
= $(MODULESDIR
)/charset
135 AUTHLIBDIR
= $(MODULESDIR
)/auth
136 CONFIGLIBDIR
= $(MODULESDIR
)/config
137 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
138 CONFIGDIR
= @configdir@
139 VARDIR
= @localstatedir@
143 # The permissions to give the executables and other data
144 INSTALLPERMS_BIN
= 0755
145 INSTALLPERMS_DATA
= 0644
147 # set these to where to find various files
148 # These can be overridden by command line switches (see smbd(8))
149 # or in smb.conf (see smb.conf(5))
150 LOGFILEBASE
= @logfilebase@
151 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
152 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
153 NCALRPCDIR
= @ncalrpcdir@
155 # This is where smbpasswd et al go
156 PRIVATEDIR
= @privatedir@
158 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
159 PRIVATE_DIR
= $(PRIVATEDIR
)
161 # This is where SWAT images and help files go
164 # This is where locale(mo) files go
165 LOCALEDIR
= @localedir@
167 # the directory where lock files go
170 # FHS directories; equal to LOCKDIR if not using --with-fhs, but also settable
171 CACHEDIR
= @cachedir@
172 STATEDIR
= @
statedir@
174 # Where to look for (and install) codepage databases.
175 CODEPAGEDIR
= @codepagedir@
177 # the directory where pid files go
180 # the directory where nmbd listens on the unexpected socket
181 NMBDSOCKETDIR
= @nmbdsocketdir@
193 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
194 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
195 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
196 -DSBINDIR
=\"$(SBINDIR
)\" \
197 -DBINDIR
=\"$(BINDIR
)\" \
198 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
199 -DSWATDIR
=\"$(SWATDIR
)\" \
200 -DLOCKDIR
=\"$(LOCKDIR
)\" \
201 -DPIDDIR
=\"$(PIDDIR
)\" \
202 -DLIBDIR
=\"$(LIBDIR
)\" \
203 -DMODULESDIR
=\"$(MODULESDIR
)\" \
204 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
205 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
206 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
207 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
208 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
209 -DCACHEDIR
=\"$(CACHEDIR
)\" \
210 -DSTATEDIR
=\"$(STATEDIR
)\" \
211 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
212 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
214 # Note that all executable programs now provide for an optional executable suffix.
216 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
218 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
219 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
220 bin
/smbta-util@EXEEXT@
221 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
222 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
225 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
226 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
227 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
229 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
230 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
231 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
232 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
234 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
236 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
237 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
239 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
240 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
241 bin
/log2pcap@EXEEXT@ \
242 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
243 bin
/dbwrap_tool@EXEEXT@ \
244 bin
/dbwrap_torture@EXEEXT@
246 PAM_MODULES
= @PAM_MODULES@
248 NSS_MODULES
= @NSS_MODULES@
250 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
252 VFS_MODULES
= @VFS_MODULES@
253 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
254 PDB_MODULES
= @PDB_MODULES@
255 IDMAP_MODULES
= @IDMAP_MODULES@
256 CHARSET_MODULES
= @CHARSET_MODULES@
257 AUTH_MODULES
= @AUTH_MODULES@
258 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
259 GPEXT_MODULES
= @GPEXT_MODULES@
260 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
261 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
262 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
264 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
266 ######################################################################
268 ######################################################################
270 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
271 lib
/dbwrap.o lib
/dbwrap_tdb.o \
276 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
278 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
280 VERSION_OBJ
= lib
/version.o
282 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
286 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
288 AVAHI_OBJ
= @AVAHI_OBJ@
290 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
292 PASSCHANGE_OBJ
= libsmb
/passchange.o
294 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
295 ..
/librpc
/ndr
/ndr_compression.o \
296 librpc
/gen_ndr
/ndr_drsuapi.o \
297 ..
/librpc
/ndr
/ndr_drsblobs.o \
298 librpc
/gen_ndr
/ndr_drsblobs.o
300 ZLIB_OBJ
= @ZLIB_OBJS@
302 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
303 ..
/lib
/compression
/lzxpress.o \
306 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
309 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
310 ..
/librpc
/ndr
/ndr_ntlmssp.o
312 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
313 ..
/librpc
/ndr
/ndr.o \
314 ..
/librpc
/ndr
/ndr_misc.o \
315 librpc
/gen_ndr
/ndr_misc.o \
316 librpc
/gen_ndr
/ndr_security.o \
317 ..
/librpc
/ndr
/ndr_sec_helper.o \
318 ..
/librpc
/ndr
/ndr_string.o \
319 ..
/librpc
/ndr
/uuid.o \
321 librpc
/gen_ndr
/ndr_dcerpc.o
323 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
324 librpc
/gen_ndr
/ndr_lsa.o
326 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
327 ..
/librpc
/ndr
/ndr_netlogon.o
329 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
330 ..
/librpc
/ndr
/ndr_schannel.o
332 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
333 ..
/librpc
/ndr
/ndr_spoolss_buf.o
335 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
336 ..
/librpc
/ndr
/ndr_ntprinting.o \
338 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
339 librpc
/ndr
/ndr_preg.o
341 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
342 ..
/librpc
/ndr
/ndr_xattr.o
344 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
345 rpc_client
/cli_spoolss.o \
346 rpc_client
/init_spoolss.o
348 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
350 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o
352 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
354 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
356 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
358 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
360 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
362 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
364 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
366 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
368 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
370 LIBCLI_LSA_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
371 librpc
/gen_ndr
/ndr_lsa_c.o \
372 rpc_client
/cli_lsarpc.o \
373 rpc_client
/init_lsa.o
375 LIBCLI_SAMR_OBJ
= librpc
/gen_ndr
/cli_samr.o \
376 librpc
/gen_ndr
/ndr_samr_c.o \
377 rpc_client
/cli_samr.o
379 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
380 rpc_client
/cli_netlogon.o
382 LIBCLI_EPMAPPER_OBJ
= librpc
/gen_ndr
/ndr_epmapper_c.o
384 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
386 librpc
/gen_ndr
/ndr_dfs.o \
387 librpc
/gen_ndr
/ndr_echo.o \
388 librpc
/gen_ndr
/ndr_winreg.o \
389 librpc
/gen_ndr
/ndr_initshutdown.o \
390 librpc
/gen_ndr
/ndr_srvsvc.o \
391 librpc
/gen_ndr
/ndr_eventlog.o \
392 $(LIBNDR_NETLOGON_OBJ
) \
393 librpc
/gen_ndr
/ndr_dssetup.o \
394 librpc
/gen_ndr
/ndr_epmapper.o \
395 librpc
/gen_ndr
/ndr_ntsvcs.o \
396 $(LIBNDR_SPOOLSS_OBJ
)
398 # this includes only the low level parse code, not stuff
399 # that requires knowledge of security contexts
400 REG_PARSE_PRS_OBJ
= registry
/reg_parse_prs.o
402 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
404 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
405 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
409 $(SOCKET_WRAPPER_OBJ
) \
412 UTIL_OBJ
= ..
/lib
/util
/rbtree.o ..
/lib
/util
/signal.o ..
/lib
/util
/time.o \
413 ..
/lib
/util
/xfile.o ..
/lib
/util
/util_strlist.o \
414 ..
/lib
/util
/util_file.o ..
/lib
/util
/data_blob.o \
415 ..
/lib
/util
/util.o ..
/lib
/util
/fsusage.o \
416 ..
/lib
/util
/params.o ..
/lib
/util
/talloc_stack.o \
417 ..
/lib
/util
/genrand.o ..
/lib
/util
/util_net.o \
418 ..
/lib
/util
/become_daemon.o ..
/lib
/util
/system.o \
419 ..
/lib
/util
/tevent_unix.o ..
/lib
/util
/tevent_ntstatus.o \
420 ..
/lib
/util
/tevent_werror.o \
421 ..
/lib
/util
/smb_threads.o ..
/lib
/util
/util_id.o \
422 ..
/lib
/util
/blocking.o ..
/lib
/util
/rfc1738.o \
425 CRYPTO_OBJ
= ..
/lib
/crypto
/crc32.o ..
/lib
/crypto
/md5.o \
426 ..
/lib
/crypto
/hmacmd5.o ..
/lib
/crypto
/arcfour.o \
427 ..
/lib
/crypto
/md4.o \
428 ..
/lib
/crypto
/sha256.o ..
/lib
/crypto
/hmacsha256.o \
429 ..
/lib
/crypto
/aes.o ..
/lib
/crypto
/rijndael-alg-fst.o
431 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) $(UTIL_OBJ
) $(CRYPTO_OBJ
) \
432 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
433 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o \
434 lib
/interfaces.o lib
/memcache.o \
438 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
441 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
442 lib
/interface.o lib
/pidfile.o \
443 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
445 ..
/libds
/common
/flag_mapping.o \
446 lib
/access.o lib
/smbrun.o \
447 lib
/bitmap.o lib
/dprintf.o
$(UTIL_REG_OBJ
) \
449 lib
/util_str.o lib
/clobber.o lib
/util_sid.o \
450 lib
/util_unistr.o lib
/util_file.o \
451 lib
/util.o lib
/util_names.o \
452 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
453 lib
/substitute.o lib
/dbwrap_util.o \
454 lib
/ms_fnmatch.o lib
/errmap_unix.o \
455 lib
/tallocmsg.o lib
/dmallocmsg.o \
456 libsmb
/clisigning.o libsmb
/smb_signing.o \
457 lib
/iconv.o lib
/pam_errors.o intl
/lang_tdb.o \
458 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
459 lib
/sessionid_tdb.o \
460 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
461 lib
/server_contexts.o \
462 lib
/ldap_escape.o @CHARSET_STATIC@ \
463 lib
/secdesc.o ..
/libcli
/security
/access_check.o \
464 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
465 ..
/libcli
/security
/sddl.o \
466 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
468 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
469 lib
/file_id.o lib
/idmap_cache.o \
470 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
471 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o
473 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
474 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
476 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
478 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
479 # Be sure to include them into your application
480 POPT_LIB_OBJ
= lib
/popt_common.o
482 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
483 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
484 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
486 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
488 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
489 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
490 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
492 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
494 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
495 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
498 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
500 LIBADS_OBJ
= libads
/ldap.o \
501 libads
/sasl.o libads
/sasl_wrapping.o \
502 libads
/krb5_setpw.o \
503 libads
/kerberos_util.o \
505 libads
/ads_struct.o libads
/kerberos_keytab.o \
506 libads
/disp_sec.o libads
/ldap_utils.o \
507 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
509 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
510 ..
/librpc
/ndr
/ndr_krb5pac.o \
511 librpc
/gen_ndr
/ndr_krb5pac.o
513 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
515 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
516 librpc
/gen_ndr
/ndr_secrets.o
518 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
519 ..
/libcli
/netlogon
/netlogon.o \
520 ..
/libcli
/netlogon
/ndr_netlogon.o \
521 librpc
/gen_ndr
/ndr_nbt.o \
522 librpc
/gen_ndr
/ndr_svcctl.o \
523 ..
/librpc
/ndr
/ndr_svcctl.o
525 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
526 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o libsmb
/conncache.o \
527 libads
/dns.o libads
/sitename_cache.o
529 NTERR_OBJ
= libsmb
/nterr.o libsmb
/smberr.o
530 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
531 ERRORMAP_OBJ
= libsmb
/errormap.o
532 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
534 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
536 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
538 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
542 ..
/libcli
/auth
/ntlm_check.o \
544 libsmb
/ntlmssp_wrap.o \
545 ..
/libcli
/auth
/ntlmssp.o \
546 ..
/libcli
/auth
/ntlmssp_sign.o \
547 $(LIBNDR_NTLMSSP_OBJ
) \
548 ..
/libcli
/auth
/ntlmssp_ndr.o \
549 ..
/libcli
/auth
/ntlmssp_server.o
551 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
554 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
555 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o lib
/ldb_compat.o
557 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
558 ..
/lib
/tsocket
/tsocket_helpers.o \
559 ..
/lib
/tsocket
/tsocket_bsd.o
561 CLDAP_OBJ
= libads
/cldap.o \
562 ..
/libcli
/cldap
/cldap.o \
563 ..
/lib
/util
/idtree.o \
564 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
) $(LIBTSOCKET_OBJ
)
566 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
568 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
569 ..
/libcli
/auth
/schannel_sign.o \
570 ..
/libcli
/auth
/schannel_state_tdb.o \
571 $(LIBNDR_SCHANNEL_OBJ
)
573 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
574 libsmb
/clikrb5.o libsmb
/clispnego.o \
575 ..
/libcli
/auth
/spnego_parse.o \
577 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
578 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
579 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
580 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
581 libsmb
/clioplock.o libsmb
/clirap2.o \
582 libsmb
/smb_seal.o libsmb
/async_smb.o \
583 libsmb
/cli_np_tstream.o \
584 libsmb
/smbsock_connect.o \
591 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
592 rpc_client
/cli_pipe.o \
593 librpc
/crypto
/gse_krb5.o \
594 librpc
/crypto
/gse.o \
595 librpc
/crypto
/cli_spnego.o \
596 librpc
/rpc
/rpc_common.o \
597 rpc_client
/rpc_transport_np.o \
598 rpc_client
/rpc_transport_sock.o \
599 rpc_client
/rpc_transport_tstream.o \
600 ..
/librpc
/rpc
/binding.o \
601 ..
/librpc
/rpc
/dcerpc_util.o \
602 ..
/librpc
/rpc
/binding_handle.o \
603 librpc
/rpc
/dcerpc_helpers.o \
604 $(LIBCLI_EPMAPPER_OBJ
)
606 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
609 # registry-related objects
611 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
613 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
614 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
615 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
617 REGFIO_OBJ
= registry
/regfio.o \
620 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
622 REGOBJS_OBJ
= registry
/reg_objects.o
624 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
626 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
628 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
629 registry
/reg_backend_shares.o \
630 registry
/reg_backend_netlogon_params.o \
631 registry
/reg_backend_prod_options.o \
632 registry
/reg_backend_tcpip_params.o \
633 registry
/reg_backend_hkpt_params.o \
634 registry
/reg_backend_current_version.o \
635 registry
/reg_backend_perflib.o
637 REG_BASE_OBJ
= registry
/reg_api.o \
638 registry
/reg_dispatcher.o \
639 registry
/reg_cachehook.o \
641 registry
/reg_util_internal.o \
643 $(REG_BACKENDS_BASE_OBJ
) \
644 $(REG_INIT_BASIC_OBJ
)
646 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
647 registry
/reg_util_token.o \
648 registry
/reg_api_util.o \
649 $(REG_BACKENDS_SMBCONF_OBJ
) \
650 $(REG_INIT_SMBCONF_OBJ
)
652 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
653 $(REG_BACKENDS_EXTRA_OBJ
) \
654 $(REG_INIT_FULL_OBJ
) \
655 registry
/reg_eventlog.o \
656 registry
/reg_perfcount.o \
657 librpc
/gen_ndr
/ndr_perfcount.o
659 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
661 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
663 RPC_LSARPC_OBJ
= rpc_server
/srv_lsa_nt.o \
664 librpc
/gen_ndr
/srv_lsa.o
666 RPC_NETLOGON_OBJ
= rpc_server
/srv_netlog_nt.o \
667 librpc
/gen_ndr
/srv_netlogon.o
669 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
670 rpc_server
/srv_samr_util.o \
671 rpc_server
/srv_samr_chgpasswd.o \
672 librpc
/gen_ndr
/srv_samr.o
674 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
676 RPC_WINREG_OBJ
= rpc_server
/srv_winreg_nt.o \
677 librpc
/gen_ndr
/srv_winreg.o
679 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
681 RPC_SRVSVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
682 librpc
/gen_ndr
/srv_srvsvc.o
684 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
685 rpc_server
/srv_wkssvc_nt.o
687 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl_nt.o \
688 librpc
/gen_ndr
/srv_svcctl.o \
689 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
690 services
/svc_netlogon.o services
/svc_winreg.o \
693 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs_nt.o \
694 librpc
/gen_ndr
/srv_ntsvcs.o
696 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
697 rpc_server
/srv_dfs_nt.o
699 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss_nt.o \
700 rpc_server
/srv_spoolss_util.o \
701 librpc
/gen_ndr
/srv_spoolss.o
703 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog_nt.o \
704 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
706 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
707 librpc
/gen_ndr
/ndr_named_pipe_auth.o
709 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
710 rpc_server
/rpc_handles.o
712 RPC_SERVICE
= rpc_server
/rpc_server.o
714 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
715 rpc_server
/dcesrv_gssapi.o \
716 rpc_server
/dcesrv_spnego.o
718 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
719 $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
721 RPC_RPCECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
723 RPC_EPMAPPER_OBJ
= rpc_server
/srv_epmapper.o librpc
/gen_ndr
/srv_epmapper.o
725 RPC_SERVER_REGISTER_OBJ
= rpc_server
/srv_rpc_register.o
$(DCE_RPC_EP_OBJ
)
727 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
728 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
729 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
730 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
731 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
732 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
733 $(LIBCLI_SPOOLSS_OBJ
) \
734 $(LIBCLI_WINREG_OBJ
) \
735 $(LIBCLI_SRVSVC_OBJ
) \
738 $(LIBCLI_NETLOGON_OBJ
) \
739 $(RPC_SERVER_REGISTER_OBJ
) \
740 $(RPC_CLIENT_SCHANNEL_OBJ
) \
741 rpc_client
/init_netlogon.o \
742 rpc_client
/init_samr.o
744 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
746 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
748 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
750 PRIVILEGES_OBJ
= lib
/privileges.o
752 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
754 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
755 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
756 passdb
/util_unixsids.o passdb
/lookup_sid.o \
757 passdb
/login_cache.o @PDB_STATIC@ \
758 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
759 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
)
761 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
762 CP850_OBJ
= modules
/CP850.o
763 CP437_OBJ
= modules
/CP437.o
764 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
766 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
768 PROFILE_OBJ
= profile
/profile.o
769 PROFILES_OBJ
= utils
/profiles.o \
772 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
776 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
779 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
780 librpc
/gen_ndr
/ndr_notify.o librpc
/gen_ndr
/ndr_file_id.o
782 FNAME_UTIL_OBJ
= smbd
/filename_util.o
784 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
785 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
786 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
787 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
788 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
789 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
790 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
791 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
792 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
793 VFS_CAP_OBJ
= modules
/vfs_cap.o
794 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
795 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
796 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
797 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
798 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
799 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
800 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
801 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
802 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
803 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
804 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
805 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
806 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
807 VFS_CATIA_OBJ
= modules
/vfs_catia.o
808 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
809 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
810 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
811 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
812 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
813 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
814 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
815 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
816 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
817 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
818 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
819 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
820 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
821 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
822 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
823 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
824 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
825 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
826 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
827 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
828 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
829 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
830 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
831 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
832 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
833 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
834 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
836 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
838 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
840 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
842 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
843 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
844 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
845 AUTH_SERVER_OBJ
= auth
/auth_server.o
846 AUTH_UNIX_OBJ
= auth
/auth_unix.o
847 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
848 AUTH_WBC_OBJ
= auth
/auth_wbc.o
849 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
850 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
852 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
854 auth
/server_info_sam.o \
858 auth
/auth_compat.o auth
/auth_ntlmssp.o \
859 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
861 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
863 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o
865 BUILDOPT_OBJ
= smbd
/build_options.o
867 SMBD_OBJ_SRV
= smbd
/server_reload.o \
868 smbd
/files.o smbd
/connection.o \
869 smbd
/utmp.o smbd
/session.o \
870 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
871 smbd
/share_access.o smbd
/fileio.o \
872 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
873 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
874 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
875 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
876 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
877 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
878 smbd
/posix_acls.o lib
/sysacls.o \
879 smbd
/process.o smbd
/service.o smbd
/error.o \
880 printing
/printspoolss.o \
881 lib
/sysquotas.o lib
/sysquotas_linux.o \
882 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
883 lib
/sysquotas_nfs.o \
885 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
886 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
887 smbd
/dmapi.o smbd
/signing.o \
889 smbd
/dnsregister.o smbd
/globals.o \
891 smbd
/smb2_signing.o \
893 smbd
/smb2_negprot.o \
894 smbd
/smb2_sesssetup.o \
903 smbd
/smb2_keepalive.o \
906 smbd
/smb2_getinfo.o \
907 smbd
/smb2_setinfo.o \
909 ..
/libcli
/smb
/smb2_create_blob.o \
910 $(MANGLE_OBJ
) @VFS_STATIC@
912 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
914 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
915 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
916 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
917 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
918 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
919 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
920 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
922 $(PRIVILEGES_BASIC_OBJ
) \
924 $(REG_API_REGF_OBJ
) \
927 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
928 printing
/print_cups.o printing
/print_generic.o \
929 printing
/lpq_parse.o printing
/load.o \
930 printing
/print_iprint.o printing
/print_standard.o \
931 printing
/printer_list.o
933 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
934 PRINTBACKEND_OBJ
= printing
/printing.o \
935 printing
/nt_printing.o \
936 printing
/nt_printing_tdb.o \
937 printing
/nt_printing_migrate.o \
938 printing
/nt_printing_ads.o \
939 librpc
/gen_ndr
/ndr_ntprinting.o \
940 ..
/librpc
/ndr
/ndr_ntprinting.o \
943 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
945 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
946 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
947 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
948 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
949 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
950 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
951 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
952 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
953 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
954 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
955 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
956 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
958 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
959 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
962 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
963 web
/swat.o web
/neg_lang.o
965 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
966 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
967 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
968 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
969 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
971 rpc_client
/init_lsa.o
973 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
974 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
975 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
976 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
978 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
979 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
981 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
982 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
983 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
984 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
985 $(LIBMSRPC_GEN_OBJ
) \
989 TESTPARM_OBJ
= utils
/testparm.o \
990 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
993 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
995 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
997 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
998 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
999 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1001 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1003 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1004 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1005 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1006 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1007 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1008 $(LIBCLI_SAMR_OBJ
) \
1009 rpc_client
/init_lsa.o
1011 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1012 $(LIBSAMBA_OBJ
) $(LIBTSOCKET_OBJ
) \
1013 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1014 $(LIBCLI_LDAP_NDR_OBJ
) \
1015 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1017 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1019 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1021 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1022 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1023 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1024 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1025 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1026 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1027 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1028 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1029 rpcclient
/cmd_winreg.o \
1032 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1033 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1034 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1035 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1036 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1037 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1038 $(LIBCLI_SPOOLSS_OBJ
) \
1039 $(LIBCLI_EVENTLOG_OBJ
) \
1040 $(LIBCLI_NTSVCS_OBJ
) \
1041 $(LIBCLI_DRSUAPI_OBJ
) \
1043 $(LIBCLI_ECHO_OBJ
) \
1044 $(LIBCLI_DSSETUP_OBJ
) \
1045 $(LIBCLI_WKSSVC_OBJ
) \
1046 $(LIBCLI_SRVSVC_OBJ
) \
1048 $(LIBCLI_SAMR_OBJ
) \
1049 $(LIBCLI_WINREG_OBJ
) \
1050 $(LIBCLI_NETLOGON_OBJ
) \
1051 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1052 rpc_client
/init_netlogon.o \
1053 rpc_client
/init_samr.o
1055 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1056 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1058 LIBSMBCLIENT_THREAD_OBJ
= \
1059 libsmb
/libsmb_thread_impl.o \
1060 libsmb
/libsmb_thread_posix.o
1062 LIBSMBCLIENT_OBJ0
= \
1063 libsmb
/libsmb_cache.o \
1064 libsmb
/libsmb_compat.o \
1065 libsmb
/libsmb_context.o \
1066 libsmb
/libsmb_dir.o \
1067 libsmb
/libsmb_file.o \
1068 libsmb
/libsmb_misc.o \
1069 libsmb
/libsmb_path.o \
1070 libsmb
/libsmb_printjob.o \
1071 libsmb
/libsmb_server.o \
1072 libsmb
/libsmb_stat.o \
1073 libsmb
/libsmb_xattr.o \
1074 libsmb
/libsmb_setget.o
1076 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1077 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1078 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1079 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1080 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1081 $(LIBCLI_SRVSVC_OBJ
) \
1084 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1086 # This shared library is intended for linking with unit test programs
1087 # to test Samba internals. It's called libbigballofmud.so to
1088 # discourage casual usage.
1090 LIBBIGBALLOFMUD_MAJOR
= 0
1092 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1093 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1094 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1096 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1097 client
/dnsbrowse.o \
1100 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1101 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1102 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1103 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1104 $(DISPLAY_SEC_OBJ
) \
1105 $(LIBCLI_SRVSVC_OBJ
)
1107 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1108 ..
/lib
/smbconf
/smbconf_util.o \
1109 ..
/lib
/smbconf
/smbconf_txt.o \
1110 lib
/smbconf
/smbconf_reg.o \
1111 lib
/smbconf
/smbconf_init.o
1113 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1115 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1116 $(LIB_NONSMBD_OBJ
) \
1121 LIBNET_OBJ
= libnet
/libnet_join.o \
1122 libnet
/libnet_keytab.o \
1123 librpc
/gen_ndr
/ndr_libnet_join.o
1125 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1126 libnet
/libnet_dssync_keytab.o \
1127 ..
/libcli
/drsuapi
/repl_decrypt.o
1129 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1130 libnet
/libnet_samsync_ldif.o \
1131 libnet
/libnet_samsync_passdb.o \
1132 libnet
/libnet_samsync_display.o \
1133 libnet
/libnet_samsync_keytab.o \
1134 ..
/libcli
/samsync
/decrypt.o
1136 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1137 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1138 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1139 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
1140 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1141 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1142 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1143 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1144 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1145 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1146 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
1147 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1148 utils
/net_g_lock.o \
1149 utils
/net_serverid.o \
1150 utils
/net_eventlog.o \
1151 utils
/net_printing.o \
1152 $(LIBNDR_NTPRINTING_OBJ
) \
1153 $(LIBNDR_PREG_OBJ
) \
1154 $(LIBCLI_SPOOLSS_OBJ
) \
1155 $(LIBCLI_WINREG_OBJ
) \
1156 $(LIBCLI_DRSUAPI_OBJ
) \
1157 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1158 $(LIBCLI_DSSETUP_OBJ
) \
1159 $(LIBCLI_SVCCTL_OBJ
) \
1160 $(LIBCLI_WKSSVC_OBJ
) \
1161 $(LIBCLI_SRVSVC_OBJ
) \
1163 $(LIBCLI_SAMR_OBJ
) \
1164 $(LIBCLI_NETLOGON_OBJ
) \
1165 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1166 rpc_client
/init_netlogon.o \
1167 rpc_client
/init_samr.o \
1168 registry
/reg_parse.o registry
/reg_format.o \
1169 registry
/reg_parse_internal.o registry
/reg_import.o \
1170 lib
/cbuf.o lib
/srprs.o
1172 # these are not processed by make proto
1173 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1175 NET_OBJ
= $(NET_OBJ1
) \
1176 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1177 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1178 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1179 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1180 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1181 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1182 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1183 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1184 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1185 $(REG_SMBCONF_OBJ
) \
1186 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1189 $(PRIVILEGES_BASIC_OBJ
) \
1190 $(LIB_EVENTLOG_OBJ
) localedir.o
1192 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1193 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1196 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1197 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1199 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1200 torture
/denytest.o torture
/mangle_test.o \
1202 torture
/test_async_echo.o \
1203 torture
/test_smbsock_any_connect.o \
1204 torture
/test_addrchange.o \
1205 torture
/test_posix_append.o
1207 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1208 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1209 @LIBWBCLIENT_STATIC@ \
1210 torture
/wbc_async.o \
1212 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1214 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1215 $(LIB_NONSMBD_OBJ
) \
1218 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1219 $(LIB_NONSMBD_OBJ
) \
1222 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1223 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1224 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1226 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1228 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1229 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1230 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1233 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1235 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1237 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1239 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1240 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1241 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1243 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1244 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1245 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1246 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1249 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1251 $(LIB_NONSMBD_OBJ
) \
1252 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1253 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1256 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1258 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1260 registry
/reg_eventlog.o
$(LIB_EVENTLOG_OBJ
) \
1261 librpc
/gen_ndr
/ndr_eventlog.o \
1262 librpc
/gen_ndr
/ndr_lsa.o
1264 SHARESEC_OBJ0
= utils
/sharesec.o
1265 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1269 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1270 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1272 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1273 @libreplacedir@
/test/getifaddrs.o \
1274 @libreplacedir@
/test/os2_delete.o \
1275 @libreplacedir@
/test/strptime.o \
1276 @libreplacedir@
/test/main.o \
1277 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1279 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1281 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1282 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1285 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1286 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1288 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1289 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1290 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1291 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1294 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1296 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1298 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1301 winbindd
/idmap_hash
/idmap_hash.o \
1302 winbindd
/idmap_hash
/mapfile.o
1305 winbindd
/idmap_adex
/idmap_adex.o \
1306 winbindd
/idmap_adex
/cell_util.o \
1307 winbindd
/idmap_adex
/likewise_cell.o \
1308 winbindd
/idmap_adex
/provider_unified.o \
1309 winbindd
/idmap_adex
/gc_util.o \
1310 winbindd
/idmap_adex
/domain_util.o
1313 winbindd
/winbindd.o \
1314 winbindd
/winbindd_group.o \
1315 winbindd
/winbindd_util.o \
1316 winbindd
/winbindd_cache.o \
1317 winbindd
/winbindd_pam.o \
1318 winbindd
/winbindd_misc.o \
1319 winbindd
/winbindd_cm.o \
1320 winbindd
/winbindd_wins.o \
1321 winbindd
/winbindd_msrpc.o \
1322 winbindd
/winbindd_rpc.o \
1323 winbindd
/winbindd_reconnect.o \
1324 winbindd
/winbindd_ads.o \
1325 winbindd
/winbindd_samr.o \
1326 winbindd
/winbindd_dual.o \
1327 winbindd
/winbindd_dual_ndr.o \
1328 winbindd
/winbindd_dual_srv.o \
1329 librpc
/gen_ndr
/ndr_wbint_c.o \
1330 librpc
/gen_ndr
/srv_wbint.o \
1331 librpc
/gen_ndr
/ndr_wbint.o \
1332 winbindd
/winbindd_async.o \
1333 winbindd
/winbindd_creds.o \
1334 winbindd
/winbindd_cred_cache.o \
1335 winbindd
/winbindd_ccache_access.o \
1336 winbindd
/winbindd_domain.o \
1337 winbindd
/winbindd_idmap.o \
1338 winbindd
/winbindd_locator.o \
1339 winbindd
/winbindd_ndr.o \
1340 winbindd
/wb_ping.o \
1341 winbindd
/wb_lookupsid.o \
1342 winbindd
/wb_lookupname.o \
1343 winbindd
/wb_sid2uid.o \
1344 winbindd
/wb_sid2gid.o \
1345 winbindd
/wb_uid2sid.o \
1346 winbindd
/wb_gid2sid.o \
1347 winbindd
/wb_queryuser.o \
1348 winbindd
/wb_lookupuseraliases.o \
1349 winbindd
/wb_lookupusergroups.o \
1350 winbindd
/wb_getpwsid.o \
1351 winbindd
/wb_gettoken.o \
1352 winbindd
/wb_seqnum.o \
1353 winbindd
/wb_seqnums.o \
1354 winbindd
/wb_group_members.o \
1355 winbindd
/wb_getgrsid.o \
1356 winbindd
/wb_query_user_list.o \
1357 winbindd
/wb_fill_pwent.o \
1358 winbindd
/wb_next_pwent.o \
1359 winbindd
/wb_next_grent.o \
1360 winbindd
/wb_dsgetdcname.o \
1361 winbindd
/winbindd_lookupsid.o \
1362 winbindd
/winbindd_lookupname.o \
1363 winbindd
/winbindd_sid_to_uid.o \
1364 winbindd
/winbindd_sid_to_gid.o \
1365 winbindd
/winbindd_uid_to_sid.o \
1366 winbindd
/winbindd_gid_to_sid.o \
1367 winbindd
/winbindd_allocate_uid.o \
1368 winbindd
/winbindd_allocate_gid.o \
1369 winbindd
/winbindd_getpwsid.o \
1370 winbindd
/winbindd_getpwnam.o \
1371 winbindd
/winbindd_getpwuid.o \
1372 winbindd
/winbindd_getsidaliases.o \
1373 winbindd
/winbindd_getuserdomgroups.o \
1374 winbindd
/winbindd_getgroups.o \
1375 winbindd
/winbindd_show_sequence.o \
1376 winbindd
/winbindd_getgrgid.o \
1377 winbindd
/winbindd_getgrnam.o \
1378 winbindd
/winbindd_getusersids.o \
1379 winbindd
/winbindd_lookuprids.o \
1380 winbindd
/winbindd_setpwent.o \
1381 winbindd
/winbindd_getpwent.o \
1382 winbindd
/winbindd_endpwent.o \
1383 winbindd
/winbindd_setgrent.o \
1384 winbindd
/winbindd_getgrent.o \
1385 winbindd
/winbindd_endgrent.o \
1386 winbindd
/winbindd_dsgetdcname.o \
1387 winbindd
/winbindd_getdcname.o \
1388 winbindd
/winbindd_list_users.o \
1389 winbindd
/winbindd_list_groups.o \
1390 winbindd
/winbindd_check_machine_acct.o \
1391 winbindd
/winbindd_change_machine_acct.o \
1392 winbindd
/winbindd_ping_dc.o \
1393 winbindd
/winbindd_pam_auth.o \
1394 winbindd
/winbindd_pam_auth_crap.o \
1395 winbindd
/winbindd_pam_chauthtok.o \
1396 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1397 winbindd
/winbindd_pam_logoff.o \
1401 auth
/check_samsec.o \
1402 auth
/server_info.o \
1403 auth
/server_info_sam.o \
1409 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1410 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1411 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1412 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1413 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1414 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1415 $(RPC_NCACN_NP
) $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1416 $(NPA_TSTREAM_OBJ
) \
1417 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1418 $(LIBADS_SERVER_OBJ
) \
1419 $(TDB_VALIDATE_OBJ
) \
1420 $(LIBCLI_DSSETUP_OBJ
) \
1422 $(LIBCLI_SAMR_OBJ
) \
1423 $(LIBCLI_NETLOGON_OBJ
) \
1424 rpc_client
/init_netlogon.o \
1425 rpc_client
/init_samr.o
1427 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1428 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1429 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1431 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1433 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1434 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1436 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1437 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1439 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1440 ..
/lib
/iniparser_build
/strlib.o
1442 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1443 $(SOCKET_WRAPPER_OBJ
)
1445 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1446 $(SOCKET_WRAPPER_OBJ
)
1448 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1449 $(SOCKET_WRAPPER_OBJ
)
1451 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1452 $(SOCKET_WRAPPER_OBJ
)
1454 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1455 $(SOCKET_WRAPPER_OBJ
)
1458 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1460 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1461 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o libads
/kerberos.o \
1462 libsmb
/samlogon_cache.o \
1463 $(LIBADS_SERVER_OBJ
) \
1464 $(PASSDB_OBJ
) $(LIBTSOCKET_OBJ
) $(GROUPDB_OBJ
) \
1465 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1467 $(LIBCLI_LDAP_NDR_OBJ
) \
1468 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1471 VLP_OBJ
= printing
/tests
/vlp.o \
1472 ..
/lib
/util
/util_tdb.o \
1473 $(LIBSAMBAUTIL_OBJ
) \
1476 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1480 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1481 $(LIB_NONSMBD_OBJ
) \
1486 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1488 $(LIB_NONSMBD_OBJ
) \
1491 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1493 $(LIB_NONSMBD_OBJ
) \
1497 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1499 $(LIB_NONSMBD_OBJ
) \
1503 ######################################################################
1505 ######################################################################
1506 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1507 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1508 $(EXTRA_ALL_TARGETS
)
1512 nss_modules
:: $(NSS_MODULES
)
1514 pam_modules
:: $(PAM_MODULES
)
1516 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1518 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1520 gpext_modules
:: $(GPEXT_MODULES
)
1522 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1524 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1526 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1528 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1530 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1532 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1534 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1536 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1538 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1540 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1542 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1544 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1546 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1548 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1550 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1552 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1554 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1555 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1556 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1558 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1560 modules
:: SHOWFLAGS
$(MODULES
)
1563 #####################################################################
1564 ## Perl IDL Compiler
1566 IDL_FILES
= librpc
/idl
/messaging.idl \
1567 librpc
/idl
/libnetapi.idl \
1568 librpc
/idl
/notify.idl \
1569 librpc
/idl
/wbint.idl \
1570 librpc
/idl
/perfcount.idl \
1571 librpc
/idl
/secrets.idl \
1572 librpc
/idl
/libnet_join.idl \
1576 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1577 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1578 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1579 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1582 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1583 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1584 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1585 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1587 #####################################################################
1590 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1594 .SUFFIXES
: .c .o .lo
1596 .PHONY
: showflags SHOWFLAGS
1598 showflags
: SHOWFLAGS
1601 @echo
"Using CFLAGS = $(CFLAGS)"
1602 @echo
" PICFLAG = $(PICFLAG)"
1603 @echo
" LIBS = $(LIBS)"
1604 @echo
" LDFLAGS = $(LDFLAGS)"
1605 @echo
" DYNEXP = $(DYNEXP)"
1606 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1607 @echo
" SHLIBEXT = @SHLIBEXT@"
1608 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1610 # "showcflags" target for debuggin how CFLAGS are composed:
1612 .PHONY
: showcflags SHOWCFLAGS
1614 showcflags
: SHOWCFLAGS
1617 @echo
"CFLAGS = $(CFLAGS)"
1618 @echo
"FLAGS = $(FLAGS)"
1620 @echo
"FLAGS1 = @FLAGS1@"
1621 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1622 @echo
"CPPFLAGS = $(CPPFLAGS)"
1623 @echo
"ISA = $(ISA)"
1625 MAKEDIR
= || exec false
; \
1626 if
test -d
"$$dir"; then
:; else \
1627 echo mkdir
"$$dir"; \
1628 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1629 test -d
"$$dir" || \
1631 exec false
; fi || exec false
1633 # Run a static checker.
1634 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1635 # Compile a source file.
1636 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1637 # Compile a source file with the installation paths defined.
1638 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1640 COMPILE
= $(COMPILE_CC
)
1643 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1644 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1645 @if
test -n
"$(CC_CHECKER)"; then \
1646 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1649 @echo Compiling
$*.c
1650 @
$(COMPILE
) && exit
0;\
1651 echo
"The following command failed:" 1>&2;\
1652 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1653 $(COMPILE_CC) >/dev/null 2>&1
1654 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1656 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1658 # this adds support for precompiled headers. To use it, install a snapshot
1659 # of gcc-3.4 and run 'make pch' before you do the main build.
1661 rm -f $(PRECOMPILED_HEADER)
1662 $(MAKE) $(PRECOMPILED_HEADER)
1664 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1667 BINARY_PREREQS = bin/.dummy
1669 # These dependencies are only approximately correct: we want to make
1670 # sure Samba's paths are updated if ./configure is re-run. Really it
1671 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1672 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1673 # rebuild it's a bit hard.
1675 dynconfig.o: dynconfig.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 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1683 @echo Compiling $*.c
1684 @$(COMPILE_CC_PATH) && exit 0;\
1685 echo "The following command failed
:" 1>&2;\
1686 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1687 $(COMPILE_CC_PATH) >/dev/null 2>&1
1689 ### Start section of object files that require PTHREAD_CFLAGS
1690 ../nsswitch/wins.o: ../nsswitch/wins.c
1691 @echo Compiling $*.c
1692 @$(COMPILE) $(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 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1698 @echo Compiling $*.c
1699 @$(COMPILE_CC) $(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_impl.o: libsmb/libsmb_thread_impl.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
1711 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1712 @echo Compiling $*.c
1713 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1714 echo "The following command failed
:" 1>&2;\
1715 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1716 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1717 ### End section of object files that require PTHREAD_CFLAGS
1719 localedir.o: localedir.c Makefile
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/pidfile.o: lib/pidfile.c
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 lib/version.o: lib/version.c include/version.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.o: smbd/build_options.c Makefile include/config.h include/build_env.h include/proto.h
1741 @echo Compiling $*.c
1742 @$(COMPILE_CC_PATH) && exit 0;\
1743 echo "The following command failed
:" 1>&2;\
1744 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1745 $(COMPILE_CC_PATH) >/dev/null 2>&1
1747 smbd/build_options.c: include/config.h.in script/mkbuildoptions.awk
1749 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/config.h.in
1752 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1753 dir=bin $(MAKEDIR); fi
1754 @: >> $@ || : > $@ # what a fancy emoticon!
1756 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1758 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1759 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1760 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1761 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1762 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1764 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1766 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1767 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1768 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1769 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1771 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1773 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1774 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1775 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1777 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1779 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1780 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1781 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1782 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1784 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1786 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1787 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1788 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1789 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1791 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1793 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1794 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1795 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1796 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1799 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1801 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1802 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1804 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1806 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1807 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1808 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1810 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1812 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1813 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1815 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1817 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1818 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1820 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1822 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1823 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1825 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1827 @$(CC) -DUSING_SMBCONTROL -o $@ \
1828 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1829 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1830 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1832 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1834 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1835 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1836 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1838 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1840 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1841 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1842 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1844 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1846 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1847 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1848 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
1850 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1852 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1853 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1854 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1856 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1858 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1859 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1861 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1863 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1864 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1865 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1867 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1869 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1870 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1871 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1873 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1875 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1876 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1878 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1880 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1881 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1882 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1884 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1886 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1887 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1888 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1889 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1891 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1893 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1894 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1895 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1897 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1899 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1900 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1901 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1903 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1905 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1906 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1907 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1909 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1911 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1912 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1914 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1916 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1917 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1919 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1921 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1922 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1923 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1924 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1926 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ)
1928 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
1930 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1932 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1933 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1934 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1936 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1938 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
1939 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
1940 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1941 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1942 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1944 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1946 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
1947 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1948 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1950 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1952 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
1953 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
1955 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1957 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
1958 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1959 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1960 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1962 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1964 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
1965 $(LIBS) $(LIBTALLOC_LIBS)
1967 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1969 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1970 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1971 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1972 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1974 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
1976 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
1979 #####################################################################
1983 #####################################################################
1985 MKSYMS_SH = $(srcdir)/script/mksyms.sh
1988 #-------------------------------------------------------------------
1992 #-------------------------------------------------------------------
1995 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
1996 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
1998 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
1999 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2000 LIBTALLOC_SHARED_TARGET_SONAME=$(LIBTALLOC_SHARED_TARGET).$(LIBTALLOC_SOVER)
2001 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2002 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2003 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2005 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2006 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2008 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2009 @echo Linking shared library $@
2010 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2012 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
2014 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2016 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2017 @echo Linking non-shared library $@
2018 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2019 libtalloc: $(LIBTALLOC)
2024 $(LIBTALLOC_STATIC_TARGET) \
2025 $(LIBTALLOC_SHARED_TARGET) \
2026 $(LIBTALLOC_SHARED_TARGET_SONAME)
2028 installlibtalloc:: installdirs libtalloc
2029 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2030 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2031 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2032 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2033 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2034 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2036 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2037 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2038 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2040 uninstalllibtalloc::
2041 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2042 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2043 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2044 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2047 installlibs:: @INSTALL_LIBTALLOC@
2048 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2049 cleanlibs:: cleanlibtalloc
2050 shlibs test_shlibs: @LIBTALLOC_SHARED@
2054 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2055 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2056 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2058 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2059 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2060 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2061 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2062 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2064 showlibs:: showlibtalloc
2066 #-------------------------------------------------------------------
2070 #-------------------------------------------------------------------
2072 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2073 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2075 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2076 LIBTDB_SOVER=@LIBTDB_SOVER@
2077 LIBTDB_SHARED_TARGET_SONAME=$(LIBTDB_SHARED_TARGET).$(LIBTDB_SOVER)
2078 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2079 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2080 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2082 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2083 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2085 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2086 @echo Linking shared library $@
2087 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2088 @SONAMEFLAG@`basename $@`
2090 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_SONAME)
2092 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2094 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2095 @echo Linking non-shared library $@
2096 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2103 $(LIBTDB_STATIC_TARGET) \
2104 $(LIBTDB_SHARED_TARGET) \
2105 $(LIBTDB_SHARED_TARGET_SONAME)
2108 installlibtdb:: installdirs libtdb
2109 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2110 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2111 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2112 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2113 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2114 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2116 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2117 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2118 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2121 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2122 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2123 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2124 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2127 installlibs:: @INSTALL_LIBTDB@
2128 uninstalllibs:: @UNINSTALL_LIBTDB@
2129 cleanlibs:: cleanlibtdb
2130 shlibs test_shlibs: @LIBTDB_SHARED@
2134 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2135 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2136 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2138 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2139 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2140 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2141 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2142 @echo "LIBTDB
= $(LIBTDB
)"
2144 showlibs:: showlibtdb
2146 #-------------------------------------------------------------------
2150 #-------------------------------------------------------------------
2152 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2153 ../nsswitch/libwbclient/wbc_util.o \
2154 ../nsswitch/libwbclient/wbc_pwd.o \
2155 ../nsswitch/libwbclient/wbc_idmap.o \
2156 ../nsswitch/libwbclient/wbc_sid.o \
2157 ../nsswitch/libwbclient/wbc_guid.o \
2158 ../nsswitch/libwbclient/wbc_pam.o
2160 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2163 ../lib/util/blocking.o \
2164 $(SOCKET_WRAPPER_OBJ)
2166 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2167 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2168 LIBWBCLIENT_SHARED_TARGET_SONAME=$(LIBWBCLIENT_SHARED_TARGET).$(LIBWBCLIENT_SOVER)
2169 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2170 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2171 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2173 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2174 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2176 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2177 @echo Linking shared library $@
2178 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2179 @SONAMEFLAG@`basename $@`
2181 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2183 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2185 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2186 @echo Linking non-shared library $@
2187 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2189 libwbclient: $(LIBWBCLIENT)
2193 $(LIBWBCLIENT_SYMS) \
2194 $(LIBWBCLIENT_STATIC_TARGET) \
2195 $(LIBWBCLIENT_SHARED_TARGET) \
2196 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2198 installlibwbclient:: installdirs libwbclient
2199 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2200 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2201 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2202 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2203 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2204 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2206 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2207 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2208 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2210 uninstalllibwbclient::
2211 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2212 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2213 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2214 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2217 installlibs:: @INSTALL_LIBWBCLIENT@
2218 uninstalllibs:: uninstalllibwbclient
2219 cleanlibs:: cleanlibwbclient
2220 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2224 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2225 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2226 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2228 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2229 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2230 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2231 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2232 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2234 showlibs:: showlibwbclient
2237 #-------------------------------------------------------------------
2241 #-------------------------------------------------------------------
2244 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2245 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2246 LIBADDNS_SHARED_TARGET_SONAME=$(LIBADDNS_SHARED_TARGET).$(LIBADDNS_SOVER)
2247 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2248 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2249 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2250 LIBADDNS_HEADERS=$(srcdir)/../lib/addns/addns.h
2252 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2253 @echo Linking shared library $@
2254 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2255 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2256 @SONAMEFLAG@`basename $@`
2258 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2260 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2262 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2263 @echo Linking non-shared library $@
2264 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2266 libaddns: $(LIBADDNS)
2270 $(LIBADDNS_SHARED_TARGET) \
2271 $(LIBADDNS_SHARED_TARGET_SONAME) \
2272 $(LIBADDNS_STATIC_TARGET)
2274 installlibaddns:: installdirs libaddns
2275 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2276 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2277 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2278 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2279 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2280 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2282 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2285 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2286 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2287 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2290 installlibs:: @INSTALL_LIBADDNS@
2291 uninstalllibs:: @UNINSTALL_LIBADDNS@
2292 cleanlibs:: cleanlibaddns
2293 shlibs test_shlibs: @LIBADDNS_SHARED@
2297 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2298 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2299 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2301 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2302 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2303 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2304 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2305 @echo "LIBADDNS
= $(LIBADDNS
)"
2307 showlibs:: showlibaddns
2309 #-------------------------------------------------------------------
2313 #-------------------------------------------------------------------
2315 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2317 librpc/gen_ndr/ndr_libnetapi.o \
2318 lib/netapi/libnetapi.o \
2319 lib/netapi/joindomain.o \
2320 lib/netapi/serverinfo.o \
2321 lib/netapi/getdc.o \
2323 lib/netapi/group.o \
2324 lib/netapi/localgroup.o \
2327 lib/netapi/share.o \
2329 lib/netapi/shutdown.o \
2330 lib/netapi/netlogon.o
2332 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2334 $(REG_SMBCONF_OBJ) \
2335 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2336 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2337 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2338 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2339 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2341 $(LIBCLI_INITSHUTDOWN_OBJ) \
2342 $(LIBCLI_WKSSVC_OBJ) \
2343 $(LIBCLI_SRVSVC_OBJ) \
2345 $(LIBCLI_SAMR_OBJ) \
2346 $(LIBCLI_NETLOGON_OBJ) \
2347 $(RPC_CLIENT_SCHANNEL_OBJ) \
2348 rpc_client/init_netlogon.o \
2349 rpc_client/init_samr.o
2351 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2352 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2353 LIBNETAPI_SHARED_TARGET_SONAME=$(LIBNETAPI_SHARED_TARGET).$(LIBNETAPI_SOVER)
2354 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2355 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2356 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2358 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2359 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2361 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2362 @echo Linking shared library $@
2363 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2364 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2365 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2366 @SONAMEFLAG@`basename $@`
2368 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2370 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2372 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2373 @echo Linking non-shared library $@
2374 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2376 libnetapi: $(LIBNETAPI)
2381 $(LIBNETAPI_STATIC_TARGET) \
2382 $(LIBNETAPI_SHARED_TARGET) \
2383 $(LIBNETAPI_SHARED_TARGET_SONAME)
2385 installlibnetapi:: installdirs libnetapi
2386 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2387 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2388 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2389 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2390 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2391 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2393 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2394 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2395 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2397 uninstalllibnetapi::
2398 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2399 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2400 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2401 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2404 installlibs:: @INSTALL_LIBNETAPI@
2405 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2406 cleanlibs:: cleanlibnetapi
2407 shlibs test_shlibs: @LIBNETAPI_SHARED@
2411 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2412 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2413 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2415 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2416 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2417 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2418 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2419 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2421 showlibs:: showlibnetapi
2423 #-------------------------------------------------------------------
2427 #-------------------------------------------------------------------
2429 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2430 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2431 LIBSMBCLIENT_SHARED_TARGET_SONAME=$(LIBSMBCLIENT_SHARED_TARGET).$(LIBSMBCLIENT_SOVER)
2432 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2433 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2434 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2435 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2437 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2438 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2440 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2441 @echo Linking shared library $@
2442 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2443 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2444 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2445 @SONAMEFLAG@`basename $@`
2447 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2449 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2451 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2452 @echo Linking non-shared library $@
2453 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2455 libsmbclient: $(LIBSMBCLIENT)
2459 $(LIBSMBCLIENT_SHARED_TARGET) \
2460 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2461 $(LIBSMBCLIENT_STATIC_TARGET)
2463 installlibsmbclient:: installdirs libsmbclient
2464 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2465 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2466 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2467 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2468 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2469 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2471 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2472 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2473 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2475 installclientlib:: installlibsmbclient
2477 uninstalllibsmbclient::
2478 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2479 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2480 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2481 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2483 uninstallclientlib:: uninstalllibsmbclient
2486 installlibs:: @INSTALL_LIBSMBCLIENT@
2487 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2488 cleanlibs:: cleanlibsmbclient
2489 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2493 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2494 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2495 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2497 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2498 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2499 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2500 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2501 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2503 showlibs:: showlibsmbclient
2505 #-------------------------------------------------------------------
2509 #-------------------------------------------------------------------
2511 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o
2513 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2515 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2516 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2517 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=$(LIBSMBSHAREMODES_SHARED_TARGET).$(LIBSMBSHAREMODES_SOVER)
2518 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2519 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2520 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2521 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2523 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2524 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2526 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2527 @echo Linking shared library $@
2528 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2529 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2530 @SONAMEFLAG@`basename $@`
2532 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2534 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2536 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2537 @echo Linking non-shared library $@
2538 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2540 libsmbsharemodes: $(LIBSMBSHAREMODES)
2542 cleanlibsmbsharemodes::
2544 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2545 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2546 $(LIBSMBSHAREMODES_STATIC_TARGET)
2548 installlibsmbsharemodes:: installdirs libsmbsharemodes
2549 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2550 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2551 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2552 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2553 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2554 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2556 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2557 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2558 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2560 uninstalllibsmbsharemodes::
2561 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2562 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2563 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2564 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2566 libs:: libsmbsharemodes
2567 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2568 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2569 cleanlibs:: cleanlibsmbsharemodes
2570 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2572 showlibsmbsharemodes:
2574 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2575 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2576 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2577 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2579 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2580 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2581 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2582 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2583 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2585 showlibs:: showlibsmbsharemodes
2587 #-------------------------------------------------------------------
2591 #-------------------------------------------------------------------
2593 # This is probably wrong for anything other than the GNU linker.
2594 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2595 @echo Linking shared library $@
2596 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2597 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2598 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2599 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2600 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2602 # It would be nice to build a static bigballofmud too, but when I try
2603 # I get linker errors about dl_open and similar things. I'm not sure if
2604 # it can be fixed or if they just can't be called from a static
2607 #####################################################################
2611 #####################################################################
2613 # Linker command to link our shared libraries:
2614 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2615 -o $@ @SONAMEFLAG@`basename $@`
2616 # Linker command to link samba internal plugin modules:
2617 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2618 -o $@ @SONAMEFLAG@`basename $@`
2620 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2622 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2624 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2626 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2628 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2630 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2632 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2634 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2636 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2638 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2640 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2642 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2644 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2646 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2648 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2650 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2652 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2654 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2656 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2658 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2660 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2662 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2664 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2666 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2668 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2670 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2672 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2674 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2676 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2678 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2679 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2680 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2683 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB)
2685 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2686 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2689 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2691 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2692 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2693 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2695 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2697 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2698 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2699 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2701 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2703 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2704 @SONAMEFLAG@`basename $@`
2706 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2707 @echo "Linking shared library
$@
"
2708 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2709 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2715 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2716 @echo "Building plugin
$@
"
2717 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2719 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2720 @echo "Building plugin
$@
"
2721 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2723 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2724 @echo "Building plugin
$@
"
2725 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2727 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2728 @echo "Building plugin
$@
"
2729 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2731 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2732 @echo "Building plugin
$@
"
2733 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2735 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2736 @echo "Building plugin
$@
"
2737 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2739 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2740 @echo "Building plugin
$@
"
2741 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2743 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2744 @echo "Building plugin
$@
"
2745 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2747 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2748 @echo "Building plugin
$@
"
2749 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2751 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o
2752 @echo "Building plugin
$@
"
2753 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o $(LDAP_LIBS)
2755 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2756 @echo "Building plugin
$@
"
2757 @$(SHLD_MODULE) passdb/pdb_ads.o
2759 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2760 @echo "Building plugin
$@
"
2761 @$(SHLD_MODULE) passdb/pdb_tdb.o
2763 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2764 @echo "Building plugin
$@
"
2765 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2767 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2768 @echo "Building plugin
$@
"
2769 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2771 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2772 @echo "Building plugin
$@
"
2773 @$(SHLD_MODULE) winbindd/idmap_rid.o
2775 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2776 @echo "Building plugin
$@
"
2777 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2779 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2780 @echo "Building plugin
$@
"
2781 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2783 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2784 @echo "Building plugin
$@
"
2785 @$(SHLD_MODULE) winbindd/idmap_ad.o
2787 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2788 @echo "Building plugin
$@
"
2789 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2791 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2792 @echo "Building plugin
$@
"
2793 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2795 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2796 @echo "Building plugin
$@
"
2797 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2799 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2800 @echo "Building plugin
$@
"
2801 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2803 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2804 @echo "Building plugin
$@
"
2805 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2807 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2808 @echo "Building plugin
$@
"
2809 @$(SHLD_MODULE) $(CP850_OBJ)
2811 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2812 @echo "Building plugin
$@
"
2813 @$(SHLD_MODULE) $(CP437_OBJ)
2815 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2816 @echo "Building plugin
$@
"
2817 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2819 # NOTE, there is no build rule for a dynamic default VFS module because
2820 # this one MUST MUST MUST be built statically.
2822 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2823 @echo "Building plugin
$@
"
2824 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2826 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2827 @echo "Building plugin
$@
"
2828 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2830 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2831 @echo "Building plugin
$@
"
2832 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2834 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2835 @echo "Building plugin
$@
"
2836 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2838 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2839 @echo "Building plugin
$@
"
2840 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2842 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2843 @echo "Building plugin
$@
"
2844 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2846 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2847 @echo "Building plugin
$@
"
2848 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2850 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2851 @echo "Building plugin
$@
"
2852 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2854 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2855 @echo "Building plugin
$@
"
2856 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2858 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2859 @echo "Building plugin
$@
"
2860 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2862 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2863 @echo "Building plugin
$@
"
2864 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2866 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2867 @echo "Building plugin
$@
"
2868 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2870 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2871 @echo "Building plugin
$@
"
2872 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2874 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2875 @echo "Building plugin
$@
"
2876 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2878 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2879 @echo "Building plugin
$@
"
2880 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2882 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2883 @echo "Building plugin
$@
"
2884 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2886 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2887 @echo "Building plugin
$@
"
2888 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2890 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2891 @echo "Building plugin
$@
"
2892 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2894 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2895 @echo "Building plugin
$@
"
2896 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
2898 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
2899 @echo "Building plugin
$@
"
2900 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
2902 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
2903 @echo "Building plugin
$@
"
2904 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
2906 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
2907 @echo "Building plugin
$@
"
2908 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
2910 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
2911 @echo "Building plugin
$@
"
2912 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
2914 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
2915 @echo "Building plugin
$@
"
2916 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
2918 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
2919 @echo "Building plugin
$@
"
2920 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
2922 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
2923 @echo "Building plugin
$@
"
2924 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
2926 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
2927 @echo "Building plugin
$@
"
2928 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
2930 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
2931 @echo "Building plugin
$@
"
2932 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
2934 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
2935 @echo "Building plugin
$@
"
2936 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
2938 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
2939 @echo "Building plugin
$@
"
2940 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
2942 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
2943 @echo "Building plugin
$@
"
2944 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
2946 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
2947 @echo "Building plugin
$@
"
2948 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
2950 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
2951 @echo "Building plugin
$@
"
2952 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
2954 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
2955 @echo "Building plugin
$@
"
2956 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
2958 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
2959 @echo "Building plugin
$@
"
2960 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
2962 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
2963 @echo "Building plugin
$@
"
2964 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
2966 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
2967 @echo "Building plugin
$@
"
2968 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
2970 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2971 @echo "Building plugin
$@
"
2972 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
2974 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
2975 @echo "Building plugin
$@
"
2976 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
2978 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
2979 @echo "Building plugin
$@
"
2980 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
2982 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2983 @echo "Building plugin
$@
"
2984 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
2986 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
2987 @echo "Building plugin
$@
"
2988 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
2990 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
2991 @echo "Building plugin
$@
"
2992 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
2994 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
2995 @echo "Building plugin
$@
"
2996 @$(SHLD_MODULE) libgpo/gpext/registry.o
2998 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
2999 @echo "Building plugin
$@
"
3000 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3002 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3003 @echo "Building plugin
$@
"
3004 @$(SHLD_MODULE) libgpo/gpext/security.o
3006 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3007 @echo "Building plugin
$@
"
3008 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3010 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3011 @echo "Building plugin
$@
"
3012 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3014 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3015 @echo "Building plugin
$@
"
3016 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3018 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3019 @echo "Building plugin
$@
"
3020 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3022 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3023 @echo "Building plugin
$@
"
3024 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3026 #########################################################
3027 ## IdMap NSS plugins
3029 ## None here right now
3030 #########################################################
3032 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3034 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3035 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3038 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3039 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3041 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3042 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) \
3043 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3044 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3046 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3047 @echo "Linking shared library
$@
"
3048 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3049 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3050 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3052 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3054 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3055 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3057 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3059 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3060 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3062 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3064 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3066 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3068 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3070 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3072 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3073 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3075 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3076 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3077 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3079 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3080 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3081 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3083 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3084 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3085 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3087 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3088 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3089 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3091 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3093 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3095 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3097 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3098 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3099 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3101 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3103 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3104 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3105 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3106 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3108 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3110 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3111 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3113 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3115 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3116 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3118 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3120 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3121 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3124 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3126 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3127 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3129 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3131 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3132 $(LDFLAGS) $(DYNEXP) \
3133 $(LIBS) $(POPT_LIBS) \
3134 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3135 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3137 install:: installservers installbin installman \
3138 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3139 @INSTALL_PAM_MODULES@ installlibs installmo
3141 install-everything:: install installmodules
3143 # DESTDIR is used here to prevent packagers wasting their time
3144 # duplicating the Makefile. Remove it and you will have the privelege
3145 # of package each samba release for muliple versions of multiple
3146 # distributions and operating systems, or at least supplying patches
3147 # to all the packaging files required for this, prior to committing
3148 # the removal of DESTDIR. Do not remove it even though you think it
3152 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3153 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3154 $(VARDIR) $(PRIVATEDIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3156 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3158 installservers:: all installdirs
3159 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3161 installbin:: all installdirs
3162 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3164 # Some symlinks are required for the 'probing' of modules.
3165 # This mechanism should go at some point..
3166 installmodules:: modules installdirs
3167 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3168 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3169 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3170 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3171 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3172 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3173 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3174 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3175 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3176 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3177 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3178 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3179 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3180 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3181 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3182 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3183 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3184 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3186 installscripts:: installdirs
3187 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3189 installdat:: installdirs
3190 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3192 installmsg:: installdirs
3193 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3195 installswat:: installdirs installmsg
3196 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3198 installpammodules:: $(PAM_MODULES)
3199 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3200 @for module in $(PAM_MODULES); do \
3201 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3202 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3203 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3206 # revert to the previously installed version
3208 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3209 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3211 installman:: installdirs
3212 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3214 installmo:: all installdirs
3215 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3220 @echo "Samba will be installed into
:"
3221 @echo " prefix: $(prefix)"
3222 @echo " bindir: $(BINDIR
)"
3223 @echo " sbindir
: $(SBINDIR
)"
3224 @echo " libdir: $(LIBDIR
)"
3225 @echo " modulesdir
: $(MODULESDIR
)"
3226 @echo " vardir
: $(VARDIR
)"
3227 @echo " mandir: $(MANDIR
)"
3228 @echo " privatedir
: $(PRIVATE_DIR
)"
3229 @echo " configdir
: $(CONFIGDIR
)"
3230 @echo " lockdir
: $(LOCKDIR
)"
3231 @echo " statedir: $(STATEDIR
)"
3232 @echo " cachedir
: $(CACHEDIR
)"
3233 @echo " piddir
: $(PIDDIR
)"
3234 @echo " nmbdsocketdir
: $(NMBSOCKETDIR
)"
3235 @echo " swatdir
: $(SWATDIR
)"
3236 @echo " datadir: ${DATADIR}"
3237 @echo " codepagedir
: $(CODEPAGEDIR
)"
3240 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3243 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3246 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3249 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3252 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3255 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3256 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3257 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3258 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3259 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3260 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3261 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3264 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3267 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3270 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3272 uninstallswat:: uninstallmsg
3273 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3275 uninstallpammodules::
3276 @for module in $(PAM_MODULES); do \
3277 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3278 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3281 # Toplevel clean files
3282 TOPFILES=dynconfig.o localedir.o
3285 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3287 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3289 ../libgpo/*.o ../libgpo/*/*.o \
3290 ../libds/*.o ../libds/*/*.o
3293 -rm -f include/build_env.h
3294 -rm -f smbd/build_options.c
3295 -rm -f $(PRECOMPILED_HEADER)
3296 -rm -f core */*~ *~ \
3297 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3298 ../testsuite/*/*.o \
3299 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3301 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3302 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3303 $(MODULES) $(TORTURE_PROGS) \
3304 $(EVERYTHING_PROGS) \
3306 .headers.stamp */src/*.o
3309 include/build_env.h: script/build_env.sh
3310 @echo Building include/build_env.h
3311 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3312 > $(builddir)/include/build_env.h
3318 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3321 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3324 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3325 -rm -f script/installbin.sh script/uninstallbin.sh
3327 distclean:: realclean
3329 -rm -f include/config.h Makefile
3330 -rm -f config.status config.cache so_locations
3333 realdistclean:: distclean
3334 -rm -f include/config.h.in
3335 -rm -f include/version.h
3338 # this target is really just for my use. It only works on a limited
3339 # range of machines and is used to produce a list of potentially
3340 # dead (ie. unused) functions in the code. (tridge)
3342 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3343 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3344 comm -13 nmused.txt nmfns.txt
3347 # when configure.in is updated, reconfigure
3348 $(srcdir)/configure: $(srcdir)/configure.in
3349 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3351 config.status: $(srcdir)/configure
3352 @echo "WARNING
: you need to run .
/configure
"
3354 Makefile: $(srcdir)/Makefile.in config.status
3355 @echo "WARNING
: you need to run .
/config.status
"
3357 ######################################################################
3358 # Samba Testing Framework
3360 # Check shared libs for unresolved symbols
3363 @$(LIB_PATH_VAR)=./bin && \
3364 export $(LIB_PATH_VAR) && \
3365 for module in $?; do \
3366 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3370 # Check for NSS module problems.
3371 test_nss_modules:: nss_modules
3372 @echo "Testing
$(NSS_MODULES
) "
3373 @$(LIB_PATH_VAR)=./bin && \
3374 export $(LIB_PATH_VAR) && \
3375 for module in $(NSS_MODULES); do \
3376 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3380 # Check for PAM module problems. Specifically, check that every module we
3381 # built can actually be loaded by a minimal PAM-aware application.
3382 test_pam_modules:: pam_modules
3383 @echo "Testing
$(PAM_MODULES
) "
3384 @$(LIB_PATH_VAR)=./bin && \
3385 export $(LIB_PATH_VAR) && \
3386 for module in $(PAM_MODULES); do \
3387 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3393 ## Targets for 'make test'
3396 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3398 oldtest:: all torture timelimit
3399 @echo Running Test suite
3400 @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}
3402 valgrindtest:: all torture timelimit
3403 @echo Running Test suite with valgrind
3404 @LIB_PATH_VAR=$(LIB_PATH_VAR) \
3405 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3406 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3407 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3408 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
" \
3409 PERL="$(PERL
)" $(srcdir)/script/tests/selftest.sh ${selftest_prefix} all ${TEST_EXTRA_ARGS}
3411 selftestdir = ../selftest
3413 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3415 test:: all torture timelimit
3416 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3417 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3418 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3419 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3420 SOURCEDIR="$(srcdir)" \
3421 VFSLIBDIR="$(builddir
)/bin
" \
3422 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3423 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3424 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3425 $(srcdir)/selftest/s3-selftest.sh
3428 $(MAKE) test TESTS=$*
3431 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3434 $(MAKE) test SUBUNIT_FORMATTER=cat
3436 SELFTEST_TESTENV = dc
3439 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3442 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3443 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3444 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3445 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3449 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3450 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3451 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3452 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3456 # Check for Winbind struct 32/64bit padding
3458 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3459 @./script/tests/wb_pad.sh || exit 1;
3465 libsmbclient_examples: libsmbclient
3466 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3468 clean_libsmbclient_examples:
3469 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3471 libnetapi_examples: libnetapi
3472 $(MAKE) -C lib/netapi/examples
3474 clean_libnetapi_examples:
3475 $(MAKE) -C lib/netapi/examples clean
3477 ../source4/configure: ../buildtools/scripts/configure.waf
3478 cd ../source4 && ./autogen.sh
3480 samba4-configure: ../source4/configure
3481 @CFLAGS='' $(MAKE) -C ../source4 reconfigure || ( cd ../source4 && \
3482 CFLAGS='' ./configure.developer --nonshared-binary=smbtorture --enable-auto-reconfigure )
3484 .PHONY: samba4-configure
3486 bin/smbtorture4: $(BINARY_PREREQS) samba4-configure
3487 cd ../source4 && $(MAKE) bin/smbtorture
3488 cp ../source4/bin/smbtorture bin/smbtorture4
3490 bin/ndrdump4: $(BINARY_PREREQS) samba4-configure
3491 cd ../source4 && $(MAKE) bin/ndrdump
3492 cp ../source4/bin/ndrdump bin/ndrdump4
3494 .PHONY: bin/smbtorture4