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@$$/@SYMSEXT@/'`
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 WINBIND_NSS_EXTRA_LIBS
=@WINBIND_NSS_EXTRA_LIBS@
70 WINBIND_NSS_PTHREAD
=@WINBIND_NSS_PTHREAD@
71 PAM_WINBIND_EXTRA_LIBS
=@PAM_WINBIND_EXTRA_LIBS@
72 DNSSD_LIBS
=@DNSSD_LIBS@
74 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
75 LIBTDB_LIBS
=@LIBTDB_LIBS@
76 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
79 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
80 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
81 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
82 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
86 builddir
=@abs_builddir@
90 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
91 # will search for a POSIX-compliant shell, and that might not be
92 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
94 # See the autoconf manual "Installation Directory Variables" for a
95 # discussion of the subtle use of these variables.
99 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
101 ROOTSBINDIR
= @rootsbindir@
103 INCLUDEDIR
=@
includedir@
104 PAMMODULESDIR
= @pammodulesdir@
105 VFSLIBDIR
= $(LIBDIR
)/vfs
106 PDBLIBDIR
= $(LIBDIR
)/pdb
107 RPCLIBDIR
= $(LIBDIR
)/rpc
108 IDMAPLIBDIR
= $(LIBDIR
)/idmap
109 NSSINFOLIBDIR
= $(LIBDIR
)/nss_info
110 CHARSETLIBDIR
= $(LIBDIR
)/charset
111 AUTHLIBDIR
= $(LIBDIR
)/auth
112 CONFIGLIBDIR
= $(LIBDIR
)/config
113 CONFIGDIR
= @configdir@
114 VARDIR
= @localstatedir@
118 # The permissions to give the executables and other data
119 INSTALLPERMS_BIN
= 0755
120 INSTALLPERMS_DATA
= 0644
122 # set these to where to find various files
123 # These can be overridden by command line switches (see smbd(8))
124 # or in smb.conf (see smb.conf(5))
125 LOGFILEBASE
= @logfilebase@
126 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
127 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
130 # This is where smbpasswd et al go
131 PRIVATEDIR
= @privatedir@
133 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
134 PRIVATE_DIR
= $(PRIVATEDIR
)
136 # This is where SWAT images and help files go
139 # the directory where lock files go
142 # FHS directories; equal to LOCKDIR if not using --with-fhs
143 CACHEDIR
= @cachedir@
144 STATEDIR
= @
statedir@
146 # Where to look for (and install) codepage databases.
147 CODEPAGEDIR
= @codepagedir@
149 # the directory where pid files go
152 LIBTALLOC_SHARED_TARGET
=@LIBTALLOC_SHARED_TARGET@
153 LIBTALLOC_STATIC_TARGET
=@LIBTALLOC_STATIC_TARGET@
154 LIBTALLOC
=$(LIBTALLOC_STATIC_TARGET
) @LIBTALLOC_SHARED@
155 LIBTALLOC_SYMS
=$(srcdir)/exports
/libtalloc.@SYMSEXT@
156 LIBTALLOC_HEADERS
=$(srcdir)/@tallocdir@
/talloc.h
158 LIBTDB_SHARED_TARGET
=@LIBTDB_SHARED_TARGET@
159 LIBTDB_STATIC_TARGET
=@LIBTDB_STATIC_TARGET@
160 LIBTDB
=$(LIBTDB_STATIC_TARGET
) @LIBTDB_SHARED@
161 LIBTDB_SYMS
=$(srcdir)/exports
/libtdb.@SYMSEXT@
162 LIBTDB_HEADERS
=$(srcdir)/@tdbdir@
/include/tdb.h
164 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
165 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
166 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
168 LIBWBCLIENT_SHARED_TARGET
=@LIBWBCLIENT_SHARED_TARGET@
169 LIBWBCLIENT_STATIC_TARGET
=@LIBWBCLIENT_STATIC_TARGET@
170 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
171 LIBWBCLIENT_SYMS
=$(srcdir)/exports
/libwbclient.@SYMSEXT@
172 LIBWBCLIENT_HEADERS
=$(srcdir)/nsswitch
/libwbclient
/wbclient.h
174 LIBNETAPI_SHARED_TARGET
=@LIBNETAPI_SHARED_TARGET@
175 LIBNETAPI_STATIC_TARGET
=@LIBNETAPI_STATIC_TARGET@
176 LIBNETAPI
=$(LIBNETAPI_STATIC_TARGET
) @LIBNETAPI_SHARED@
177 LIBNETAPI_SYMS
=$(srcdir)/exports
/libnetapi.@SYMSEXT@
178 LIBNETAPI_HEADERS
=$(srcdir)/lib
/netapi
/netapi.h
180 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
183 FLAGS4
= -I
$(CTDBDIR
)/include
184 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
185 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
187 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
188 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
189 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
190 -DSBINDIR
=\"$(SBINDIR
)\" \
191 -DBINDIR
=\"$(BINDIR
)\" \
192 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
193 -DSWATDIR
=\"$(SWATDIR
)\" \
194 -DLOCKDIR
=\"$(LOCKDIR
)\" \
195 -DPIDDIR
=\"$(PIDDIR
)\" \
196 -DLIBDIR
=\"$(LIBDIR
)\" \
197 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
198 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
199 -DCTDBDIR
=\"$(CTDBDIR
)\" \
200 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
201 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
202 -DCACHEDIR
=\"$(CACHEDIR
)\" \
203 -DSTATEDIR
=\"$(STATEDIR
)\"
205 # Note that all executable programs now provide for an optional executable suffix.
207 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
209 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@ @CIFSSPNEGO_PROGS@
211 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
212 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
213 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
214 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
216 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
217 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
218 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
219 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
220 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
222 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
223 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
224 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
225 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
226 bin
/tdbtorture@EXEEXT@ \
227 bin
/smbconftort@EXEEXT@
229 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
230 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
232 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
233 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
234 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
235 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
237 SHLIBS
= libtalloc libtdb @LIBWBCLIENT@ @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBADDNS@ libnetapi
239 PAM_MODULES
= @PAM_MODULES@
241 NSS_MODULES
= @NSS_MODULES@
243 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
245 VFS_MODULES
= @VFS_MODULES@
246 PDB_MODULES
= @PDB_MODULES@
247 RPC_MODULES
= @RPC_MODULES@
248 IDMAP_MODULES
= @IDMAP_MODULES@
249 CHARSET_MODULES
= @CHARSET_MODULES@
250 AUTH_MODULES
= @AUTH_MODULES@
251 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
252 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
253 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
255 ######################################################################
257 ######################################################################
259 LIBTDB_OBJ0
= @TDB_OBJS@
260 LIBTDB_OBJ
= $(LIBTDB_OBJ0
) $(LIBREPLACE_OBJ
)
262 TDB_OBJ
= lib
/util_tdb.o \
263 lib
/dbwrap.o lib
/dbwrap_tdb.o \
264 lib
/dbwrap_tdb2.o lib
/dbwrap_ctdb.o \
265 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
267 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
269 VERSION_OBJ
= lib
/version.o
271 WBCOMMON_OBJ
= nsswitch
/wb_common.o
275 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
277 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
279 PASSCHANGE_OBJ
= libsmb
/passchange.o
282 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o \
284 librpc
/ndr
/ndr_misc.o \
285 librpc
/gen_ndr
/ndr_misc.o \
286 librpc
/gen_ndr
/ndr_security.o \
287 librpc
/ndr
/ndr_sec_helper.o \
288 librpc
/ndr
/ndr_string.o \
292 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
294 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
295 librpc
/gen_ndr
/ndr_lsa.o
297 LIBNDR_GEN_OBJ1
= librpc
/gen_ndr
/ndr_netlogon.o
299 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
301 librpc
/gen_ndr
/ndr_dfs.o \
302 librpc
/gen_ndr
/ndr_echo.o \
303 librpc
/gen_ndr
/ndr_winreg.o \
304 librpc
/gen_ndr
/ndr_initshutdown.o \
305 librpc
/gen_ndr
/ndr_srvsvc.o \
306 librpc
/gen_ndr
/ndr_eventlog.o \
308 librpc
/gen_ndr
/ndr_dssetup.o \
309 librpc
/gen_ndr
/ndr_notify.o \
310 librpc
/gen_ndr
/ndr_xattr.o \
311 librpc
/gen_ndr
/ndr_ntsvcs.o
313 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
315 # this includes only the low level parse code, not stuff
316 # that requires knowledge of security contexts
317 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
319 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
320 rpc_client
/init_netlogon.o \
321 rpc_client
/init_lsa.o \
322 rpc_client
/init_srvsvc.o
324 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
326 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
327 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
329 TALLOC_OBJ
= @TALLOC_OBJS@
332 LIBTALLOC_OBJ0
= $(TALLOC_OBJ
)
333 LIBTALLOC_OBJ
= $(LIBTALLOC_OBJ0
) $(LIBREPLACE_OBJ
)
335 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
337 $(SOCKET_WRAPPER_OBJ
) \
340 LIB_WITHOUT_PROTO_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
341 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
342 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
343 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
344 lib
/util_transfer_file.o lib
/async_req.o \
347 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
348 lib
/interface.o lib
/md4.o \
350 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
351 lib
/ufc.o lib
/genrand.o lib
/username.o \
352 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
353 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
354 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
355 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
356 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
357 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
358 lib
/substitute.o lib
/fsusage.o lib
/dbwrap_util.o \
359 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
360 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
361 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
362 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
363 lib
/adt_tree.o lib
/gencache.o \
364 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
365 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
366 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
369 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
371 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
372 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
374 READLINE_OBJ
= lib
/readline.o
376 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
377 # Be sure to include them into your application
378 POPT_LIB_OBJ
= lib
/popt_common.o
380 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
381 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
382 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
384 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
386 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
387 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
388 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
390 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
391 nsswitch
/libwbclient
/wbc_util.o \
392 nsswitch
/libwbclient
/wbc_pwd.o \
393 nsswitch
/libwbclient
/wbc_idmap.o \
394 nsswitch
/libwbclient
/wbc_sid.o \
395 nsswitch
/libwbclient
/wbc_pam.o
396 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) \
398 @LIBTALLOC_STATIC@
$(LIBREPLACE_OBJ
)
400 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
401 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o
402 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
404 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
405 libads
/sasl.o libads
/sasl_wrapping.o \
406 libads
/krb5_setpw.o libads
/ldap_user.o \
407 libads
/ads_struct.o libads
/kerberos_keytab.o \
408 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
409 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
411 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
412 librpc
/ndr
/ndr_krb5pac.o \
413 librpc
/gen_ndr
/ndr_krb5pac.o
415 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
417 LIBNBT_OBJ
= libcli
/nbt
/nbtname.o \
418 librpc
/gen_ndr
/ndr_nbt.o \
419 librpc
/gen_ndr
/ndr_svcctl.o
421 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
422 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
424 NTERR_OBJ
= libsmb
/nterr.o
425 DOSERR_OBJ
= libsmb
/doserr.o
426 ERRORMAP_OBJ
= libsmb
/errormap.o
427 DCE_RPC_ERR_OBJ
= libsmb
/dcerpc_err.o
429 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
430 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
432 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
437 libsmb
/ntlm_check.o \
439 libsmb
/ntlmssp_sign.o
441 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
444 CLDAP_OBJ
= libads
/cldap.o
446 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
447 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
448 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
449 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
450 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
451 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
452 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
453 libsmb
/clioplock.o libsmb
/clirap2.o \
454 libsmb
/smb_seal.o libsmb
/async_smb.o \
460 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
462 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
463 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
464 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
465 rpc_client
/cli_svcctl.o \
466 rpc_client
/init_samr.o
468 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
469 librpc
/gen_ndr
/cli_dfs.o \
470 librpc
/gen_ndr
/cli_echo.o \
471 librpc
/gen_ndr
/cli_srvsvc.o \
472 librpc
/gen_ndr
/cli_svcctl.o \
473 librpc
/gen_ndr
/cli_winreg.o \
474 librpc
/gen_ndr
/cli_initshutdown.o \
475 librpc
/gen_ndr
/cli_eventlog.o \
476 librpc
/gen_ndr
/cli_wkssvc.o \
477 librpc
/gen_ndr
/cli_netlogon.o \
478 librpc
/gen_ndr
/cli_samr.o \
479 librpc
/gen_ndr
/cli_dssetup.o \
480 librpc
/gen_ndr
/cli_ntsvcs.o \
485 # registry-related objects
487 UTIL_REG_OBJ
= lib
/util_reg.o
488 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
490 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
491 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
492 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
494 REGFIO_OBJ
= registry
/regfio.o
496 REGOBJS_OBJ
= registry
/reg_objects.o
498 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
500 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
502 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
503 registry
/reg_backend_shares.o \
504 registry
/reg_backend_netlogon_params.o \
505 registry
/reg_backend_prod_options.o \
506 registry
/reg_backend_tcpip_params.o \
507 registry
/reg_backend_hkpt_params.o \
508 registry
/reg_backend_current_version.o \
509 registry
/reg_backend_perflib.o
511 REG_BASE_OBJ
= registry
/reg_api.o \
512 registry
/reg_dispatcher.o \
513 registry
/reg_cachehook.o \
516 registry
/reg_util.o \
517 $(UTIL_REG_API_OBJ
) \
519 $(REG_BACKENDS_BASE_OBJ
) \
520 $(REG_INIT_BASIC_OBJ
)
522 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
523 $(REG_BACKENDS_SMBCONF_OBJ
) \
524 $(REG_INIT_SMBCONF_OBJ
)
526 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
527 $(REG_BACKENDS_EXTRA_OBJ
) \
528 $(REG_INIT_FULL_OBJ
) \
529 registry
/reg_eventlog.o \
530 registry
/reg_perfcount.o \
531 registry
/reg_util_legacy.o
534 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
536 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
537 librpc
/gen_ndr
/srv_netlogon.o
539 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
540 rpc_server
/srv_samr_util.o \
541 librpc
/gen_ndr
/srv_samr.o
543 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
545 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
546 librpc
/gen_ndr
/srv_winreg.o
548 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
550 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
551 librpc
/gen_ndr
/srv_srvsvc.o
553 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
555 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
556 librpc
/gen_ndr
/srv_svcctl.o \
557 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
558 services
/svc_netlogon.o services
/svc_winreg.o \
561 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o \
562 librpc
/gen_ndr
/srv_ntsvcs.o
564 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
566 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
568 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
569 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
571 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
572 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
574 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
576 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
578 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
579 rpc_parse
/parse_spoolss.o \
580 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
581 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
583 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
585 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
587 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
589 PRIVILEGES_OBJ
= lib
/privileges.o
591 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
593 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
594 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
595 passdb
/util_unixsids.o passdb
/lookup_sid.o \
596 passdb
/login_cache.o @PDB_STATIC@ \
597 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
598 lib
/util_nscd.o lib
/winbind_util.o
600 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
601 CP850_OBJ
= modules
/CP850.o
602 CP437_OBJ
= modules
/CP437.o
603 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
605 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
607 PROFILE_OBJ
= profile
/profile.o
608 PROFILES_OBJ
= utils
/profiles.o \
611 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
614 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
616 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
618 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
619 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
620 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
621 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
622 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
623 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
624 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
625 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
626 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
627 VFS_CAP_OBJ
= modules
/vfs_cap.o
628 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
629 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
630 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
631 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
632 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
633 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
634 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
635 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
636 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
637 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
638 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
639 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
640 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
641 VFS_CATIA_OBJ
= modules
/vfs_catia.o
642 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
643 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
644 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
645 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
646 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
647 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
648 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
649 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
650 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
651 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
652 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
653 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
655 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
657 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
659 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
661 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
662 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
663 AUTH_SAM_OBJ
= auth
/auth_sam.o
664 AUTH_SERVER_OBJ
= auth
/auth_server.o
665 AUTH_UNIX_OBJ
= auth
/auth_unix.o
666 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
667 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
669 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
670 auth
/auth_compat.o auth
/auth_ntlmssp.o \
671 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
673 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
675 SMBD_OBJ_MAIN
= smbd
/server.o
677 BUILDOPT_OBJ
= smbd
/build_options.o
679 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
680 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
681 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
682 smbd
/share_access.o smbd
/fileio.o \
683 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
684 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
685 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
686 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
687 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
688 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
689 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
690 smbd
/process.o smbd
/service.o smbd
/error.o \
691 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
692 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
693 smbd
/change_trust_pw.o smbd
/fake_file.o \
694 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
695 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
699 $(MANGLE_OBJ
) @VFS_STATIC@
701 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
702 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
703 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
704 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
705 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
706 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
707 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
708 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
709 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
711 $(PRIVILEGES_BASIC_OBJ
)
713 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
714 printing
/print_cups.o printing
/print_generic.o \
715 printing
/lpq_parse.o printing
/load.o \
716 printing
/print_iprint.o
718 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
719 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
721 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
723 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
724 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
725 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
726 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
727 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
728 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
729 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
730 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
731 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
732 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
733 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
734 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
736 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
737 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
740 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
741 web
/swat.o web
/neg_lang.o
743 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
744 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
745 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
746 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
747 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
749 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
750 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
751 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
754 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
755 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
759 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
760 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
761 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
762 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
764 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
767 TESTPARM_OBJ
= utils
/testparm.o \
768 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
771 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
773 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
774 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
775 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
776 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
777 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
779 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
781 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
782 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
785 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
787 DISPLAY_SEC_OBJ
= lib
/display_sec.o
789 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
790 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
791 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
792 rpcclient
/cmd_dfs.o \
793 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
794 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
795 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
798 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
799 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
800 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
801 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
802 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
803 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
805 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
806 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
808 LIBSMBCLIENT_OBJ0
= \
809 libsmb
/libsmb_cache.o \
810 libsmb
/libsmb_compat.o \
811 libsmb
/libsmb_context.o \
812 libsmb
/libsmb_dir.o \
813 libsmb
/libsmb_file.o \
814 libsmb
/libsmb_misc.o \
815 libsmb
/libsmb_path.o \
816 libsmb
/libsmb_printjob.o \
817 libsmb
/libsmb_server.o \
818 libsmb
/libsmb_stat.o \
819 libsmb
/libsmb_xattr.o \
820 libsmb
/libsmb_setget.o
822 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
823 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
824 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
825 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
826 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
828 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
830 LIBSMBSHAREMODES_OBJ0
= libsmb
/smb_share_modes.o
831 LIBSMBSHAREMODES_OBJ
= $(LIBSMBSHAREMODES_OBJ0
) @LIBTDB_STATIC@
833 # This shared library is intended for linking with unit test programs
834 # to test Samba internals. It's called libbigballofmud.so to
835 # discourage casual usage.
837 LIBBIGBALLOFMUD_MAJOR
= 0
839 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
840 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
841 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
843 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
848 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
849 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
850 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
851 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
854 LIBNETAPI_OBJ1
= lib
/netapi
/netapi.o \
856 librpc
/gen_ndr
/ndr_libnetapi.o \
857 lib
/netapi
/libnetapi.o \
858 lib
/netapi
/joindomain.o \
859 lib
/netapi
/serverinfo.o \
863 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ1
) $(LIBNET_OBJ
) \
866 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
867 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
868 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
869 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
870 $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
872 LIBSMBCONF_OBJ
= lib
/smbconf
/smbconf.o lib
/smbconf
/smbconf_util.o \
873 lib
/smbconf
/smbconf_reg.o \
874 lib
/smbconf
/smbconf_txt.o \
875 lib
/smbconf
/smbconf_init.o
877 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
879 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
885 LIBNET_OBJ
= libnet
/libnet_join.o \
886 libnet
/libnet_samsync.o \
887 librpc
/gen_ndr
/ndr_libnet_join.o
889 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
890 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
891 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
892 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
893 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
894 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
895 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
896 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
897 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
899 utils
/net_registry.o \
900 auth
/token_util.o utils
/net_dom.o
902 # these are not processed by make proto
903 NET_OBJ2
= utils
/net_registry_util.o
905 NET_OBJ
= $(NET_OBJ1
) \
907 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
908 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
909 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
910 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
911 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
912 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
913 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
914 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
915 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
917 @LIBWBCLIENT_STATIC@ \
918 $(PRIVILEGES_BASIC_OBJ
)
920 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
921 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
924 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
926 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
928 CIFS_SPNEGO_OBJ
= client
/cifs.spnego.o
930 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
931 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
933 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
934 torture
/denytest.o torture
/mangle_test.o
936 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
937 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
940 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
944 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
948 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
949 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
952 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
956 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
957 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
958 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
961 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
963 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
965 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
967 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
968 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
971 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
972 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
973 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
974 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
976 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
978 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
979 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
980 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
982 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
984 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
986 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o
988 SHARESEC_OBJ0
= utils
/sharesec.o
989 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
993 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
996 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
997 lib
/replace
/test/getifaddrs.o \
998 lib
/replace
/test/os2_delete.o \
999 lib
/replace
/test/strptime.o \
1002 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
1003 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
1004 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
1005 librpc
/gen_ndr
/ndr_svcctl.o
1007 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
1009 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1010 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
1013 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
1014 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
1015 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
1017 $(LIB_WITH_PROTO_OBJ
) \
1018 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
1019 $(AUTH_OBJ
) $(PARAM_WITHOUT_REG_OBJ
) $(LOCKING_OBJ
) \
1020 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
1021 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1022 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
1023 $(AUTH_SAM_OBJ
) $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) \
1024 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_DSSETUP_OBJ
) \
1025 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
1026 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
1027 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) \
1028 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
1029 utils
/passwd_util.o
$(LIBGPO_OBJ
) $(NSS_INFO_OBJ
) \
1030 $(RPCCLIENT_NDR_OBJ
) \
1031 $(PRIVILEGES_BASIC_OBJ
)
1033 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
1034 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
1037 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
1038 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
1039 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1040 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
1043 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_cache.o winbindd
/idmap_util.o @IDMAP_STATIC@
1045 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1048 winbindd
/winbindd.o \
1049 winbindd
/winbindd_user.o \
1050 winbindd
/winbindd_group.o \
1051 winbindd
/winbindd_util.o \
1052 winbindd
/winbindd_cache.o \
1053 winbindd
/winbindd_pam.o \
1054 winbindd
/winbindd_sid.o \
1055 winbindd
/winbindd_misc.o \
1056 winbindd
/winbindd_cm.o \
1057 winbindd
/winbindd_wins.o \
1058 winbindd
/winbindd_rpc.o \
1059 winbindd
/winbindd_reconnect.o \
1060 winbindd
/winbindd_ads.o \
1061 winbindd
/winbindd_passdb.o \
1062 winbindd
/winbindd_dual.o \
1063 winbindd
/winbindd_async.o \
1064 winbindd
/winbindd_creds.o \
1065 winbindd
/winbindd_cred_cache.o \
1066 winbindd
/winbindd_ccache_access.o \
1067 winbindd
/winbindd_domain.o \
1068 winbindd
/winbindd_idmap.o \
1069 winbindd
/winbindd_locator.o \
1070 winbindd
/winbindd_ndr.o \
1075 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1076 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1077 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1078 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1079 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1080 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1081 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1082 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
1084 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1085 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1086 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1088 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1090 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1091 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1092 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1093 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1094 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1096 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1097 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1098 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1100 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1101 lib
/ldb
/modules
/objectclass.o \
1102 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1104 # enabled in configure.in
1105 LDB_LDAP_OBJ
=@LDBLDAP@
1107 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1109 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1110 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1111 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1112 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1115 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1116 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1117 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1118 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1119 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1121 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
1122 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
)
1124 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
1125 popt
/popthelp.o popt
/poptparse.o
1127 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1128 iniparser_build
/strlib.o
1130 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1131 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1133 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1134 $(SOCKET_WRAPPER_OBJ
)
1136 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1137 $(SOCKET_WRAPPER_OBJ
)
1139 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1140 $(SOCKET_WRAPPER_OBJ
)
1143 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1145 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1146 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1147 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1148 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1149 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1150 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1151 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1154 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
)
1156 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1157 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1158 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1159 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1162 ######################################################################
1164 ######################################################################
1165 all : SHOWFLAGS
$(SHLIBS
) $(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1166 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
1168 nss_modules
: $(NSS_MODULES
)
1170 pam_modules
: $(PAM_MODULES
)
1172 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1174 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1176 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
1178 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1180 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1182 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1184 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1186 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1188 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1190 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1192 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1194 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1196 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1198 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1200 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1202 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1204 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1206 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1208 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1209 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1210 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1212 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1214 modules
: SHOWFLAGS
$(MODULES
)
1216 #####################################################################
1217 ## Perl IDL Compiler
1218 IDL_FILES
= lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1219 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1220 epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
1221 dssetup.idl krb5pac.idl ntsvcs.idl libnetapi.idl
1224 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1225 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1228 #####################################################################
1231 everything
: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1235 .SUFFIXES
: .c .o .lo
1238 @echo
"Using FLAGS = $(FLAGS)"
1239 @echo
" PICFLAG = $(PICFLAG)"
1240 @echo
" LIBS = $(LIBS)"
1241 @echo
" LDFLAGS = $(LDFLAGS)"
1242 @echo
" DYNEXP = $(DYNEXP)"
1243 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1244 @echo
" SHLIBEXT = @SHLIBEXT@"
1245 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1247 MAKEDIR
= || exec false
; \
1248 if
test -d
"$$dir"; then
:; else \
1249 echo mkdir
"$$dir"; \
1250 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1251 test -d
"$$dir" || \
1253 exec false
; fi || exec false
1255 # Run a static checker.
1256 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1257 # Compile a source file.
1258 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1259 # Compile a source file with the installation paths defined.
1260 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1262 COMPILE
= $(COMPILE_CC
)
1265 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1266 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1267 @if
test -n
"$(CC_CHECKER)"; then \
1268 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1271 @echo Compiling
$*.c
1272 @
$(COMPILE
) && exit
0;\
1273 echo
"The following command failed:" 1>&2;\
1274 echo
"$(COMPILE_CC)" 1>&2;\
1275 $(COMPILE_CC
) >/dev
/null
2>&1
1276 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1278 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1280 # this adds support for precompiled headers. To use it, install a snapshot
1281 # of gcc-3.4 and run 'make pch' before you do the main build.
1283 rm -f
$(PRECOMPILED_HEADER
)
1284 $(MAKE
) $(PRECOMPILED_HEADER
)
1286 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1289 BINARY_PREREQS
= proto_exists bin
/.dummy
1291 # These dependencies are only approximately correct: we want to make
1292 # sure Samba's paths are updated if ./configure is re-run. Really it
1293 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1294 # but since we also require "make install prefix=/opt/samba" *not* to
1295 # rebuild it's a bit hard.
1297 dynconfig.o
: dynconfig.c Makefile
1298 @echo Compiling
$*.c
1299 @
$(COMPILE_CC_PATH
) && exit
0;\
1300 echo
"The following command failed:" 1>&2;\
1301 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1302 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1304 lib
/pidfile.o
: lib
/pidfile.c
1305 @echo Compiling
$*.c
1306 @
$(COMPILE_CC_PATH
) && exit
0;\
1307 echo
"The following command failed:" 1>&2;\
1308 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1309 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1311 lib
/version.o
: lib
/version.c
include/version.h
1312 @echo Compiling
$*.c
1313 @
$(COMPILE_CC_PATH
) && exit
0;\
1314 echo
"The following command failed:" 1>&2;\
1315 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1316 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1318 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1319 @echo Compiling
$*.c
1320 @
$(COMPILE_CC_PATH
) && exit
0;\
1321 echo
"The following command failed:" 1>&2;\
1322 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1323 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1325 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1327 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1330 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1331 dir=bin
$(MAKEDIR
); fi
1332 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1334 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1336 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1337 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1338 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1339 $(POPT_LIBS
) @SMBD_LIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1342 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1344 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1345 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(POPT_LIBS
) \
1346 $(KRB5LIBS
) $(LDAP_LIBS
)
1348 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1350 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1351 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) \
1352 $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1354 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1356 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1357 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1358 $(KRB5LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1361 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1363 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1364 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1365 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) \
1366 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1368 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@
1370 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1371 $(POPT_LIBS
) $(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1372 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1373 @INIPARSERLIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBNETAPI_LIBS
)
1375 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1377 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1378 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1380 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1382 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1383 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1385 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1387 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1389 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1391 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1393 bin
/cifs.spnego@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_SPNEGO_OBJ
) $(LIBSMBCLIENT_OBJ1
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1395 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_SPNEGO_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1396 -lkeyutils
$(LIBS
) $(LIBSMBCLIENT_OBJ1
) $(KRB5LIBS
) \
1397 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(WINBIND_LIBS
) \
1400 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1402 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1403 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1405 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1407 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1408 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1410 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1412 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1413 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1414 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@
$(POPT_LIBS
) \
1415 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1417 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1419 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1420 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1421 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1423 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1425 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1426 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1427 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1429 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1431 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1432 $(POPT_LIBS
) $(PASSDB_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) \
1433 $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1435 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1437 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1438 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1439 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1441 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1443 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1444 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1446 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1448 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1449 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) \
1452 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1454 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1455 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1456 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1458 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1460 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1461 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
)
1463 bin
/smbconftort@EXEEXT@
: $(SMBCONFTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1465 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(SMBCONFTORT_OBJ
) $(LDFLAGS
) \
1466 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1467 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1469 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1471 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1472 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1473 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1475 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1477 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1478 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1479 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1481 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1483 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1484 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1485 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1487 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1489 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1490 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1491 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1493 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1495 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1496 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1498 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1500 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1501 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1503 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1505 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1506 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1507 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1509 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1511 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1512 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1513 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1515 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1517 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1518 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1519 $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1521 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1523 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1524 $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1525 $(ACL_LIBS
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1526 @SMBD_LIBS@
$(NSCD_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1529 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1531 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1532 $(TERMLIBS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1533 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1535 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1537 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1538 $(POPT_LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
)
1540 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1542 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1543 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1544 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1546 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1548 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1549 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1551 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1553 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1554 $(LIBS
) $(LIBTALLOC_LIBS
)
1556 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1558 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) \
1559 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1560 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1562 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1564 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1565 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1566 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1568 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1570 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1571 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1572 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1574 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1576 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1577 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1578 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1580 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1582 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1583 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1584 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1586 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1588 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1589 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1590 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1592 MKSYMS_SH
= $(srcdir)/script
/mksyms.sh
1594 $(LIBTALLOC_SYMS
): $(LIBTALLOC_HEADERS
)
1595 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTALLOC_HEADERS
)
1597 $(LIBTALLOC_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ
) $(LIBTALLOC_SYMS
)
1598 @echo Linking shared library
$@
1599 @
$(SHLD_DSO
) $(LIBTALLOC_OBJ
) \
1600 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1601 @
rm -f
$@.
$(SONAME_VER
)
1602 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1604 $(LIBTALLOC_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ0
)
1605 @echo Linking non-shared library
$@
1606 @
-$(AR
) -rc
$@
$(LIBTALLOC_OBJ0
)
1608 $(LIBTDB_SYMS
): $(LIBTDB_HEADERS
)
1609 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTDB_HEADERS
)
1611 $(LIBTDB_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ
) $(LIBTDB_SYMS
)
1612 @echo Linking shared library
$@
1613 @
$(SHLD_DSO
) $(LIBTDB_OBJ
) \
1614 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1615 @
rm -f
$@.
$(SONAME_VER
)
1616 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1618 $(LIBTDB_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ0
)
1619 @echo Linking non-shared library
$@
1620 @
-$(AR
) -rc
$@
$(LIBTDB_OBJ0
)
1622 $(LIBWBCLIENT_SYMS
): $(LIBWBCLIENT_HEADERS
)
1623 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBWBCLIENT_HEADERS
)
1625 $(LIBWBCLIENT_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
) $(LIBWBCLIENT_SYMS
) @LIBTALLOC_SHARED@
1626 @echo Linking shared library
$@
1627 @
$(SHLD_DSO
) $(LIBTALLOC_LIBS
) $(LIBWBCLIENT_OBJ
) \
1628 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1629 @
rm -f
$@.
$(SONAME_VER
)
1630 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1632 $(LIBWBCLIENT_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1633 @echo Linking non-shared library
$@
1634 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1636 bin
/libaddns.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
) @LIBTALLOC_SHARED@
1637 @echo Linking shared library
$@
1638 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1639 $(KRB5LIBS
) $(UUID_LIBS
) $(LIBTALLOC_LIBS
) \
1640 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1642 bin
/libaddns.a
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ0
)
1643 @echo Linking non-shared library
$@
1644 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ0
)
1646 $(LIBNETAPI_SYMS
): $(LIBNETAPI_HEADERS
)
1647 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBNETAPI_HEADERS
)
1649 $(LIBNETAPI_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
) $(LIBNETAPI_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1650 @echo Linking shared library
$@
1651 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) \
1652 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1653 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1654 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1655 @
rm -f
$@.
$(SONAME_VER
)
1656 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1658 $(LIBNETAPI_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ1
)
1659 @echo Linking non-shared library
$@
1660 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ1
)
1662 bin
/libsmbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1663 @echo Linking shared library
$@
1664 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) \
1665 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1666 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1667 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1669 bin
/libsmbclient.a
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ0
)
1670 @echo Linking non-shared library
$@
1671 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ0
)
1673 bin
/libsmbsharemodes.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1674 @echo Linking shared library
$@
1675 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) \
1676 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1677 $(KRB5LIBS
) $(LDAP_LIBS
) \
1678 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1680 bin
/libsmbsharemodes.a
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ0
)
1681 @echo Linking non-shared library
$@
1682 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ0
)
1684 # This is probably wrong for anything other than the GNU linker.
1685 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
) @LIBTALLOC_SHARED@
1686 @echo Linking shared library
$@
1687 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) \
1688 $(LIBS
) $(LIBTALLOC_LIBS
) \
1689 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1690 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1691 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1693 # It would be nice to build a static bigballofmud too, but when I try
1694 # I get linker errors about dl_open and similar things. I'm not sure if
1695 # it can be fixed or if they just can't be called from a static
1698 libtalloc
: $(LIBTALLOC
)
1700 libsmbclient
: $(LIBSMBCLIENT
)
1701 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1702 libaddns
: $(LIBADDNS
)
1703 libwbclient
: $(LIBWBCLIENT
)
1704 libnetapi
: $(LIBNETAPI
)
1706 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
1707 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
1708 -o
$@ @SONAMEFLAG@
`basename $@`
1710 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
1712 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
1714 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
1716 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
1718 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
1720 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
1722 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
1724 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
1726 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
1728 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
1730 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
1732 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
1734 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
1736 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
1738 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
1740 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
1742 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
1744 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
1746 bin
/librpc_dssetup.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DSSETUP_OBJ
)
1748 @
$(SHLD_MODULE
) $(RPC_DSSETUP_OBJ
)
1750 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
1752 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
1754 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
1756 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
1758 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
1760 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
1762 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
1764 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
1766 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1768 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1769 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1770 $(PASSDB_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1772 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1774 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1775 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1776 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1777 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1779 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
1781 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1782 $(WINBIND_NSS_EXTRA_LIBS
) $(WINBIND_NSS_PTHREAD
) \
1783 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1785 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1787 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1788 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1789 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1791 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
)
1793 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) \
1794 @SONAMEFLAG@
`basename $@`
1796 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
)
1797 @echo
"Linking shared library $@"
1798 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
1799 $(PAM_WINBIND_EXTRA_LIBS
) @SONAMEFLAG@
`basename $@`
1801 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
1802 @echo
"Building plugin $@"
1803 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
1805 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
1806 @echo
"Building plugin $@"
1807 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
1809 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
1810 @echo
"Building plugin $@"
1811 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
1813 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
1814 @echo
"Building plugin $@"
1815 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
1817 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
1818 @echo
"Building plugin $@"
1819 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
1821 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
1822 @echo
"Building plugin $@"
1823 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
1825 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
1826 @echo
"Building plugin $@"
1827 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
1829 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
1830 @echo
"Building plugin $@"
1831 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
1833 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
1834 @echo
"Building plugin $@"
1835 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
1837 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
1838 @echo
"Building plugin $@"
1839 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
1841 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
1842 @echo
"Building plugin $@"
1843 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
1845 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
1846 @echo
"Building plugin $@"
1847 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
1849 bin
/tdb2.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_tdb2.o
1850 @echo
"Building plugin $@"
1851 @
$(SHLD_MODULE
) winbindd
/idmap_tdb2.o
1853 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
1854 @echo
"Building plugin $@"
1855 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
1857 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
1858 @echo
"Building plugin $@"
1859 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
1861 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
1862 @echo
"Building plugin $@"
1863 @
$(SHLD_MODULE
) $(CP850_OBJ
)
1865 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
1866 @echo
"Building plugin $@"
1867 @
$(SHLD_MODULE
) $(CP437_OBJ
)
1869 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
1870 @echo
"Building plugin $@"
1871 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
1873 # NOTE, there is no build rule for a dynamic default VFS module because
1874 # this one MUST MUST MUST be built statically.
1876 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
1877 @echo
"Building plugin $@"
1878 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
1880 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
1881 @echo
"Building plugin $@"
1882 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
1884 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
1885 @echo
"Building plugin $@"
1886 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
1888 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
1889 @echo
"Building plugin $@"
1890 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
1892 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
1893 @echo
"Building plugin $@"
1894 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
1896 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
1897 @echo
"Building plugin $@"
1898 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
1900 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
1901 @echo
"Building plugin $@"
1902 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
1904 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
1905 @echo
"Building plugin $@"
1906 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
1908 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
1909 @echo
"Building plugin $@"
1910 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
1912 bin
/shadow_copy2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY2_OBJ
)
1913 @echo
"Building plugin $@"
1914 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY2_OBJ
)
1916 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
1917 @echo
"Building plugin $@"
1918 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
1920 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
1921 @echo
"Building plugin $@"
1922 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
1924 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
1925 @echo
"Building plugin $@"
1926 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
1928 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
1929 @echo
"Building plugin $@"
1930 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
1932 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
1933 @echo
"Building plugin $@"
1934 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
1936 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
1937 @echo
"Building plugin $@"
1938 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
1940 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
1941 @echo
"Building plugin $@"
1942 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
1944 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
1945 @echo
"Building plugin $@"
1946 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
1948 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
1949 @echo
"Building plugin $@"
1950 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
1952 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
1953 @echo
"Building plugin $@"
1954 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
1956 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
1957 @echo
"Building plugin $@"
1958 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
1960 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
1961 @echo
"Building plugin $@"
1962 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
1964 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
1965 @echo
"Building plugin $@"
1966 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
1968 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
1969 @echo
"Building plugin $@"
1970 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
1972 bin
/streams_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_XATTR_OBJ
)
1973 @echo
"Building plugin $@"
1974 @
$(SHLD_MODULE
) $(VFS_STREAMS_XATTR_OBJ
)
1976 bin
/streams_depot.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_DEPOT_OBJ
)
1977 @echo
"Building plugin $@"
1978 @
$(SHLD_MODULE
) $(VFS_STREAMS_DEPOT_OBJ
)
1980 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
1981 @echo
"Building plugin $@"
1982 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
1984 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
1985 @echo
"Building plugin $@"
1986 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
1988 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
1989 @echo
"Building plugin $@"
1990 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
1992 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
1993 @echo
"Building plugin $@"
1994 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
1996 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
1997 @echo
"Building plugin $@"
1998 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
2000 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
2001 @echo
"Building plugin $@"
2002 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
2004 bin
/tsmsm.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TSMSM_OBJ
)
2005 @echo
"Building plugin $@"
2006 @
$(SHLD_MODULE
) $(VFS_TSMSM_OBJ
)
2008 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
2009 @echo
"Building plugin $@"
2010 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
2012 bin
/aio_fork.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIO_FORK_OBJ
)
2013 @echo
"Building plugin $@"
2014 @
$(SHLD_MODULE
) $(VFS_AIO_FORK_OBJ
)
2016 #########################################################
2017 ## IdMap NSS plugins
2019 ## None here right now
2020 #########################################################
2022 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2024 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
2025 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2028 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
2029 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2031 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
2032 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
2033 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
2034 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2036 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2037 @echo
"Linking shared library $@"
2038 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) \
2039 $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
2040 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2042 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2044 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBBACKUP_OBJ
) $(DYNEXP
) \
2045 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2047 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2049 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTOOL_OBJ
) $(DYNEXP
) \
2050 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2052 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2054 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBDUMP_OBJ
) $(DYNEXP
) \
2055 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2057 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2059 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTORTURE_OBJ
) $(DYNEXP
) \
2060 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2062 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
2063 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2064 torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
2066 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
2067 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2068 torture
/t_strstr.o
-L .
/bin
-lbigballofmud
2070 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
2071 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2072 torture
/t_strappend.o
-L .
/bin
-lbigballofmud
2074 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
2075 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o \
2076 -L.
/bin
-lbigballofmud
2078 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
2080 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
2082 install: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSSPNEGO@ installman \
2083 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2086 @INSTALL_LIBSMBCLIENT@ @INSTALL_PAM_MODULES@ \
2087 @INSTALL_LIBSMBSHAREMODES@ @INSTALL_LIBWBCLIENT@ installlibnetapi
2089 install-everything
: install installmodules
2091 # DESTDIR is used here to prevent packagers wasting their time
2092 # duplicating the Makefile. Remove it and you will have the privelege
2093 # of package each samba release for muliple versions of multiple
2094 # distributions and operating systems, or at least supplying patches
2095 # to all the packaging files required for this, prior to committing
2096 # the removal of DESTDIR. Do not remove it even though you think it
2100 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
2102 installservers
: all installdirs
2103 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2105 installbin
: all installdirs
2106 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2108 installcifsmount
: @CIFSMOUNT_PROGS@
2109 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2110 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2112 installcifsspnego
: @CIFSSPNEGO_PROGS@
2113 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2114 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2116 # Some symlinks are required for the 'probing' of modules.
2117 # This mechanism should go at some point..
2118 installmodules
: modules
installdirs
2119 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2120 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2121 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2122 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2123 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
2124 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2125 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2126 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2127 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2128 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2129 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2130 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2131 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2132 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2133 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2135 installscripts
: installdirs
2136 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2138 installdat
: installdirs
2139 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2141 installmsg
: installdirs
2142 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2144 installswat
: installdirs installmsg
2145 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2147 installclientlib
: installdirs libsmbclient
2148 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2149 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2150 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
2151 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2152 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
2154 installlibtalloc
: installdirs libtalloc
2155 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2156 -$(INSTALLLIBCMD_SH
) $(LIBTALLOC_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2157 -$(INSTALLLIBCMD_A
) $(LIBTALLOC_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2158 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2159 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTALLOC_HEADERS
) $(DESTDIR
)${prefix}/include
2161 installlibtdb
: installdirs libtdb
2162 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2163 -$(INSTALLLIBCMD_SH
) $(LIBTDB_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2164 -$(INSTALLLIBCMD_A
) $(LIBTDB_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2165 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2166 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTDB_HEADERS
) $(DESTDIR
)${prefix}/include
2168 installlibsmbsharemodes
: installdirs libsmbsharemodes
2169 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2170 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2171 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
2172 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/smb_share_modes.h
$(DESTDIR
)${prefix}/include
2174 installlibaddns
: installdirs libaddns
2175 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2176 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2177 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
2179 installlibwbclient
: installdirs libwbclient
2180 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2181 -$(INSTALLLIBCMD_SH
) bin
/libwbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2182 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2183 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/nsswitch
/libwbclient
/wbclient.h
$(DESTDIR
)${prefix}/include
2185 installlibnetapi
: installdirs libnetapi
2186 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2187 -$(INSTALLLIBCMD_SH
) $(LIBNETAPI_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2188 -$(INSTALLLIBCMD_A
) $(LIBNETAPI_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2189 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
2191 installpammodules
: $(PAM_MODULES
)
2192 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
2193 @for module in
$(PAM_MODULES
); do \
2194 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2195 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
2196 "$(DESTDIR)/$(PAMMODULESDIR)"; \
2199 # revert to the previously installed version
2201 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
2202 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
2204 installman
: installdirs
2205 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
2210 @echo
"Samba will be installed into:"
2211 @echo
" prefix: $(prefix)"
2212 @echo
" bindir: $(BINDIR)"
2213 @echo
" sbindir: $(SBINDIR)"
2214 @echo
" libdir: $(LIBDIR)"
2215 @echo
" vardir: $(VARDIR)"
2216 @echo
" mandir: $(MANDIR)"
2217 @echo
" privatedir: $(PRIVATE_DIR)"
2218 @echo
" configdir: $(CONFIGDIR)"
2219 @echo
" lockdir: $(LOCKDIR)"
2220 @echo
" piddir: $(PIDDIR)"
2221 @echo
" swatdir: $(SWATDIR)"
2224 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibtalloc uninstalllibtdb @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ uninstalllibnetapi
2227 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
2230 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2233 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2236 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2238 uninstallcifsspnego
:
2239 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2242 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2243 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2244 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2245 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2246 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2247 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2250 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2253 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2256 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2258 uninstallswat
: uninstallmsg
2259 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2262 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
2263 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
2264 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
2266 uninstalllibsmbsharemodes
:
2267 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
2268 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
2271 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
2272 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
2275 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libnetapi.@SHLIBEXT@
2276 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libnetapi.a
2277 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
2279 uninstallpammodules
:
2280 @for module in
$(PAM_MODULES
); do \
2281 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2282 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
2285 # Toplevel clean files
2286 TOPFILES
=dynconfig.o
2289 -rm -f
$(PRECOMPILED_HEADER
)
2290 -rm -f core
*/*~
*~ \
2291 */*.o
*/*/*.o
*/*/*/*.o \
2292 ..
/testsuite
/*/*.o \
2293 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2294 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2295 $(MODULES
) $(TORTURE_PROGS
) \
2296 $(LIBTALLOC
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
2297 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBNETAPI
) \
2298 bin
/libwbclient.so
.0 bin
/timelimit \
2299 .headers.stamp
*/src
/*.o proto_exists \
2300 $(LIBTALLOC_SYMS
) $(LIBWBCLIENT_SYMS
) $(LIBTDB_SYMS
) $(LIBNETAPI_SYMS
)
2303 # Making this target will just make sure that the prototype files
2304 # exist, not necessarily that they are up to date. Since they're
2305 # removed by "make clean" this will always be run when you do anything
2307 proto_exists
: include/proto.h
include/build_env.h \
2308 winbindd
/winbindd_proto.h web
/swat_proto.h \
2309 libnet
/libnet_proto.h \
2310 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
2314 @echo Removing prototype headers
2315 @
rm -f
include/proto.h
include/build_env.h \
2316 winbindd
/winbindd_proto.h web
/swat_proto.h \
2317 client
/client_proto.h utils
/net_proto.h \
2318 smbd
/build_options.c utils
/ntlm_auth_proto.h \
2319 utils
/passwd_proto.h libnet
/libnet_proto.h
2321 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
2323 include/proto.h
: smbd
/build_options.c
2324 @echo Building
include/proto.h
2325 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2326 -h _PROTO_H_
$(builddir
)/include/proto.h \
2329 include/build_env.h
: script
/build_env.sh
2330 @echo Building
include/build_env.h
2331 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2332 > $(builddir
)/include/build_env.h
2334 winbindd
/winbindd_proto.h
:
2335 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2336 -h _WINBINDD_PROTO_H_
$(builddir
)/winbindd
/winbindd_proto.h \
2340 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2341 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
2344 client
/client_proto.h
:
2345 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2346 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
2350 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2351 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
2354 utils
/passwd_proto.h
:
2355 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2356 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
2359 utils
/ntlm_auth_proto.h
:
2360 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2361 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
2364 libnet
/libnet_proto.h
:
2365 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2366 -h _LIBNET_PROTO_H_
$(builddir
)/libnet
/libnet_proto.h \
2369 # "make headers" or "make proto" calls a subshell because we need to
2370 # make sure these commands are executed in sequence even for a
2373 $(MAKE
) delheaders
; \
2374 $(MAKE
) smbd
/build_options.c
; \
2375 $(MAKE
) include/proto.h
; \
2376 $(MAKE
) include/build_env.h
; \
2377 $(MAKE
) winbindd
/winbindd_proto.h
; \
2378 $(MAKE
) web
/swat_proto.h
; \
2379 $(MAKE
) client
/client_proto.h
; \
2380 $(MAKE
) utils
/ntlm_auth_proto.h
; \
2381 $(MAKE
) utils
/net_proto.h
; \
2382 $(MAKE
) utils
/passwd_proto.h
; \
2383 $(MAKE
) libnet
/libnet_proto.h
;
2387 .PHONY
: headers proto
2390 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2393 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2395 realclean: clean delheaders
2396 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2397 -rm -f script
/installbin.sh script
/uninstallbin.sh
2399 distclean: realclean
2401 -rm -f
include/config.h Makefile
2402 -rm -f config.status config.cache so_locations
2405 realdistclean
: distclean
2406 -rm -f
include/config.h.in
2407 -rm -f
include/version.h
2410 # this target is really just for my use. It only works on a limited
2411 # range of machines and is used to produce a list of potentially
2412 # dead (ie. unused) functions in the code. (tridge)
2414 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2415 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2416 comm
-13 nmused.txt nmfns.txt
2419 # when configure.in is updated, reconfigure
2420 $(srcdir)/configure
: $(srcdir)/configure.in
2421 @echo
"WARNING: you need to rerun ./autogen.sh"
2423 config.status
: $(srcdir)/configure
2424 @echo
"WARNING: you need to run ./configure"
2426 Makefile
: $(srcdir)/Makefile.in config.status
2427 @echo
"WARNING: you need to run ./config.status"
2429 ######################################################################
2430 # Samba Testing Framework
2432 # Check shared libs for unresolved symbols
2433 test_shlibs
: $(SHLIBS
)
2434 @echo
"Testing $(SHLIBS) "
2435 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2436 for module in
$(SHLIBS
); do \
2437 .
/script
/tests
/dlopen.sh bin
/$${module}.@SHLIBEXT@ \
2441 # Check for NSS module problems.
2442 test_nss_modules
: nss_modules
2443 @echo
"Testing $(NSS_MODULES) "
2444 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2445 for module in
$(NSS_MODULES
); do \
2446 .
/script
/tests
/dlopen.sh
$${module} \
2450 # Check for PAM module problems. Specifically, check that every module we
2451 # built can actually be loaded by a minimal PAM-aware application.
2452 test_pam_modules
: pam_modules
2453 @echo
"Testing $(PAM_MODULES) "
2454 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2455 for module in
$(PAM_MODULES
); do \
2456 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2462 ## Targets for 'make test'
2464 test: all torture timelimit
2465 @echo Running Test suite
2466 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2468 valgrindtest
: all torture timelimit
2469 @echo Running Test suite with valgrind
2470 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2471 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2472 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2473 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2474 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
2475 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"