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 # the following vars come from ../dynconfig/config.m4
23 #LIBEXECDIR=@LIBEXECDIR@
27 #SCRIPTSBINDIR=@SCRIPTSBINDIR@
28 #PYTHONDIR=@PYTHONDIR@
29 #PYTHONARCHDIR=@PYTHONARCHDIR@
30 MODULESDIR
=@MODULESDIR@
31 INCLUDEDIR
=@INCLUDEDIR@
33 #PKGCONFIGDIR=@PKGCONFIGDIR@
35 CODEPAGEDIR
=@CODEPAGEDIR@
36 PAMMODULESDIR
=@PAMMODULESDIR@
38 PRIVATE_DIR
=@PRIVATE_DIR@
43 LOGFILEBASE
=@LOGFILEBASE@
44 SOCKET_DIR
=@SOCKET_DIR@
45 PRIVILEGED_SOCKET_DIR
=@PRIVILEGED_SOCKET_DIR@
46 #WINBINDD_SOCKET_DIR=@WINBINDD_SOCKET_DIR@
47 #WINBINDD_PRIVILEGED_SOCKET_DIR=@WINBINDD_PRIVILEGED_SOCKET_DIR@
48 NMBDSOCKETDIR
=@NMBDSOCKETDIR@
49 #NTP_SIGND_SOCKET_DIR=@NTP_SIGND_SOCKET_DIR@
50 NCALRPCDIR
=@NCALRPCDIR@
51 CONFIGFILE
=@CONFIGFILE@
52 LMHOSTSFILE
=@LMHOSTSFILE@
53 SMB_PASSWD_FILE
=@SMB_PASSWD_FILE@
55 selftest_prefix
=@selftest_prefix@
56 selftest_shrdir
=@selftest_shrdir@
57 smbtorture4_path
=@smbtorture4_path@
58 smbtorture4_option
=@smbtorture4_option@
59 selftest_custom_conf
=@selftest_custom_conf@
64 LIB_PATH_VAR
=@LIB_PATH_VAR@
66 ## Dynamic shared libraries build settings
67 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
68 DSO_EXPORTS
=@DSO_EXPORTS@
69 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
71 # The MODULE_EXPORTS variable contains the platform-specific linker flags
72 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
73 MODULE_EXPORTS
=@MODULE_EXPORTS@
75 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
76 # (GCC) warnings. This is done automatically for --enable-developer,
77 # --enable-picky-developer and --enable-krb5developer.
78 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
81 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
86 LDSHFLAGS
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
87 LDSHFLAGS_MODULES
=$(PICFLAG
) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@
88 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
90 WINBIND_NSS_LDSHFLAGS
=$(PICFLAG
) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
-lc @LDSHFLAGS_Z_DEFS@
99 TERMLDFLAGS
=@TERMLDFLAGS@
101 PRINT_LIBS
=@PRINT_LIBS@
102 ZLIB_LIBS
=@ZLIB_LIBS@
103 AUTH_LIBS
=@AUTH_LIBS@
105 PASSDB_LIBS
=@PASSDB_LIBS@
106 IDMAP_LIBS
=@IDMAP_LIBS@
108 LDAP_LIBS
=@LDAP_LIBS@
109 NSCD_LIBS
=@NSCD_LIBS@
110 UUID_LIBS
=@UUID_LIBS@
111 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
112 LIBWBCLIENT_LIBS
=@LIBWBCLIENT_LIBS@
113 PTHREAD_LDFLAGS
=@PTHREAD_LDFLAGS@
114 PTHREAD_CFLAGS
=@PTHREAD_CFLAGS@
115 DNSSD_LIBS
=@DNSSD_LIBS@
116 AVAHI_LIBS
=@AVAHI_LIBS@
118 LIBTALLOC
=@LIBTALLOC_STATIC@ @LIBTALLOC_SHARED@
119 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
120 LIBREPLACE_LIBS
=@LIBREPLACE_LIBS@
121 LIBTDB
=@LIBTDB_STATIC@ @LIBTDB_SHARED@
122 LIBTDB_LIBS
=@LIBTDB_LIBS@
124 LIBNETAPI
=@LIBNETAPI_STATIC@ @LIBNETAPI_SHARED@
125 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
126 LIBSMBCLIENT_LIBS
=@LIBSMBCLIENT_LIBS@
127 LIBSMBSHAREMODES_LIBS
=@LIBSMBSHAREMODES_LIBS@
129 TALLOCTORT
= @TALLOCTORT@
131 TDBBACKUP
= @TDBBACKUP@
134 TDBRESTORE
= @TDBRESTORE@
135 TDBTORTURE
= @TDBTORTURE@
136 PTHREADPOOLTEST
= @PTHREADPOOLTEST@
139 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
140 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
141 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
142 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
146 builddir
=@abs_builddir@
147 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
148 # will search for a POSIX-compliant shell, and that might not be
149 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
153 # See the autoconf manual "Installation Directory Variables" for a
154 # discussion of the subtle use of these variables.
156 VFSLIBDIR
= $(MODULESDIR
)/vfs
157 PERFCOUNTLIBDIR
= $(MODULESDIR
)/perfcount
158 PDBLIBDIR
= $(MODULESDIR
)/pdb
159 RPCLIBDIR
= $(MODULESDIR
)/rpc
160 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
161 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
162 CHARSETLIBDIR
= $(MODULESDIR
)/charset
163 AUTHLIBDIR
= $(MODULESDIR
)/auth
164 CONFIGLIBDIR
= $(MODULESDIR
)/config
165 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
166 VARDIR
= @localstatedir@
168 # The permissions to give the executables and other data
169 INSTALLPERMS_BIN
= 0755
170 INSTALLPERMS_DATA
= 0644
182 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
183 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
184 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
185 -DSBINDIR
=\"$(SBINDIR
)\" \
186 -DBINDIR
=\"$(BINDIR
)\" \
187 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
188 -DSWATDIR
=\"$(SWATDIR
)\" \
189 -DLOCKDIR
=\"$(LOCKDIR
)\" \
190 -DPIDDIR
=\"$(PIDDIR
)\" \
191 -DLIBDIR
=\"$(LIBDIR
)\" \
192 -DMODULESDIR
=\"$(MODULESDIR
)\" \
193 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
194 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
195 -DNCALRPCDIR
=\"$(NCALRPCDIR
)\" \
196 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
197 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
198 -DCACHEDIR
=\"$(CACHEDIR
)\" \
199 -DSTATEDIR
=\"$(STATEDIR
)\" \
200 -DNMBDSOCKETDIR
=\"$(NMBDSOCKETDIR
)\" \
201 -DLOCALEDIR
=\"$(LOCALEDIR
)\" \
202 -DDATADIR
=\"$(DATADIR
)\" \
203 -DSETUPDIR
=\"$(SETUPDIR
)\"
205 # Note that all executable programs now provide for an optional executable suffix.
207 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
209 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
210 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@ \
211 bin
/smbta-util@EXEEXT@
212 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@
$(TDBBACKUP
) \
213 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
$(TDBDUMP
) \
216 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
217 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
218 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
220 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
221 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
222 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
223 bin
/pdbtest@EXEEXT@
$(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
224 $(TDBTORTURE
) $(PTHREADPOOLTEST
) \
225 bin
/smbconftort@EXEEXT@ bin
/vlp@EXEEXT@
227 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
228 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
230 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
231 $(TALLOCTORT
) bin
/replacetort@EXEEXT@ \
232 bin
/log2pcap@EXEEXT@ \
233 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@ \
234 bin
/dbwrap_tool@EXEEXT@ \
235 bin
/dbwrap_torture@EXEEXT@
237 PAM_MODULES
= @PAM_MODULES@
239 NSS_MODULES
= @NSS_MODULES@
241 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
243 VFS_MODULES
= @VFS_MODULES@
244 PERFCOUNT_MODULES
= @PERFCOUNT_MODULES@
245 PDB_MODULES
= @PDB_MODULES@
246 IDMAP_MODULES
= @IDMAP_MODULES@
247 CHARSET_MODULES
= @CHARSET_MODULES@
248 AUTH_MODULES
= @AUTH_MODULES@
249 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
250 GPEXT_MODULES
= @GPEXT_MODULES@
251 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(IDMAP_MODULES
) \
252 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
253 $(GPEXT_MODULES
) $(PERFCOUNT_MODULES
)
255 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
257 ######################################################################
259 ######################################################################
261 TDB_LIB_OBJ
= lib
/util_tdb.o ..
/lib
/util
/util_tdb.o \
262 ..
/lib
/util
/tdb_wrap.o \
263 lib
/dbwrap
/dbwrap.o \
264 lib
/dbwrap
/dbwrap_open.o \
265 lib
/dbwrap
/dbwrap_tdb.o \
266 lib
/dbwrap
/dbwrap_ctdb.o \
268 lib
/dbwrap
/dbwrap_rbt.o
270 TDB_VALIDATE_OBJ
= lib
/tdb_validate.o
272 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
274 VERSION_OBJ
= lib
/version.o
276 WBCOMMON_OBJ
= ..
/nsswitch
/wb_common.o
280 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
282 AVAHI_OBJ
= @AVAHI_OBJ@
284 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
286 PASSCHANGE_OBJ
= libsmb
/passchange.o
288 LIBNDR_DRSUAPI_OBJ
= ..
/librpc
/ndr
/ndr_drsuapi.o \
289 ..
/librpc
/ndr
/ndr_compression.o \
290 librpc
/gen_ndr
/ndr_drsuapi.o \
291 ..
/librpc
/ndr
/ndr_drsblobs.o \
292 librpc
/gen_ndr
/ndr_drsblobs.o
294 ZLIB_OBJ
= @ZLIB_OBJS@
296 COMPRESSION_OBJ
= ..
/lib
/compression
/mszip.o \
297 ..
/lib
/compression
/lzxpress.o \
300 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
303 LIBNDR_NTLMSSP_OBJ
= librpc
/gen_ndr
/ndr_ntlmssp.o \
304 ..
/librpc
/ndr
/ndr_ntlmssp.o
306 LIBNDR_OBJ
= ..
/librpc
/ndr
/ndr_basic.o \
307 ..
/librpc
/ndr
/ndr.o \
308 ..
/librpc
/ndr
/ndr_misc.o \
309 librpc
/gen_ndr
/ndr_misc.o \
310 librpc
/gen_ndr
/ndr_security.o \
311 ..
/librpc
/ndr
/ndr_sec_helper.o \
312 ..
/librpc
/ndr
/ndr_string.o \
313 ..
/librpc
/ndr
/uuid.o \
314 ..
/librpc
/ndr
/util.o \
315 librpc
/gen_ndr
/ndr_server_id.o \
316 librpc
/gen_ndr
/ndr_dcerpc.o
318 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
319 librpc
/gen_ndr
/ndr_lsa.o
321 LIBNDR_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon.o \
322 ..
/librpc
/ndr
/ndr_netlogon.o
324 LIBNDR_SCHANNEL_OBJ
= librpc
/gen_ndr
/ndr_schannel.o \
325 ..
/librpc
/ndr
/ndr_schannel.o
327 LIBNDR_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss.o \
328 ..
/librpc
/ndr
/ndr_spoolss_buf.o
330 LIBNDR_NTPRINTING_OBJ
= librpc
/gen_ndr
/ndr_ntprinting.o \
331 ..
/librpc
/ndr
/ndr_ntprinting.o \
333 LIBNDR_PREG_OBJ
= librpc
/gen_ndr
/ndr_preg.o \
334 ..
/librpc
/ndr
/ndr_preg.o
336 LIBNDR_XATTR_OBJ
= librpc
/gen_ndr
/ndr_xattr.o \
337 ..
/librpc
/ndr
/ndr_xattr.o
339 LIBCLI_SPOOLSS_OBJ
= librpc
/gen_ndr
/ndr_spoolss_c.o \
340 rpc_client
/cli_spoolss.o \
341 rpc_client
/init_spoolss.o \
342 rpc_client
/cli_winreg_spoolss.o \
343 printing
/nt_printing_os2.o
345 LIBCLI_EVENTLOG_OBJ
= librpc
/gen_ndr
/ndr_eventlog_c.o
347 LIBCLI_WINREG_OBJ
= librpc
/gen_ndr
/ndr_winreg_c.o \
348 rpc_client
/cli_winreg.o
350 LIBCLI_WINREG_INT_OBJ
= $(LIBCLI_WINREG_OBJ
) \
351 rpc_client
/cli_winreg_int.o
353 LIBCLI_NTSVCS_OBJ
= librpc
/gen_ndr
/ndr_ntsvcs_c.o
355 LIBCLI_DRSUAPI_OBJ
= librpc
/gen_ndr
/ndr_drsuapi_c.o
357 LIBCLI_DFS_OBJ
= librpc
/gen_ndr
/ndr_dfs_c.o
359 LIBCLI_ECHO_OBJ
= librpc
/gen_ndr
/ndr_echo_c.o
361 LIBCLI_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/ndr_initshutdown_c.o
363 LIBCLI_DSSETUP_OBJ
= librpc
/gen_ndr
/ndr_dssetup_c.o
365 LIBCLI_SVCCTL_OBJ
= librpc
/gen_ndr
/ndr_svcctl_c.o
367 LIBCLI_WKSSVC_OBJ
= librpc
/gen_ndr
/ndr_wkssvc_c.o
369 LIBCLI_SRVSVC_OBJ
= librpc
/gen_ndr
/ndr_srvsvc_c.o
371 LIBCLI_LSA_OBJ
= 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
/ndr_samr_c.o \
376 rpc_client
/cli_samr.o
378 LIBCLI_NETLOGON_OBJ
= librpc
/gen_ndr
/ndr_netlogon_c.o \
379 rpc_client
/cli_netlogon.o \
380 rpc_client
/util_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
/util_paths.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 \
423 ..
/lib
/util
/select.o ..
/lib
/util
/util_pw.o ..
/lib
/util
/server_id.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
) $(LIBTSOCKET_OBJ
) \
432 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
433 lib
/messages_ctdbd.o lib
/ctdb_packet.o lib
/ctdbd_conn.o \
434 ..
/lib
/socket
/interfaces.o lib
/memcache.o \
438 lib
/util_transfer_file.o ..
/lib
/async_req
/async_sock.o \
441 $(VERSION_OBJ
) lib
/charcnv.o ..
/lib
/util
/charset
/convert_string.o \
442 ..
/lib
/util
/charset
/pull_push.o \
443 lib
/fstring.o ..
/lib
/util
/debug.o ..
/lib
/util
/debug_s3.o ..
/lib
/util
/fault.o \
444 lib
/interface.o lib
/pidfile.o lib
/dumpcore.o \
445 lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
447 ..
/libds
/common
/flag_mapping.o \
448 lib
/access.o lib
/smbrun.o \
449 ..
/lib
/util
/bitmap.o ..
/lib
/util
/dprintf.o
$(UTIL_REG_OBJ
) \
450 lib
/wins_srv.o lib
/string_init.o \
451 lib
/util_str.o ..
/lib
/util
/util_str_common.o \
452 ..
/lib
/util
/util_str.o \
453 ..
/lib
/util
/base64.o lib
/util_sid.o \
454 ..
/lib
/util
/charset
/util_unistr.o \
455 ..
/lib
/util
/charset
/util_unistr_w.o ..
/lib
/util
/charset
/codepoints.o ..
/lib
/util
/charset
/util_str.o lib
/util_file.o \
456 lib
/util.o lib
/util_malloc.o lib
/namearray.o lib
/util_cmdline.o lib
/util_names.o \
457 lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
458 lib
/substitute.o lib
/substitute_generic.o ..
/lib
/util
/substitute.o lib
/dbwrap
/dbwrap_util.o \
459 lib
/ms_fnmatch.o ..
/lib
/util
/ms_fnmatch.o lib
/errmap_unix.o ..
/libcli
/util
/errmap_unix.o \
460 lib
/tallocmsg.o lib
/dmallocmsg.o \
461 libsmb
/clisigning.o libsmb
/smb_signing.o \
462 ..
/lib
/util
/charset
/iconv.o intl
/lang_tdb.o \
463 lib
/conn_tdb.o lib
/adt_tree.o lib
/gencache.o \
464 lib
/sessionid_tdb.o \
465 lib
/module.o lib
/events.o @LIBTEVENT_OBJ0@ \
467 lib
/server_contexts.o \
468 lib
/server_prefork.o \
469 lib
/server_prefork_util.o \
470 lib
/ldap_escape.o @CHARSET_STATIC@ \
471 ..
/libcli
/security
/secdesc.o ..
/libcli
/security
/access_check.o \
472 ..
/libcli
/security
/secace.o ..
/libcli
/security
/object_tree.o \
473 ..
/libcli
/security
/sddl.o ..
/libcli
/security
/session.o \
474 ..
/libcli
/security
/secacl.o @PTHREADPOOL_OBJ@ \
476 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
477 lib
/file_id.o lib
/idmap_cache.o \
478 ..
/libcli
/security
/dom_sid.o ..
/libcli
/security
/security_descriptor.o \
479 ..
/libcli
/security
/security_token.o ..
/libcli
/security
/util_sid.o \
482 LIB_DUMMY_OBJ
= lib
/smbd_shim.o lib
/dummyparam.o
483 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
485 READLINE_OBJ
= ..
/libcli
/smbreadline
/smbreadline.o
487 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
488 # Be sure to include them into your application
489 POPT_LIB_OBJ
= lib
/popt_common.o
491 PARAM_WITHOUT_REG_OBJ
= ..
/dynconfig
/dynconfig.o param
/loadparm.o param
/loadparm_server_role.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
492 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
493 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
495 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
497 LIBADDNS_OBJ0
= ..
/lib
/addns
/dnsrecord.o ..
/lib
/addns
/dnsutils.o ..
/lib
/addns
/dnssock.o \
498 ..
/lib
/addns
/dnsgss.o ..
/lib
/addns
/dnsmarshall.o ..
/lib
/addns
/error.o
499 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
)
501 GPEXT_OBJ
= ..
/libgpo
/gpext
/gpext.o @GPEXT_STATIC@
503 LIBGPO_OBJ0
= ..
/libgpo
/gpo_ldap.o ..
/libgpo
/gpo_ini.o ..
/libgpo
/gpo_util.o \
504 ..
/libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o ..
/libgpo
/gpo_sec.o \
507 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
509 LIBADS_OBJ
= libads
/ldap.o \
510 libads
/sasl.o libads
/sasl_wrapping.o \
511 libads
/krb5_setpw.o \
512 libads
/kerberos_util.o \
514 libads
/ads_struct.o libads
/kerberos_keytab.o \
515 libads
/disp_sec.o libads
/ldap_utils.o \
516 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
518 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o ..
/auth
/kerberos
/kerberos_pac.o \
519 ..
/librpc
/ndr
/ndr_krb5pac.o \
520 librpc
/gen_ndr
/ndr_krb5pac.o
522 LIBADS_PRINTER_OBJ
= libads
/ldap_printer.o
524 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_account_secrets.o passdb
/machine_sid.o \
525 librpc
/gen_ndr
/ndr_secrets.o \
528 LIBNBT_OBJ
= ..
/libcli
/nbt
/nbtname.o \
529 ..
/libcli
/netlogon
/netlogon.o \
530 ..
/libcli
/netlogon
/ndr_netlogon.o \
531 librpc
/gen_ndr
/ndr_nbt.o \
532 librpc
/gen_ndr
/ndr_svcctl.o \
533 ..
/librpc
/ndr
/ndr_svcctl.o
535 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
536 libsmb
/namequery.o ..
/libcli
/nbt
/lmhosts.o ..
/libcli
/dns
/dns_hosts_file.o libsmb
/conncache.o \
537 libads
/dns.o libads
/sitename_cache.o
539 NTERR_OBJ
= ..
/libcli
/util
/nterr.o libsmb
/smberr.o
540 DOSERR_OBJ
= ..
/libcli
/util
/doserr.o
541 ERRORMAP_OBJ
= ..
/libcli
/util
/errormap.o libsmb
/errormap.o
542 DCE_RPC_ERR_OBJ
= ..
/librpc
/rpc
/dcerpc_error.o
544 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
)
546 LIBSMB_ERR_OBJ1
= ..
/libcli
/auth
/smbdes.o ..
/libcli
/auth
/smbencrypt.o ..
/libcli
/auth
/msrpc_parse.o ..
/libcli
/auth
/session.o
548 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) $(LIBSMB_ERR_OBJ1
) \
552 ..
/libcli
/auth
/ntlm_check.o \
554 libsmb
/ntlmssp_wrap.o \
555 ..
/auth
/gensec
/gensec.o \
556 ..
/libcli
/auth
/ntlmssp.o \
557 ..
/libcli
/auth
/ntlmssp_sign.o \
558 $(LIBNDR_NTLMSSP_OBJ
) \
559 ..
/libcli
/auth
/ntlmssp_ndr.o \
560 ..
/libcli
/auth
/ntlmssp_server.o
562 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
565 LIBCLI_LDAP_MESSAGE_OBJ
= ..
/libcli
/ldap
/ldap_message.o
566 LIBCLI_LDAP_NDR_OBJ
= ..
/libcli
/ldap
/ldap_ndr.o lib
/ldb_compat.o
568 LIBTSOCKET_OBJ
= ..
/lib
/tsocket
/tsocket.o \
569 ..
/lib
/tsocket
/tsocket_helpers.o \
570 ..
/lib
/tsocket
/tsocket_bsd.o
572 CLDAP_OBJ
= libads
/cldap.o \
573 ..
/libcli
/cldap
/cldap.o \
574 ..
/lib
/util
/idtree.o \
575 $(LIBCLI_LDAP_MESSAGE_OBJ
) $(LIBCLI_LDAP_NDR_OBJ
)
577 TLDAP_OBJ
= lib
/tldap.o lib
/tldap_util.o lib
/util_tsock.o
579 SCHANNEL_OBJ
= ..
/libcli
/auth
/credentials.o \
580 ..
/libcli
/auth
/schannel_sign.o \
581 ..
/libcli
/auth
/schannel_state_tdb.o \
582 $(LIBNDR_SCHANNEL_OBJ
)
584 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
585 libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libsmb
/clispnego.o \
586 ..
/libcli
/auth
/spnego_parse.o \
588 libsmb
/reparse_symlink.o \
589 libsmb
/clisymlink.o \
590 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
591 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
592 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
593 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
594 libsmb
/clioplock.o libsmb
/clirap2.o \
595 libsmb
/smb_seal.o libsmb
/async_smb.o \
597 libsmb
/smb2cli_base.o \
598 libsmb
/smb2cli_negprot.o \
599 libsmb
/smb2cli_session.o \
600 libsmb
/smb2cli_tcon.o \
601 libsmb
/smb2cli_create.o \
602 ..
/libcli
/smb
/smb2_create_blob.o \
603 libsmb
/smb2cli_close.o \
604 libsmb
/smb2cli_flush.o \
605 libsmb
/smb2cli_read.o \
606 libsmb
/smb2cli_write.o \
607 libsmb
/smb2cli_query_directory.o \
608 libsmb
/cli_np_tstream.o \
609 libsmb
/smbsock_connect.o \
616 LIBMSRPC_OBJ
= $(SCHANNEL_OBJ
) \
617 rpc_client
/cli_pipe.o \
618 librpc
/crypto
/gse_krb5.o \
619 librpc
/crypto
/gse.o \
620 ..
/auth
/kerberos
/gssapi_pac.o \
621 librpc
/crypto
/cli_spnego.o \
622 librpc
/rpc
/rpc_common.o \
623 rpc_client
/rpc_transport_np.o \
624 rpc_client
/rpc_transport_sock.o \
625 rpc_client
/rpc_transport_tstream.o \
626 ..
/librpc
/rpc
/binding.o \
627 ..
/librpc
/rpc
/dcerpc_util.o \
628 ..
/librpc
/rpc
/binding_handle.o \
629 librpc
/rpc
/dcerpc_helpers.o \
630 $(LIBCLI_EPMAPPER_OBJ
)
632 LIBMSRPC_GEN_OBJ
= $(LIBNDR_GEN_OBJ
)
635 # registry-related objects
637 UTIL_REG_OBJ
= ..
/libcli
/registry
/util_reg.o
639 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
640 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
641 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
643 REGFIO_OBJ
= registry
/regfio.o \
646 REG_API_REGF_OBJ
= registry
/reg_api_regf.o
648 REGOBJS_OBJ
= registry
/reg_objects.o
650 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
652 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
654 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
655 registry
/reg_backend_shares.o \
656 registry
/reg_backend_netlogon_params.o \
657 registry
/reg_backend_prod_options.o \
658 registry
/reg_backend_tcpip_params.o \
659 registry
/reg_backend_hkpt_params.o \
660 registry
/reg_backend_current_version.o \
661 registry
/reg_backend_perflib.o
663 REG_BASE_OBJ
= registry
/reg_api.o \
664 registry
/reg_dispatcher.o \
665 registry
/reg_cachehook.o \
667 registry
/reg_util_internal.o \
669 $(REG_BACKENDS_BASE_OBJ
) \
670 $(REG_INIT_BASIC_OBJ
)
672 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
673 registry
/reg_util_token.o \
674 registry
/reg_api_util.o \
675 $(REG_BACKENDS_SMBCONF_OBJ
) \
676 $(REG_INIT_SMBCONF_OBJ
)
678 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
679 $(REG_BACKENDS_EXTRA_OBJ
) \
680 $(REG_INIT_FULL_OBJ
) \
681 registry
/reg_perfcount.o \
682 librpc
/gen_ndr
/ndr_perfcount.o
684 LIB_EVENTLOG_OBJ
= lib
/eventlog
/eventlog.o
686 DCE_RPC_EP_OBJ
= librpc
/rpc
/dcerpc_ep.o
688 RPC_LSARPC_OBJ
= rpc_server
/lsa
/srv_lsa_nt.o \
689 librpc
/gen_ndr
/srv_lsa.o
691 RPC_NETLOGON_OBJ
= rpc_server
/netlogon
/srv_netlog_nt.o \
692 librpc
/gen_ndr
/srv_netlogon.o
694 RPC_SAMR_OBJ
= rpc_server
/samr
/srv_samr_nt.o \
695 rpc_server
/samr
/srv_samr_util.o \
696 rpc_server
/samr
/srv_samr_chgpasswd.o \
697 librpc
/gen_ndr
/srv_samr.o
699 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/initshutdown
/srv_initshutdown_nt.o
701 RPC_WINREG_OBJ
= rpc_server
/winreg
/srv_winreg_nt.o \
702 librpc
/gen_ndr
/srv_winreg.o
704 RPC_DSSETUP_OBJ
= rpc_server
/dssetup
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
706 RPC_SRVSVC_OBJ
= rpc_server
/srvsvc
/srv_srvsvc_nt.o \
707 librpc
/gen_ndr
/srv_srvsvc.o
709 RPC_WKSSVC_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o \
710 rpc_server
/wkssvc
/srv_wkssvc_nt.o
712 RPC_SVCCTL_OBJ
= rpc_server
/svcctl
/srv_svcctl_nt.o \
713 rpc_server
/svcctl
/srv_svcctl_reg.o \
714 librpc
/gen_ndr
/srv_svcctl.o \
715 services
/svc_winreg_glue.o \
716 services
/svc_spoolss.o services
/svc_rcinit.o \
717 services
/svc_netlogon.o services
/svc_winreg.o \
720 RPC_NTSVCS_OBJ
= rpc_server
/ntsvcs
/srv_ntsvcs_nt.o \
721 librpc
/gen_ndr
/srv_ntsvcs.o
723 RPC_NETDFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o \
724 rpc_server
/dfs
/srv_dfs_nt.o
726 RPC_SPOOLSS_OBJ
= rpc_server
/spoolss
/srv_spoolss_nt.o \
727 rpc_server
/spoolss
/srv_spoolss_util.o \
728 librpc
/gen_ndr
/srv_spoolss.o
730 RPC_EVENTLOG_OBJ
= rpc_server
/eventlog
/srv_eventlog_nt.o \
731 rpc_server
/eventlog
/srv_eventlog_reg.o \
732 $(LIB_EVENTLOG_OBJ
) librpc
/gen_ndr
/srv_eventlog.o
734 NPA_TSTREAM_OBJ
= ..
/libcli
/named_pipe_auth
/npa_tstream.o \
735 librpc
/gen_ndr
/ndr_named_pipe_auth.o \
736 ..
/auth
/auth_sam_reply.o librpc
/gen_ndr
/ndr_auth.o ..
/librpc
/ndr
/ndr_auth.o
738 RPC_NCACN_NP
= rpc_server
/srv_pipe_register.o rpc_server
/rpc_ncacn_np.o \
739 rpc_server
/rpc_handles.o rpc_server
/rpc_contexts.o \
740 rpc_server
/srv_access_check.o
742 RPC_CONFIG
= rpc_server
/rpc_config.o
744 RPC_SERVICE
= rpc_server
/rpc_server.o
746 RPC_CRYPTO
= rpc_server
/dcesrv_ntlmssp.o \
747 rpc_server
/dcesrv_gssapi.o \
748 rpc_server
/dcesrv_spnego.o
750 RPC_PIPE_OBJ
= rpc_server
/srv_pipe.o rpc_server
/srv_pipe_hnd.o \
751 $(RPC_CONFIG
) $(RPC_NCACN_NP
) $(RPC_SERVICE
) $(RPC_CRYPTO
)
753 RPC_RPCECHO_OBJ
= rpc_server
/echo
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
755 RPC_EPMAPPER_OBJ
= rpc_server
/epmapper
/srv_epmapper.o librpc
/gen_ndr
/srv_epmapper.o
757 RPC_SERVER_REGISTER_OBJ
= rpc_server
/rpc_ep_register.o
$(DCE_RPC_EP_OBJ
)
759 RPC_SERVER_OBJ
= $(RPC_LSARPC_OBJ
) $(RPC_WINREG_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
760 $(RPC_DSSETUP_OBJ
) $(RPC_WKSSVC_OBJ
) $(RPC_SVCCTL_OBJ
) \
761 $(RPC_NTSVCS_OBJ
) $(RPC_NETLOGON_OBJ
) $(RPC_NETDFS_OBJ
) \
762 $(RPC_SRVSVC_OBJ
) $(RPC_SPOOLSS_OBJ
) $(RPC_EVENTLOG_OBJ
) \
763 $(RPC_SAMR_OBJ
) $(RPC_RPCECHO_OBJ
) $(RPC_EPMAPPER_OBJ
) \
764 $(RPC_PIPE_OBJ
) $(NPA_TSTREAM_OBJ
) \
765 $(LIBCLI_SPOOLSS_OBJ
) \
766 $(LIBCLI_WINREG_INT_OBJ
) \
767 $(LIBCLI_SRVSVC_OBJ
) \
770 $(LIBCLI_NETLOGON_OBJ
) \
771 $(RPC_SERVER_REGISTER_OBJ
) \
772 $(RPC_CLIENT_SCHANNEL_OBJ
) \
773 rpc_server
/rpc_sock_helper.o \
774 rpc_server
/rpc_service_setup.o \
775 rpc_client
/init_netlogon.o \
776 rpc_client
/init_samr.o
778 RPC_CLIENT_SCHANNEL_OBJ
= rpc_client
/cli_pipe_schannel.o
780 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
782 PRIVILEGES_BASIC_OBJ
= ..
/libcli
/security
/privileges.o
784 PRIVILEGES_OBJ
= lib
/privileges.o
786 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
788 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
789 lib
/util_wellknown.o lib
/util_builtin.o passdb
/pdb_compat.o \
790 lib
/util_unixsids.o passdb
/lookup_sid.o \
791 passdb
/login_cache.o @PDB_STATIC@ \
792 passdb
/account_pol.o
$(PRIVILEGES_OBJ
) \
793 lib
/util_nscd.o lib
/winbind_util.o
$(SERVER_MUTEX_OBJ
) \
796 DEVEL_HELP_WEIRD_OBJ
= ..
/lib
/util
/charset
/weird.o
797 CP850_OBJ
= ..
/lib
/util
/charset
/CP850.o
798 CP437_OBJ
= ..
/lib
/util
/charset
/CP437.o
799 CHARSET_MACOSXFS_OBJ
= ..
/lib
/util
/charset
/charset_macosxfs.o
801 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
803 PROFILE_OBJ
= profile
/profile.o
804 PROFILES_OBJ
= utils
/profiles.o \
807 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
811 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o \
814 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o \
815 librpc
/gen_ndr
/ndr_notify.o librpc
/gen_ndr
/ndr_file_id.o
817 FNAME_UTIL_OBJ
= lib
/filename_util.o
819 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
820 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
821 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
822 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
823 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
824 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
825 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
826 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
827 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
828 VFS_CAP_OBJ
= modules
/vfs_cap.o
829 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
830 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
831 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
832 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
833 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
834 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
835 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
836 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
837 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
838 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
839 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
840 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
841 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
842 VFS_CATIA_OBJ
= modules
/vfs_catia.o
843 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
844 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
845 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
846 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
847 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
848 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
849 VFS_GPFS_HSM_NOTIFY_OBJ
= modules
/vfs_gpfs_hsm_notify.o
850 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
851 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
852 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
853 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
854 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
855 VFS_PREOPEN_OBJ
= modules
/vfs_preopen.o
856 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
857 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
858 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
859 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
860 VFS_ONEFS_OBJ
= modules
/vfs_onefs.o modules
/onefs_acl.o modules
/onefs_system.o \
861 modules
/onefs_open.o modules
/onefs_streams.o modules
/onefs_dir.o \
862 modules
/onefs_cbrl.o modules
/onefs_notify.o modules
/onefs_config.o
863 VFS_ONEFS_SHADOW_COPY_OBJ
= modules
/vfs_onefs_shadow_copy.o modules
/onefs_shadow_copy.o
864 PERFCOUNT_ONEFS_OBJ
= modules
/perfcount_onefs.o
865 PERFCOUNT_TEST_OBJ
= modules
/perfcount_test.o
866 VFS_DIRSORT_OBJ
= modules
/vfs_dirsort.o
867 VFS_SCANNEDONLY_OBJ
= modules
/vfs_scannedonly.o
868 VFS_CROSSRENAME_OBJ
= modules
/vfs_crossrename.o
869 VFS_LINUX_XFS_SGID_OBJ
= modules
/vfs_linux_xfs_sgid.o
870 VFS_TIME_AUDIT_OBJ
= modules
/vfs_time_audit.o
872 PAM_ERRORS_OBJ
= ..
/libcli
/auth
/pam_errors.o
873 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
$(PAM_ERRORS_OBJ
)
875 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
877 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
879 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
880 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
881 AUTH_SAM_OBJ
= auth
/auth_sam.o auth
/check_samsec.o
882 AUTH_SERVER_OBJ
= auth
/auth_server.o
883 AUTH_UNIX_OBJ
= auth
/auth_unix.o
884 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
885 AUTH_WBC_OBJ
= auth
/auth_wbc.o
886 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
887 AUTH_NETLOGOND_OBJ
= auth
/auth_netlogond.o
889 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
891 auth
/server_info_sam.o \
895 auth
/auth_compat.o auth
/auth_ntlmssp.o \
896 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
898 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
900 SMBD_OBJ_MAIN
= smbd
/server.o smbd
/server_exit.o smbd
/msg_idmap.o
902 BUILDOPT_OBJ
= smbd
/build_options.o
904 SMBD_OBJ_SRV
= smbd
/server_reload.o \
905 smbd
/files.o smbd
/connection.o \
906 smbd
/utmp.o smbd
/session.o \
907 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/conn_idle.o smbd
/conn_msg.o \
908 smbd
/share_access.o smbd
/fileio.o \
909 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
910 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
911 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
912 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
913 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
914 smbd
/vfs.o smbd
/perfcount.o smbd
/statcache.o smbd
/seal.o \
915 smbd
/posix_acls.o lib
/sysacls.o \
916 smbd
/process.o smbd
/service.o param
/service.o smbd
/error.o \
919 printing
/printspoolss.o printing
/spoolssd.o \
920 lib
/sysquotas.o lib
/sysquotas_linux.o \
921 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
922 lib
/sysquotas_nfs.o \
925 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
926 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
927 smbd
/dmapi.o smbd
/signing.o \
929 smbd
/dnsregister.o smbd
/globals.o \
931 smbd
/smb2_signing.o \
933 smbd
/smb2_negprot.o \
934 smbd
/smb2_sesssetup.o \
943 smbd
/smb2_keepalive.o \
946 smbd
/smb2_getinfo.o \
947 smbd
/smb2_setinfo.o \
949 $(MANGLE_OBJ
) @VFS_STATIC@
951 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
953 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
954 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
955 $(NOTIFY_OBJ
) $(FNAME_UTIL_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
956 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(AVAHI_OBJ
) \
957 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) \
958 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
959 $(SMBLDAP_OBJ
) $(LIBNET_OBJ
) \
961 $(PRIVILEGES_BASIC_OBJ
) \
963 $(REG_API_REGF_OBJ
) \
966 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
967 printing
/print_cups.o printing
/print_generic.o \
968 printing
/lpq_parse.o printing
/load.o \
969 printing
/print_iprint.o printing
/print_standard.o \
970 printing
/printer_list.o librpc
/gen_ndr
/ndr_printcap.o
972 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
973 PRINTBACKEND_OBJ
= printing
/printing.o \
974 printing
/nt_printing.o \
975 printing
/nt_printing_tdb.o \
976 printing
/nt_printing_migrate.o \
977 printing
/nt_printing_migrate_internal.o \
978 printing
/nt_printing_ads.o \
979 librpc
/gen_ndr
/ndr_ntprinting.o \
980 ..
/librpc
/ndr
/ndr_ntprinting.o \
981 printing
/queue_process.o \
984 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
986 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
987 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
988 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
989 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
990 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
991 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
992 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
993 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
994 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
995 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
996 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
997 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
999 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1000 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1003 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
1004 web
/swat.o web
/neg_lang.o
1006 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
1007 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(KRBCLIENT_OBJ
) \
1008 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
1009 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1010 $(PASSCHANGE_OBJ
) $(FNAME_UTIL_OBJ
) \
1011 $(LIBCLI_SAMR_OBJ
) \
1012 rpc_client
/init_lsa.o
1014 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
1015 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
1016 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1017 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1019 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1020 $(LIBSMB_ERR_OBJ
) $(POPT_LIB_OBJ
) $(PRINTBASE_OBJ
)
1022 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
1023 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
1024 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1025 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1026 $(LIBMSRPC_GEN_OBJ
) \
1028 $(LIBCLI_SRVSVC_OBJ
)
1030 TESTPARM_OBJ
= utils
/testparm.o \
1031 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1034 SMBTA_UTIL_OBJ
= utils
/smbta-util.o
$(PARAM_OBJ
) $(POPT_LIB_OBJ
) \
1035 $(LIB_NONSMBD_OBJ
) \
1036 $(LIBSMB_ERR_OBJ
) $(FNAME_UTIL_OBJ
)
1038 TEST_LP_LOAD_OBJ
= param
/test_lp_load.o \
1039 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1040 $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
1042 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
1044 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
1045 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
1046 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1047 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1048 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1049 $(LIBCLI_SAMR_OBJ
) \
1050 rpc_client
/init_lsa.o
1052 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
1054 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
1055 $(LIBCLI_LDAP_NDR_OBJ
) \
1056 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1057 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) ..
/lib
/util
/asn1.o
1059 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
)
1061 DISPLAY_SEC_OBJ
= ..
/libcli
/security
/display_sec.o
1063 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
1064 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
1065 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
1066 rpcclient
/cmd_dfs.o rpcclient
/cmd_epmapper.o \
1067 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
1068 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
1069 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
1070 rpcclient
/cmd_drsuapi.o rpcclient
/cmd_eventlog.o \
1071 rpcclient
/cmd_winreg.o \
1074 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
1075 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1076 $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
1077 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
1078 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
1079 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1080 $(LIBCLI_SPOOLSS_OBJ
) \
1081 $(LIBCLI_EVENTLOG_OBJ
) \
1082 $(LIBCLI_NTSVCS_OBJ
) \
1083 $(LIBCLI_DRSUAPI_OBJ
) \
1085 $(LIBCLI_ECHO_OBJ
) \
1086 $(LIBCLI_DSSETUP_OBJ
) \
1087 $(LIBCLI_WKSSVC_OBJ
) \
1088 $(LIBCLI_SRVSVC_OBJ
) \
1090 $(LIBCLI_SAMR_OBJ
) \
1091 $(LIBCLI_WINREG_OBJ
) \
1092 $(LIBCLI_NETLOGON_OBJ
) \
1093 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1094 rpc_client
/init_netlogon.o \
1095 rpc_client
/init_samr.o
1097 PAM_WINBIND_OBJ
= ..
/nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
1098 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
1100 LIBSMBCLIENT_THREAD_OBJ
= \
1101 libsmb
/libsmb_thread_impl.o \
1102 libsmb
/libsmb_thread_posix.o
1104 LIBSMBCLIENT_OBJ0
= \
1105 libsmb
/libsmb_cache.o \
1106 libsmb
/libsmb_compat.o \
1107 libsmb
/libsmb_context.o \
1108 libsmb
/libsmb_dir.o \
1109 libsmb
/libsmb_file.o \
1110 libsmb
/libsmb_misc.o \
1111 libsmb
/libsmb_path.o \
1112 libsmb
/libsmb_printjob.o \
1113 libsmb
/libsmb_server.o \
1114 libsmb
/libsmb_stat.o \
1115 libsmb
/libsmb_xattr.o \
1116 libsmb
/libsmb_setget.o
1118 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
1119 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1120 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1121 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1122 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1123 $(LIBCLI_SRVSVC_OBJ
) \
1126 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
)
1128 # This shared library is intended for linking with unit test programs
1129 # to test Samba internals. It's called libbigballofmud.so to
1130 # discourage casual usage.
1132 LIBBIGBALLOFMUD_MAJOR
= 0
1134 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1135 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) \
1136 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1138 CLIENT_OBJ1
= client
/client.o client
/clitar.o \
1139 client
/dnsbrowse.o \
1142 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1143 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1144 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1145 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1146 $(DISPLAY_SEC_OBJ
) \
1147 $(LIBCLI_SRVSVC_OBJ
)
1149 LIBSMBCONF_OBJ
= ..
/lib
/smbconf
/smbconf.o \
1150 ..
/lib
/smbconf
/smbconf_util.o \
1151 ..
/lib
/smbconf
/smbconf_txt.o \
1152 lib
/smbconf
/smbconf_reg.o \
1153 lib
/smbconf
/smbconf_init.o
1155 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
1157 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
1158 $(LIB_NONSMBD_OBJ
) \
1163 PTHREADPOOLTEST_OBJ
= lib
/pthreadpool
/pthreadpool.o \
1164 lib
/pthreadpool
/tests.o
1166 LIBNET_OBJ
= libnet
/libnet_join.o \
1167 libnet
/libnet_keytab.o \
1168 librpc
/gen_ndr
/ndr_libnet_join.o
1170 LIBNET_DSSYNC_OBJ
= libnet
/libnet_dssync.o \
1171 libnet
/libnet_dssync_passdb.o \
1172 libnet
/libnet_dssync_keytab.o \
1173 ..
/libcli
/drsuapi
/repl_decrypt.o
1175 LIBNET_SAMSYNC_OBJ
= libnet
/libnet_samsync.o \
1176 libnet
/libnet_samsync_ldif.o \
1177 libnet
/libnet_samsync_passdb.o \
1178 libnet
/libnet_samsync_display.o \
1179 libnet
/libnet_samsync_keytab.o \
1180 ..
/libcli
/samsync
/decrypt.o
1182 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
1183 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
1184 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
1185 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o utils
/net_idmap_check.o\
1186 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
1187 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
1188 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
1189 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
1190 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
1191 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
1192 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
1193 auth
/token_util.o utils
/net_dom.o utils
/net_share.o \
1194 utils
/net_g_lock.o \
1195 utils
/net_serverid.o \
1196 utils
/net_eventlog.o \
1197 utils
/net_printing.o \
1198 utils
/net_rpc_trust.o \
1199 $(LIBNDR_NTPRINTING_OBJ
) \
1200 $(LIBNDR_PREG_OBJ
) \
1201 $(LIBCLI_SPOOLSS_OBJ
) \
1202 $(LIBCLI_WINREG_OBJ
) \
1203 $(LIBCLI_DRSUAPI_OBJ
) \
1204 $(LIBCLI_INITSHUTDOWN_OBJ
) \
1205 $(LIBCLI_DSSETUP_OBJ
) \
1206 $(LIBCLI_SVCCTL_OBJ
) \
1207 $(LIBCLI_WKSSVC_OBJ
) \
1208 $(LIBCLI_SRVSVC_OBJ
) \
1210 $(LIBCLI_SAMR_OBJ
) \
1211 $(LIBCLI_NETLOGON_OBJ
) \
1212 $(RPC_CLIENT_SCHANNEL_OBJ
) \
1213 rpc_client
/init_netlogon.o \
1214 rpc_client
/init_samr.o \
1215 registry
/reg_parse.o registry
/reg_format.o \
1216 registry
/reg_parse_internal.o registry
/reg_import.o \
1217 lib
/cbuf.o lib
/srprs.o printing
/nt_printing_migrate.o
1219 # these are not processed by make proto
1220 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
1222 NET_OBJ
= $(NET_OBJ1
) \
1223 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
1224 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
1225 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1226 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1227 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1228 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(LIBADS_PRINTER_OBJ
) $(POPT_LIB_OBJ
) \
1229 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) \
1230 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1231 $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
1232 $(REG_SMBCONF_OBJ
) \
1233 $(LIBNET_OBJ
) $(LIBNET_DSSYNC_OBJ
) $(LIBNET_SAMSYNC_OBJ
) \
1236 $(PRIVILEGES_BASIC_OBJ
) \
1239 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1240 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1243 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
1244 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1246 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
1247 torture
/denytest.o torture
/mangle_test.o \
1249 torture
/test_async_echo.o \
1250 torture
/test_smbsock_any_connect.o \
1251 torture
/test_nttrans_create.o \
1252 torture
/test_notify_online.o \
1253 torture
/test_addrchange.o \
1254 torture
/test_case_insensitive.o \
1255 torture
/test_posix_append.o \
1258 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) $(TLDAP_OBJ
) \
1259 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1260 @LIBWBCLIENT_STATIC@ \
1261 torture
/wbc_async.o \
1262 ..
/nsswitch
/wb_reqtrans.o \
1263 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBCLI_ECHO_OBJ
)
1265 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1266 $(LIB_NONSMBD_OBJ
) \
1269 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_ERR_OBJ
) \
1270 $(LIB_NONSMBD_OBJ
) \
1273 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
1274 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
1275 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1277 NSSTEST_OBJ
= ..
/nsswitch
/nsstest.o
$(LIBSAMBAUTIL_OBJ
)
1279 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1280 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1281 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) \
1284 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
1286 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSMB_ERR_OBJ
)
1288 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
1290 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
1291 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1292 $(LIBNDR_GEN_OBJ0
) $(FNAME_UTIL_OBJ
)
1294 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1295 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
1296 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1297 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) \
1300 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1302 $(LIB_NONSMBD_OBJ
) \
1303 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
1304 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1307 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
1309 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1310 $(LIBSMB_ERR_OBJ
) $(LIB_EVENTLOG_OBJ
) \
1311 librpc
/gen_ndr
/ndr_eventlog.o \
1312 librpc
/gen_ndr
/ndr_lsa.o
1314 SHARESEC_OBJ0
= utils
/sharesec.o
1315 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1319 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o @tallocdir@
/testsuite_main.o \
1320 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
)
1322 REPLACETORT_OBJ
= @libreplacedir@
/test/testsuite.o \
1323 @libreplacedir@
/test/getifaddrs.o \
1324 @libreplacedir@
/test/os2_delete.o \
1325 @libreplacedir@
/test/strptime.o \
1326 @libreplacedir@
/test/main.o \
1327 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
1329 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1331 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1332 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1335 WINBIND_WINS_NSS_OBJ
= ..
/nsswitch
/wins.o
$(PARAM_OBJ
) \
1336 $(LIB_NONSMBD_OBJ
) $(LIBSMB_ERR_OBJ
) $(LIBNMB_OBJ
)
1338 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1339 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o ..
/lib
/util
/asn1.o
1340 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1341 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1342 $(DRSUAPI_OBJ
) $(LIBNDR_GEN_OBJ0
) \
1345 IDMAP_RW_OBJ
= winbindd
/idmap_rw.o
1347 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o
$(IDMAP_RW_OBJ
) @IDMAP_STATIC@
1349 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1352 winbindd
/idmap_hash
/idmap_hash.o \
1353 winbindd
/idmap_hash
/mapfile.o
1356 winbindd
/idmap_adex
/idmap_adex.o \
1357 winbindd
/idmap_adex
/cell_util.o \
1358 winbindd
/idmap_adex
/likewise_cell.o \
1359 winbindd
/idmap_adex
/provider_unified.o \
1360 winbindd
/idmap_adex
/gc_util.o \
1361 winbindd
/idmap_adex
/domain_util.o
1364 winbindd
/winbindd.o \
1365 winbindd
/winbindd_group.o \
1366 winbindd
/winbindd_util.o \
1367 winbindd
/winbindd_cache.o \
1368 winbindd
/winbindd_pam.o \
1369 winbindd
/winbindd_misc.o \
1370 winbindd
/winbindd_cm.o \
1371 winbindd
/winbindd_wins_byip.o \
1372 winbindd
/winbindd_wins_byname.o \
1373 winbindd
/winbindd_msrpc.o \
1374 winbindd
/winbindd_rpc.o \
1375 winbindd
/winbindd_reconnect.o \
1376 winbindd
/winbindd_ads.o \
1377 winbindd
/winbindd_samr.o \
1378 winbindd
/winbindd_dual.o \
1379 winbindd
/winbindd_dual_ndr.o \
1380 winbindd
/winbindd_dual_srv.o \
1381 librpc
/gen_ndr
/ndr_wbint_c.o \
1382 librpc
/gen_ndr
/srv_wbint.o \
1383 librpc
/gen_ndr
/ndr_wbint.o \
1384 librpc
/gen_ndr
/ndr_idmap.o \
1385 winbindd
/winbindd_async.o \
1386 winbindd
/winbindd_creds.o \
1387 winbindd
/winbindd_cred_cache.o \
1388 winbindd
/winbindd_ccache_access.o \
1389 winbindd
/winbindd_domain.o \
1390 winbindd
/winbindd_idmap.o \
1391 winbindd
/winbindd_locator.o \
1392 winbindd
/winbindd_ndr.o \
1393 winbindd
/wb_ping.o \
1394 winbindd
/wb_lookupsid.o \
1395 winbindd
/wb_lookupsids.o \
1396 winbindd
/wb_lookupname.o \
1397 winbindd
/wb_sid2uid.o \
1398 winbindd
/wb_sid2gid.o \
1399 winbindd
/wb_uid2sid.o \
1400 winbindd
/wb_gid2sid.o \
1401 winbindd
/wb_queryuser.o \
1402 winbindd
/wb_lookupuseraliases.o \
1403 winbindd
/wb_lookupusergroups.o \
1404 winbindd
/wb_getpwsid.o \
1405 winbindd
/wb_gettoken.o \
1406 winbindd
/wb_seqnum.o \
1407 winbindd
/wb_seqnums.o \
1408 winbindd
/wb_group_members.o \
1409 winbindd
/wb_getgrsid.o \
1410 winbindd
/wb_query_user_list.o \
1411 winbindd
/wb_fill_pwent.o \
1412 winbindd
/wb_next_pwent.o \
1413 winbindd
/wb_next_grent.o \
1414 winbindd
/wb_dsgetdcname.o \
1415 winbindd
/winbindd_lookupsid.o \
1416 winbindd
/winbindd_lookupsids.o \
1417 winbindd
/winbindd_lookupname.o \
1418 winbindd
/winbindd_sid_to_uid.o \
1419 winbindd
/winbindd_sid_to_gid.o \
1420 winbindd
/winbindd_uid_to_sid.o \
1421 winbindd
/winbindd_gid_to_sid.o \
1422 winbindd
/winbindd_sids_to_xids.o \
1423 winbindd
/winbindd_allocate_uid.o \
1424 winbindd
/winbindd_allocate_gid.o \
1425 winbindd
/winbindd_getpwsid.o \
1426 winbindd
/winbindd_getpwnam.o \
1427 winbindd
/winbindd_getpwuid.o \
1428 winbindd
/winbindd_getsidaliases.o \
1429 winbindd
/winbindd_getuserdomgroups.o \
1430 winbindd
/winbindd_getgroups.o \
1431 winbindd
/winbindd_show_sequence.o \
1432 winbindd
/winbindd_getgrgid.o \
1433 winbindd
/winbindd_getgrnam.o \
1434 winbindd
/winbindd_getusersids.o \
1435 winbindd
/winbindd_lookuprids.o \
1436 winbindd
/winbindd_setpwent.o \
1437 winbindd
/winbindd_getpwent.o \
1438 winbindd
/winbindd_endpwent.o \
1439 winbindd
/winbindd_setgrent.o \
1440 winbindd
/winbindd_getgrent.o \
1441 winbindd
/winbindd_endgrent.o \
1442 winbindd
/winbindd_dsgetdcname.o \
1443 winbindd
/winbindd_getdcname.o \
1444 winbindd
/winbindd_list_users.o \
1445 winbindd
/winbindd_list_groups.o \
1446 winbindd
/winbindd_check_machine_acct.o \
1447 winbindd
/winbindd_change_machine_acct.o \
1448 winbindd
/winbindd_ping_dc.o \
1449 winbindd
/winbindd_pam_auth.o \
1450 winbindd
/winbindd_pam_auth_crap.o \
1451 winbindd
/winbindd_pam_chauthtok.o \
1452 winbindd
/winbindd_pam_chng_pswd_auth_crap.o \
1453 winbindd
/winbindd_pam_logoff.o \
1457 auth
/check_samsec.o \
1458 auth
/server_info.o \
1459 auth
/server_info_sam.o \
1462 ..
/nsswitch
/wb_reqtrans.o
1465 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1466 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1467 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1468 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1469 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1470 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1471 $(RPC_CONFIG
) $(RPC_NCACN_NP
) \
1472 $(RPC_SAMR_OBJ
) $(RPC_LSARPC_OBJ
) \
1473 $(NPA_TSTREAM_OBJ
) \
1474 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1475 $(LIBADS_SERVER_OBJ
) \
1476 $(TDB_VALIDATE_OBJ
) \
1477 $(LIBCLI_DSSETUP_OBJ
) \
1479 $(LIBCLI_SAMR_OBJ
) \
1480 $(LIBCLI_NETLOGON_OBJ
) \
1481 rpc_client
/init_netlogon.o \
1482 rpc_client
/init_samr.o \
1485 WBINFO_OBJ
= ..
/nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1486 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1487 lib
/winbind_util.o
$(WBCOMMON_OBJ
)
1489 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1491 WINBIND_KRB5_LOCATOR_OBJ1
= ..
/nsswitch
/winbind_krb5_locator.o
1492 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1494 POPT_OBJ
=..
/lib
/popt
/findme.o ..
/lib
/popt
/popt.o ..
/lib
/popt
/poptconfig.o \
1495 ..
/lib
/popt
/popthelp.o ..
/lib
/popt
/poptparse.o
1497 INIPARSER_OBJ
= ..
/lib
/iniparser_build
/iniparser.o ..
/lib
/iniparser_build
/dictionary.o \
1498 ..
/lib
/iniparser_build
/strlib.o
1500 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1501 $(SOCKET_WRAPPER_OBJ
)
1503 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o
$(LIBREPLACE_OBJ
) \
1504 $(SOCKET_WRAPPER_OBJ
)
1506 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o
$(LIBREPLACE_OBJ
) \
1507 $(SOCKET_WRAPPER_OBJ
)
1509 TDBRESTORE_OBJ
= @tdbdir@
/tools
/tdbrestore.o
$(LIBREPLACE_OBJ
) \
1510 $(SOCKET_WRAPPER_OBJ
)
1512 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o
$(LIBREPLACE_OBJ
) \
1513 $(SOCKET_WRAPPER_OBJ
)
1516 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1518 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1519 ..
/lib
/util
/asn1.o ..
/libcli
/auth
/spnego_parse.o libsmb
/clikrb5.o ..
/libcli
/auth
/krb5_wrap.o libads
/kerberos.o \
1520 libsmb
/samlogon_cache.o \
1521 $(LIBADS_SERVER_OBJ
) \
1522 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1523 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1525 $(LIBCLI_LDAP_NDR_OBJ
) \
1527 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_NETLOGON_OBJ
) @BUILD_INIPARSER@
1530 VLP_OBJ
= printing
/tests
/vlp.o \
1531 ..
/lib
/util
/util_tdb.o \
1532 $(LIBSAMBAUTIL_OBJ
) \
1535 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1539 $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) \
1540 $(LIB_NONSMBD_OBJ
) \
1545 DBWRAP_TOOL_OBJ
= utils
/dbwrap_tool.o \
1547 $(LIB_NONSMBD_OBJ
) \
1550 DBWRAP_TORTURE_OBJ
= utils
/dbwrap_torture.o \
1552 $(LIB_NONSMBD_OBJ
) \
1556 SPLIT_TOKENS_OBJ
= utils
/split_tokens.o \
1558 $(LIB_NONSMBD_OBJ
) \
1562 ######################################################################
1564 ######################################################################
1565 all:: SHOWFLAGS basics libs
$(SBIN_PROGS
) $(BIN_PROGS
) \
1566 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) \
1567 $(EXTRA_ALL_TARGETS
)
1569 basics
:: samba3-idl mkparam
1571 nss_modules
:: $(NSS_MODULES
)
1573 pam_modules
:: $(PAM_MODULES
)
1575 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1577 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1579 gpext_modules
:: $(GPEXT_MODULES
)
1581 torture
:: SHOWFLAGS basics
$(TORTURE_PROGS
) @SMBTORTURE4@
1583 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1585 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1587 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1589 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1591 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1593 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1595 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1597 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1599 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1601 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1603 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1605 talloctort
: SHOWFLAGS
$(TALLOCTORT
)
1607 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1609 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1611 pthreadpooltest
: SHOWFLAGS bin
/pthreadpooltest@EXEEXT@
1613 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1615 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1616 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1617 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1619 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1621 modules
:: SHOWFLAGS
$(MODULES
)
1624 #####################################################################
1625 ## Perl IDL Compiler
1627 IDL_FILES
= librpc
/idl
/messaging.idl \
1628 librpc
/idl
/libnetapi.idl \
1629 librpc
/idl
/wbint.idl \
1630 librpc
/idl
/perfcount.idl \
1631 librpc
/idl
/secrets.idl \
1632 librpc
/idl
/libnet_join.idl
1635 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1636 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh ..
/librpc
/idl
/*.idl
1637 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1638 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(IDL_FILES
)
1641 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1642 srcdir="$(srcdir)" ..
/librpc
/build_idl.sh
--full ..
/librpc
/idl
/*.idl
1643 @PIDL_OUTPUTDIR
="librpc/gen_ndr" PIDL_ARGS
="$(PIDL_ARGS)" CPP
="$(CPP)" PIDL
="../pidl/pidl" \
1644 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
--full
$(IDL_FILES
)
1647 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/..
/lib
/param
/param_functions.c
--file ..
/lib
/param
/param_local.h
--generate-scope
=LOCAL
1648 $(PERL
) ..
/script
/mkparamdefs.pl
$(srcdir)/param
/loadparm.c
--file param
/param_global.h
--generate-scope
=GLOBAL
1650 #####################################################################
1653 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1654 $(EVERYTHING_PROGS
) \
1658 .SUFFIXES
: .c .o .lo
1660 .PHONY
: showflags SHOWFLAGS
1662 showflags
: SHOWFLAGS
1665 @echo
"Using CFLAGS = $(CFLAGS)"
1666 @echo
" PICFLAG = $(PICFLAG)"
1667 @echo
" LIBS = $(LIBS)"
1668 @echo
" LDFLAGS = $(LDFLAGS)"
1669 @echo
" DYNEXP = $(DYNEXP)"
1670 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1671 @echo
" SHLIBEXT = @SHLIBEXT@"
1672 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1674 # "showcflags" target for debuggin how CFLAGS are composed:
1676 .PHONY
: showcflags SHOWCFLAGS
1678 showcflags
: SHOWCFLAGS
1681 @echo
"CFLAGS = $(CFLAGS)"
1682 @echo
"FLAGS = $(FLAGS)"
1684 @echo
"FLAGS1 = @FLAGS1@"
1685 @echo
"SAMBA_CPPFLAGS = @SAMBA_CPPFLAGS@"
1686 @echo
"CPPFLAGS = $(CPPFLAGS)"
1687 @echo
"ISA = $(ISA)"
1689 MAKEDIR
= || exec false
; \
1690 if
test -d
"$$dir"; then
:; else \
1691 echo mkdir
"$$dir"; \
1692 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1693 test -d
"$$dir" || \
1695 exec false
; fi || exec false
1697 # Run a static checker.
1698 CHECK_CC
= $(CC_CHECKER
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1699 # Compile a source file.
1700 COMPILE_CC
= $(CC
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1701 # Compile a source file with the installation paths defined.
1702 COMPILE_CC_PATH
= $(CC
) $(PATH_FLAGS
) $(CFLAGS
) $(PICFLAG
) -c
$< -o
$@
1704 COMPILE
= $(COMPILE_CC
)
1707 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1708 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1709 @if
test -n
"$(CC_CHECKER)"; then \
1710 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1713 @echo Compiling
$*.c
1714 @
$(COMPILE
) && exit
0;\
1715 echo
"The following command failed:" 1>&2;\
1716 echo
"$(subst ",\",$(COMPILE_CC
))" 1>&2;\
1717 $(COMPILE_CC) >/dev/null 2>&1
1718 @BROKEN_CC@ -mv `echo $@ | sed 's%^.*/%%g'` $@
1720 PRECOMPILED_HEADER = $(builddir)/include/includes.h.gch
1722 # this adds support for precompiled headers. To use it, install a snapshot
1723 # of gcc-3.4 and run 'make pch' before you do the main build.
1725 rm -f $(PRECOMPILED_HEADER)
1726 $(MAKE) $(PRECOMPILED_HEADER)
1728 $(PRECOMPILED_HEADER): $(srcdir)/include/includes.h
1731 BINARY_PREREQS = bin/.dummy
1733 # These dependencies are only approximately correct: we want to make
1734 # sure Samba's paths are updated if ./configure is re-run. Really it
1735 # would be nice if "make
prefix=/opt
/samba
all" also rebuilt things,
1736 # but since we also require "make
install prefix=/opt
/samba
" *not* to
1737 # rebuild it's a bit hard.
1739 ../dynconfig/dynconfig.o: ../dynconfig/dynconfig.c Makefile
1740 @echo Compiling $*.c
1741 @$(COMPILE_CC_PATH) && exit 0;\
1742 echo "The following command failed
:" 1>&2;\
1743 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1744 $(COMPILE_CC_PATH) >/dev/null 2>&1
1746 ../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile
1747 @echo Compiling $*.c
1748 @$(COMPILE_CC_PATH) && exit 0;\
1749 echo "The following command failed
:" 1>&2;\
1750 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1751 $(COMPILE_CC_PATH) >/dev/null 2>&1
1753 ### Start section of object files that require PTHREAD_CFLAGS
1754 ../nsswitch/wins.o: ../nsswitch/wins.c
1755 @echo Compiling $*.c
1756 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1757 echo "The following command failed
:" 1>&2;\
1758 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1759 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1761 ../nsswitch/winbind_nss_linux.o: ../nsswitch/winbind_nss_linux.c
1762 @echo Compiling $*.c
1763 @$(COMPILE_CC) $(PTHREAD_CFLAGS) && exit 0;\
1764 echo "The following command failed
:" 1>&2;\
1765 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1766 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1768 libsmb/libsmb_thread_impl.o: libsmb/libsmb_thread_impl.c
1769 @echo Compiling $*.c
1770 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1771 echo "The following command failed
:" 1>&2;\
1772 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1773 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1775 libsmb/libsmb_thread_posix.o: libsmb/libsmb_thread_posix.c
1776 @echo Compiling $*.c
1777 @$(COMPILE) $(PTHREAD_CFLAGS) && exit 0;\
1778 echo "The following command failed
:" 1>&2;\
1779 echo "$(COMPILE_CC
) $(PTHREAD_CFLAGS
)" 1>&2;\
1780 $(COMPILE_CC) $(PTHREAD_CFLAGS) >/dev/null 2>&1
1781 ### End section of object files that require PTHREAD_CFLAGS
1783 lib/pidfile.o: lib/pidfile.c
1784 @echo Compiling $*.c
1785 @$(COMPILE_CC_PATH) && exit 0;\
1786 echo "The following command failed
:" 1>&2;\
1787 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1788 $(COMPILE_CC_PATH) >/dev/null 2>&1
1790 lib/version.o: lib/version.c include/version.h
1791 @echo Compiling $*.c
1792 @$(COMPILE_CC_PATH) && exit 0;\
1793 echo "The following command failed
:" 1>&2;\
1794 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1795 $(COMPILE_CC_PATH) >/dev/null 2>&1
1797 smbd/build_options.o: smbd/build_options.c Makefile include/autoconf/config.h include/build_env.h include/proto.h
1798 @echo Compiling $*.c
1799 @$(COMPILE_CC_PATH) && exit 0;\
1800 echo "The following command failed
:" 1>&2;\
1801 echo "$(COMPILE_CC_PATH
)" 1>&2;\
1802 $(COMPILE_CC_PATH) >/dev/null 2>&1
1804 smbd/build_options.c: include/autoconf/config.h.in script/mkbuildoptions.awk
1806 @dir=smbd $(MAKEDIR) && $(AWK) -f $(srcdir)/script/mkbuildoptions.awk > $(builddir)/smbd/build_options.c < $(srcdir)/include/autoconf/config.h.in
1809 @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
1810 dir=bin $(MAKEDIR); fi
1811 @: >> $@ || : > $@ # what a fancy emoticon!
1813 bin/smbd@EXEEXT@: $(BINARY_PREREQS) $(SMBD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) @BUILD_POPT@
1815 @$(CC) -o $@ $(SMBD_OBJ) $(LDFLAGS) $(LDAP_LIBS) @SMBD_FAM_LIBS@ \
1816 $(KRB5LIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) \
1817 $(ACL_LIBS) $(PASSDB_LIBS) $(LIBS) $(DNSSD_LIBS) $(AVAHI_LIBS) \
1818 $(POPT_LIBS) @SMBD_LIBS@ $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1819 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1821 bin/nmbd@EXEEXT@: $(BINARY_PREREQS) $(NMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1823 @$(CC) -o $@ $(NMBD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1824 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1825 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(POPT_LIBS) \
1826 $(KRB5LIBS) $(LDAP_LIBS) $(ZLIB_LIBS)
1828 bin/swat@EXEEXT@: $(BINARY_PREREQS) $(SWAT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1830 @$(CC) -o $@ $(SWAT_OBJ) $(LDFLAGS) $(DYNEXP) $(PRINT_LIBS) \
1831 $(AUTH_LIBS) $(LIBS) $(PASSDB_LIBS) $(POPT_LIBS) $(KRB5LIBS) \
1832 $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1834 bin/rpcclient@EXEEXT@: $(BINARY_PREREQS) $(RPCCLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1836 @$(CC) -o $@ $(LDFLAGS) $(RPCCLIENT_OBJ) \
1837 $(DYNEXP) $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1838 $(KRB5LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
1839 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS) $(PASSDB_LIBS)
1841 bin/smbclient@EXEEXT@: $(BINARY_PREREQS) $(CLIENT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1843 @$(CC) -o $@ $(CLIENT_OBJ) $(LDFLAGS) $(DYNEXP) \
1844 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
1845 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(DNSSD_LIBS) \
1846 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1848 bin/net@EXEEXT@: $(BINARY_PREREQS) $(NET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT) $(LIBNETAPI)
1850 @$(CC) -o $@ $(NET_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1851 $(POPT_LIBS) $(KRB5LIBS) $(UUID_LIBS) $(LDAP_LIBS) \
1852 $(PASSDB_LIBS) $(TERMLDFLAGS) $(TERMLIBS) $(NSCD_LIBS) \
1853 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBNETAPI_LIBS) \
1856 bin/profiles@EXEEXT@: $(BINARY_PREREQS) $(PROFILES_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1858 @$(CC) -o $@ $(PROFILES_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1859 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1861 bin/smbspool@EXEEXT@: $(BINARY_PREREQS) $(CUPS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1863 @$(CC) -o $@ $(CUPS_OBJ) $(DYNEXP) $(LDFLAGS) $(LIBS) \
1864 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1865 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1867 bin/testparm@EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1869 @$(CC) -o $@ $(TESTPARM_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1870 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1872 bin/smbta-util@EXEEXT@: $(BINARY_PREREQS) $(SMBTA_UTIL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1874 @$(CC) -o $@ $(SMBTA_UTIL_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1875 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1877 bin/smbstatus@EXEEXT@: $(BINARY_PREREQS) $(STATUS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1879 @$(CC) -o $@ $(STATUS_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1880 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1882 bin/smbcontrol@EXEEXT@: $(BINARY_PREREQS) $(SMBCONTROL_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1884 @$(CC) -DUSING_SMBCONTROL -o $@ \
1885 $(SMBCONTROL_OBJ) $(DYNEXP) $(LDFLAGS) \
1886 $(LIBS) $(LDAP_LIBS) @LIBUNWIND_PTRACE@ $(POPT_LIBS) \
1887 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1889 bin/smbtree@EXEEXT@: $(BINARY_PREREQS) $(SMBTREE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1891 @$(CC) -o $@ $(SMBTREE_OBJ) $(LDFLAGS) $(DYNEXP) \
1892 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1893 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1895 bin/smbpasswd@EXEEXT@: $(BINARY_PREREQS) $(SMBPASSWD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1897 @$(CC) -o $@ $(SMBPASSWD_OBJ) $(LDFLAGS) $(PASSDB_LIBS) \
1898 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
1899 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1901 bin/pdbedit@EXEEXT@: $(BINARY_PREREQS) $(PDBEDIT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1903 @$(CC) -o $@ $(PDBEDIT_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1904 $(POPT_LIBS) $(PASSDB_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) \
1905 $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1907 bin/smbget@EXEEXT@: $(BINARY_PREREQS) $(SMBGET_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1909 @$(CC) -o $@ $(SMBGET_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1910 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1911 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1913 bin/nmblookup@EXEEXT@: $(BINARY_PREREQS) $(NMBLOOKUP_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1915 @$(CC) -o $@ $(NMBLOOKUP_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
1916 $(POPT_LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1918 bin/smbtorture@EXEEXT@: $(BINARY_PREREQS) $(SMBTORTURE_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1920 @$(CC) -o $@ $(SMBTORTURE_OBJ) $(LDFLAGS) $(DYNEXP) \
1921 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) \
1922 $(LIBTDB_LIBS) $(ZLIB_LIBS) $(LIBWBCLIENT_LIBS)
1924 bin/talloctort@EXEEXT@: $(BINARY_PREREQS) $(TALLOCTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1926 @$(CC) -o $@ $(TALLOCTORT_OBJ) $(LDFLAGS) \
1927 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1928 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1930 bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ $(LIBTALLOC)
1932 @$(CC) -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
1933 $(DYNEXP) $(LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS)
1935 bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1937 @$(CC) -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
1938 $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1939 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1941 bin/pthreadpooltest@EXEEXT@: $(PTHREADPOOLTEST_OBJ)
1943 @$(CC) -o $@ $(PTHREADPOOLTEST_OBJ) $(LDFLAGS) $(LIBS) $(PTHREAD_LDFLAGS)
1945 bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1947 @$(CC) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1948 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1949 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1950 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1952 bin/msgtest@EXEEXT@: $(BINARY_PREREQS) $(MSGTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1954 @$(CC) -o $@ $(MSGTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1955 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1956 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1958 bin/smbcacls@EXEEXT@: $(BINARY_PREREQS) $(SMBCACLS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1960 @$(CC) -o $@ $(SMBCACLS_OBJ) $(DYNEXP) $(LDFLAGS) \
1961 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1962 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1964 bin/smbcquotas@EXEEXT@: $(BINARY_PREREQS) $(SMBCQUOTAS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1966 @$(CC) -o $@ $(SMBCQUOTAS_OBJ) $(DYNEXP) $(LDFLAGS) \
1967 $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
1968 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1970 bin/eventlogadm@EXEEXT@: $(BINARY_PREREQS) $(EVTLOGADM_OBJ) $(LIBTALLOC) $(LIBTDB)
1972 @$(CC) -o $@ $(EVTLOGADM_OBJ) $(DYNEXP) $(LDFLAGS) \
1973 $(LIBS) $(LDAP_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1975 bin/sharesec@EXEEXT@: $(BINARY_PREREQS) $(SHARESEC_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
1977 @$(CC) -o $@ $(SHARESEC_OBJ) $(DYNEXP) $(LDFLAGS) \
1978 $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
1980 bin/locktest@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1982 @$(CC) -o $@ $(LOCKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1983 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
1984 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
1985 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
1987 bin/nsstest@EXEEXT@: $(BINARY_PREREQS) $(NSSTEST_OBJ)
1989 @$(CC) -o $@ $(NSSTEST_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS)
1991 bin/pdbtest@EXEEXT@: $(BINARY_PREREQS) $(PDBTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1993 @$(CC) -o $@ $(PDBTEST_OBJ) $(LDFLAGS) $(DYNEXP) \
1994 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(PASSDB_LIBS) \
1995 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
1997 bin/vfstest@EXEEXT@: $(BINARY_PREREQS) $(VFSTEST_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
1999 @$(CC) -o $@ $(VFSTEST_OBJ) $(LDFLAGS) $(TERMLDFLAGS) $(AVAHI_LIBS) \
2000 $(TERMLIBS) $(DYNEXP) $(PRINT_LIBS) $(AUTH_LIBS) $(DNSSD_LIBS) \
2001 $(ACL_LIBS) $(LIBS) $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) \
2002 @SMBD_LIBS@ $(NSCD_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2003 $(LIBWBCLIENT_LIBS) $(ZLIB_LIBS)
2005 bin/smbiconv@EXEEXT@: $(BINARY_PREREQS) $(SMBICONV_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB)
2007 @$(CC) -o $@ $(SMBICONV_OBJ) $(LDFLAGS) $(TERMLDFLAGS) \
2008 $(TERMLIBS) $(DYNEXP) $(LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2009 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
2011 bin/log2pcap@EXEEXT@: $(BINARY_PREREQS) $(LOG2PCAP_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2013 @$(CC) -o $@ $(LOG2PCAP_OBJ) $(LDFLAGS) $(DYNEXP) \
2014 $(POPT_LIBS) $(LIBS) $(LIBTALLOC_LIBS)
2016 bin/locktest2@EXEEXT@: $(BINARY_PREREQS) $(LOCKTEST2_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2018 @$(CC) -o $@ $(LOCKTEST2_OBJ) $(LDFLAGS) $(DYNEXP) \
2019 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2020 $(LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2021 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2023 bin/debug2html@EXEEXT@: $(BINARY_PREREQS) $(DEBUG2HTML_OBJ) @BUILD_POPT@ $(LIBTALLOC)
2025 @$(CC) -o $@ $(DEBUG2HTML_OBJ) $(LDFLAGS) $(DYNEXP) \
2026 $(LIBS) $(LIBTALLOC_LIBS)
2028 bin/smbfilter@EXEEXT@: $(BINARY_PREREQS) $(SMBFILTER_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2030 @$(CC) -o $@ $(SMBFILTER_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2031 $(KRB5LIBS) $(LDAP_LIBS) $(POPT_LIBS) \
2032 @LIBWBCLIENT_STATIC@ $(LIBWBCLIENT_LIBS) \
2033 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS)
2035 bin/versiontest: $(BINARY_PREREQS) lib/version_test.o $(VERSION_OBJ)
2037 @$(CC) $(FLAGS) -o $@ $(VERSION_OBJ) lib/version_test.o
2040 #####################################################################
2044 #####################################################################
2046 MKSYMS_SH = $(srcdir)/script/mksyms.sh
2049 #-------------------------------------------------------------------
2053 #-------------------------------------------------------------------
2056 LIBTALLOC_OBJ0 = @LIBTALLOC_OBJ0@
2057 LIBTALLOC_OBJ = $(LIBTALLOC_OBJ0) $(LIBREPLACE_OBJ)
2059 LIBTALLOC_SHARED_TARGET=@LIBTALLOC_SHARED_TARGET@
2060 LIBTALLOC_SOVER=@LIBTALLOC_SOVER@
2061 LIBTALLOC_FULLVER=@LIBTALLOC_FULLVER@
2062 LIBTALLOC_SHARED_TARGET_SONAME=@LIBTALLOC_SHARED_TARGET_SOVER@
2063 LIBTALLOC_SHARED_TARGET_FULLVER=@LIBTALLOC_SHARED_TARGET_FULLVER@
2064 LIBTALLOC_STATIC_TARGET=@LIBTALLOC_STATIC_TARGET@
2065 LIBTALLOC_SYMS=$(srcdir)/exports/libtalloc.@SYMSEXT@
2066 LIBTALLOC_HEADERS=$(srcdir)/@tallocdir@/talloc.h
2068 $(LIBTALLOC_SYMS): $(LIBTALLOC_HEADERS)
2069 @$(MKSYMS_SH) $(AWK) $@ $(LIBTALLOC_HEADERS)
2071 $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLOC_SYMS)
2072 @echo Linking shared library $@
2073 @$(SHLD_DSO) $(LIBTALLOC_OBJ) $(LIBREPLACE_LIBS) @SONAMEFLAG@`basename $@`
2075 $(LIBTALLOC_SHARED_TARGET_FULLVER): $(LIBTALLOC_SHARED_TARGET_SONAME)
2077 @mv -f $(LIBTALLOC_SHARED_TARGET_SONAME) $@
2078 @ln -f -s `basename $@` $(LIBTALLOC_SHARED_TARGET_SONAME)
2080 $(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_FULLVER)
2082 @ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
2084 $(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)
2085 @echo Linking non-shared library $@
2086 @-$(AR) -rc $@ $(LIBTALLOC_OBJ0)
2087 libtalloc: $(LIBTALLOC)
2092 $(LIBTALLOC_STATIC_TARGET) \
2093 $(LIBTALLOC_SHARED_TARGET) \
2094 $(LIBTALLOC_SHARED_TARGET_SONAME)
2096 installlibtalloc:: installdirs libtalloc
2097 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2098 -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2099 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2100 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2101 -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
2102 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
2103 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
2105 -if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
2106 ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
2107 $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
2109 -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2110 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2111 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include
2113 uninstalllibtalloc::
2114 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
2115 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
2116 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
2117 -rm -f $(DESTDIR)${prefix}/include/talloc.h
2120 installlibs:: @INSTALL_LIBTALLOC@
2121 uninstalllibs:: @UNINSTALL_LIBTALLOC@
2122 cleanlibs:: cleanlibtalloc
2123 shlibs test_shlibs: @LIBTALLOC_SHARED@
2127 @echo "LIBTALLOC_SHARED
= @LIBTALLOC_SHARED@
"
2128 @echo "LIBTALLOC_STATIC
= @LIBTALLOC_STATIC@
"
2129 @echo "LIBTALLOC_LIBS
= $(LIBTALLOC_LIBS
)"
2131 @echo "LIBTALLOC_SHARED_TARGET
= $(LIBTALLOC_SHARED_TARGET
)"
2132 @echo "LIBTALLOC_SOVER
= $(LIBTALLOC_SOVER
)"
2133 @echo "LIBTALLOC_FULLVER
= $(LIBTALLOC_FULLVER
)"
2134 @echo "LIBTALLOC_SHARED TARGET_SONAME
= $(LIBTALLOC_SHARED_TARGET_SONAME
)"
2135 @echo "LIBTALLOC_SHARED TARGET_FULLVER
= $(LIBTALLOC_SHARED_TARGET_FULLVER
)"
2136 @echo "LIBTALLOC_STATIC_TARGET
= $(LIBTALLOC_STATIC_TARGET
)"
2137 @echo "LIBTALLOC
= $(LIBTALLOC
)"
2139 showlibs:: showlibtalloc
2141 #-------------------------------------------------------------------
2145 #-------------------------------------------------------------------
2147 LIBTDB_OBJ0 = @LIBTDB_OBJ0@
2148 LIBTDB_OBJ = $(LIBTDB_OBJ0) $(LIBREPLACE_OBJ)
2150 LIBTDB_SHARED_TARGET=@LIBTDB_SHARED_TARGET@
2151 LIBTDB_SOVER=@LIBTDB_SOVER@
2152 LIBTDB_FULLVER=@LIBTDB_FULLVER@
2153 LIBTDB_SHARED_TARGET_SONAME=@LIBTDB_SHARED_TARGET_SOVER@
2154 LIBTDB_SHARED_TARGET_FULLVER=@LIBTDB_SHARED_TARGET_FULLVER@
2155 LIBTDB_STATIC_TARGET=@LIBTDB_STATIC_TARGET@
2156 LIBTDB_SYMS=$(srcdir)/exports/libtdb.@SYMSEXT@
2157 LIBTDB_HEADERS=$(srcdir)/@tdbdir@/include/tdb.h
2159 $(LIBTDB_SYMS): $(LIBTDB_HEADERS)
2160 @$(MKSYMS_SH) $(AWK) $@ $(LIBTDB_HEADERS)
2163 $(LIBTDB_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTDB_OBJ) $(LIBTDB_SYMS)
2164 @echo Linking shared library $@
2165 @$(SHLD_DSO) $(LIBTDB_OBJ) $(LIBREPLACE_LIBS) $(TDB_DEPS) \
2166 @SONAMEFLAG@`basename $@`
2168 $(LIBTDB_SHARED_TARGET_FULLVER): $(LIBTDB_SHARED_TARGET_SONAME)
2170 @mv -f $(LIBTDB_SHARED_TARGET_SONAME) $(LIBTDB_SHARED_TARGET_FULLVER)
2171 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` $(LIBTDB_SHARED_TARGET_SONAME)
2173 $(LIBTDB_SHARED_TARGET): $(LIBTDB_SHARED_TARGET_FULLVER)
2175 @ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
2177 $(LIBTDB_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTDB_OBJ0)
2178 @echo Linking non-shared library $@
2179 @-$(AR) -rc $@ $(LIBTDB_OBJ0)
2186 $(LIBTDB_STATIC_TARGET) \
2187 $(LIBTDB_SHARED_TARGET) \
2188 $(LIBTDB_SHARED_TARGET_SONAME)
2191 installlibtdb:: installdirs libtdb
2192 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2193 -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
2194 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2195 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2196 -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \
2197 ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \
2198 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \
2200 -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \
2201 ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
2202 $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
2204 -$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2205 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2206 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include
2209 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
2210 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
2211 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
2212 -rm -f $(DESTDIR)${prefix}/include/tdb.h
2215 installlibs:: @INSTALL_LIBTDB@
2216 uninstalllibs:: @UNINSTALL_LIBTDB@
2217 cleanlibs:: cleanlibtdb
2218 shlibs test_shlibs: @LIBTDB_SHARED@
2222 @echo "LIBTDB_SHARED
= @LIBTDB_SHARED@
"
2223 @echo "LIBTDB_STATIC
= @LIBTDB_STATIC@
"
2224 @echo "LIBTDB_LIBS
= $(LIBTDB_LIBS
)"
2226 @echo "LIBTDB_SHARED_TARGET
= $(LIBTDB_SHARED_TARGET
)"
2227 @echo "LIBTDB_SOVER
= $(LIBTDB_SOVER
)"
2228 @echo "LIBTDB_FULLVER
= $(LIBTDB_FULLVER
)"
2229 @echo "LIBTDB_SHARED TARGET_SONAME
= $(LIBTDB_SHARED_TARGET_SONAME
)"
2230 @echo "LIBTDB_SHARED TARGET_FULLVER
= $(LIBTDB_SHARED_TARGET_FULLVER
)"
2231 @echo "LIBTDB_STATIC_TARGET
= $(LIBTDB_STATIC_TARGET
)"
2232 @echo "LIBTDB
= $(LIBTDB
)"
2234 showlibs:: showlibtdb
2236 #-------------------------------------------------------------------
2240 #-------------------------------------------------------------------
2242 LIBWBCLIENT_OBJ0 = ../nsswitch/libwbclient/wbclient.o \
2243 ../nsswitch/libwbclient/wbc_util.o \
2244 ../nsswitch/libwbclient/wbc_pwd.o \
2245 ../nsswitch/libwbclient/wbc_idmap.o \
2246 ../nsswitch/libwbclient/wbc_sid.o \
2247 ../nsswitch/libwbclient/wbc_guid.o \
2248 ../nsswitch/libwbclient/wbc_pam.o
2250 LIBWBCLIENT_OBJ = $(LIBWBCLIENT_OBJ0) \
2253 ../lib/util/blocking.o \
2254 $(SOCKET_WRAPPER_OBJ)
2256 LIBWBCLIENT_SHARED_TARGET=@LIBWBCLIENT_SHARED_TARGET@
2257 LIBWBCLIENT_SOVER=@LIBWBCLIENT_SOVER@
2258 LIBWBCLIENT_FULLVER=@LIBWBCLIENT_FULLVER@
2259 LIBWBCLIENT_SHARED_TARGET_SONAME=@LIBWBCLIENT_SHARED_TARGET_SOVER@
2260 LIBWBCLIENT_STATIC_TARGET=@LIBWBCLIENT_STATIC_TARGET@
2261 LIBWBCLIENT_SYMS=$(srcdir)/exports/libwbclient.@SYMSEXT@
2262 LIBWBCLIENT_HEADERS=$(srcdir)/../nsswitch/libwbclient/wbclient.h
2264 $(LIBWBCLIENT_SYMS): $(LIBWBCLIENT_HEADERS)
2265 @$(MKSYMS_SH) $(AWK) $@ $(LIBWBCLIENT_HEADERS)
2267 $(LIBWBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ) $(LIBWBCLIENT_SYMS)
2268 @echo Linking shared library $@
2269 @$(SHLD_DSO) $(LIBWBCLIENT_OBJ) $(LIBREPLACE_LIBS) \
2270 @SONAMEFLAG@`basename $@`
2272 $(LIBWBCLIENT_SHARED_TARGET): $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2274 @ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
2276 $(LIBWBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2277 @echo Linking non-shared library $@
2278 @-$(AR) -rc $@ $(LIBWBCLIENT_OBJ0) $(WBCOMMON_OBJ)
2280 libwbclient: $(LIBWBCLIENT)
2284 $(LIBWBCLIENT_SYMS) \
2285 $(LIBWBCLIENT_STATIC_TARGET) \
2286 $(LIBWBCLIENT_SHARED_TARGET) \
2287 $(LIBWBCLIENT_SHARED_TARGET_SONAME)
2289 installlibwbclient:: installdirs libwbclient
2290 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2291 -$(INSTALLLIBCMD_SH) $(LIBWBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2292 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2293 -if test -r $(LIBWBCLIENT_SHARED_TARGET_SONAME) ; then \
2294 ln -f -s `basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
2295 $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
2297 -$(INSTALLLIBCMD_A) bin/libwbclient.a $(DESTDIR)$(LIBDIR)
2298 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2299 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBWBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2301 uninstalllibwbclient::
2302 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
2303 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
2304 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_STATIC_TARGET)`
2305 -rm -f $(DESTDIR)${prefix}/include/wbclient.h
2308 installlibs:: @INSTALL_LIBWBCLIENT@
2309 uninstalllibs:: uninstalllibwbclient
2310 cleanlibs:: cleanlibwbclient
2311 shlibs test_shlibs: @LIBWBCLIENT_SHARED@
2315 @echo "LIBWBCLIENT_SHARED
= @LIBWBCLIENT_SHARED@
"
2316 @echo "LIBWBCLIENT_STATIC
= @LIBWBCLIENT_STATIC@
"
2317 @echo "LIBWBCLIENT_LIBS
= $(LIBWBCLIENT_LIBS
)"
2319 @echo "LIBWBCLIENT_SHARED_TARGET
= $(LIBWBCLIENT_SHARED_TARGET
)"
2320 @echo "LIBWBCLIENT_SOVER
= $(LIBWBCLIENT_SOVER
)"
2321 @echo "LIBWBCLIENT_FULLVER
= $(LIBWBCLIENT_FULLVER
)"
2322 @echo "LIBWBCLIENT_SHARED TARGET_SONAME
= $(LIBWBCLIENT_SHARED_TARGET_SONAME
)"
2323 @echo "LIBWBCLIENT_STATIC_TARGET
= $(LIBWBCLIENT_STATIC_TARGET
)"
2324 @echo "LIBWBCLIENT
= $(LIBWBCLIENT
)"
2326 showlibs:: showlibwbclient
2329 #-------------------------------------------------------------------
2333 #-------------------------------------------------------------------
2336 LIBADDNS_SHARED_TARGET=@LIBADDNS_SHARED_TARGET@
2337 LIBADDNS_SOVER=@LIBADDNS_SOVER@
2338 LIBADDNS_FULLVER=@LIBADDNS_FULLVER@
2339 LIBADDNS_SHARED_TARGET_SONAME=@LIBADDNS_SHARED_TARGET_SOVER@
2340 LIBADDNS_STATIC_TARGET=@LIBADDNS_STATIC_TARGET@
2341 LIBADDNS=@LIBADDNS_STATIC@ @LIBADDNS_SHARED@
2342 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
2343 LIBADDNS_HEADERS=$(srcdir)/../lib/addns/addns.h
2345 $(LIBADDNS_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBADDNS_OBJ) $(LIBTALLOC)
2346 @echo Linking shared library $@
2347 @$(SHLD_DSO) $(LIBADDNS_OBJ) $(LIBS) \
2348 $(KRB5LIBS) $(UUID_LIBS) $(LIBTALLOC_LIBS) \
2349 @SONAMEFLAG@`basename $@`
2351 $(LIBADDNS_SHARED_TARGET): $(LIBADDNS_SHARED_TARGET_SONAME)
2353 @ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
2355 $(LIBADDNS_STATIC_TARGET): $(BINARY_PREREQS) $(LIBADDNS_OBJ0)
2356 @echo Linking non-shared library $@
2357 @-$(AR) -rc $@ $(LIBADDNS_OBJ0)
2359 libaddns: $(LIBADDNS)
2363 $(LIBADDNS_SHARED_TARGET) \
2364 $(LIBADDNS_SHARED_TARGET_SONAME) \
2365 $(LIBADDNS_STATIC_TARGET)
2367 installlibaddns:: installdirs libaddns
2368 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2369 -$(INSTALLLIBCMD_SH) $(LIBADDNS_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2370 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2371 -if test -r $(LIBADDNS_SHARED_TARGET_SONAME) ; then \
2372 ln -f -s `basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
2373 $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
2375 -$(INSTALLLIBCMD_A) $(LIBADDNS_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2378 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
2379 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
2380 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
2383 installlibs:: @INSTALL_LIBADDNS@
2384 uninstalllibs:: @UNINSTALL_LIBADDNS@
2385 cleanlibs:: cleanlibaddns
2386 shlibs test_shlibs: @LIBADDNS_SHARED@
2390 @echo "LIBADDNS_SHARED
= @LIBADDNS_SHARED@
"
2391 @echo "LIBADDNS_STATIC
= @LIBADDNS_STATIC@
"
2392 @echo "LIBADDNS_LIBS
= $(LIBADDNS_LIBS
)"
2394 @echo "LIBADDNS_SHARED_TARGET
= $(LIBADDNS_SHARED_TARGET
)"
2395 @echo "LIBADDNS_SOVER
= $(LIBADDNS_SOVER
)"
2396 @echo "LIBADDNS_FULLVER
= $(LIBADDNS_FULLVER
)"
2397 @echo "LIBADDNS_SHARED TARGET_SONAME
= $(LIBADDNS_SHARED_TARGET_SONAME
)"
2398 @echo "LIBADDNS_STATIC_TARGET
= $(LIBADDNS_STATIC_TARGET
)"
2399 @echo "LIBADDNS
= $(LIBADDNS
)"
2401 showlibs:: showlibaddns
2403 #-------------------------------------------------------------------
2407 #-------------------------------------------------------------------
2409 LIBNETAPI_OBJ0 = lib/netapi/netapi.o \
2411 librpc/gen_ndr/ndr_libnetapi.o \
2412 lib/netapi/libnetapi.o \
2413 lib/netapi/joindomain.o \
2414 lib/netapi/serverinfo.o \
2415 lib/netapi/getdc.o \
2417 lib/netapi/group.o \
2418 lib/netapi/localgroup.o \
2421 lib/netapi/share.o \
2423 lib/netapi/shutdown.o \
2424 lib/netapi/netlogon.o
2426 LIBNETAPI_OBJ = $(LIBNETAPI_OBJ0) $(LIBNET_OBJ) \
2428 $(REG_SMBCONF_OBJ) \
2429 $(PARAM_WITHOUT_REG_OBJ) $(LIB_NONSMBD_OBJ) \
2430 $(LIBSMB_OBJ) $(KRBCLIENT_OBJ) \
2431 $(LIBMSRPC_OBJ) $(LIBMSRPC_GEN_OBJ) \
2432 $(PASSDB_OBJ) $(SMBLDAP_OBJ) $(GROUPDB_OBJ) \
2433 $(DCUTIL_OBJ) $(LIBADS_OBJ) $(PRIVILEGES_BASIC_OBJ) \
2435 $(LIBCLI_INITSHUTDOWN_OBJ) \
2436 $(LIBCLI_WKSSVC_OBJ) \
2437 $(LIBCLI_SRVSVC_OBJ) \
2439 $(LIBCLI_SAMR_OBJ) \
2440 $(LIBCLI_NETLOGON_OBJ) \
2441 $(RPC_CLIENT_SCHANNEL_OBJ) \
2442 rpc_client/init_netlogon.o \
2443 rpc_client/init_samr.o
2445 LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@
2446 LIBNETAPI_SOVER=@LIBNETAPI_SOVER@
2447 LIBNETAPI_FULLVER=@LIBNETAPI_FULLVER@
2448 LIBNETAPI_SHARED_TARGET_SONAME=@LIBNETAPI_SHARED_TARGET_SOVER@
2449 LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@
2450 LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.@SYMSEXT@
2451 LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h
2453 $(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS)
2454 @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS)
2456 $(LIBNETAPI_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2457 @echo Linking shared library $@
2458 @$(SHLD_DSO) $(LIBNETAPI_OBJ) \
2459 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2460 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
2461 @SONAMEFLAG@`basename $@`
2463 $(LIBNETAPI_SHARED_TARGET): $(LIBNETAPI_SHARED_TARGET_SONAME)
2465 @ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
2467 $(LIBNETAPI_STATIC_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ0)
2468 @echo Linking non-shared library $@
2469 @-$(AR) -rc $@ $(LIBNETAPI_OBJ0)
2471 libnetapi: $(LIBNETAPI)
2476 $(LIBNETAPI_STATIC_TARGET) \
2477 $(LIBNETAPI_SHARED_TARGET) \
2478 $(LIBNETAPI_SHARED_TARGET_SONAME)
2480 installlibnetapi:: installdirs libnetapi
2481 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2482 -$(INSTALLLIBCMD_SH) $(LIBNETAPI_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2483 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2484 -if test -r $(LIBNETAPI_SHARED_TARGET_SONAME) ; then \
2485 ln -f -s `basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
2486 $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
2488 -$(INSTALLLIBCMD_A) $(LIBNETAPI_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2489 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2490 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(srcdir)/lib/netapi/netapi.h $(DESTDIR)${prefix}/include
2492 uninstalllibnetapi::
2493 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET)`
2494 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
2495 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
2496 -rm -f $(DESTDIR)${prefix}/include/netapi.h
2499 installlibs:: @INSTALL_LIBNETAPI@
2500 uninstalllibs:: @UNINSTALL_LIBNETAPI@
2501 cleanlibs:: cleanlibnetapi
2502 shlibs test_shlibs: @LIBNETAPI_SHARED@
2506 @echo "LIBNETAPI_SHARED
= @LIBNETAPI_SHARED@
"
2507 @echo "LIBNETAPI_STATIC
= @LIBNETAPI_STATIC@
"
2508 @echo "LIBNETAPI_LIBS
= $(LIBNETAPI_LIBS
)"
2510 @echo "LIBNETAPI_SHARED_TARGET
= $(LIBNETAPI_SHARED_TARGET
)"
2511 @echo "LIBNETAPI_SOVER
= $(LIBNETAPI_SOVER
)"
2512 @echo "LIBNETAPI_FULLVER
= $(LIBNETAPI_FULLVER
)"
2513 @echo "LIBNETAPI_SHARED TARGET_SONAME
= $(LIBNETAPI_SHARED_TARGET_SONAME
)"
2514 @echo "LIBNETAPI_STATIC_TARGET
= $(LIBNETAPI_STATIC_TARGET
)"
2515 @echo "LIBNETAPI
= $(LIBNETAPI
)"
2517 showlibs:: showlibnetapi
2519 #-------------------------------------------------------------------
2523 #-------------------------------------------------------------------
2525 LIBSMBCLIENT_SHARED_TARGET=@LIBSMBCLIENT_SHARED_TARGET@
2526 LIBSMBCLIENT_SOVER=@LIBSMBCLIENT_SOVER@
2527 LIBSMBCLIENT_FULLVER=@LIBSMBCLIENT_FULLVER@
2528 LIBSMBCLIENT_SHARED_TARGET_SONAME=@LIBSMBCLIENT_SHARED_TARGET_SOVER@
2529 LIBSMBCLIENT_STATIC_TARGET=@LIBSMBCLIENT_STATIC_TARGET@
2530 LIBSMBCLIENT=@LIBSMBCLIENT_STATIC@ @LIBSMBCLIENT_SHARED@
2531 LIBSMBCLIENT_SYMS=$(srcdir)/exports/libsmbclient.@SYMSEXT@
2532 LIBSMBCLIENT_HEADERS=$(srcdir)/include/libsmbclient.h
2534 $(LIBSMBCLIENT_SYMS): $(LIBSMBCLIENT_HEADERS)
2535 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBCLIENT_HEADERS)
2537 $(LIBSMBCLIENT_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) $(LIBSMBCLIENT_SYMS) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2538 @echo Linking shared library $@
2539 @$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBSMBCLIENT_THREAD_OBJ) \
2540 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) $(LIBS) \
2541 $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) $(PTHREAD_LDFLAGS) \
2542 @SONAMEFLAG@`basename $@`
2544 $(LIBSMBCLIENT_SHARED_TARGET): $(LIBSMBCLIENT_SHARED_TARGET_SONAME)
2546 @ln -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
2548 $(LIBSMBCLIENT_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ1)
2549 @echo Linking non-shared library $@
2550 @-$(AR) -rc $@ $(LIBSMBCLIENT_OBJ1)
2552 libsmbclient: $(LIBSMBCLIENT)
2556 $(LIBSMBCLIENT_SHARED_TARGET) \
2557 $(LIBSMBCLIENT_SHARED_TARGET_SONAME) \
2558 $(LIBSMBCLIENT_STATIC_TARGET)
2560 installlibsmbclient:: installdirs libsmbclient
2561 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2562 -$(INSTALLLIBCMD_SH) $(LIBSMBCLIENT_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2563 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2564 -if test -r $(LIBSMBCLIENT_SHARED_TARGET_SONAME) ; then \
2565 ln -f -s `basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
2566 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
2568 -$(INSTALLLIBCMD_A) $(LIBSMBCLIENT_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2569 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2570 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBCLIENT_HEADERS) $(DESTDIR)${prefix}/include
2572 installclientlib:: installlibsmbclient
2574 uninstalllibsmbclient::
2575 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2576 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2577 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2578 -rm -f $(DESTDIR)${prefix}/include/libsmbclient.h
2580 uninstallclientlib:: uninstalllibsmbclient
2583 installlibs:: @INSTALL_LIBSMBCLIENT@
2584 uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
2585 cleanlibs:: cleanlibsmbclient
2586 shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
2590 @echo "LIBSMBCLIENT_SHARED
= @LIBSMBCLIENT_SHARED@
"
2591 @echo "LIBSMBCLIENT_STATIC
= @LIBSMBCLIENT_STATIC@
"
2592 @echo "LIBSMBCLIENT_LIBS
= $(LIBSMBCLIENT_LIBS
)"
2594 @echo "LIBSMBCLIENT_SHARED_TARGET
= $(LIBSMBCLIENT_SHARED_TARGET
)"
2595 @echo "LIBSMBCLIENT_SOVER
= $(LIBSMBCLIENT_SOVER
)"
2596 @echo "LIBSMBCLIENT_FULLVER
= $(LIBSMBCLIENT_FULLVER
)"
2597 @echo "LIBSMBCLIENT_SHARED TARGET_SONAME
= $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)"
2598 @echo "LIBSMBCLIENT_STATIC_TARGET
= $(LIBSMBCLIENT_STATIC_TARGET
)"
2599 @echo "LIBSMBCLIENT
= $(LIBSMBCLIENT
)"
2601 showlibs:: showlibsmbclient
2603 #-------------------------------------------------------------------
2607 #-------------------------------------------------------------------
2609 LIBSMBSHAREMODES_OBJ0 = libsmb/smb_share_modes.o ../lib/ccan/hash/hash.o
2611 LIBSMBSHAREMODES_OBJ = $(LIBSMBSHAREMODES_OBJ0)
2613 LIBSMBSHAREMODES_SHARED_TARGET=@LIBSMBSHAREMODES_SHARED_TARGET@
2614 LIBSMBSHAREMODES_SOVER=@LIBSMBSHAREMODES_SOVER@
2615 LIBSMBSHAREMODES_FULLVER=@LIBSMBSHAREMODES_FULLVER@
2616 LIBSMBSHAREMODES_SHARED_TARGET_SONAME=@LIBSMBSHAREMODES_SHARED_TARGET_SOVER@
2617 LIBSMBSHAREMODES_STATIC_TARGET=@LIBSMBSHAREMODES_STATIC_TARGET@
2618 LIBSMBSHAREMODES=@LIBSMBSHAREMODES_STATIC@ @LIBSMBSHAREMODES_SHARED@
2619 LIBSMBSHAREMODES_SYMS=$(srcdir)/exports/libsmbsharemodes.@SYMSEXT@
2620 LIBSMBSHAREMODES_HEADERS=$(srcdir)/include/smb_share_modes.h
2622 $(LIBSMBSHAREMODES_SYMS): $(LIBSMBSHAREMODES_HEADERS)
2623 @$(MKSYMS_SH) $(AWK) $@ $(LIBSMBSHAREMODES_HEADERS)
2625 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ) $(LIBSMBSHAREMODES_SYMS) $(LIBTALLOC) $(LIBTDB)
2626 @echo Linking shared library $@
2627 @$(SHLD_DSO) $(LIBSMBSHAREMODES_OBJ) \
2628 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
2629 @SONAMEFLAG@`basename $@`
2631 $(LIBSMBSHAREMODES_SHARED_TARGET): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)
2633 @ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2635 $(LIBSMBSHAREMODES_STATIC_TARGET): $(BINARY_PREREQS) $(LIBSMBSHAREMODES_OBJ0)
2636 @echo Linking non-shared library $@
2637 @-$(AR) -rc $@ $(LIBSMBSHAREMODES_OBJ0)
2639 libsmbsharemodes: $(LIBSMBSHAREMODES)
2641 cleanlibsmbsharemodes::
2643 $(LIBSMBSHAREMODES_SHARED_TARGET) \
2644 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) \
2645 $(LIBSMBSHAREMODES_STATIC_TARGET)
2647 installlibsmbsharemodes:: installdirs libsmbsharemodes
2648 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
2649 -$(INSTALLLIBCMD_SH) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
2650 @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2651 -if test -r $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME) ; then \
2652 ln -f -s `basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2653 $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2655 -$(INSTALLLIBCMD_A) $(LIBSMBSHAREMODES_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
2656 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
2657 -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBSMBSHAREMODES_HEADERS) $(DESTDIR)${prefix}/include
2659 uninstalllibsmbsharemodes::
2660 -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2661 -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2662 -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2663 -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
2665 libs:: libsmbsharemodes
2666 installlibs:: @INSTALL_LIBSMBSHAREMODES@
2667 uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
2668 cleanlibs:: cleanlibsmbsharemodes
2669 shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
2671 showlibsmbsharemodes:
2673 @echo "LIBSMBSHAREMODES_SHARED
= @LIBSMBSHAREMODES_SHARED@
"
2674 @echo "LIBSMBSHAREMODES_STATIC
= @LIBSMBSHAREMODES_STATIC@
"
2675 @echo "LIBSMBSHAREMODES_TARGET
= @LIBSMBSHAREMODES_TARGET@
"
2676 @echo "LIBSMBSHAREMODES_LIBS
= $(LIBSMBSHAREMODES_LIBS
)"
2678 @echo "LIBSMBSHAREMODES_SHARED_TARGET
= $(LIBSMBSHAREMODES_SHARED_TARGET
)"
2679 @echo "LIBSMBSHAREMODES_SOVER
= $(LIBSMBSHAREMODES_SOVER
)"
2680 @echo "LIBSMBSHAREMODES_FULLVER
= $(LIBSMBSHAREMODES_FULLVER
)"
2681 @echo "LIBSMBSHAREMODES_SHARED TARGET_SONAME
= $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)"
2682 @echo "LIBSMBSHAREMODES_STATIC_TARGET
= $(LIBSMBSHAREMODES_STATIC_TARGET
)"
2683 @echo "LIBSMBSHAREMODES
= $(LIBSMBSHAREMODES
)"
2685 showlibs:: showlibsmbsharemodes
2687 #-------------------------------------------------------------------
2691 #-------------------------------------------------------------------
2693 # This is probably wrong for anything other than the GNU linker.
2694 bin/libbigballofmud.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBBIGBALLOFMUD_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2695 @echo Linking shared library $@
2696 @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBBIGBALLOFMUD_OBJ) \
2697 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2698 $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS) -lz \
2699 @SONAMEFLAG@`basename $@`.$(LIBBIGBALLOFMUD_MAJOR)
2700 ln -snf libbigballofmud.so bin/libbigballofmud.so.0
2702 # It would be nice to build a static bigballofmud too, but when I try
2703 # I get linker errors about dl_open and similar things. I'm not sure if
2704 # it can be fixed or if they just can't be called from a static
2707 #####################################################################
2711 #####################################################################
2713 # Linker command to link our shared libraries:
2714 SHLD_LIBRARY = $(SHLD) $(LDSHFLAGS) $(MODULE_EXPORTS) \
2715 -o $@ @SONAMEFLAG@`basename $@`
2716 # Linker command to link samba internal plugin modules:
2717 SHLD_MODULE = $(SHLD) $(LDSHFLAGS_MODULES) $(MODULE_EXPORTS) \
2718 -o $@ @SONAMEFLAG@`basename $@`
2720 bin/librpc_lsarpc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_LSARPC_OBJ)
2722 @$(SHLD_LIBRARY) $(RPC_LSARPC_OBJ)
2724 bin/librpc_samr.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SAMR_OBJ)
2726 @$(SHLD_LIBRARY) $(RPC_SAMR_OBJ)
2728 bin/librpc_srvsvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SRVSVC_OBJ)
2730 @$(SHLD_LIBRARY) $(RPC_SRVSVC_OBJ)
2732 bin/librpc_svcctl.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SVCCTL_OBJ)
2734 @$(SHLD_LIBRARY) $(RPC_SVCCTL_OBJ)
2736 bin/librpc_ntsvcs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NTSVCS_OBJ)
2738 @$(SHLD_LIBRARY) $(RPC_NTSVCS_OBJ)
2740 bin/librpc_wkssvc.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WKSSVC_OBJ)
2742 @$(SHLD_LIBRARY) $(RPC_WKSSVC_OBJ)
2744 bin/librpc_NETLOGON.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETLOGON_OBJ)
2746 @$(SHLD_LIBRARY) $(RPC_NETLOGON_OBJ)
2748 bin/librpc_winreg.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_WINREG_OBJ)
2750 @$(SHLD_LIBRARY) $(RPC_WINREG_OBJ)
2752 bin/librpc_initshutdown.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_INITSHUTDOWN_OBJ)
2754 @$(SHLD_LIBRARY) $(RPC_INITSHUTDOWN_OBJ)
2756 bin/librpc_dssetup.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_DSSETUP_OBJ)
2758 @$(SHLD_LIBRARY) $(RPC_DSSETUP_OBJ)
2760 bin/librpc_spoolss.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_SPOOLSS_OBJ)
2762 @$(SHLD_LIBRARY) $(RPC_SPOOLSS_OBJ)
2764 bin/librpc_eventlog.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_EVENTLOG_OBJ)
2766 @$(SHLD_LIBRARY) $(RPC_EVENTLOG_OBJ)
2768 bin/librpc_netdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_NETDFS_OBJ)
2770 @$(SHLD_LIBRARY) $(RPC_NETDFS_OBJ)
2772 bin/librpc_rpcecho.@SHLIBEXT@: $(BINARY_PREREQS) $(RPC_RPCECHO_OBJ)
2774 @$(SHLD_LIBRARY) $(RPC_RPCECHO_OBJ)
2776 bin/winbindd@EXEEXT@: $(BINARY_PREREQS) $(WINBINDD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
2778 @$(CC) -o $@ $(WINBINDD_OBJ) $(LDFLAGS) $(DYNEXP) $(LIBS) \
2779 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(AUTH_LIBS) \
2780 $(PASSDB_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) \
2783 bin/vlp@EXEEXT@: $(BINARY_PREREQS) $(VLP_OBJ) $(LIBTDB)
2785 @$(CC) -o $@ $(VLP_OBJ) $(LDFLAGS) $(DYNEXP) \
2786 $(TERMLDFLAGS) $(TERMLIBS) $(LIBS) $(POPT_LIBS) \
2789 @WINBIND_NSS@: $(BINARY_PREREQS) $(WINBIND_NSS_OBJ)
2791 @$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_OBJ) \
2792 $(LIBREPLACE_LIBS) $(PTHREAD_LDFLAGS) \
2793 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2795 @WINBIND_WINS_NSS@: $(BINARY_PREREQS) $(WINBIND_WINS_NSS_OBJ) $(LIBTALLOC) $(LIBTDB)
2797 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_WINS_NSS_OBJ) \
2798 $(LDAP_LIBS) $(KRB5LIBS) $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(ZLIB_LIBS) \
2799 @SONAMEFLAG@`basename $@`@NSSSONAMEVERSIONSUFFIX@
2801 bin/winbind_krb5_locator.@SHLIBEXT@: $(BINARY_PREREQS) $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT)
2803 @$(SHLD) $(LDSHFLAGS) -o $@ $(WINBIND_KRB5_LOCATOR_OBJ) $(LIBWBCLIENT_LIBS) $(KRB5LIBS) \
2804 @SONAMEFLAG@`basename $@`
2806 bin/pam_winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_WINBIND_OBJ) $(LIBTALLOC) $(LIBWBCLIENT)
2807 @echo "Linking shared library
$@
"
2808 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ) -lpam @INIPARSERLIBS@ \
2809 $(LIBREPLACE_LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) @SONAMEFLAG@`basename $@`
2815 bin/builtin.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_BUILTIN_OBJ)
2816 @echo "Building plugin
$@
"
2817 @$(SHLD_MODULE) $(AUTH_BUILTIN_OBJ)
2819 bin/domain.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_DOMAIN_OBJ)
2820 @echo "Building plugin
$@
"
2821 @$(SHLD_MODULE) $(AUTH_DOMAIN_OBJ)
2823 bin/script.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SCRIPT_OBJ)
2824 @echo "Building plugin
$@
"
2825 @$(SHLD_MODULE) $(AUTH_SCRIPT_OBJ)
2827 bin/netlogond.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_NETLOGOND_OBJ)
2828 @echo "Building plugin
$@
"
2829 @$(SHLD_MODULE) $(AUTH_NETLOGOND_OBJ)
2831 bin/smbserver.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SERVER_OBJ)
2832 @echo "Building plugin
$@
"
2833 @$(SHLD_MODULE) $(AUTH_SERVER_OBJ)
2835 bin/winbind.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WINBIND_OBJ)
2836 @echo "Building plugin
$@
"
2837 @$(SHLD_MODULE) $(AUTH_WINBIND_OBJ)
2839 bin/wbc.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_WBC_OBJ)
2840 @echo "Building plugin
$@
"
2841 @$(SHLD_MODULE) $(AUTH_WBC_OBJ)
2843 bin/unix.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_UNIX_OBJ)
2844 @echo "Building plugin
$@
"
2845 @$(SHLD_MODULE) $(AUTH_UNIX_OBJ)
2847 bin/sam.@SHLIBEXT@: $(BINARY_PREREQS) $(AUTH_SAM_OBJ)
2848 @echo "Building plugin
$@
"
2849 @$(SHLD_MODULE) $(AUTH_SAM_OBJ)
2851 bin/ldapsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ldap.o passdb/pdb_nds.o \
2853 @echo "Building plugin
$@
"
2854 @$(SHLD_MODULE) passdb/pdb_ldap.o passdb/pdb_nds.o passdb/pdb_ipa.o \
2857 bin/ads.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_ads.o
2858 @echo "Building plugin
$@
"
2859 @$(SHLD_MODULE) passdb/pdb_ads.o
2861 bin/tdbsam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_tdb.o
2862 @echo "Building plugin
$@
"
2863 @$(SHLD_MODULE) passdb/pdb_tdb.o
2865 bin/wbc_sam.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_wbc_sam.o
2866 @echo "Building plugin
$@
"
2867 @$(SHLD_MODULE) passdb/pdb_wbc_sam.o
2869 bin/smbpasswd.@SHLIBEXT@: $(BINARY_PREREQS) passdb/pdb_smbpasswd.o
2870 @echo "Building plugin
$@
"
2871 @$(SHLD_MODULE) passdb/pdb_smbpasswd.o
2873 bin/rid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_rid.o
2874 @echo "Building plugin
$@
"
2875 @$(SHLD_MODULE) winbindd/idmap_rid.o
2877 bin/passdb.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_passdb.o
2878 @echo "Building plugin
$@
"
2879 @$(SHLD_MODULE) winbindd/idmap_passdb.o
2881 bin/autorid.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_autorid.o
2882 @echo "Building plugin
$@
"
2883 @$(SHLD_MODULE) winbindd/idmap_autorid.o
2885 bin/ad.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ad.o
2886 @echo "Building plugin
$@
"
2887 @$(SHLD_MODULE) winbindd/idmap_ad.o
2889 bin/hash.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_HASH_OBJ)
2890 @echo "Building plugin
$@
"
2891 @$(SHLD_MODULE) $(IDMAP_HASH_OBJ)
2893 bin/adex.@SHLIBEXT@: $(BINARY_PREREQS) $(IDMAP_ADEX_OBJ)
2894 @echo "Building plugin
$@
"
2895 @$(SHLD_MODULE) $(IDMAP_ADEX_OBJ)
2897 bin/tdb2.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2898 @echo "Building plugin
$@
"
2899 @$(SHLD_MODULE) winbindd/idmap_tdb2.o $(IDMAP_RW_OBJ)
2901 bin/ldap.@SHLIBEXT@: $(BINARY_PREREQS) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2902 @echo "Building plugin
$@
"
2903 @$(SHLD_MODULE) winbindd/idmap_ldap.o $(IDMAP_RW_OBJ)
2905 bin/weird.@SHLIBEXT@: $(BINARY_PREREQS) $(DEVEL_HELP_WEIRD_OBJ)
2906 @echo "Building plugin
$@
"
2907 @$(SHLD_MODULE) $(DEVEL_HELP_WEIRD_OBJ)
2909 bin/CP850.@SHLIBEXT@: $(BINARY_PREREQS) $(CP850_OBJ)
2910 @echo "Building plugin
$@
"
2911 @$(SHLD_MODULE) $(CP850_OBJ)
2913 bin/CP437.@SHLIBEXT@: $(BINARY_PREREQS) $(CP437_OBJ)
2914 @echo "Building plugin
$@
"
2915 @$(SHLD_MODULE) $(CP437_OBJ)
2917 bin/macosxfs.@SHLIBEXT@: $(BINARY_PREREQS) $(CHARSET_MACOSXFS_OBJ)
2918 @echo "Building plugin
$@
"
2919 @$(SHLD_MODULE) $(CHARSET_MACOSXFS_OBJ) -framework CoreFoundation
2921 # NOTE, there is no build rule for a dynamic default VFS module because
2922 # this one MUST MUST MUST be built statically.
2924 bin/audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AUDIT_OBJ)
2925 @echo "Building plugin
$@
"
2926 @$(SHLD_MODULE) $(VFS_AUDIT_OBJ)
2928 bin/extd_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXTD_AUDIT_OBJ)
2929 @echo "Building plugin
$@
"
2930 @$(SHLD_MODULE) $(VFS_EXTD_AUDIT_OBJ)
2932 bin/full_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FULL_AUDIT_OBJ)
2933 @echo "Building plugin
$@
"
2934 @$(SHLD_MODULE) $(VFS_FULL_AUDIT_OBJ)
2936 bin/recycle.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_RECYCLE_OBJ)
2937 @echo "Building plugin
$@
"
2938 @$(SHLD_MODULE) $(VFS_RECYCLE_OBJ)
2940 bin/netatalk.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NETATALK_OBJ)
2941 @echo "Building plugin
$@
"
2942 @$(SHLD_MODULE) $(VFS_NETATALK_OBJ)
2944 bin/fake_perms.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FAKE_PERMS_OBJ)
2945 @echo "Building plugin
$@
"
2946 @$(SHLD_MODULE) $(VFS_FAKE_PERMS_OBJ)
2948 bin/default_quota.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DEFAULT_QUOTA_OBJ)
2949 @echo "Building plugin
$@
"
2950 @$(SHLD_MODULE) $(VFS_DEFAULT_QUOTA_OBJ)
2952 bin/readonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READONLY_OBJ)
2953 @echo "Building plugin
$@
"
2954 @$(SHLD_MODULE) $(VFS_READONLY_OBJ)
2956 bin/shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY_OBJ)
2957 @echo "Building plugin
$@
"
2958 @$(SHLD_MODULE) $(VFS_SHADOW_COPY_OBJ)
2960 bin/shadow_copy2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SHADOW_COPY2_OBJ)
2961 @echo "Building plugin
$@
"
2962 @$(SHLD_MODULE) $(VFS_SHADOW_COPY2_OBJ)
2964 bin/syncops.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SYNCOPS_OBJ)
2965 @echo "Building plugin
$@
"
2966 @$(SHLD_MODULE) $(VFS_SYNCOPS_OBJ)
2968 bin/cap.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CAP_OBJ)
2969 @echo "Building plugin
$@
"
2970 @$(SHLD_MODULE) $(VFS_CAP_OBJ)
2972 bin/expand_msdfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_EXPAND_MSDFS_OBJ)
2973 @echo "Building plugin
$@
"
2974 @$(SHLD_MODULE) $(VFS_EXPAND_MSDFS_OBJ)
2976 bin/afsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AFSACL_OBJ)
2977 @echo "Building plugin
$@
"
2978 @$(SHLD_MODULE) $(VFS_AFSACL_OBJ)
2980 bin/xattr_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_XATTR_TDB_OBJ)
2981 @echo "Building plugin
$@
"
2982 @$(SHLD_MODULE) $(VFS_XATTR_TDB_OBJ)
2984 bin/posixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_POSIXACL_OBJ)
2985 @echo "Building plugin
$@
"
2986 @$(SHLD_MODULE) $(VFS_POSIXACL_OBJ)
2988 bin/aixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL_OBJ)
2989 @echo "Building plugin
$@
"
2990 @$(SHLD_MODULE) $(VFS_AIXACL_OBJ)
2992 bin/aixacl2.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIXACL2_OBJ)
2993 @echo "Building plugin
$@
"
2994 @$(SHLD_MODULE) $(VFS_AIXACL2_OBJ)
2996 bin/solarisacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SOLARISACL_OBJ)
2997 @echo "Building plugin
$@
"
2998 @$(SHLD_MODULE) $(VFS_SOLARISACL_OBJ)
3000 bin/zfsacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ZFSACL_OBJ)
3001 @echo "Building plugin
$@
"
3002 @$(SHLD_MODULE) $(VFS_ZFSACL_OBJ) @ZFSACL_LIBS@
3004 bin/irixacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_IRIXACL_OBJ)
3005 @echo "Building plugin
$@
"
3006 @$(SHLD_MODULE) $(VFS_IRIXACL_OBJ)
3008 bin/hpuxacl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_HPUXACL_OBJ)
3009 @echo "Building plugin
$@
"
3010 @$(SHLD_MODULE) $(VFS_HPUXACL_OBJ)
3012 bin/tru64acl.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TRU64ACL_OBJ)
3013 @echo "Building plugin
$@
"
3014 @$(SHLD_MODULE) $(VFS_TRU64ACL_OBJ)
3016 bin/catia.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CATIA_OBJ)
3017 @echo "Building plugin
$@
"
3018 @$(SHLD_MODULE) $(VFS_CATIA_OBJ)
3020 bin/streams_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_XATTR_OBJ)
3021 @echo "Building plugin
$@
"
3022 @$(SHLD_MODULE) $(VFS_STREAMS_XATTR_OBJ)
3024 bin/streams_depot.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_STREAMS_DEPOT_OBJ)
3025 @echo "Building plugin
$@
"
3026 @$(SHLD_MODULE) $(VFS_STREAMS_DEPOT_OBJ)
3028 bin/cacheprime.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CACHEPRIME_OBJ)
3029 @echo "Building plugin
$@
"
3030 @$(SHLD_MODULE) $(VFS_CACHEPRIME_OBJ)
3032 bin/prealloc.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREALLOC_OBJ)
3033 @echo "Building plugin
$@
"
3034 @$(SHLD_MODULE) $(VFS_PREALLOC_OBJ)
3036 bin/commit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_COMMIT_OBJ)
3037 @echo "Building plugin
$@
"
3038 @$(SHLD_MODULE) $(VFS_COMMIT_OBJ)
3040 bin/gpfs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_OBJ)
3041 @echo "Building plugin
$@
"
3042 @$(SHLD_MODULE) $(VFS_GPFS_OBJ)
3044 bin/gpfs_hsm_notify.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3045 @echo "Building plugin
$@
"
3046 @$(SHLD_MODULE) $(VFS_GPFS_HSM_NOTIFY_OBJ)
3048 bin/notify_fam.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_NOTIFY_FAM_OBJ)
3049 @echo "Building plugin
$@
"
3050 @$(SHLD_MODULE) $(VFS_NOTIFY_FAM_OBJ) @SMB_FAM_LIBS@
3052 bin/readahead.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_READAHEAD_OBJ)
3053 @echo "Building plugin
$@
"
3054 @$(SHLD_MODULE) $(VFS_READAHEAD_OBJ)
3056 bin/tsmsm.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TSMSM_OBJ)
3057 @echo "Building plugin
$@
"
3058 @$(SHLD_MODULE) $(VFS_TSMSM_OBJ)
3060 bin/fileid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_FILEID_OBJ)
3061 @echo "Building plugin
$@
"
3062 @$(SHLD_MODULE) $(VFS_FILEID_OBJ)
3064 bin/aio_fork.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_AIO_FORK_OBJ)
3065 @echo "Building plugin
$@
"
3066 @$(SHLD_MODULE) $(VFS_AIO_FORK_OBJ)
3068 bin/preopen.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_PREOPEN_OBJ)
3069 @echo "Building plugin
$@
"
3070 @$(SHLD_MODULE) $(VFS_PREOPEN_OBJ)
3072 bin/acl_xattr.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_XATTR_OBJ)
3073 @echo "Building plugin
$@
"
3074 @$(SHLD_MODULE) $(VFS_ACL_XATTR_OBJ)
3076 bin/smb_traffic_analyzer.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3077 @echo "Building plugin
$@
"
3078 @$(SHLD_MODULE) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ)
3080 bin/acl_tdb.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ACL_TDB_OBJ)
3081 @echo "Building plugin
$@
"
3082 @$(SHLD_MODULE) $(VFS_ACL_TDB_OBJ)
3084 bin/onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_OBJ)
3085 @echo "Building plugin
$@
"
3086 @$(SHLD_MODULE) $(VFS_ONEFS_OBJ) @ONEFS_LIBS@
3088 bin/onefs_shadow_copy.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3089 @echo "Building plugin
$@
"
3090 @$(SHLD_MODULE) $(VFS_ONEFS_SHADOW_COPY_OBJ)
3092 bin/pc_onefs.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_ONEFS_OBJ)
3093 @echo "Building plugin
$@
"
3094 @$(SHLD_MODULE) $(PERFCOUNT_ONEFS_OBJ)
3096 bin/pc_test.@SHLIBEXT@: $(BINARY_PREREQS) $(PERFCOUNT_TEST_OBJ)
3097 @echo "Building plugin
$@
"
3098 @$(SHLD_MODULE) $(PERFCOUNT_TEST_OBJ)
3100 bin/registry.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/registry.o
3101 @echo "Building plugin
$@
"
3102 @$(SHLD_MODULE) libgpo/gpext/registry.o
3104 bin/scripts.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/scripts.o
3105 @echo "Building plugin
$@
"
3106 @$(SHLD_MODULE) libgpo/gpext/scripts.o
3108 bin/security.@SHLIBEXT@: $(BINARY_PREREQS) libgpo/gpext/security.o
3109 @echo "Building plugin
$@
"
3110 @$(SHLD_MODULE) libgpo/gpext/security.o
3112 bin/dirsort.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_DIRSORT_OBJ)
3113 @echo "Building plugin
$@
"
3114 @$(SHLD_MODULE) $(VFS_DIRSORT_OBJ)
3116 bin/scannedonly.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_SCANNEDONLY_OBJ)
3117 @echo "Building plugin
$@
"
3118 @$(SHLD_MODULE) $(VFS_SCANNEDONLY_OBJ)
3120 bin/crossrename.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_CROSSRENAME_OBJ)
3121 @echo "Building plugin
$@
"
3122 @$(SHLD_MODULE) $(VFS_CROSSRENAME_OBJ)
3124 bin/linux_xfs_sgid.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_LINUX_XFS_SGID_OBJ)
3125 @echo "Building plugin
$@
"
3126 @$(SHLD_MODULE) $(VFS_LINUX_XFS_SGID_OBJ)
3128 bin/time_audit.@SHLIBEXT@: $(BINARY_PREREQS) $(VFS_TIME_AUDIT_OBJ)
3129 @echo "Building plugin
$@
"
3130 @$(SHLD_MODULE) $(VFS_TIME_AUDIT_OBJ)
3132 #########################################################
3133 ## IdMap NSS plugins
3135 ## None here right now
3136 #########################################################
3138 bin/wbinfo@EXEEXT@: $(BINARY_PREREQS) $(WBINFO_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3140 @$(CC) -o $@ $(LDFLAGS) $(WBINFO_OBJ) $(DYNEXP) $(LIBS) \
3141 $(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) \
3144 bin/ntlm_auth@EXEEXT@: $(BINARY_PREREQS) $(NTLM_AUTH_OBJ) $(PARAM_OBJ) \
3145 $(LIB_NONSMBD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3147 @$(CC) -o $@ $(LDFLAGS) $(DYNEXP) $(NTLM_AUTH_OBJ) \
3148 $(PARAM_OBJ) $(LIB_NONSMBD_OBJ) $(LIBS) $(ZLIB_LIBS) \
3149 $(POPT_LIBS) $(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
3150 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS) @INIPARSERLIBS@
3152 bin/pam_smbpass.@SHLIBEXT@: $(BINARY_PREREQS) $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) $(LIBTALLOC) $(LIBWBCLIENT) $(LIBTDB)
3153 @echo "Linking shared library
$@
"
3154 @$(SHLD) $(LDSHFLAGS) -o $@ $(PAM_SMBPASS_OBJ) $(LIBCLI_LDAP_NDR_OBJ) -lpam $(DYNEXP) \
3155 $(LIBS) $(LDAP_LIBS) $(NSCD_LIBS) $(ZLIB_LIBS) \
3156 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS) $(LIBWBCLIENT_LIBS)
3158 bin/tdbbackup@EXEEXT@: $(BINARY_PREREQS) $(TDBBACKUP_OBJ) $(LIBTALLOC) $(LIBTDB)
3160 @$(CC) -o $@ $(LDFLAGS) $(TDBBACKUP_OBJ) $(DYNEXP) \
3161 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3163 bin/tdbtool@EXEEXT@: $(BINARY_PREREQS) $(TDBTOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3165 @$(CC) -o $@ $(LDFLAGS) $(TDBTOOL_OBJ) $(DYNEXP) \
3166 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3168 bin/tdbdump@EXEEXT@: $(BINARY_PREREQS) $(TDBDUMP_OBJ) $(LIBTDB)
3170 @$(CC) -o $@ $(LDFLAGS) $(TDBDUMP_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3172 bin/tdbrestore@EXEEXT@: $(BINARY_PREREQS) $(TDBRESTORE_OBJ) $(LIBTDB)
3174 @$(CC) -o $@ $(LDFLAGS) $(TDBRESTORE_OBJ) $(DYNEXP) $(LIBTDB_LIBS) $(LIBREPLACE_LIBS)
3176 bin/tdbtorture@EXEEXT@: $(BINARY_PREREQS) $(TDBTORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3178 @$(CC) -o $@ $(LDFLAGS) $(TDBTORTURE_OBJ) $(DYNEXP) \
3179 $(LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3181 bin/t_strcmp@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strcmp.o
3182 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3183 torture/t_strcmp.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3185 bin/t_strstr@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strstr.o
3186 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3187 torture/t_strstr.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3189 bin/t_strappend@EXEEXT@: $(BINARY_PREREQS) $(LIBTALLOC) bin/libbigballofmud.@SHLIBEXT@ torture/t_strappend.o
3190 $(CC) -o $@ $(DYNEXP) $(LIBS) $(LIBTALLOC_LIBS) \
3191 torture/t_strappend.o -L ./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3193 bin/t_stringoverflow@EXEEXT@: $(BINARY_PREREQS) bin/libbigballofmud.@SHLIBEXT@ torture/t_stringoverflow.o
3194 $(CC) -o $@ $(DYNEXP) torture/t_stringoverflow.o \
3195 -L./bin -lbigballofmud $(LIBWBCLIENT_LIBS)
3197 bin/timelimit@EXEEXT@: script/tests/timelimit.o
3199 @$(CC) -o $@ $(DYNEXP) script/tests/timelimit.o
3201 bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3203 @$(CC) -o $@ $(RPC_OPEN_TCP_OBJ) $(LDFLAGS) $(DYNEXP) \
3204 $(LIBS) $(LIBTALLOC_LIBS) $(LIBWBCLIENT_LIBS) \
3205 $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS)
3207 bin/test_lp_load@EXEEXT@: $(BINARY_PREREQS) $(TEST_LP_LOAD_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3209 @$(CC) -o $@ $(TEST_LP_LOAD_OBJ) \
3210 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3211 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3212 $(POPT_LIBS) $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3214 bin/dbwrap_tool@EXEEXT@: $(DBWRAP_TOOL_OBJ) $(LIBTALLOC) $(LIBTDB)
3216 @$(CC) -o $@ $(DBWRAP_TOOL_OBJ)\
3217 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3219 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3221 install-dbwrap_tool:: bin/dbwrap_tool@EXEEXT@
3222 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3224 bin/dbwrap_torture@EXEEXT@: $(DBWRAP_TORTURE_OBJ) $(LIBTALLOC) $(LIBTDB)
3226 @$(CC) -o $@ $(DBWRAP_TORTURE_OBJ)\
3227 $(LDFLAGS) $(DYNEXP) $(LIBS) \
3230 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3232 install-dbwrap_torture:: bin/dbwrap_torture@EXEEXT@
3233 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $<
3235 bin/split_tokens@EXEEXT@: $(BINARY_PREREQS) $(SPLIT_TOKENS_OBJ) @BUILD_POPT@ $(LIBTALLOC) $(LIBTDB) $(LIBWBCLIENT)
3237 @$(CC) -o $@ $(SPLIT_TOKENS_OBJ) \
3238 $(LDFLAGS) $(DYNEXP) \
3239 $(LIBS) $(POPT_LIBS) \
3240 $(LDAP_LIBS) $(LIBWBCLIENT_LIBS) \
3241 $(LIBTALLOC_LIBS) $(LIBTDB_LIBS)
3243 install:: installservers installbin installman \
3244 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
3245 @INSTALL_PAM_MODULES@ installlibs installmo
3247 install-everything:: install installmodules
3249 # DESTDIR is used here to prevent packagers wasting their time
3250 # duplicating the Makefile. Remove it and you will have the privelege
3251 # of package each samba release for muliple versions of multiple
3252 # distributions and operating systems, or at least supplying patches
3253 # to all the packaging files required for this, prior to committing
3254 # the removal of DESTDIR. Do not remove it even though you think it
3258 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) \
3259 $(DESTDIR) $(prefix) $(BINDIR) $(SBINDIR) $(LIBDIR) \
3260 $(VARDIR) $(PRIVATE_DIR) $(PIDDIR) $(LOCKDIR) $(STATEDIR) \
3262 $(CACHEDIR) $(MANDIR) $(CODEPAGEDIR) $(MODULESDIR) $(LOCALEDIR)
3264 installservers:: all installdirs
3265 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3267 installbin:: all installdirs
3268 @$(SHELL) script/installbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3270 # Some symlinks are required for the 'probing' of modules.
3271 # This mechanism should go at some point..
3272 installmodules:: modules installdirs
3273 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3274 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3275 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3276 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(NSSINFOLIBDIR) $(NSS_INFO_MODULES)
3277 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3278 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3279 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3280 @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3281 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
3282 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
3283 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(PDBLIBDIR) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
3284 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
3285 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
3286 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
3287 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(AUTHLIBDIR) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
3288 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
3289 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/adex.@SHLIBEXT@ adex.@SHLIBEXT@
3290 @$(SHELL) $(srcdir)/script/linkmodules.sh $(DESTDIR)$(NSSINFOLIBDIR) ../idmap/hash.@SHLIBEXT@ hash.@SHLIBEXT@
3292 installscripts:: installdirs
3293 @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3295 installdat:: installdirs
3296 @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3298 installmsg:: installdirs
3299 @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(CODEPAGEDIR) $(srcdir)
3301 installswat:: installdirs installmsg
3302 @$(SHELL) $(srcdir)/script/installswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3304 installpammodules:: $(PAM_MODULES)
3305 @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(PAMMODULESDIR)
3306 @for module in $(PAM_MODULES); do \
3307 echo "Installing module
$${module} as $(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3308 $(INSTALLCMD) -m $(INSTALLPERMS_BIN) bin/$${module}.@SHLIBEXT@ \
3309 "$(DESTDIR
)/$(PAMMODULESDIR
)"; \
3312 # revert to the previously installed version
3314 @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SBIN_PROGS)
3315 @$(SHELL) $(srcdir)/script/revert.sh $(BINDIR) $(BIN_PROGS) $(SCRIPTS)
3317 installman:: installdirs
3318 @$(SHELL) $(srcdir)/script/installman.sh $(DESTDIR)$(MANDIR) $(srcdir) C "@ROFF@
"
3320 installmo:: all installdirs
3321 @$(SHELL) $(srcdir)/script/installmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3326 @echo "Samba will be installed into
:"
3327 @echo " prefix: $(prefix)"
3328 @echo " exec_prefix: $(exec_prefix)"
3329 @echo " sysconfdir
: $(sysconfdir
)"
3330 @echo " localstatedir
: $(localstatedir
)"
3331 @echo " datarootdir
: $(datarootdir
)"
3332 @echo " BINDIR
: $(BINDIR
)"
3333 @echo " SBINDIR
: $(SBINDIR
)"
3334 @echo " LIBDIR
: $(LIBDIR
)"
3335 # @echo " LIBEXECDIR
: $(LIBEXECDIR
)"
3336 @echo " MANDIR
: $(MANDIR
)"
3337 @echo " DATADIR
: $(DATADIR
)"
3338 @echo " LOCALEDIR
: $(LOCALEDIR
)"
3339 # @echo " SCRIPTSBINDIR
: $(SCRIPTSBINDIR
)"
3340 # @echo " PYTHONDIR
: $(PYTHONDIR
)"
3341 # @echo " PYTHONARCHDIR
: $(PYTHONARCHDIR
)"
3342 @echo " MODULESDIR
: $(MODULESDIR
)"
3343 @echo " INCLUDEDIR
: $(INCLUDEDIR
)"
3344 @echo " SETUPDIR
: $(SETUPDIR
)"
3345 # @echo " PKGCONFIGDIR
: $(PKGCONFIGDIR
)"
3346 @echo " SWATDIR
: $(SWATDIR
)"
3347 @echo " CODEPAGEDIR
: $(CODEPAGEDIR
)"
3348 @echo " PAMMODULESDIR
: $(PAMMODULESDIR
)"
3349 @echo " CONFIGDIR
: $(CONFIGDIR
)"
3350 @echo " PRIVATE_DIR
: $(PRIVATE_DIR
)"
3351 @echo " LOCKDIR
: $(LOCKDIR
)"
3352 @echo " PIDDIR
: $(PIDDIR
)"
3353 @echo " STATEDIR
: $(STATEDIR
)"
3354 @echo " CACHEDIR
: $(CACHEDIR
)"
3355 @echo " LOGFILEBASE
: $(LOGFILEBASE
)"
3356 @echo " SOCKET_DIR
: $(SOCKET_DIR
)"
3357 @echo " PRIVILEGED_SOCKET_DIR
: $(PRIVILEGED_SOCKET_DIR
)"
3358 # @echo " WINBINDD_SOCKET_DIR
: $(WINBINDD_SOCKET_DIR
)"
3359 # @echo " WINBINDD_PRIVILEGED_SOCKET_DIR
: $(WINBINDD_PRIVILEGED_SOCKET_DIR
)"
3360 @echo " NMBDSOCKETDIR
: $(NMBDSOCKETDIR
)"
3361 # @echo " NTP_SIGND_SOCKET_DIR
: $(NTP_SIGND_SOCKET_DIR
)"
3362 @echo " NCALRPCDIR
: $(NCALRPCDIR
)"
3363 @echo " CONFIGFILE
: $(CONFIGFILE
)"
3364 @echo " LMHOSTSFILE
: $(LMHOSTSFILE
)"
3365 @echo " SMB_PASSWD_FILE
: $(SMB_PASSWD_FILE
)"
3368 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
3371 @$(SHELL) $(srcdir)/script/uninstallmo.sh $(DESTDIR) $(LOCALEDIR) $(srcdir)
3374 @$(SHELL) $(srcdir)/script/uninstallman.sh $(DESTDIR)$(MANDIR) $(srcdir) C
3377 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(SBINDIR) $(SBIN_PROGS)
3380 @$(SHELL) script/uninstallbin.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(BINDIR) $(BIN_PROGS)
3383 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(VFSLIBDIR) $(VFS_MODULES)
3384 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PDBLIBDIR) $(PDB_MODULES)
3385 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(IDMAPLIBDIR) $(IDMAP_MODULES)
3386 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(CHARSETLIBDIR) $(CHARSET_MODULES)
3387 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(AUTHLIBDIR) $(AUTH_MODULES)
3388 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(GPEXTLIBDIR) $(GPEXT_MODULES)
3389 @$(SHELL) $(srcdir)/script/uninstallmodules.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(prefix) $(PERFCOUNTLIBDIR) $(PERFCOUNT_MODULES)
3392 @$(SHELL) $(srcdir)/script/uninstallscripts.sh $(INSTALLPERMS_BIN) $(DESTDIR)$(BINDIR) $(SCRIPTS)
3395 @$(SHELL) $(srcdir)/script/uninstalldat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3398 @$(SHELL) $(srcdir)/script/uninstallmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
3400 uninstallswat:: uninstallmsg
3401 @$(SHELL) $(srcdir)/script/uninstallswat.sh $(DESTDIR) $(SWATDIR) $(srcdir)
3403 uninstallpammodules::
3404 @for module in $(PAM_MODULES); do \
3405 echo "Removing
$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3406 rm -f "$(DESTDIR
)/$(PAMMODULESDIR
)/$${module}.@SHLIBEXT@
"; \
3410 -rm -f ../lib/*/*.o ../lib/*/*/*.o \
3412 ../libcli/*.o ../libcli/*/*.o ../libcli/*/*/*.o \
3414 ../libgpo/*.o ../libgpo/*/*.o \
3415 ../libds/*.o ../libds/*/*.o ../dynconfig/*.o
3418 -rm -f include/build_env.h
3419 -rm -f smbd/build_options.c
3420 -rm -f param/param_local.h
3421 -rm -f param/param_global.h
3422 -rm -f $(PRECOMPILED_HEADER)
3423 -rm -f core */*~ *~ \
3424 */*.o */*/*.o */*/*/*.o */*/*/*/*.o \
3425 ../testsuite/*/*.o \
3426 ../nsswitch/*.o ../nsswitch/*/*.o ../nsswitch/*/*/*.o ../nsswitch/*.@SHLIBEXT@ \
3428 */*.@SHLIBEXT@ */*/*.@SHLIBEXT@ */*/*/*.@SHLIBEXT@ \
3429 $(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) \
3430 $(MODULES) $(TORTURE_PROGS) \
3431 $(EVERYTHING_PROGS) \
3433 .headers.stamp */src/*.o
3436 include/build_env.h: script/build_env.sh
3437 @echo Building include/build_env.h
3438 @$(SHELL) $(srcdir)/script/build_env.sh $(srcdir) $(builddir) $(CC) \
3439 > $(builddir)/include/build_env.h
3445 find $(srcdir)/.. -name "*.
[ch
]" | xargs -n 100 etags --append $(ETAGS_OPTIONS)
3448 ctags $(CTAGS_OPTIONS) `find $(srcdir)/.. -name "*.
[ch
]" | grep -v proto\.h`
3451 -rm -f config.log bin/.dummy script/findsmb script/gen-8bit-gap.sh
3452 -rm -f script/installbin.sh script/uninstallbin.sh
3454 distclean:: realclean
3456 -rm -f include/autoconf/config.h Makefile
3457 -rm -f config.status config.cache so_locations
3460 realdistclean:: distclean
3461 -rm -f include/autoconf/config.h.in
3462 -rm -f include/version.h
3465 # this target is really just for my use. It only works on a limited
3466 # range of machines and is used to produce a list of potentially
3467 # dead (ie. unused) functions in the code. (tridge)
3469 nm */*.o |grep 'U ' | awk '{print $$2}' | sort -u > nmused.txt
3470 nm */*.o |grep 'T ' | awk '{print $$3}' | sort -u > nmfns.txt
3471 comm -13 nmused.txt nmfns.txt
3474 # when configure.in is updated, reconfigure
3475 $(srcdir)/configure: $(srcdir)/configure.in
3476 @echo "WARNING
: you need to rerun .
/autogen.sh
"
3478 config.status: $(srcdir)/configure
3479 @echo "WARNING
: you need to run .
/configure
"
3481 Makefile: $(srcdir)/Makefile.in config.status
3482 @echo "WARNING
: you need to run .
/config.status
"
3484 ######################################################################
3485 # Samba Testing Framework
3487 # Check shared libs for unresolved symbols
3490 @$(LIB_PATH_VAR)=./bin && \
3491 export $(LIB_PATH_VAR) && \
3492 for module in $?; do \
3493 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3497 # Check for NSS module problems.
3498 test_nss_modules:: nss_modules
3499 @echo "Testing
$(NSS_MODULES
) "
3500 @$(LIB_PATH_VAR)=./bin && \
3501 export $(LIB_PATH_VAR) && \
3502 for module in $(NSS_MODULES); do \
3503 ./script/tests/dlopen.sh $(LIBDL) $${module} \
3507 # Check for PAM module problems. Specifically, check that every module we
3508 # built can actually be loaded by a minimal PAM-aware application.
3509 test_pam_modules:: pam_modules
3510 @echo "Testing
$(PAM_MODULES
) "
3511 @$(LIB_PATH_VAR)=./bin && \
3512 export $(LIB_PATH_VAR) && \
3513 for module in $(PAM_MODULES); do \
3514 ./script/tests/dlopen.sh -lpam $(LIBDL) bin/$${module}.@SHLIBEXT@ \
3520 ## Targets for 'make test'
3523 TEST_EXTRA_ARGS = ${smbtorture4_option} ${selftest_shrdir} ${selftest_custom_conf}
3525 valgrindtest:: all torture timelimit
3526 @echo Running Test suite with valgrind
3528 NMBD_VALGRIND="xterm
-n nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3529 WINBINDD_VALGRIND="xterm
-n winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3530 SMBD_VALGRIND="xterm
-n smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3531 VALGRIND="valgrind
-q
--num-callers
=30 --log-file
=${selftest_prefix}/valgrind.log
"
3533 selftestdir = ../selftest
3535 S3_LD_LIBPATH_OVERRIDE = $(LIB_PATH_VAR)="$(builddir
)/bin
:$$$(LIB_PATH_VAR
)"
3537 test:: all torture timelimit
3538 @LIB_PATH_VAR=$(LIB_PATH_VAR) $(S3_LD_LIBPATH_OVERRIDE) \
3539 SAMBA4SHAREDDIR="$(builddir
)/bin
/shared
" SMBTORTURE4=$(smbtorture4_path) \
3540 NSS_WRAPPER_WINBIND_SO_PATH="$(srcdir)/..
/nsswitch
/libnss_winbind.so
" \
3541 SELFTESTDIR="$(selftestdir
)" SELFTESTPREFIX="$(selftest_prefix
)" \
3542 SOURCEDIR="$(srcdir)" \
3543 VFSLIBDIR="$(builddir
)/bin
" \
3544 RUN_FROM_BUILD_FARM="$(RUN_FROM_BUILD_FARM
)" \
3545 SUBUNIT_FORMATTER="$(SUBUNIT_FORMATTER
)" \
3546 PERL="$(PERL
)" PYTHON="$(PYTHON
)" \
3547 $(srcdir)/selftest/s3-selftest.sh
3550 $(MAKE) test TESTS=$*
3553 $(MAKE) test RUN_FROM_BUILD_FARM=yes
3556 $(MAKE) test SUBUNIT_FORMATTER=cat
3558 SELFTEST_TESTENV = s3dc
3561 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv
"
3564 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3565 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3566 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3567 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e
$(selftestdir
)/gdb_run
$(S3_LD_LIBPATH_OVERRIDE
)" \
3571 $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
3572 NMBD_VALGRIND="xterm
-n nmbd
-title nmbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3573 WINBINDD_VALGRIND="xterm
-n winbindd
-title winbindd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3574 SMBD_VALGRIND="xterm
-n smbd
-title smbd
-e valgrind
-q
--db-attach
=yes
--num-callers
=30" \
3578 # Check for Winbind struct 32/64bit padding
3580 @echo "Testing winbind request
/response structure for
32/64bit padding
"
3581 @./script/tests/wb_pad.sh || exit 1;
3587 libsmbclient_examples: libsmbclient
3588 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal
3590 clean_libsmbclient_examples:
3591 $(MAKE) -C ../examples/libsmbclient -f Makefile.internal clean
3593 libnetapi_examples: libnetapi
3594 $(MAKE) -C lib/netapi/examples
3596 clean_libnetapi_examples:
3597 $(MAKE) -C lib/netapi/examples clean
3599 .PHONY: bin/smbtorture4 bin/ndrdump4
3601 bin/smbtorture4: $(BINARY_PREREQS)
3602 $(MAKE) -f Makefile-smbtorture4 bin/smbtorture4
3604 bin/ndrdump4: $(BINARY_PREREQS)
3605 $(MAKE) -f Makefile-smbtorture4 bin/ndrdump4
3607 .PHONY: vfs_examples
3611 cd ../examples/VFS && \