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 ###########################################################################
13 exec_prefix=@
exec_prefix@
14 sysconfdir
=@sysconfdir@
15 localstatedir
=@localstatedir@
16 datarootdir
=@datarootdir@
18 selftest_prefix
=@selftest_prefix@
19 smbtorture4_path
=@smbtorture4_path@
21 LIBS
=@LIBS@ @LIBTALLOC_LIBS@
24 LIB_PATH_VAR
=@LIB_PATH_VAR@
26 ## Dynamic shared libraries build settings
27 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@$$/syms/'`
28 DSO_EXPORTS
=@DSO_EXPORTS@
29 SONAME_VER
=`grep \^$@ $(builddir)/library-versions | cut -d: -f2`
30 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
32 # The MODULE_EXPORTS variable contains the platform-specific linker flags
33 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
34 MODULE_EXPORTS
=@MODULE_EXPORTS@
36 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
37 # (GCC) warnings. This is done automtically for --enable-developer
38 # and --enable-krb5developer.
39 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
41 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
45 LDSHFLAGS
=@LDSHFLAGS@ @LDFLAGS@
46 LDFLAGS
=@PIE_LDFLAGS@ @LDFLAGS@
48 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
56 TERMLDFLAGS
=@TERMLDFLAGS@
58 PRINT_LIBS
=@PRINT_LIBS@
61 PASSDB_LIBS
=@PASSDB_LIBS@
62 IDMAP_LIBS
=@IDMAP_LIBS@
67 WINBIND_LIBS
=@WINBIND_LIBS@
68 DNSSD_LIBS
=@DNSSD_LIBS@
71 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
72 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
73 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
74 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
78 builddir
=@abs_builddir@
82 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
83 # will search for a POSIX-compliant shell, and that might not be
84 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
86 # See the autoconf manual "Installation Directory Variables" for a
87 # discussion of the subtle use of these variables.
91 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
93 ROOTSBINDIR
= @rootsbindir@
95 INCLUDEDIR
=@
includedir@
96 PAMMODULESDIR
= @pammodulesdir@
97 VFSLIBDIR
= $(LIBDIR
)/vfs
98 PDBLIBDIR
= $(LIBDIR
)/pdb
99 RPCLIBDIR
= $(LIBDIR
)/rpc
100 IDMAPLIBDIR
= $(LIBDIR
)/idmap
101 NSSINFOLIBDIR
= $(LIBDIR
)/nss_info
102 CHARSETLIBDIR
= $(LIBDIR
)/charset
103 AUTHLIBDIR
= $(LIBDIR
)/auth
104 CONFIGLIBDIR
= $(LIBDIR
)/config
105 CONFIGDIR
= @configdir@
106 VARDIR
= @localstatedir@
110 # The permissions to give the executables and other data
111 INSTALLPERMS_BIN
= 0755
112 INSTALLPERMS_DATA
= 0644
114 # set these to where to find various files
115 # These can be overridden by command line switches (see smbd(8))
116 # or in smb.conf (see smb.conf(5))
117 LOGFILEBASE
= @logfilebase@
118 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
119 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
122 # This is where smbpasswd et al go
123 PRIVATEDIR
= @privatedir@
125 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
126 PRIVATE_DIR
= $(PRIVATEDIR
)
128 # This is where SWAT images and help files go
131 # the directory where lock files go
134 # FHS directories; equal to LOCKDIR if not using --with-fhs
135 CACHEDIR
= @cachedir@
136 STATEDIR
= @
statedir@
138 # Where to look for (and install) codepage databases.
139 CODEPAGEDIR
= @codepagedir@
141 # the directory where pid files go
144 LIBTALLOC_SHARED_TARGET
=@LIBTALLOC_SHARED_TARGET@
145 LIBTALLOC_STATIC_TARGET
=@LIBTALLOC_STATIC_TARGET@
146 LIBTALLOC
=$(LIBTALLOC_STATIC_TARGET
) @LIBTALLOC_SHARED@
148 LIBTDB_SHARED_TARGET
=@LIBTDB_SHARED_TARGET@
149 LIBTDB_STATIC_TARGET
=@LIBTDB_STATIC_TARGET@
150 LIBTDB
=$(LIBTDB_STATIC_TARGET
) @LIBTDB_SHARED@
151 LIBTDB_SYMS
=exports
/libtdb.syms
152 LIBTDB_HEADERS
=@tdbdir@
/include/tdb.h
154 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
155 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
156 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
157 LIBWBCLIENT
=@LIBWBCLIENT_SHARED@
159 LIBNETAPI_SHARED_TARGET
=@LIBNETAPI_SHARED_TARGET@
160 LIBNETAPI_STATIC_TARGET
=@LIBNETAPI_STATIC_TARGET@
161 LIBNETAPI
=$(LIBNETAPI_STATIC_TARGET
) @LIBNETAPI_SHARED@
163 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
166 FLAGS4
= -I
$(CTDBDIR
)/include
167 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
168 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
170 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
171 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
172 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
173 -DSBINDIR
=\"$(SBINDIR
)\" \
174 -DBINDIR
=\"$(BINDIR
)\" \
175 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
176 -DSWATDIR
=\"$(SWATDIR
)\" \
177 -DLOCKDIR
=\"$(LOCKDIR
)\" \
178 -DPIDDIR
=\"$(PIDDIR
)\" \
179 -DLIBDIR
=\"$(LIBDIR
)\" \
180 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
181 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
182 -DCTDBDIR
=\"$(CTDBDIR
)\" \
183 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
184 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
185 -DCACHEDIR
=\"$(CACHEDIR
)\" \
186 -DSTATEDIR
=\"$(STATEDIR
)\"
188 # Note that all executable programs now provide for an optional executable suffix.
190 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
192 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@ @CIFSSPNEGO_PROGS@
194 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
195 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
196 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
197 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
199 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
200 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
201 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
202 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
203 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
205 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
206 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
207 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
208 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
209 bin
/tdbtorture@EXEEXT@
211 BIN_PROGS
= @EXTRA_BIN_PROGS@ @SMBMOUNT_PROGS@ \
212 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
214 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
215 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
216 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
217 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
219 SHLIBS
= libtalloc libtdb @LIBWBCLIENT@ @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBADDNS@ libnetapi
221 PAM_MODULES
= @PAM_MODULES@
223 NSS_MODULES
= @NSS_MODULES@
225 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
227 VFS_MODULES
= @VFS_MODULES@
228 PDB_MODULES
= @PDB_MODULES@
229 RPC_MODULES
= @RPC_MODULES@
230 IDMAP_MODULES
= @IDMAP_MODULES@
231 CHARSET_MODULES
= @CHARSET_MODULES@
232 AUTH_MODULES
= @AUTH_MODULES@
233 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
234 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
235 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
237 ######################################################################
239 ######################################################################
241 LIBTDB_OBJ0
= @TDB_OBJS@
242 LIBTDB_OBJ
= $(LIBTDB_OBJ0
) $(LIBREPLACE_OBJ
)
244 TDB_OBJ
= @LIBTDB_STATIC@ lib
/util_tdb.o \
245 lib
/dbwrap.o lib
/dbwrap_tdb.o lib
/dbwrap_ctdb.o lib
/dbwrap_rbt.o
247 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
249 VERSION_OBJ
= lib
/version.o
251 DOSERR_OBJ
= libsmb
/doserr.o
253 WBCOMMON_OBJ
= nsswitch
/wb_common.o
257 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
259 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
261 ERRORMAP_OBJ
= libsmb
/errormap.o
263 PASSCHANGE_OBJ
= libsmb
/passchange.o
266 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o \
268 librpc
/ndr
/ndr_misc.o \
269 librpc
/gen_ndr
/ndr_misc.o \
270 librpc
/gen_ndr
/ndr_security.o \
271 librpc
/ndr
/ndr_sec_helper.o \
272 librpc
/ndr
/ndr_string.o \
276 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
278 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
279 librpc
/gen_ndr
/ndr_lsa.o \
280 librpc
/gen_ndr
/ndr_dfs.o \
281 librpc
/gen_ndr
/ndr_echo.o \
282 librpc
/gen_ndr
/ndr_winreg.o \
283 librpc
/gen_ndr
/ndr_initshutdown.o \
284 librpc
/gen_ndr
/ndr_srvsvc.o \
285 librpc
/gen_ndr
/ndr_svcctl.o \
286 librpc
/gen_ndr
/ndr_eventlog.o \
287 librpc
/gen_ndr
/ndr_netlogon.o \
288 librpc
/gen_ndr
/ndr_samr.o \
289 librpc
/gen_ndr
/ndr_dssetup.o \
290 librpc
/gen_ndr
/ndr_notify.o \
291 librpc
/gen_ndr
/ndr_xattr.o \
292 librpc
/gen_ndr
/ndr_ntsvcs.o
294 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
296 # this includes only the low level parse code, not stuff
297 # that requires knowledge of security contexts
298 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
300 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o rpc_parse
/parse_srv.o
301 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o rpc_parse
/parse_srv.o \
302 rpc_client
/init_netlogon.o \
303 rpc_client
/init_lsa.o
305 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
307 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
308 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
310 TALLOC_OBJ
= @TALLOC_OBJS@
313 LIBTALLOC_OBJ0
= $(TALLOC_OBJ
)
314 LIBTALLOC_OBJ
= $(LIBTALLOC_OBJ0
) $(LIBREPLACE_OBJ
)
316 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
318 $(SOCKET_WRAPPER_OBJ
) \
321 LIB_WITHOUT_PROTO_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
322 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
323 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
324 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
325 lib
/util_transfer_file.o
327 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
328 lib
/interface.o lib
/md4.o \
330 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
331 lib
/ufc.o lib
/genrand.o lib
/username.o \
332 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
333 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
334 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
335 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
336 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
337 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
338 lib
/substitute.o lib
/fsusage.o lib
/dbwrap_util.o \
339 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
340 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
341 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
342 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
343 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
344 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
345 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
346 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
349 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
351 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
352 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
354 READLINE_OBJ
= lib
/readline.o
356 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
357 # Be sure to include them into your application
358 POPT_LIB_OBJ
= lib
/popt_common.o
360 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
361 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBNET_CONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
362 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
364 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
366 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
367 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
368 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) @LIBTALLOC_STATIC@
370 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
371 nsswitch
/libwbclient
/wbc_util.o \
372 nsswitch
/libwbclient
/wbc_pwd.o \
373 nsswitch
/libwbclient
/wbc_idmap.o \
374 nsswitch
/libwbclient
/wbc_sid.o \
375 nsswitch
/libwbclient
/wbc_pam.o
376 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
) @LIBTALLOC_STATIC@
$(LIBREPLACE_OBJ
)
378 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
379 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o
380 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
382 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
383 libads
/sasl.o libads
/sasl_wrapping.o \
384 libads
/krb5_setpw.o libads
/ldap_user.o \
385 libads
/ads_struct.o libads
/kerberos_keytab.o \
386 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
387 libads
/cldap.o libads
/ldap_schema.o libads
/util.o libads
/ndr.o
389 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
390 librpc
/ndr
/ndr_krb5pac.o \
391 librpc
/gen_ndr
/ndr_krb5pac.o
393 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
395 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
396 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
398 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
399 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
400 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
402 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
403 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
404 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
405 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
406 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
407 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
408 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
409 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
410 libsmb
/smb_seal.o
$(DOSERR_OBJ
) \
411 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
413 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o rpc_client
/cli_srvsvc.o
415 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
416 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
417 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
418 rpc_client
/cli_svcctl.o \
419 rpc_client
/init_samr.o
421 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
422 librpc
/gen_ndr
/cli_dfs.o \
423 librpc
/gen_ndr
/cli_echo.o \
424 librpc
/gen_ndr
/cli_srvsvc.o \
425 librpc
/gen_ndr
/cli_svcctl.o \
426 librpc
/gen_ndr
/cli_winreg.o \
427 librpc
/gen_ndr
/cli_initshutdown.o \
428 librpc
/gen_ndr
/cli_eventlog.o \
429 librpc
/gen_ndr
/cli_wkssvc.o \
430 librpc
/gen_ndr
/cli_netlogon.o \
431 librpc
/gen_ndr
/cli_samr.o \
432 librpc
/gen_ndr
/cli_dssetup.o \
433 librpc
/gen_ndr
/cli_ntsvcs.o \
438 # registry-related objects
440 UTIL_REG_OBJ
= lib
/util_reg.o
441 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
443 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
444 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
446 REGFIO_OBJ
= registry
/regfio.o
448 REGOBJS_OBJ
= registry
/reg_objects.o
450 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
452 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
454 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
455 registry
/reg_backend_shares.o \
456 registry
/reg_backend_netlogon_params.o \
457 registry
/reg_backend_prod_options.o \
458 registry
/reg_backend_tcpip_params.o \
459 registry
/reg_backend_hkpt_params.o \
460 registry
/reg_backend_current_version.o \
461 registry
/reg_backend_perflib.o
463 REG_BASE_OBJ
= registry
/reg_api.o \
464 registry
/reg_dispatcher.o \
465 registry
/reg_cachehook.o \
468 registry
/reg_util.o \
469 $(UTIL_REG_API_OBJ
) \
471 $(REG_BACKENDS_BASE_OBJ
)
473 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
474 $(REG_BACKENDS_SMBCONF_OBJ
) \
475 $(REG_INIT_SMBCONF_OBJ
)
477 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
478 $(REG_BACKENDS_EXTRA_OBJ
) \
479 $(REG_INIT_FULL_OBJ
) \
480 registry
/reg_eventlog.o \
481 registry
/reg_perfcount.o \
482 registry
/reg_util_legacy.o
485 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
487 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
488 librpc
/gen_ndr
/srv_netlogon.o
490 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
491 rpc_server
/srv_samr_util.o \
492 librpc
/gen_ndr
/srv_samr.o
494 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
496 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
497 librpc
/gen_ndr
/srv_winreg.o
499 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
501 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o \
502 librpc
/gen_ndr
/srv_srvsvc.o
504 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
506 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
507 librpc
/gen_ndr
/srv_svcctl.o \
508 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
509 services
/svc_netlogon.o services
/svc_winreg.o \
512 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o \
513 librpc
/gen_ndr
/srv_ntsvcs.o
515 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
517 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
519 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
520 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
522 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
523 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
525 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
527 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
529 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
530 rpc_parse
/parse_spoolss.o \
531 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
532 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
534 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
536 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
538 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
540 PRIVILEGES_OBJ
= lib
/privileges.o
542 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
544 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
545 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
546 passdb
/util_unixsids.o passdb
/lookup_sid.o \
547 passdb
/login_cache.o @PDB_STATIC@ \
548 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
549 lib
/util_nscd.o lib
/winbind_util.o
551 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
552 CP850_OBJ
= modules
/CP850.o
553 CP437_OBJ
= modules
/CP437.o
554 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
556 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
558 PROFILE_OBJ
= profile
/profile.o
559 PROFILES_OBJ
= utils
/profiles.o \
561 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
562 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
563 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
565 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
567 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
569 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
570 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
571 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
572 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
573 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
574 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
575 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
576 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
577 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
578 VFS_CAP_OBJ
= modules
/vfs_cap.o
579 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
580 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
581 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
582 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
583 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
584 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
585 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
586 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
587 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
588 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
589 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
590 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
591 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
592 VFS_CATIA_OBJ
= modules
/vfs_catia.o
593 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
594 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
595 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
596 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
597 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
598 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
599 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
600 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
601 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
602 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
603 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
605 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
607 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
609 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
611 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
612 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
613 AUTH_SAM_OBJ
= auth
/auth_sam.o
614 AUTH_SERVER_OBJ
= auth
/auth_server.o
615 AUTH_UNIX_OBJ
= auth
/auth_unix.o
616 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
617 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
619 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
620 auth
/auth_compat.o auth
/auth_ntlmssp.o \
621 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
623 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
625 SMBD_OBJ_MAIN
= smbd
/server.o
627 BUILDOPT_OBJ
= smbd
/build_options.o
629 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
630 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
631 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
632 smbd
/share_access.o smbd
/fileio.o \
633 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
634 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
635 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
636 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
637 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
638 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
639 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
640 smbd
/process.o smbd
/service.o smbd
/error.o \
641 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
642 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
643 smbd
/change_trust_pw.o smbd
/fake_file.o \
644 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
645 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
649 $(MANGLE_OBJ
) @VFS_STATIC@
651 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
652 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
653 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
654 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
655 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
656 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
657 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
658 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
659 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
660 $(PRIVILEGES_BASIC_OBJ
)
662 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
663 printing
/print_cups.o printing
/print_generic.o \
664 printing
/lpq_parse.o printing
/load.o \
665 printing
/print_iprint.o
667 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
668 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
670 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
672 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
673 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
674 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
675 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
676 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
677 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
678 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
679 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
680 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
681 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
682 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
683 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
685 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
686 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
688 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
689 web
/swat.o web
/neg_lang.o
691 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
692 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
693 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
694 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
695 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
697 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
698 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
699 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
700 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
703 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
704 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
705 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
706 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
708 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
709 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
710 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
711 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
713 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
716 TESTPARM_OBJ
= utils
/testparm.o \
717 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
718 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
721 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
723 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
724 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
725 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
726 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
727 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
729 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
730 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
731 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
732 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) $(ERRORMAP_OBJ
)
734 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ0
)
736 DISPLAY_SEC_OBJ
= lib
/display_sec.o
737 DISPLAY_DSDCINFO_OBJ
= lib
/display_dsdcinfo.o
739 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
740 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
741 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
742 rpcclient
/cmd_dfs.o \
743 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
744 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
745 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
748 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
749 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
750 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
751 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
752 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
753 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
755 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
756 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
758 LIBSMBCLIENT_OBJ0
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
759 libsmb
/libsmb_cache.o \
760 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
761 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
762 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
763 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
765 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ0
) @LIBWBCLIENT_STATIC@
767 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o @LIBTDB_STATIC@
769 # This shared library is intended for linking with unit test programs
770 # to test Samba internals. It's called libbigballofmud.so to
771 # discourage casual usage.
773 LIBBIGBALLOFMUD_MAJOR
= 0
775 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
776 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
777 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
779 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
784 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
785 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
786 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
787 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
790 LIBNETAPI_OBJ1
= lib
/netapi
/netapi.o \
791 lib
/netapi
/joindomain.o \
792 lib
/netapi
/serverinfo.o \
795 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ1
) $(LIBNET_OBJ
) \
797 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
798 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
799 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
800 $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
801 $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
803 LIBNET_CONF_OBJ
= libnet
/libnet_conf.o
805 LIBNET_OBJ
= $(LIBNET_CONF_OBJ
) libnet
/libnet_join.o \
806 librpc
/gen_ndr
/ndr_libnet_join.o
808 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
809 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
810 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
811 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
812 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
813 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
814 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
815 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
816 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
817 utils
/net_conf.o auth
/token_util.o utils
/net_dom.o nsswitch
/wb_client.o
819 NET_OBJ
= $(NET_OBJ1
) $(PARAM_WITHOUT_REG_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
820 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
821 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
822 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
823 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
824 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
825 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
826 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
827 $(REG_SMBCONF_OBJ
) $(DISPLAY_DSDCINFO_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
828 $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
829 $(PRIVILEGES_BASIC_OBJ
)
831 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
832 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
834 MOUNT_OBJ
= client
/smbmount.o \
835 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
837 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
839 UMOUNT_OBJ
= client
/smbumount.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
840 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
842 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
844 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
846 CIFS_SPNEGO_OBJ
= client
/cifs.spnego.o
848 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
849 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) \
852 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
853 torture
/denytest.o torture
/mangle_test.o
855 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
856 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
858 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
859 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
861 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
862 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
864 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
865 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
867 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
868 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
870 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
871 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
872 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
875 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
877 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) $(RPC_PARSE_OBJ1
) $(ERRORMAP_OBJ
)
879 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
881 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
882 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
884 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
885 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
886 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
888 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
890 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
892 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
893 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
894 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
896 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
898 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
899 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
901 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o
903 SHARESEC_OBJ0
= utils
/sharesec.o
904 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
905 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
906 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
908 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
909 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
) \
912 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
913 lib
/replace
/test/os2_delete.o \
914 lib
/replace
/test/strptime.o \
917 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
918 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
919 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
920 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(SECRETS_OBJ
) \
923 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
925 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
926 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
928 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
929 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
930 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
932 $(LIB_WITH_PROTO_OBJ
) \
933 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
934 $(AUTH_OBJ
) $(PARAM_WITHOUT_REG_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
935 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
936 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
937 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
938 $(AUTH_SAM_OBJ
) $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) \
939 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_DSSETUP_OBJ
) \
940 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
941 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
942 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
943 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
944 utils
/passwd_util.o
$(LIBGPO_OBJ
) $(NSS_INFO_OBJ
) \
945 $(RPCCLIENT_NDR_OBJ
) $(DISPLAY_DSDCINFO_OBJ
) \
946 $(PRIVILEGES_BASIC_OBJ
)
948 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
949 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
951 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
952 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
953 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
954 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
955 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) $(ERRORMAP_OBJ
)
957 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_cache.o winbindd
/idmap_util.o @IDMAP_STATIC@
959 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
962 winbindd
/winbindd.o \
963 winbindd
/winbindd_user.o \
964 winbindd
/winbindd_group.o \
965 winbindd
/winbindd_util.o \
966 winbindd
/winbindd_cache.o \
967 winbindd
/winbindd_pam.o \
968 winbindd
/winbindd_sid.o \
969 winbindd
/winbindd_misc.o \
970 winbindd
/winbindd_cm.o \
971 winbindd
/winbindd_wins.o \
972 winbindd
/winbindd_rpc.o \
973 winbindd
/winbindd_reconnect.o \
974 winbindd
/winbindd_ads.o \
975 winbindd
/winbindd_passdb.o \
976 winbindd
/winbindd_dual.o \
977 winbindd
/winbindd_async.o \
978 winbindd
/winbindd_creds.o \
979 winbindd
/winbindd_cred_cache.o \
980 winbindd
/winbindd_ccache_access.o \
981 winbindd
/winbindd_domain.o \
982 winbindd
/winbindd_idmap.o \
983 winbindd
/winbindd_locator.o \
984 winbindd
/winbindd_ndr.o \
988 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
989 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
990 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
991 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
992 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
993 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
994 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
995 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
997 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
998 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) \
999 $(DOSERR_OBJ
) lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1002 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1004 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1005 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1006 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1007 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1008 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1010 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1011 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1012 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1014 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1015 lib
/ldb
/modules
/objectclass.o \
1016 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1018 # enabled in configure.in
1019 LDB_LDAP_OBJ
=@LDBLDAP@
1021 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1023 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
1024 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1025 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
1026 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1027 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
1028 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
1029 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
1030 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1033 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1034 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1035 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1036 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1037 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1039 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
1040 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
)
1042 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
1043 popt
/popthelp.o popt
/poptparse.o
1045 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1046 iniparser_build
/strlib.o
1048 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1049 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1051 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1052 $(SOCKET_WRAPPER_OBJ
)
1054 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1055 $(SOCKET_WRAPPER_OBJ
)
1057 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1058 $(SOCKET_WRAPPER_OBJ
)
1061 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1063 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1064 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1065 $(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1066 $(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1067 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) $(LIBNMB_OBJ
) \
1068 $(LDB_OBJ
) $(ERRORMAP_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1069 librpc
/gen_ndr
/ndr_samr.o \
1070 librpc
/gen_ndr
/ndr_lsa.o \
1071 librpc
/gen_ndr
/ndr_netlogon.o
1074 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
)
1076 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1077 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1078 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
1079 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1082 ######################################################################
1084 ######################################################################
1085 all : SHOWFLAGS
$(SHLIBS
) $(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1086 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
1088 nss_modules
: $(NSS_MODULES
)
1090 pam_modules
: $(PAM_MODULES
)
1092 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1094 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1096 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
1098 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1100 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1102 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1104 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1106 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1108 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1110 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1112 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1114 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1116 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1118 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1120 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1122 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1124 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1126 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1127 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1128 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1130 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1132 modules
: SHOWFLAGS
$(MODULES
)
1134 #####################################################################
1135 ## Perl IDL Compiler
1136 IDL_FILES
= unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1137 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1138 epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
1139 dssetup.idl krb5pac.idl ntsvcs.idl
1142 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1143 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1146 #####################################################################
1149 everything
: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort modules torture \
1153 .SUFFIXES
: .c .o .lo
1156 @echo
"Using FLAGS = $(FLAGS)"
1157 @echo
" PICFLAG = $(PICFLAG)"
1158 @echo
" LIBS = $(LIBS)"
1159 @echo
" LDFLAGS = $(LDFLAGS)"
1160 @echo
" DYNEXP = $(DYNEXP)"
1161 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1162 @echo
" SHLIBEXT = @SHLIBEXT@"
1163 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1165 MAKEDIR
= || exec false
; \
1166 if
test -d
"$$dir"; then
:; else \
1167 echo mkdir
"$$dir"; \
1168 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1169 test -d
"$$dir" || \
1171 exec false
; fi || exec false
1173 # Run a static checker.
1174 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1175 # Compile a source file.
1176 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1177 # Compile a source file with the installation paths defined.
1178 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1180 COMPILE
= $(COMPILE_CC
)
1183 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1184 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1185 @if
test -n
"$(CC_CHECKER)"; then \
1186 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1189 @echo Compiling
$*.c
1190 @
$(COMPILE
) && exit
0;\
1191 echo
"The following command failed:" 1>&2;\
1192 echo
"$(COMPILE_CC)" 1>&2;\
1193 $(COMPILE_CC
) >/dev
/null
2>&1
1194 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1196 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1198 # this adds support for precompiled headers. To use it, install a snapshot
1199 # of gcc-3.4 and run 'make pch' before you do the main build.
1201 rm -f
$(PRECOMPILED_HEADER
)
1202 $(MAKE
) $(PRECOMPILED_HEADER
)
1204 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1207 BINARY_PREREQS
= proto_exists bin
/.dummy
1209 # These dependencies are only approximately correct: we want to make
1210 # sure Samba's paths are updated if ./configure is re-run. Really it
1211 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1212 # but since we also require "make install prefix=/opt/samba" *not* to
1213 # rebuild it's a bit hard.
1215 dynconfig.o
: dynconfig.c Makefile
1216 @echo Compiling
$*.c
1217 @
$(COMPILE_CC_PATH
) && exit
0;\
1218 echo
"The following command failed:" 1>&2;\
1219 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1220 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1222 lib
/pidfile.o
: lib
/pidfile.c
1223 @echo Compiling
$*.c
1224 @
$(COMPILE_CC_PATH
) && exit
0;\
1225 echo
"The following command failed:" 1>&2;\
1226 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1227 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1229 lib
/version.o
: lib
/version.c
include/version.h
1230 @echo Compiling
$*.c
1231 @
$(COMPILE_CC_PATH
) && exit
0;\
1232 echo
"The following command failed:" 1>&2;\
1233 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1234 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1236 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1237 @echo Compiling
$*.c
1238 @
$(COMPILE_CC_PATH
) && exit
0;\
1239 echo
"The following command failed:" 1>&2;\
1240 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1241 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1243 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1245 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1248 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1249 dir=bin
$(MAKEDIR
); fi
1250 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1252 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1254 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1255 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1256 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1257 @POPTLIBS@ @SMBD_LIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1259 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1261 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1262 @LIBTDB_LIBS@ @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1264 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1266 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1267 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) \
1268 $(LDAP_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1270 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1272 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1273 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1274 $(KRB5LIBS
) $(LDAP_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1276 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1278 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1279 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1280 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) \
1281 @LIBTDB_LIBS@ @WINBIND_LIBS@
1283 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1285 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1286 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1287 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@ @LIBNETAPI_LIBS@
1289 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1291 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1293 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1295 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1297 bin
/smbmount@EXEEXT@
: $(BINARY_PREREQS
) $(MOUNT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1299 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1301 bin
/smbmnt@EXEEXT@
: $(BINARY_PREREQS
) $(MNT_OBJ
) @BUILD_POPT@
1303 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1305 bin
/smbumount@EXEEXT@
: $(BINARY_PREREQS
) $(UMOUNT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1307 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1309 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1311 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1313 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1315 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1317 bin
/cifs.spnego@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_SPNEGO_OBJ
) $(LIBSMBCLIENT_OBJ0
) @BUILD_POPT@ @LIBTDB_SHARED@
1319 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_SPNEGO_OBJ
) $(DYNEXP
) $(LDFLAGS
) -lkeyutils
$(LIBS
) \
1320 $(LIBSMBCLIENT_OBJ0
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBWBCLIENT_SHARED@ @LIBTDB_LIBS@
1322 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1324 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1326 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1328 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1329 @POPTLIBS@ @LIBTDB_LIBS@
1331 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1333 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1334 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1335 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@ @LIBTDB_LIBS@
1337 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1339 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1340 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1341 @LIBTDB_LIBS@ @WINBIND_LIBS@
1343 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1345 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1346 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) \
1347 @LIBTDB_LIBS@ @WINBIND_LIBS@
1349 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1351 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1352 @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1354 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1356 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1357 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1358 @LIBTDB_LIBS@ @WINBIND_LIBS@
1360 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1362 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1363 @POPTLIBS@
$(LDAP_LIBS
) @LIBTDB_LIBS@
1365 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1367 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1369 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1371 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1372 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1374 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@
1376 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1377 $(DYNEXP
) $(LIBS
) @POPTLIBS@
1379 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1381 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1383 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1385 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1387 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1389 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1390 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1392 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1394 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1395 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1397 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1399 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1401 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1403 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1405 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1407 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1409 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1411 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1413 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1415 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
1417 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1419 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
) @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
1421 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1423 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1425 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@
1427 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1429 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1431 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1433 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1435 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1436 @POPTLIBS@ @LDAP_LIBS@ @LIBTDB_LIBS@
1438 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@
1440 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1442 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@
1444 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@
1446 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1448 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1449 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1450 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1452 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1454 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1455 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1456 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1458 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1460 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1461 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1462 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1464 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1466 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1467 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1468 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1470 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1472 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1473 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1474 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1476 $(LIBTALLOC_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ
)
1477 @echo Linking shared library
$@
1478 @
$(SHLD_DSO
) $(LIBTALLOC_OBJ
) \
1479 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1480 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1482 $(LIBTALLOC_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ0
)
1483 @echo Linking non-shared library
$@
1484 @
-$(AR
) -rc
$@
$(LIBTALLOC_OBJ0
)
1486 MKSYMS_SH
= $(srcdir)/script
/mksyms.sh
1488 $(LIBTDB_SYMS
): $(LIBTDB_HEADERS
)
1489 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTDB_HEADERS
)
1491 $(LIBTDB_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ
) $(LIBTDB_SYMS
)
1492 @echo Linking shared library
$@
1493 @
$(SHLD_DSO
) $(LIBTDB_OBJ
) \
1494 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1495 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1497 $(LIBTDB_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ0
)
1498 @echo Linking non-shared library
$@
1499 @
-$(AR
) -rc
$@
$(LIBTDB_OBJ0
)
1501 bin
/libwbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
) @LIBTALLOC_SHARED@
1502 @echo Linking shared library
$@
1503 @
$(SHLD_DSO
) @LIBTALLOC_LIBS@
$(LIBWBCLIENT_OBJ
) \
1504 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1505 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1507 bin
/libwbclient.a
: $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1508 @echo Linking non-shared library
$@
1509 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1511 bin
/libaddns.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
)
1512 @echo Linking shared library
$@
1513 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1514 $(KRB5LIBS
) $(UUID_LIBS
)\
1515 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1517 bin
/libaddns.a
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
)
1518 @echo Linking non-shared library
$@
1519 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1521 $(LIBNETAPI_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
) @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1522 @echo Linking shared library
$@
1523 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
$(LIBS
) \
1524 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1525 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1526 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1528 $(LIBNETAPI_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ1
)
1529 @echo Linking non-shared library
$@
1530 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ1
)
1532 bin
/libsmbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
) @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1533 @echo Linking shared library
$@
1534 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
$(LIBS
) \
1535 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1536 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1538 bin
/libsmbclient.a
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ0
)
1539 @echo Linking non-shared library
$@
1540 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ0
)
1542 bin
/libsmbsharemodes.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
) @LIBTDB_SHARED@
1543 @echo Linking shared library
$@
1544 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) $(LIBS
) @LIBTDB_LIBS@ \
1545 $(KRB5LIBS
) $(LDAP_LIBS
) \
1546 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1548 bin
/libsmbsharemodes.a
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
)
1549 @echo Linking non-shared library
$@
1550 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1552 # This is probably wrong for anything other than the GNU linker.
1553 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
)
1554 @echo Linking shared library
$@
1555 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1556 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1557 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1558 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1560 # It would be nice to build a static bigballofmud too, but when I try
1561 # I get linker errors about dl_open and similar things. I'm not sure if
1562 # it can be fixed or if they just can't be called from a static
1565 libtalloc
: $(LIBTALLOC
)
1567 libsmbclient
: $(LIBSMBCLIENT
)
1568 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1569 libaddns
: $(LIBADDNS
)
1570 libwbclient
: $(LIBWBCLIENT
)
1571 libnetapi
: $(LIBNETAPI
)
1573 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
1574 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
1575 -o
$@ @SONAMEFLAG@
`basename $@`
1577 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
1579 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
1581 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
1583 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
1585 bin
/librpc_unixinfo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_UNIXINFO_OBJ
)
1587 @
$(SHLD_MODULE
) $(RPC_UNIXINFO_OBJ
)
1589 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
1591 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
1593 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
1595 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
1597 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
1599 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
1601 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
1603 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
1605 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
1607 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
1609 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
1611 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
1613 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
1615 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
1617 bin
/librpc_dssetup.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DSSETUP_OBJ
)
1619 @
$(SHLD_MODULE
) $(RPC_DSSETUP_OBJ
)
1621 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
1623 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
1625 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
1627 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
1629 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
1631 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
1633 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
1635 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
1637 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1639 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1640 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) \
1641 $(PASSDB_LIBS
) @LIBTDB_LIBS@ @WINBIND_LIBS@
1643 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1645 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1646 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@
1648 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
1650 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1651 @WINBIND_NSS_EXTRA_LIBS@ @WINBIND_NSS_PTHREAD@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1653 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
) @LIBTDB_SHARED@
1655 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1656 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) @LIBTDB_LIBS@ \
1657 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1659 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
)
1661 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) \
1662 @SONAMEFLAG@
`basename $@`
1664 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
)
1665 @echo
"Linking shared library $@"
1666 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
1667 @SONAMEFLAG@
`basename $@`
1669 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
1670 @echo
"Building plugin $@"
1671 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
1673 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
1674 @echo
"Building plugin $@"
1675 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
1677 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
1678 @echo
"Building plugin $@"
1679 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
1681 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
1682 @echo
"Building plugin $@"
1683 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
1685 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
1686 @echo
"Building plugin $@"
1687 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
1689 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
1690 @echo
"Building plugin $@"
1691 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
1693 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
1694 @echo
"Building plugin $@"
1695 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
1697 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
1698 @echo
"Building plugin $@"
1699 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
1701 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
1702 @echo
"Building plugin $@"
1703 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
1705 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
1706 @echo
"Building plugin $@"
1707 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
1709 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
1710 @echo
"Building plugin $@"
1711 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
1713 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
1714 @echo
"Building plugin $@"
1715 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
1717 bin
/tdb2.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_tdb2.o
1718 @echo
"Building plugin $@"
1719 @
$(SHLD_MODULE
) winbindd
/idmap_tdb2.o
1721 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
1722 @echo
"Building plugin $@"
1723 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
1725 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
1726 @echo
"Building plugin $@"
1727 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
1729 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
1730 @echo
"Building plugin $@"
1731 @
$(SHLD_MODULE
) $(CP850_OBJ
)
1733 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
1734 @echo
"Building plugin $@"
1735 @
$(SHLD_MODULE
) $(CP437_OBJ
)
1737 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
1738 @echo
"Building plugin $@"
1739 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
1741 # NOTE, there is no build rule for a dynamic default VFS module because
1742 # this one MUST MUST MUST be built statically.
1744 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
1745 @echo
"Building plugin $@"
1746 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
1748 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
1749 @echo
"Building plugin $@"
1750 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
1752 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
1753 @echo
"Building plugin $@"
1754 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
1756 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
1757 @echo
"Building plugin $@"
1758 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
1760 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
1761 @echo
"Building plugin $@"
1762 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
1764 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
1765 @echo
"Building plugin $@"
1766 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
1768 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
1769 @echo
"Building plugin $@"
1770 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
1772 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
1773 @echo
"Building plugin $@"
1774 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
1776 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
1777 @echo
"Building plugin $@"
1778 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
1780 bin
/shadow_copy2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY2_OBJ
)
1781 @echo
"Building plugin $@"
1782 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY2_OBJ
)
1784 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
1785 @echo
"Building plugin $@"
1786 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
1788 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
1789 @echo
"Building plugin $@"
1790 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
1792 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
1793 @echo
"Building plugin $@"
1794 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
1796 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
1797 @echo
"Building plugin $@"
1798 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
1800 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
1801 @echo
"Building plugin $@"
1802 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
1804 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
1805 @echo
"Building plugin $@"
1806 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
1808 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
1809 @echo
"Building plugin $@"
1810 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
1812 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
1813 @echo
"Building plugin $@"
1814 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
1816 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
1817 @echo
"Building plugin $@"
1818 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
1820 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
1821 @echo
"Building plugin $@"
1822 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
1824 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
1825 @echo
"Building plugin $@"
1826 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
1828 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
1829 @echo
"Building plugin $@"
1830 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
1832 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
1833 @echo
"Building plugin $@"
1834 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
1836 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
1837 @echo
"Building plugin $@"
1838 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
1840 bin
/streams_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_XATTR_OBJ
)
1841 @echo
"Building plugin $@"
1842 @
$(SHLD_MODULE
) $(VFS_STREAMS_XATTR_OBJ
)
1844 bin
/streams_depot.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_DEPOT_OBJ
)
1845 @echo
"Building plugin $@"
1846 @
$(SHLD_MODULE
) $(VFS_STREAMS_DEPOT_OBJ
)
1848 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
1849 @echo
"Building plugin $@"
1850 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
1852 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
1853 @echo
"Building plugin $@"
1854 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
1856 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
1857 @echo
"Building plugin $@"
1858 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
1860 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
1861 @echo
"Building plugin $@"
1862 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
1864 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
1865 @echo
"Building plugin $@"
1866 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
1868 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
1869 @echo
"Building plugin $@"
1870 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
1872 bin
/tsmsm.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TSMSM_OBJ
)
1873 @echo
"Building plugin $@"
1874 @
$(SHLD_MODULE
) $(VFS_TSMSM_OBJ
)
1876 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
1877 @echo
"Building plugin $@"
1878 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
1880 #########################################################
1881 ## IdMap NSS plugins
1883 ## None here right now
1884 #########################################################
1886 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1888 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
1889 $(LDAP_LIBS
) @POPTLIBS@ @LIBTDB_LIBS@ @WINBIND_LIBS@
1891 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
1892 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1894 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1895 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1896 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1897 @LIBTDB_LIBS@ @WINBIND_LIBS@
1899 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
)
1900 @echo
"Linking shared library $@"
1901 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1903 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
) @LIBTDB_SHARED@
1905 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBBACKUP_OBJ
) $(DYNEXP
) $(LIBS
) @LIBTDB_LIBS@
1907 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
) @LIBTDB_SHARED@
1909 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTOOL_OBJ
) $(DYNEXP
) $(LIBS
) @LIBTDB_LIBS@
1911 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
) @LIBTDB_SHARED@
1913 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBDUMP_OBJ
) $(DYNEXP
) $(LIBS
) @LIBTDB_LIBS@
1915 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
) @LIBTDB_SHARED@
1917 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTORTURE_OBJ
) $(DYNEXP
) $(LIBS
) @LIBTDB_LIBS@
1919 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1920 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1922 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1923 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1925 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1926 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1928 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1929 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1931 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1933 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1935 install: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSSPNEGO@ installman \
1936 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
1939 @INSTALL_LIBSMBCLIENT@ @INSTALL_PAM_MODULES@ \
1940 @INSTALL_LIBSMBSHAREMODES@ @INSTALL_LIBWBCLIENT@ installlibnetapi
1942 install-everything
: install installmodules
1944 # DESTDIR is used here to prevent packagers wasting their time
1945 # duplicating the Makefile. Remove it and you will have the privelege
1946 # of package each samba release for muliple versions of multiple
1947 # distributions and operating systems, or at least supplying patches
1948 # to all the packaging files required for this, prior to committing
1949 # the removal of DESTDIR. Do not remove it even though you think it
1953 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1955 installservers
: all installdirs
1956 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1958 installbin
: all installdirs
1959 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1961 installcifsmount
: @CIFSMOUNT_PROGS@
1962 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
1963 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1965 installcifsspnego
: @CIFSSPNEGO_PROGS@
1966 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
1967 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
1969 # Some symlinks are required for the 'probing' of modules.
1970 # This mechanism should go at some point..
1971 installmodules
: modules
installdirs
1972 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1973 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1974 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1975 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1976 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
1977 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1978 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1979 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
1980 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
1981 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1982 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1983 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1984 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1985 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1986 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
1988 installscripts
: installdirs
1989 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1991 installdat
: installdirs
1992 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
1994 installmsg
: installdirs
1995 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
1997 installswat
: installdirs installmsg
1998 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2000 installclientlib
: installdirs libsmbclient
2001 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2002 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2003 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
2004 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2005 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
2007 installlibtalloc
: installdirs libtalloc
2008 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2009 -$(INSTALLLIBCMD_SH
) $(LIBTALLOC_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2010 -$(INSTALLLIBCMD_A
) $(LIBTALLOC_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2011 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2012 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) @tallocdir@
/talloc.h
$(DESTDIR
)${prefix}/include
2014 installlibtdb
: installdirs libtdb
2015 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2016 -$(INSTALLLIBCMD_SH
) $(LIBTDB_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2017 -$(INSTALLLIBCMD_A
) $(LIBTDB_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2018 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2019 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTDB_HEADERS
) $(DESTDIR
)${prefix}/include
2021 installlibsmbsharemodes
: installdirs libsmbsharemodes
2022 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2023 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2024 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
2025 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/smb_share_modes.h
$(DESTDIR
)${prefix}/include
2027 installlibaddns
: installdirs libaddns
2028 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2029 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2030 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
2032 installlibwbclient
: installdirs libwbclient
2033 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2034 -$(INSTALLLIBCMD_SH
) bin
/libwbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2035 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2036 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/nsswitch
/libwbclient
/wbclient.h
$(DESTDIR
)${prefix}/include
2038 installlibnetapi
: installdirs libnetapi
2039 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2040 -$(INSTALLLIBCMD_SH
) $(LIBNETAPI_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
2041 -$(INSTALLLIBCMD_A
) $(LIBNETAPI_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2042 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
2044 installpammodules
: $(PAM_MODULES
)
2045 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
2046 @for module in
$(PAM_MODULES
); do \
2047 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2048 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
2049 "$(DESTDIR)/$(PAMMODULESDIR)"; \
2052 # revert to the previously installed version
2054 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
2055 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
2057 installman
: installdirs
2058 @SMBMOUNT_PROGS
="@SMBMOUNT_PROGS@" $(SHELL
) \
2059 $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
2064 @echo
"Samba will be installed into:"
2065 @echo
" prefix: $(prefix)"
2066 @echo
" bindir: $(BINDIR)"
2067 @echo
" sbindir: $(SBINDIR)"
2068 @echo
" libdir: $(LIBDIR)"
2069 @echo
" vardir: $(VARDIR)"
2070 @echo
" mandir: $(MANDIR)"
2071 @echo
" privatedir: $(PRIVATE_DIR)"
2072 @echo
" configdir: $(CONFIGDIR)"
2073 @echo
" lockdir: $(LOCKDIR)"
2074 @echo
" piddir: $(PIDDIR)"
2075 @echo
" swatdir: $(SWATDIR)"
2078 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibtalloc uninstalllibtdb @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ uninstalllibnetapi
2081 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
2084 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2087 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2090 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2092 uninstallcifsspnego
:
2093 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2096 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2097 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2098 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2099 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2100 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2101 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2104 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2107 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2110 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2112 uninstallswat
: uninstallmsg
2113 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2116 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
2117 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
2118 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
2120 uninstalllibsmbsharemodes
:
2121 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
2122 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
2125 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
2126 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
2129 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libnetapi.@SHLIBEXT@
2130 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libnetapi.a
2131 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
2133 uninstallpammodules
:
2134 @for module in
$(PAM_MODULES
); do \
2135 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2136 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
2139 # Toplevel clean files
2140 TOPFILES
=dynconfig.o
2143 -rm -f
$(PRECOMPILED_HEADER
)
2144 -rm -f core
*/*~
*~ \
2145 */*.o
*/*/*.o
*/*/*/*.o \
2146 ..
/testsuite
/*/*.o \
2147 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2148 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2149 $(MODULES
) $(TORTURE_PROGS
) \
2150 $(LIBTALLOC
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
2151 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBNETAPI
) \
2152 bin
/libwbclient.so
.0 bin
/timelimit \
2153 .headers.stamp
*/src
/*.o proto_exists \
2157 # Making this target will just make sure that the prototype files
2158 # exist, not necessarily that they are up to date. Since they're
2159 # removed by "make clean" this will always be run when you do anything
2161 proto_exists
: include/proto.h
include/build_env.h \
2162 winbindd
/winbindd_proto.h web
/swat_proto.h \
2163 libnet
/libnet_proto.h \
2164 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
2168 @echo Removing prototype headers
2169 @
rm -f
include/proto.h
include/build_env.h \
2170 winbindd
/winbindd_proto.h web
/swat_proto.h \
2171 client
/client_proto.h utils
/net_proto.h \
2172 smbd
/build_options.c utils
/ntlm_auth_proto.h \
2173 utils
/passwd_proto.h libnet
/libnet_proto.h
2175 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
2177 include/proto.h
: smbd
/build_options.c
2178 @echo Building
include/proto.h
2179 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2180 -h _PROTO_H_
$(builddir
)/include/proto.h \
2183 include/build_env.h
: script
/build_env.sh
2184 @echo Building
include/build_env.h
2185 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2186 > $(builddir
)/include/build_env.h
2188 winbindd
/winbindd_proto.h
:
2189 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2190 -h _WINBINDD_PROTO_H_
$(builddir
)/winbindd
/winbindd_proto.h \
2194 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2195 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
2198 client
/client_proto.h
:
2199 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2200 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
2204 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2205 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
2208 utils
/passwd_proto.h
:
2209 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2210 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
2213 utils
/ntlm_auth_proto.h
:
2214 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2215 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
2218 libnet
/libnet_proto.h
:
2219 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2220 -h _LIBNET_PROTO_H_
$(builddir
)/libnet
/libnet_proto.h \
2223 # "make headers" or "make proto" calls a subshell because we need to
2224 # make sure these commands are executed in sequence even for a
2227 $(MAKE
) delheaders
; \
2228 $(MAKE
) smbd
/build_options.c
; \
2229 $(MAKE
) include/proto.h
; \
2230 $(MAKE
) include/build_env.h
; \
2231 $(MAKE
) winbindd
/winbindd_proto.h
; \
2232 $(MAKE
) web
/swat_proto.h
; \
2233 $(MAKE
) client
/client_proto.h
; \
2234 $(MAKE
) utils
/ntlm_auth_proto.h
; \
2235 $(MAKE
) utils
/net_proto.h
; \
2236 $(MAKE
) utils
/passwd_proto.h
; \
2237 $(MAKE
) libnet
/libnet_proto.h
;
2241 .PHONY
: headers proto
2244 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2247 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2249 realclean: clean delheaders
2250 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2251 -rm -f script
/installbin.sh script
/uninstallbin.sh
2253 distclean: realclean
2255 -rm -f
include/config.h Makefile
2256 -rm -f config.status config.cache so_locations
2259 realdistclean
: distclean
2260 -rm -f
include/config.h.in
2261 -rm -f
include/version.h
2264 # this target is really just for my use. It only works on a limited
2265 # range of machines and is used to produce a list of potentially
2266 # dead (ie. unused) functions in the code. (tridge)
2268 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2269 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2270 comm
-13 nmused.txt nmfns.txt
2273 # when configure.in is updated, reconfigure
2274 $(srcdir)/configure
: $(srcdir)/configure.in
2275 @echo
"WARNING: you need to rerun ./autogen.sh"
2277 config.status
: $(srcdir)/configure
2278 @echo
"WARNING: you need to run ./configure"
2280 Makefile
: $(srcdir)/Makefile.in config.status
2281 @echo
"WARNING: you need to run ./config.status"
2283 ######################################################################
2284 # Samba Testing Framework
2286 # Check shared libs for unresolved symbols
2287 test_shlibs
: $(SHLIBS
)
2288 @echo
"Testing $(SHLIBS) "
2289 @for module in
$(SHLIBS
); do \
2290 .
/script
/tests
/dlopen.sh bin
/$${module}.@SHLIBEXT@ \
2294 # Check for NSS module problems.
2295 test_nss_modules
: nss_modules
2296 @echo
"Testing $(NSS_MODULES) "
2297 @for module in
$(NSS_MODULES
); do \
2298 .
/script
/tests
/dlopen.sh
$${module} \
2302 # Check for PAM module problems. Specifically, check that every module we
2303 # built can actually be loaded by a minimal PAM-aware application.
2304 test_pam_modules
: pam_modules
2305 @echo
"Testing $(PAM_MODULES) "
2306 @for module in
$(PAM_MODULES
); do \
2307 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2313 ## Targets for 'make test'
2315 test: all torture timelimit
2316 @echo Running Test suite
2317 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2319 valgrindtest
: all torture timelimit
2320 @echo Running Test suite with valgrind
2321 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2322 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2323 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2324 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2325 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
2326 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"