1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 selftest_prefix
=@selftest_prefix@
20 smbtorture4_path
=@smbtorture4_path@
25 LIB_PATH_VAR
=@LIB_PATH_VAR@
27 ## Dynamic shared libraries build settings
28 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@$$/syms/'`
29 DSO_EXPORTS
=@DSO_EXPORTS@
30 SONAME_VER
=`grep \^$@ $(builddir)/library-versions | cut -d: -f2`
31 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
33 # The MODULE_EXPORTS variable contains the platform-specific linker flags
34 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
35 MODULE_EXPORTS
=@MODULE_EXPORTS@
37 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
38 # (GCC) warnings. This is done automtically for --enable-developer
39 # and --enable-krb5developer.
40 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
42 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
46 LDSHFLAGS
=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
47 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
49 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
57 TERMLDFLAGS
=@TERMLDFLAGS@
59 PRINT_LIBS
=@PRINT_LIBS@
62 PASSDB_LIBS
=@PASSDB_LIBS@
63 IDMAP_LIBS
=@IDMAP_LIBS@
68 WINBIND_LIBS
=@WINBIND_LIBS@
69 DNSSD_LIBS
=@DNSSD_LIBS@
72 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
73 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
74 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
75 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
79 builddir
=@abs_builddir@
83 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
84 # will search for a POSIX-compliant shell, and that might not be
85 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
87 # See the autoconf manual "Installation Directory Variables" for a
88 # discussion of the subtle use of these variables.
92 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
94 ROOTSBINDIR
= @rootsbindir@
96 INCLUDEDIR
=@
includedir@
97 PAMMODULESDIR
= @pammodulesdir@
98 VFSLIBDIR
= $(LIBDIR
)/vfs
99 PDBLIBDIR
= $(LIBDIR
)/pdb
100 RPCLIBDIR
= $(LIBDIR
)/rpc
101 IDMAPLIBDIR
= $(LIBDIR
)/idmap
102 NSSINFOLIBDIR
= $(LIBDIR
)/nss_info
103 CHARSETLIBDIR
= $(LIBDIR
)/charset
104 AUTHLIBDIR
= $(LIBDIR
)/auth
105 CONFIGLIBDIR
= $(LIBDIR
)/config
106 GPEXTLIBDIR
= $(LIBDIR
)/gpext
107 CONFIGDIR
= @configdir@
108 VARDIR
= @localstatedir@
112 # The permissions to give the executables and other data
113 INSTALLPERMS_BIN
= 0755
114 INSTALLPERMS_DATA
= 0644
116 # set these to where to find various files
117 # These can be overridden by command line switches (see smbd(8))
118 # or in smb.conf (see smb.conf(5))
119 LOGFILEBASE
= @logfilebase@
120 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
121 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
124 # This is where smbpasswd et al go
125 PRIVATEDIR
= @privatedir@
127 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
128 PRIVATE_DIR
= $(PRIVATEDIR
)
130 # This is where SWAT images and help files go
133 # the directory where lock files go
136 # FHS directories; equal to LOCKDIR if not using --with-fhs
137 CACHEDIR
= @cachedir@
138 STATEDIR
= @
statedir@
140 # Where to look for (and install) codepage databases.
141 CODEPAGEDIR
= @codepagedir@
143 # the directory where pid files go
146 LIBTALLOC_SHARED_TARGET
=@LIBTALLOC_SHARED_TARGET@
147 LIBTALLOC_STATIC_TARGET
=@LIBTALLOC_STATIC_TARGET@
148 LIBTALLOC
=$(LIBTALLOC_STATIC_TARGET
) @LIBTALLOC_SHARED@
150 LIBTDB_SHARED_TARGET
=@LIBTDB_SHARED_TARGET@
151 LIBTDB_STATIC_TARGET
=@LIBTDB_STATIC_TARGET@
152 LIBTDB
=$(LIBTDB_STATIC_TARGET
) @LIBTDB_SHARED@
153 LIBTDB_SYMS
=$(srcdir)/exports
/libtdb.syms
154 LIBTDB_HEADERS
=@tdbdir@
/include/tdb.h
156 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
157 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
158 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
159 LIBWBCLIENT
=@LIBWBCLIENT_SHARED@
161 LIBNETAPI_SHARED_TARGET
=@LIBNETAPI_SHARED_TARGET@
162 LIBNETAPI_STATIC_TARGET
=@LIBNETAPI_STATIC_TARGET@
163 LIBNETAPI
=$(LIBNETAPI_STATIC_TARGET
) @LIBNETAPI_SHARED@
165 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
168 FLAGS4
= -I
$(CTDBDIR
)/include
169 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
170 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
172 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
173 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
174 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
175 -DSBINDIR
=\"$(SBINDIR
)\" \
176 -DBINDIR
=\"$(BINDIR
)\" \
177 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
178 -DSWATDIR
=\"$(SWATDIR
)\" \
179 -DLOCKDIR
=\"$(LOCKDIR
)\" \
180 -DPIDDIR
=\"$(PIDDIR
)\" \
181 -DLIBDIR
=\"$(LIBDIR
)\" \
182 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
183 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
184 -DCTDBDIR
=\"$(CTDBDIR
)\" \
185 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
186 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
187 -DCACHEDIR
=\"$(CACHEDIR
)\" \
188 -DSTATEDIR
=\"$(STATEDIR
)\"
190 # Note that all executable programs now provide for an optional executable suffix.
192 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
194 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@ @CIFSSPNEGO_PROGS@
196 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
197 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
198 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
199 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
201 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
202 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
203 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
204 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
205 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
207 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
208 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
209 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
210 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
211 bin
/tdbtorture@EXEEXT@
213 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
214 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
216 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
217 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
218 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
219 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
221 SHLIBS
= libtalloc libtdb @LIBWBCLIENT@ @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBADDNS@ libnetapi
223 PAM_MODULES
= @PAM_MODULES@
225 NSS_MODULES
= @NSS_MODULES@
227 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
229 VFS_MODULES
= @VFS_MODULES@
230 PDB_MODULES
= @PDB_MODULES@
231 RPC_MODULES
= @RPC_MODULES@
232 IDMAP_MODULES
= @IDMAP_MODULES@
233 CHARSET_MODULES
= @CHARSET_MODULES@
234 AUTH_MODULES
= @AUTH_MODULES@
235 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
236 GPEXT_MODULES
= @GPEXT_MODULES@
237 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
238 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
241 ######################################################################
243 ######################################################################
245 LIBTDB_OBJ0
= @TDB_OBJS@
246 LIBTDB_OBJ
= $(LIBTDB_OBJ0
) $(LIBREPLACE_OBJ
)
248 TDB_OBJ
= lib
/util_tdb.o \
249 lib
/dbwrap.o lib
/dbwrap_tdb.o lib
/dbwrap_ctdb.o \
250 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
252 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
254 VERSION_OBJ
= lib
/version.o
256 DOSERR_OBJ
= libsmb
/doserr.o
258 WBCOMMON_OBJ
= nsswitch
/wb_common.o
262 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
264 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
266 ERRORMAP_OBJ
= libsmb
/errormap.o
268 PASSCHANGE_OBJ
= libsmb
/passchange.o
271 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o \
273 librpc
/ndr
/ndr_misc.o \
274 librpc
/gen_ndr
/ndr_misc.o \
275 librpc
/gen_ndr
/ndr_security.o \
276 librpc
/ndr
/ndr_sec_helper.o \
277 librpc
/ndr
/ndr_string.o \
281 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
283 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
284 librpc
/gen_ndr
/ndr_lsa.o \
285 librpc
/gen_ndr
/ndr_dfs.o \
286 librpc
/gen_ndr
/ndr_echo.o \
287 librpc
/gen_ndr
/ndr_winreg.o \
288 librpc
/gen_ndr
/ndr_initshutdown.o \
289 librpc
/gen_ndr
/ndr_srvsvc.o \
290 librpc
/gen_ndr
/ndr_svcctl.o \
291 librpc
/gen_ndr
/ndr_eventlog.o \
292 librpc
/gen_ndr
/ndr_netlogon.o \
293 librpc
/gen_ndr
/ndr_samr.o \
294 librpc
/gen_ndr
/ndr_dssetup.o \
295 librpc
/gen_ndr
/ndr_notify.o \
296 librpc
/gen_ndr
/ndr_xattr.o \
297 librpc
/gen_ndr
/ndr_ntsvcs.o
299 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
301 # this includes only the low level parse code, not stuff
302 # that requires knowledge of security contexts
303 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
305 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
306 rpc_client
/init_netlogon.o \
307 rpc_client
/init_lsa.o \
308 rpc_client
/init_srvsvc.o
310 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
312 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
313 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
315 TALLOC_OBJ
= @TALLOC_OBJS@
318 LIBTALLOC_OBJ0
= $(TALLOC_OBJ
)
319 LIBTALLOC_OBJ
= $(LIBTALLOC_OBJ0
) $(LIBREPLACE_OBJ
)
321 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
323 $(SOCKET_WRAPPER_OBJ
) \
326 LIB_WITHOUT_PROTO_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
327 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
328 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
329 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
330 lib
/util_transfer_file.o lib
/async_req.o \
333 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
334 lib
/interface.o lib
/md4.o \
336 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
337 lib
/ufc.o lib
/genrand.o lib
/username.o \
338 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
339 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
340 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
341 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
342 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
343 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
344 lib
/substitute.o lib
/fsusage.o lib
/dbwrap_util.o \
345 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
346 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
347 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
348 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
349 lib
/adt_tree.o lib
/gencache.o \
350 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
351 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
352 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
355 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
357 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
358 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
360 READLINE_OBJ
= lib
/readline.o
362 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
363 # Be sure to include them into your application
364 POPT_LIB_OBJ
= lib
/popt_common.o
366 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
367 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
368 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
370 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
372 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
373 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
374 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) @LIBTALLOC_STATIC@
376 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
377 nsswitch
/libwbclient
/wbc_util.o \
378 nsswitch
/libwbclient
/wbc_pwd.o \
379 nsswitch
/libwbclient
/wbc_idmap.o \
380 nsswitch
/libwbclient
/wbc_sid.o \
381 nsswitch
/libwbclient
/wbc_pam.o
382 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) \
384 @LIBTALLOC_STATIC@
$(LIBREPLACE_OBJ
)
386 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
388 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
389 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
392 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
394 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
395 libads
/sasl.o libads
/sasl_wrapping.o \
396 libads
/krb5_setpw.o libads
/ldap_user.o \
397 libads
/ads_struct.o libads
/kerberos_keytab.o \
398 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
399 libads
/cldap.o libads
/ldap_schema.o libads
/util.o libads
/ndr.o
401 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
402 librpc
/ndr
/ndr_krb5pac.o \
403 librpc
/gen_ndr
/ndr_krb5pac.o
405 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
407 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
408 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
410 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
411 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
412 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
414 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
415 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
416 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
417 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
418 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
419 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
420 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
421 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
422 libsmb
/smb_seal.o
$(DOSERR_OBJ
) libsmb
/async_smb.o \
423 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
425 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
427 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
428 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
429 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
430 rpc_client
/cli_svcctl.o \
431 rpc_client
/init_samr.o
433 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
434 librpc
/gen_ndr
/cli_dfs.o \
435 librpc
/gen_ndr
/cli_echo.o \
436 librpc
/gen_ndr
/cli_srvsvc.o \
437 librpc
/gen_ndr
/cli_svcctl.o \
438 librpc
/gen_ndr
/cli_winreg.o \
439 librpc
/gen_ndr
/cli_initshutdown.o \
440 librpc
/gen_ndr
/cli_eventlog.o \
441 librpc
/gen_ndr
/cli_wkssvc.o \
442 librpc
/gen_ndr
/cli_netlogon.o \
443 librpc
/gen_ndr
/cli_samr.o \
444 librpc
/gen_ndr
/cli_dssetup.o \
445 librpc
/gen_ndr
/cli_ntsvcs.o \
450 # registry-related objects
452 UTIL_REG_OBJ
= lib
/util_reg.o
453 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
455 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
456 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
457 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
459 REGFIO_OBJ
= registry
/regfio.o
461 REGOBJS_OBJ
= registry
/reg_objects.o
463 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
465 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
467 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
468 registry
/reg_backend_shares.o \
469 registry
/reg_backend_netlogon_params.o \
470 registry
/reg_backend_prod_options.o \
471 registry
/reg_backend_tcpip_params.o \
472 registry
/reg_backend_hkpt_params.o \
473 registry
/reg_backend_current_version.o \
474 registry
/reg_backend_perflib.o
476 REG_BASE_OBJ
= registry
/reg_api.o \
477 registry
/reg_dispatcher.o \
478 registry
/reg_cachehook.o \
481 registry
/reg_util.o \
482 $(UTIL_REG_API_OBJ
) \
484 $(REG_BACKENDS_BASE_OBJ
) \
485 $(REG_INIT_BASIC_OBJ
)
487 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
488 $(REG_BACKENDS_SMBCONF_OBJ
) \
489 $(REG_INIT_SMBCONF_OBJ
)
491 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
492 $(REG_BACKENDS_EXTRA_OBJ
) \
493 $(REG_INIT_FULL_OBJ
) \
494 registry
/reg_eventlog.o \
495 registry
/reg_perfcount.o \
496 registry
/reg_util_legacy.o
499 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
501 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
502 librpc
/gen_ndr
/srv_netlogon.o
504 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
505 rpc_server
/srv_samr_util.o \
506 librpc
/gen_ndr
/srv_samr.o
508 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
510 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
511 librpc
/gen_ndr
/srv_winreg.o
513 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
515 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
516 librpc
/gen_ndr
/srv_srvsvc.o
518 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
520 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
521 librpc
/gen_ndr
/srv_svcctl.o \
522 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
523 services
/svc_netlogon.o services
/svc_winreg.o \
526 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o \
527 librpc
/gen_ndr
/srv_ntsvcs.o
529 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
531 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
533 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
534 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
536 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
537 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
539 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
541 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
543 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
544 rpc_parse
/parse_spoolss.o \
545 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
546 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
548 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
550 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
552 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
554 PRIVILEGES_OBJ
= lib
/privileges.o
556 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
558 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
559 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
560 passdb
/util_unixsids.o passdb
/lookup_sid.o \
561 passdb
/login_cache.o @PDB_STATIC@ \
562 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
563 lib
/util_nscd.o lib
/winbind_util.o
565 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
566 CP850_OBJ
= modules
/CP850.o
567 CP437_OBJ
= modules
/CP437.o
568 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
570 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
572 PROFILE_OBJ
= profile
/profile.o
573 PROFILES_OBJ
= utils
/profiles.o \
575 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
576 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
577 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
579 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
581 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
583 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
584 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
585 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
586 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
587 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
588 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
589 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
590 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
591 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
592 VFS_CAP_OBJ
= modules
/vfs_cap.o
593 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
594 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
595 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
596 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
597 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
598 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
599 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
600 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
601 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
602 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
603 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
604 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
605 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
606 VFS_CATIA_OBJ
= modules
/vfs_catia.o
607 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
608 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
609 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
610 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
611 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
612 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
613 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
614 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
615 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
616 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
617 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
618 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
620 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
622 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
624 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
626 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
627 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
628 AUTH_SAM_OBJ
= auth
/auth_sam.o
629 AUTH_SERVER_OBJ
= auth
/auth_server.o
630 AUTH_UNIX_OBJ
= auth
/auth_unix.o
631 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
632 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
634 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
635 auth
/auth_compat.o auth
/auth_ntlmssp.o \
636 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
638 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
640 SMBD_OBJ_MAIN
= smbd
/server.o
642 BUILDOPT_OBJ
= smbd
/build_options.o
644 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
645 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
646 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
647 smbd
/share_access.o smbd
/fileio.o \
648 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
649 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
650 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
651 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
652 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
653 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
654 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
655 smbd
/process.o smbd
/service.o smbd
/error.o \
656 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
657 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
658 smbd
/change_trust_pw.o smbd
/fake_file.o \
659 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
660 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
664 $(MANGLE_OBJ
) @VFS_STATIC@
666 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
667 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
668 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
669 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
670 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
671 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
672 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
673 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
674 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
676 $(PRIVILEGES_BASIC_OBJ
)
678 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
679 printing
/print_cups.o printing
/print_generic.o \
680 printing
/lpq_parse.o printing
/load.o \
681 printing
/print_iprint.o
683 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
684 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
686 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
688 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
689 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
690 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
691 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
692 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
693 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
694 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
695 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
696 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
697 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
698 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
699 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
701 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
702 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
704 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
705 web
/swat.o web
/neg_lang.o
707 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
708 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
709 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
710 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
711 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
713 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
714 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
715 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
716 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
719 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
720 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
721 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
722 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
724 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
725 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
726 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
727 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
729 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
732 TESTPARM_OBJ
= utils
/testparm.o \
733 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
734 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
737 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
739 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
740 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
741 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
742 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
743 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
745 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
746 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
747 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
748 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) $(ERRORMAP_OBJ
)
750 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ0
) @LIBWBCLIENT_STATIC@
752 DISPLAY_SEC_OBJ
= lib
/display_sec.o
754 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
755 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
756 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
757 rpcclient
/cmd_dfs.o \
758 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
759 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
760 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
763 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
764 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
765 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
766 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
767 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
768 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
770 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
771 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
773 LIBSMBCLIENT_OBJ0
= \
774 libsmb
/libsmb_cache.o \
775 libsmb
/libsmb_compat.o \
776 libsmb
/libsmb_context.o \
777 libsmb
/libsmb_dir.o \
778 libsmb
/libsmb_file.o \
779 libsmb
/libsmb_misc.o \
780 libsmb
/libsmb_path.o \
781 libsmb
/libsmb_printjob.o \
782 libsmb
/libsmb_server.o \
783 libsmb
/libsmb_stat.o \
784 libsmb
/libsmb_xattr.o \
785 libsmb
/libsmb_setget.o \
786 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
787 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
788 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
789 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
791 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ0
) @LIBWBCLIENT_STATIC@
793 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o @LIBTDB_STATIC@
795 # This shared library is intended for linking with unit test programs
796 # to test Samba internals. It's called libbigballofmud.so to
797 # discourage casual usage.
799 LIBBIGBALLOFMUD_MAJOR
= 0
801 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
802 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
803 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
805 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
810 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
811 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
812 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
813 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
816 LIBNETAPI_OBJ1
= lib
/netapi
/netapi.o \
817 lib
/netapi
/joindomain.o \
818 lib
/netapi
/serverinfo.o \
821 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ1
) $(LIBNET_OBJ
) \
824 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
825 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
826 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
827 $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
828 $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
830 LIBSMBCONF_OBJ
= lib
/smbconf
/smbconf.o lib
/smbconf
/smbconf_reg.o \
831 lib
/smbconf
/smbconf_txt_simple.o
833 LIBNET_OBJ
= libnet
/libnet_join.o \
834 librpc
/gen_ndr
/ndr_libnet_join.o
836 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
837 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
838 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
839 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
840 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
841 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
842 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
843 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
844 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
846 utils
/net_registry.o \
847 utils
/net_registry_util.o \
848 auth
/token_util.o utils
/net_dom.o nsswitch
/wb_client.o
850 NET_OBJ
= $(NET_OBJ1
) $(PARAM_WITHOUT_REG_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
851 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
852 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
853 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
854 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
855 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
856 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
857 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
858 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
860 $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
861 $(PRIVILEGES_BASIC_OBJ
)
863 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
864 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
866 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
868 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
870 CIFS_SPNEGO_OBJ
= client
/cifs.spnego.o
872 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
873 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) \
876 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
877 torture
/denytest.o torture
/mangle_test.o
879 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
880 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
882 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
883 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
885 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
886 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
888 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
889 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
891 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
892 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
894 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
895 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
896 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
899 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
901 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) $(RPC_PARSE_OBJ1
) $(ERRORMAP_OBJ
)
903 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
905 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
906 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
908 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
909 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
910 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
912 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
914 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
916 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
917 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
918 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
920 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
922 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
923 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
925 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o
927 SHARESEC_OBJ0
= utils
/sharesec.o
928 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
929 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
930 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
932 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
933 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
) \
936 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
937 lib
/replace
/test/getifaddrs.o \
938 lib
/replace
/test/os2_delete.o \
939 lib
/replace
/test/strptime.o \
942 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
943 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
944 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
945 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(SECRETS_OBJ
) \
948 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
950 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
951 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
953 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
954 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
955 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
957 $(LIB_WITH_PROTO_OBJ
) \
958 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
959 $(AUTH_OBJ
) $(PARAM_WITHOUT_REG_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
960 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
961 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
962 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
963 $(AUTH_SAM_OBJ
) $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) \
964 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_DSSETUP_OBJ
) \
965 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
966 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
967 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) \
968 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
969 utils
/passwd_util.o
$(LIBGPO_OBJ
) $(NSS_INFO_OBJ
) \
970 $(RPCCLIENT_NDR_OBJ
) \
971 $(PRIVILEGES_BASIC_OBJ
)
973 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
974 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
976 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
977 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
978 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
979 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
980 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) $(ERRORMAP_OBJ
)
982 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_cache.o winbindd
/idmap_util.o @IDMAP_STATIC@
984 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
987 winbindd
/winbindd.o \
988 winbindd
/winbindd_user.o \
989 winbindd
/winbindd_group.o \
990 winbindd
/winbindd_util.o \
991 winbindd
/winbindd_cache.o \
992 winbindd
/winbindd_pam.o \
993 winbindd
/winbindd_sid.o \
994 winbindd
/winbindd_misc.o \
995 winbindd
/winbindd_cm.o \
996 winbindd
/winbindd_wins.o \
997 winbindd
/winbindd_rpc.o \
998 winbindd
/winbindd_reconnect.o \
999 winbindd
/winbindd_ads.o \
1000 winbindd
/winbindd_passdb.o \
1001 winbindd
/winbindd_dual.o \
1002 winbindd
/winbindd_async.o \
1003 winbindd
/winbindd_creds.o \
1004 winbindd
/winbindd_cred_cache.o \
1005 winbindd
/winbindd_ccache_access.o \
1006 winbindd
/winbindd_domain.o \
1007 winbindd
/winbindd_idmap.o \
1008 winbindd
/winbindd_locator.o \
1009 winbindd
/winbindd_ndr.o \
1013 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1014 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1015 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1016 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1017 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1018 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1019 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1020 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
1022 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1023 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) \
1024 $(DOSERR_OBJ
) lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1027 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1029 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1030 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1031 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1032 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1033 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1035 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1036 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1037 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1039 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1040 lib
/ldb
/modules
/objectclass.o \
1041 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1043 # enabled in configure.in
1044 LDB_LDAP_OBJ
=@LDBLDAP@
1046 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1048 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
1049 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1050 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1051 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1052 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
1053 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
1054 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1055 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1058 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1059 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1060 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1061 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1062 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1064 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
1065 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
)
1067 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
1068 popt
/popthelp.o popt
/poptparse.o
1070 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1071 iniparser_build
/strlib.o
1073 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1074 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1076 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1077 $(SOCKET_WRAPPER_OBJ
)
1079 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1080 $(SOCKET_WRAPPER_OBJ
)
1082 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1083 $(SOCKET_WRAPPER_OBJ
)
1086 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1088 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1089 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1090 $(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1091 $(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1092 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) $(LIBNMB_OBJ
) \
1093 $(LDB_OBJ
) $(ERRORMAP_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1094 librpc
/gen_ndr
/ndr_samr.o \
1095 librpc
/gen_ndr
/ndr_lsa.o \
1096 librpc
/gen_ndr
/ndr_netlogon.o
1099 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
)
1101 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1102 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1103 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
1104 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1107 ######################################################################
1109 ######################################################################
1110 all : SHOWFLAGS
$(SHLIBS
) $(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1111 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
1113 nss_modules
: $(NSS_MODULES
)
1115 pam_modules
: $(PAM_MODULES
)
1117 gpext_modules
: SHOWFLAGS
$(GPEXT_MODULES
)
1119 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1121 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1123 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
1125 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1127 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1129 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1131 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1133 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1135 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1137 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1139 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1141 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1143 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1145 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1147 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1149 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1151 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1153 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1154 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1155 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1157 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1159 modules
: SHOWFLAGS
$(MODULES
)
1161 #####################################################################
1162 ## Perl IDL Compiler
1163 IDL_FILES
= lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1164 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1165 epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
1166 dssetup.idl krb5pac.idl ntsvcs.idl
1169 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1170 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1173 #####################################################################
1176 everything
: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort modules torture \
1180 .SUFFIXES
: .c .o .lo
1183 @echo
"Using FLAGS = $(FLAGS)"
1184 @echo
" PICFLAG = $(PICFLAG)"
1185 @echo
" LIBS = $(LIBS)"
1186 @echo
" LDFLAGS = $(LDFLAGS)"
1187 @echo
" DYNEXP = $(DYNEXP)"
1188 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1189 @echo
" SHLIBEXT = @SHLIBEXT@"
1190 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1192 MAKEDIR
= || exec false
; \
1193 if
test -d
"$$dir"; then
:; else \
1194 echo mkdir
"$$dir"; \
1195 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1196 test -d
"$$dir" || \
1198 exec false
; fi || exec false
1200 # Run a static checker.
1201 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1202 # Compile a source file.
1203 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1204 # Compile a source file with the installation paths defined.
1205 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1207 COMPILE
= $(COMPILE_CC
)
1210 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1211 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1212 @if
test -n
"$(CC_CHECKER)"; then \
1213 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1216 @echo Compiling
$*.c
1217 @
$(COMPILE
) && exit
0;\
1218 echo
"The following command failed:" 1>&2;\
1219 echo
"$(COMPILE_CC)" 1>&2;\
1220 $(COMPILE_CC
) >/dev
/null
2>&1
1221 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1223 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1225 # this adds support for precompiled headers. To use it, install a snapshot
1226 # of gcc-3.4 and run 'make pch' before you do the main build.
1228 rm -f
$(PRECOMPILED_HEADER
)
1229 $(MAKE
) $(PRECOMPILED_HEADER
)
1231 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1234 BINARY_PREREQS
= proto_exists bin
/.dummy
1236 # These dependencies are only approximately correct: we want to make
1237 # sure Samba's paths are updated if ./configure is re-run. Really it
1238 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1239 # but since we also require "make install prefix=/opt/samba" *not* to
1240 # rebuild it's a bit hard.
1242 dynconfig.o
: dynconfig.c Makefile
1243 @echo Compiling
$*.c
1244 @
$(COMPILE_CC_PATH
) && exit
0;\
1245 echo
"The following command failed:" 1>&2;\
1246 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1247 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1249 lib
/pidfile.o
: lib
/pidfile.c
1250 @echo Compiling
$*.c
1251 @
$(COMPILE_CC_PATH
) && exit
0;\
1252 echo
"The following command failed:" 1>&2;\
1253 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1254 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1256 lib
/version.o
: lib
/version.c
include/version.h
1257 @echo Compiling
$*.c
1258 @
$(COMPILE_CC_PATH
) && exit
0;\
1259 echo
"The following command failed:" 1>&2;\
1260 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1261 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1263 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1264 @echo Compiling
$*.c
1265 @
$(COMPILE_CC_PATH
) && exit
0;\
1266 echo
"The following command failed:" 1>&2;\
1267 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1268 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1270 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1272 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1275 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1276 dir=bin
$(MAKEDIR
); fi
1277 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1279 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1281 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1282 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1283 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1284 @POPTLIBS@ @SMBD_LIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ \
1287 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1289 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1290 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @POPTLIBS@ \
1291 $(KRB5LIBS
) $(LDAP_LIBS
)
1293 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1295 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1296 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) \
1297 $(LDAP_LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1299 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1301 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1302 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1303 $(KRB5LIBS
) $(LDAP_LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ \
1306 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1308 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1309 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1310 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) \
1311 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1313 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@
1315 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1316 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1317 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1318 @INIPARSERLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@ \
1321 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1323 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1324 $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1326 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1328 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1329 $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1331 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1333 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1335 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1337 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1339 bin
/cifs.spnego@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_SPNEGO_OBJ
) $(LIBSMBCLIENT_OBJ0
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1341 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_SPNEGO_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1342 -lkeyutils
$(LIBS
) $(LIBSMBCLIENT_OBJ0
) $(KRB5LIBS
) \
1343 $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBWBCLIENT_SHARED@ \
1346 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1348 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1349 $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1351 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1353 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1354 $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1356 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1358 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1359 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1360 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@ \
1361 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1363 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1365 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1366 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1367 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1369 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1371 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1372 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) \
1373 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1375 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1377 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1378 @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
) @LIBTALLOC_LIBS@ \
1379 @LIBTDB_LIBS@ @WINBIND_LIBS@
1381 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1383 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1384 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1385 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1387 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1389 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1390 @POPTLIBS@
$(LDAP_LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1392 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1394 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1395 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ \
1398 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1400 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1401 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1402 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1404 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1406 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1407 $(DYNEXP
) $(LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@
1409 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1411 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1412 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1413 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1415 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1417 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1418 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1419 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1421 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1423 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1424 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1425 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1427 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1429 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1430 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1431 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1433 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1435 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1436 $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1438 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1440 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1441 $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1443 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1445 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1446 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1447 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1449 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1451 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1452 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1453 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1455 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1457 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1458 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1459 @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
1461 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1463 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1464 $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1465 $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) \
1466 @SMBD_LIBS@
$(NSCD_LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ \
1467 @LIBWBCLIENT_SHARED@
1469 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1471 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1472 $(TERMLIBS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1473 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1475 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1477 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1478 @POPTLIBS@
$(LIBS
) @LIBTALLOC_LIBS@
1480 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1482 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1483 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1484 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1486 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1488 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1489 @POPTLIBS@ @LDAP_LIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1491 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1493 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1494 $(LIBS
) @LIBTALLOC_LIBS@
1496 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1498 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) \
1499 $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ \
1500 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1502 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1504 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1505 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1506 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1507 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1509 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1511 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1512 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1513 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1514 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1516 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1518 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1519 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1520 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1521 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1523 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1525 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1526 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1527 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1528 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1530 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1532 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1533 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1534 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1535 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1537 $(LIBTALLOC_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ
)
1538 @echo Linking shared library
$@
1539 @
$(SHLD_DSO
) $(LIBTALLOC_OBJ
) \
1540 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1541 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1543 $(LIBTALLOC_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ0
)
1544 @echo Linking non-shared library
$@
1545 @
-$(AR
) -rc
$@
$(LIBTALLOC_OBJ0
)
1547 MKSYMS_SH
= $(srcdir)/script
/mksyms.sh
1549 $(LIBTDB_SYMS
): $(LIBTDB_HEADERS
)
1550 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTDB_HEADERS
)
1552 $(LIBTDB_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ
) $(LIBTDB_SYMS
)
1553 @echo Linking shared library
$@
1554 @
$(SHLD_DSO
) $(LIBTDB_OBJ
) \
1555 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1556 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1558 $(LIBTDB_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ0
)
1559 @echo Linking non-shared library
$@
1560 @
-$(AR
) -rc
$@
$(LIBTDB_OBJ0
)
1562 bin
/libwbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
) @LIBTALLOC_SHARED@
1563 @echo Linking shared library
$@
1564 @
$(SHLD_DSO
) @LIBTALLOC_LIBS@
$(LIBWBCLIENT_OBJ
) \
1565 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1566 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1568 bin
/libwbclient.a
: $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1569 @echo Linking non-shared library
$@
1570 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1572 bin
/libaddns.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
) @LIBTALLOC_SHARED@
1573 @echo Linking shared library
$@
1574 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1575 $(KRB5LIBS
) $(UUID_LIBS
) @LIBTALLOC_LIBS@ \
1576 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1578 bin
/libaddns.a
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
)
1579 @echo Linking non-shared library
$@
1580 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1582 $(LIBNETAPI_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1583 @echo Linking shared library
$@
1584 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) \
1585 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
$(LIBS
) \
1586 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1587 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1588 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1590 $(LIBNETAPI_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ1
)
1591 @echo Linking non-shared library
$@
1592 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ1
)
1594 bin
/libsmbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1595 @echo Linking shared library
$@
1596 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) \
1597 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
$(LIBS
) \
1598 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1599 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1601 bin
/libsmbclient.a
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ0
)
1602 @echo Linking non-shared library
$@
1603 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ0
)
1605 bin
/libsmbsharemodes.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1606 @echo Linking shared library
$@
1607 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) \
1608 $(LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ \
1609 $(KRB5LIBS
) $(LDAP_LIBS
) \
1610 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1612 bin
/libsmbsharemodes.a
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
)
1613 @echo Linking non-shared library
$@
1614 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1616 # This is probably wrong for anything other than the GNU linker.
1617 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
) @LIBTALLOC_SHARED@
1618 @echo Linking shared library
$@
1619 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) \
1620 $(LIBS
) @LIBTALLOC_LIBS@ \
1621 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1622 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1623 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1625 # It would be nice to build a static bigballofmud too, but when I try
1626 # I get linker errors about dl_open and similar things. I'm not sure if
1627 # it can be fixed or if they just can't be called from a static
1630 libtalloc
: $(LIBTALLOC
)
1632 libsmbclient
: $(LIBSMBCLIENT
)
1633 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1634 libaddns
: $(LIBADDNS
)
1635 libwbclient
: $(LIBWBCLIENT
)
1636 libnetapi
: $(LIBNETAPI
)
1638 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
1639 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
1640 -o
$@ @SONAMEFLAG@
`basename $@`
1642 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
1644 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
1646 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
1648 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
1650 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
1652 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
1654 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
1656 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
1658 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
1660 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
1662 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
1664 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
1666 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
1668 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
1670 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
1672 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
1674 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
1676 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
1678 bin
/librpc_dssetup.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DSSETUP_OBJ
)
1680 @
$(SHLD_MODULE
) $(RPC_DSSETUP_OBJ
)
1682 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
1684 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
1686 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
1688 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
1690 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
1692 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
1694 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
1696 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
1698 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1700 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1701 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) \
1702 $(PASSDB_LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1704 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1706 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1707 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1708 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1709 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
1711 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
1713 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1714 @WINBIND_NSS_EXTRA_LIBS@ @WINBIND_NSS_PTHREAD@ \
1715 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1717 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1719 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1720 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ \
1721 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1723 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
)
1725 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) \
1726 @SONAMEFLAG@
`basename $@`
1728 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
)
1729 @echo
"Linking shared library $@"
1730 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
1731 @SONAMEFLAG@
`basename $@`
1733 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
1734 @echo
"Building plugin $@"
1735 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
1737 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
1738 @echo
"Building plugin $@"
1739 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
1741 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
1742 @echo
"Building plugin $@"
1743 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
1745 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
1746 @echo
"Building plugin $@"
1747 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
1749 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
1750 @echo
"Building plugin $@"
1751 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
1753 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
1754 @echo
"Building plugin $@"
1755 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
1757 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
1758 @echo
"Building plugin $@"
1759 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
1761 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
1762 @echo
"Building plugin $@"
1763 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
1765 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
1766 @echo
"Building plugin $@"
1767 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
1769 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
1770 @echo
"Building plugin $@"
1771 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
1773 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
1774 @echo
"Building plugin $@"
1775 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
1777 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
1778 @echo
"Building plugin $@"
1779 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
1781 bin
/tdb2.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_tdb2.o
1782 @echo
"Building plugin $@"
1783 @
$(SHLD_MODULE
) winbindd
/idmap_tdb2.o
1785 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
1786 @echo
"Building plugin $@"
1787 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
1789 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
1790 @echo
"Building plugin $@"
1791 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
1793 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
1794 @echo
"Building plugin $@"
1795 @
$(SHLD_MODULE
) $(CP850_OBJ
)
1797 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
1798 @echo
"Building plugin $@"
1799 @
$(SHLD_MODULE
) $(CP437_OBJ
)
1801 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
1802 @echo
"Building plugin $@"
1803 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
1805 # NOTE, there is no build rule for a dynamic default VFS module because
1806 # this one MUST MUST MUST be built statically.
1808 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
1809 @echo
"Building plugin $@"
1810 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
1812 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
1813 @echo
"Building plugin $@"
1814 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
1816 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
1817 @echo
"Building plugin $@"
1818 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
1820 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
1821 @echo
"Building plugin $@"
1822 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
1824 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
1825 @echo
"Building plugin $@"
1826 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
1828 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
1829 @echo
"Building plugin $@"
1830 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
1832 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
1833 @echo
"Building plugin $@"
1834 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
1836 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
1837 @echo
"Building plugin $@"
1838 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
1840 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
1841 @echo
"Building plugin $@"
1842 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
1844 bin
/shadow_copy2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY2_OBJ
)
1845 @echo
"Building plugin $@"
1846 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY2_OBJ
)
1848 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
1849 @echo
"Building plugin $@"
1850 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
1852 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
1853 @echo
"Building plugin $@"
1854 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
1856 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
1857 @echo
"Building plugin $@"
1858 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
1860 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
1861 @echo
"Building plugin $@"
1862 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
1864 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
1865 @echo
"Building plugin $@"
1866 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
1868 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
1869 @echo
"Building plugin $@"
1870 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
1872 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
1873 @echo
"Building plugin $@"
1874 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
1876 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
1877 @echo
"Building plugin $@"
1878 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
1880 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
1881 @echo
"Building plugin $@"
1882 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
1884 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
1885 @echo
"Building plugin $@"
1886 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
1888 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
1889 @echo
"Building plugin $@"
1890 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
1892 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
1893 @echo
"Building plugin $@"
1894 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
1896 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
1897 @echo
"Building plugin $@"
1898 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
1900 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
1901 @echo
"Building plugin $@"
1902 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
1904 bin
/streams_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_XATTR_OBJ
)
1905 @echo
"Building plugin $@"
1906 @
$(SHLD_MODULE
) $(VFS_STREAMS_XATTR_OBJ
)
1908 bin
/streams_depot.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_DEPOT_OBJ
)
1909 @echo
"Building plugin $@"
1910 @
$(SHLD_MODULE
) $(VFS_STREAMS_DEPOT_OBJ
)
1912 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
1913 @echo
"Building plugin $@"
1914 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
1916 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
1917 @echo
"Building plugin $@"
1918 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
1920 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
1921 @echo
"Building plugin $@"
1922 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
1924 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
1925 @echo
"Building plugin $@"
1926 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
1928 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
1929 @echo
"Building plugin $@"
1930 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
1932 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
1933 @echo
"Building plugin $@"
1934 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
1936 bin
/tsmsm.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TSMSM_OBJ
)
1937 @echo
"Building plugin $@"
1938 @
$(SHLD_MODULE
) $(VFS_TSMSM_OBJ
)
1940 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
1941 @echo
"Building plugin $@"
1942 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
1944 bin
/aio_fork.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIO_FORK_OBJ
)
1945 @echo
"Building plugin $@"
1946 @
$(SHLD_MODULE
) $(VFS_AIO_FORK_OBJ
)
1948 bin
/registry.@SHLIBEXT@
: $(BINARY_PREREQS
) libgpo
/gpext
/registry.o
1949 @echo
"Building plugin $@"
1950 @
$(SHLD_MODULE
) libgpo
/gpext
/registry.o
1952 #########################################################
1953 ## IdMap NSS plugins
1955 ## None here right now
1956 #########################################################
1958 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1960 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
1961 $(LDAP_LIBS
) @POPTLIBS@ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ \
1964 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
1965 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1967 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1968 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1969 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1970 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1972 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@
1973 @echo
"Linking shared library $@"
1974 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) \
1975 $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1976 @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1978 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1980 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBBACKUP_OBJ
) $(DYNEXP
) \
1981 $(LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1983 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1985 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTOOL_OBJ
) $(DYNEXP
) \
1986 $(LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1988 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1990 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBDUMP_OBJ
) $(DYNEXP
) \
1991 $(LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1993 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1995 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTORTURE_OBJ
) $(DYNEXP
) \
1996 $(LIBS
) @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
1998 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1999 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) @LIBTALLOC_LIBS@ \
2000 torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
2002 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
2003 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) @LIBTALLOC_LIBS@ \
2004 torture
/t_strstr.o
-L .
/bin
-lbigballofmud
2006 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
2007 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) @LIBTALLOC_LIBS@ \
2008 torture
/t_strappend.o
-L .
/bin
-lbigballofmud
2010 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
2011 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o \
2012 -L.
/bin
-lbigballofmud
2014 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
2016 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
2018 install: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSSPNEGO@ installman \
2019 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2022 @INSTALL_LIBSMBCLIENT@ @INSTALL_PAM_MODULES@ \
2023 @INSTALL_LIBSMBSHAREMODES@ @INSTALL_LIBWBCLIENT@ installlibnetapi
2025 install-everything
: install installmodules
2027 # DESTDIR is used here to prevent packagers wasting their time
2028 # duplicating the Makefile. Remove it and you will have the privelege
2029 # of package each samba release for muliple versions of multiple
2030 # distributions and operating systems, or at least supplying patches
2031 # to all the packaging files required for this, prior to committing
2032 # the removal of DESTDIR. Do not remove it even though you think it
2036 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
2038 installservers
: all installdirs
2039 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2041 installbin
: all installdirs
2042 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2044 installcifsmount
: @CIFSMOUNT_PROGS@
2045 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2046 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2048 installcifsspnego
: @CIFSSPNEGO_PROGS@
2049 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2050 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2052 # Some symlinks are required for the 'probing' of modules.
2053 # This mechanism should go at some point..
2054 installmodules
: modules
installdirs
2055 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2056 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2057 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2058 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2059 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
2060 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2061 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2062 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(GPEXTLIBDIR
) $(GPEXT_MODULES
)
2063 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2064 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2065 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2066 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2067 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2068 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2069 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2070 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2072 installscripts
: installdirs
2073 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2075 installdat
: installdirs
2076 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2078 installmsg
: installdirs
2079 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2081 installswat
: installdirs installmsg
2082 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2084 installclientlib
: installdirs libsmbclient
2085 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2086 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2087 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
2088 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2089 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
2091 installlibtalloc
: installdirs libtalloc
2092 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2093 -$(INSTALLLIBCMD_SH
) $(LIBTALLOC_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2094 -$(INSTALLLIBCMD_A
) $(LIBTALLOC_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2095 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2096 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) @tallocdir@
/talloc.h
$(DESTDIR
)${prefix}/include
2098 installlibtdb
: installdirs libtdb
2099 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2100 -$(INSTALLLIBCMD_SH
) $(LIBTDB_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2101 -$(INSTALLLIBCMD_A
) $(LIBTDB_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2102 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2103 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTDB_HEADERS
) $(DESTDIR
)${prefix}/include
2105 installlibsmbsharemodes
: installdirs libsmbsharemodes
2106 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2107 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2108 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
2109 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/smb_share_modes.h
$(DESTDIR
)${prefix}/include
2111 installlibaddns
: installdirs libaddns
2112 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2113 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2114 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
2116 installlibwbclient
: installdirs libwbclient
2117 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2118 -$(INSTALLLIBCMD_SH
) bin
/libwbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2119 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2120 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/nsswitch
/libwbclient
/wbclient.h
$(DESTDIR
)${prefix}/include
2122 installlibnetapi
: installdirs libnetapi
2123 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2124 -$(INSTALLLIBCMD_SH
) $(LIBNETAPI_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2125 -$(INSTALLLIBCMD_A
) $(LIBNETAPI_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2126 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
2128 installpammodules
: $(PAM_MODULES
)
2129 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
2130 @for module in
$(PAM_MODULES
); do \
2131 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2132 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
2133 "$(DESTDIR)/$(PAMMODULESDIR)"; \
2136 # revert to the previously installed version
2138 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
2139 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
2141 installman
: installdirs
2142 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
2147 @echo
"Samba will be installed into:"
2148 @echo
" prefix: $(prefix)"
2149 @echo
" bindir: $(BINDIR)"
2150 @echo
" sbindir: $(SBINDIR)"
2151 @echo
" libdir: $(LIBDIR)"
2152 @echo
" vardir: $(VARDIR)"
2153 @echo
" mandir: $(MANDIR)"
2154 @echo
" privatedir: $(PRIVATE_DIR)"
2155 @echo
" configdir: $(CONFIGDIR)"
2156 @echo
" lockdir: $(LOCKDIR)"
2157 @echo
" piddir: $(PIDDIR)"
2158 @echo
" swatdir: $(SWATDIR)"
2161 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibtalloc uninstalllibtdb @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ uninstalllibnetapi
2164 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
2167 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2170 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2173 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2175 uninstallcifsspnego
:
2176 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2179 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2180 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2181 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2182 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2183 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2184 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2185 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(GPEXTLIBDIR
) $(GPEXT_MODULES
)
2188 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2191 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2194 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2196 uninstallswat
: uninstallmsg
2197 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2200 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
2201 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
2202 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
2204 uninstalllibsmbsharemodes
:
2205 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
2206 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
2209 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
2210 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
2213 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libnetapi.@SHLIBEXT@
2214 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libnetapi.a
2215 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
2217 uninstallpammodules
:
2218 @for module in
$(PAM_MODULES
); do \
2219 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2220 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
2223 # Toplevel clean files
2224 TOPFILES
=dynconfig.o
2227 -rm -f
$(PRECOMPILED_HEADER
)
2228 -rm -f core
*/*~
*~ \
2229 */*.o
*/*/*.o
*/*/*/*.o \
2230 ..
/testsuite
/*/*.o \
2231 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2232 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2233 $(MODULES
) $(TORTURE_PROGS
) \
2234 $(LIBTALLOC
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
2235 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBNETAPI
) \
2236 bin
/libwbclient.so
.0 bin
/timelimit \
2237 .headers.stamp
*/src
/*.o proto_exists \
2241 # Making this target will just make sure that the prototype files
2242 # exist, not necessarily that they are up to date. Since they're
2243 # removed by "make clean" this will always be run when you do anything
2245 proto_exists
: include/proto.h
include/build_env.h \
2246 winbindd
/winbindd_proto.h web
/swat_proto.h \
2247 libnet
/libnet_proto.h \
2248 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
2252 @echo Removing prototype headers
2253 @
rm -f
include/proto.h
include/build_env.h \
2254 winbindd
/winbindd_proto.h web
/swat_proto.h \
2255 client
/client_proto.h utils
/net_proto.h \
2256 smbd
/build_options.c utils
/ntlm_auth_proto.h \
2257 utils
/passwd_proto.h libnet
/libnet_proto.h
2259 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
2261 include/proto.h
: smbd
/build_options.c
2262 @echo Building
include/proto.h
2263 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2264 -h _PROTO_H_
$(builddir
)/include/proto.h \
2267 include/build_env.h
: script
/build_env.sh
2268 @echo Building
include/build_env.h
2269 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2270 > $(builddir
)/include/build_env.h
2272 winbindd
/winbindd_proto.h
:
2273 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2274 -h _WINBINDD_PROTO_H_
$(builddir
)/winbindd
/winbindd_proto.h \
2278 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2279 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
2282 client
/client_proto.h
:
2283 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2284 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
2288 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2289 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
2292 utils
/passwd_proto.h
:
2293 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2294 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
2297 utils
/ntlm_auth_proto.h
:
2298 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2299 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
2302 libnet
/libnet_proto.h
:
2303 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2304 -h _LIBNET_PROTO_H_
$(builddir
)/libnet
/libnet_proto.h \
2307 # "make headers" or "make proto" calls a subshell because we need to
2308 # make sure these commands are executed in sequence even for a
2311 $(MAKE
) delheaders
; \
2312 $(MAKE
) smbd
/build_options.c
; \
2313 $(MAKE
) include/proto.h
; \
2314 $(MAKE
) include/build_env.h
; \
2315 $(MAKE
) winbindd
/winbindd_proto.h
; \
2316 $(MAKE
) web
/swat_proto.h
; \
2317 $(MAKE
) client
/client_proto.h
; \
2318 $(MAKE
) utils
/ntlm_auth_proto.h
; \
2319 $(MAKE
) utils
/net_proto.h
; \
2320 $(MAKE
) utils
/passwd_proto.h
; \
2321 $(MAKE
) libnet
/libnet_proto.h
;
2325 .PHONY
: headers proto
2328 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2331 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2333 realclean: clean delheaders
2334 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2335 -rm -f script
/installbin.sh script
/uninstallbin.sh
2337 distclean: realclean
2339 -rm -f
include/config.h Makefile
2340 -rm -f config.status config.cache so_locations
2343 realdistclean
: distclean
2344 -rm -f
include/config.h.in
2345 -rm -f
include/version.h
2348 # this target is really just for my use. It only works on a limited
2349 # range of machines and is used to produce a list of potentially
2350 # dead (ie. unused) functions in the code. (tridge)
2352 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2353 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2354 comm
-13 nmused.txt nmfns.txt
2357 # when configure.in is updated, reconfigure
2358 $(srcdir)/configure
: $(srcdir)/configure.in
2359 @echo
"WARNING: you need to rerun ./autogen.sh"
2361 config.status
: $(srcdir)/configure
2362 @echo
"WARNING: you need to run ./configure"
2364 Makefile
: $(srcdir)/Makefile.in config.status
2365 @echo
"WARNING: you need to run ./config.status"
2367 ######################################################################
2368 # Samba Testing Framework
2370 # Check shared libs for unresolved symbols
2371 test_shlibs
: $(SHLIBS
)
2372 @echo
"Testing $(SHLIBS) "
2373 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2374 for module in
$(SHLIBS
); do \
2375 .
/script
/tests
/dlopen.sh bin
/$${module}.@SHLIBEXT@ \
2379 # Check for NSS module problems.
2380 test_nss_modules
: nss_modules
2381 @echo
"Testing $(NSS_MODULES) "
2382 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2383 for module in
$(NSS_MODULES
); do \
2384 .
/script
/tests
/dlopen.sh
$${module} \
2388 # Check for PAM module problems. Specifically, check that every module we
2389 # built can actually be loaded by a minimal PAM-aware application.
2390 test_pam_modules
: pam_modules
2391 @echo
"Testing $(PAM_MODULES) "
2392 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2393 for module in
$(PAM_MODULES
); do \
2394 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2400 ## Targets for 'make test'
2402 test: all torture timelimit
2403 @echo Running Test suite
2404 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2406 valgrindtest
: all torture timelimit
2407 @echo Running Test suite with valgrind
2408 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2409 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2410 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2411 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2412 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
2413 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"