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 ###########################################################################
12 exec_prefix=@
exec_prefix@
13 sysconfdir
=@sysconfdir@
14 localstatedir
=@localstatedir@
15 datarootdir
=@datarootdir@
17 selftest_prefix
=@selftest_prefix@
18 smbtorture4_path
=@smbtorture4_path@
24 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
27 LDSHFLAGS
=@LDSHFLAGS@ @LDFLAGS@
28 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
29 LDFLAGS
=@PIE_LDFLAGS@ @LDFLAGS@
36 TERMLDFLAGS
=@TERMLDFLAGS@
38 PRINT_LIBS
=@PRINT_LIBS@
41 PASSDB_LIBS
=@PASSDB_LIBS@
42 IDMAP_LIBS
=@IDMAP_LIBS@
49 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
50 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
51 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
52 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
56 builddir
=@abs_builddir@
60 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
61 # will search for a POSIX-compliant shell, and that might not be
62 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
64 # See the autoconf manual "Installation Directory Variables" for a
65 # discussion of the subtle use of these variables.
69 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
71 ROOTSBINDIR
= @rootsbindir@
73 PAMMODULESDIR
= @pammodulesdir@
74 VFSLIBDIR
= $(LIBDIR
)/vfs
75 PDBLIBDIR
= $(LIBDIR
)/pdb
76 RPCLIBDIR
= $(LIBDIR
)/rpc
77 IDMAPLIBDIR
= $(LIBDIR
)/idmap
78 NSSINFOLIBDIR
= $(LIBDIR
)/nss_info
79 CHARSETLIBDIR
= $(LIBDIR
)/charset
80 AUTHLIBDIR
= $(LIBDIR
)/auth
81 CONFIGLIBDIR
= $(LIBDIR
)/config
82 CONFIGDIR
= @configdir@
83 VARDIR
= @localstatedir@
87 # The permissions to give the executables
90 # set these to where to find various files
91 # These can be overridden by command line switches (see smbd(8))
92 # or in smb.conf (see smb.conf(5))
93 LOGFILEBASE
= @logfilebase@
94 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
95 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
97 # This is where smbpasswd et al go
98 PRIVATEDIR
= @privatedir@
100 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
101 PRIVATE_DIR
= $(PRIVATEDIR
)
103 # This is where SWAT images and help files go
106 # the directory where lock files go
109 # the directory where pid files go
112 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
116 LIBMSRPC
=bin
/libmsrpc.a @LIBMSRPC_SHARED@
120 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
121 LIBSMBSHAREMODES_MAJOR
=0
122 LIBSMBSHAREMODES_MINOR
=2
124 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
128 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
132 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
133 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
135 PASSWD_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\"
136 PATH_FLAGS1
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" -DSBINDIR
=\"$(SBINDIR
)\"
137 PATH_FLAGS2
= $(PATH_FLAGS1
) -DBINDIR
=\"$(BINDIR
)\"
138 PATH_FLAGS3
= $(PATH_FLAGS2
) -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\"
139 PATH_FLAGS4
= $(PATH_FLAGS3
) -DSWATDIR
=\"$(SWATDIR
)\" -DLOCKDIR
=\"$(LOCKDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\"
140 PATH_FLAGS5
= $(PATH_FLAGS4
) -DLIBDIR
=\"$(LIBDIR
)\" \
141 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" -DSHLIBEXT
=\"@SHLIBEXT@
\"
142 PATH_FLAGS6
= $(PATH_FLAGS5
) -DCONFIGDIR
=\"$(CONFIGDIR
)\"
143 PATH_FLAGS
= $(PATH_FLAGS6
) $(PASSWD_FLAGS
)
145 # Note that all executable programs now provide for an optional executable suffix.
147 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ bin
/swat@EXEEXT@ @EXTRA_SBIN_PROGS@
149 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
151 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
152 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
153 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
154 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
156 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
157 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
158 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
160 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
161 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
162 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
163 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@
165 BIN_PROGS
= @SMBMOUNT_PROGS@ @EXTRA_BIN_PROGS@ \
166 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
)
168 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
169 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
170 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@
172 SHLIBS
= @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBMSRPC@ @LIBADDNS@
174 PAM_MODULES
= @PAM_MODULES@
176 NSS_MODULES
= @NSS_MODULES@
178 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
180 VFS_MODULES
= @VFS_MODULES@
181 PDB_MODULES
= @PDB_MODULES@
182 RPC_MODULES
= @RPC_MODULES@
183 IDMAP_MODULES
= @IDMAP_MODULES@
184 CHARSET_MODULES
= @CHARSET_MODULES@
185 AUTH_MODULES
= @AUTH_MODULES@
186 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
187 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
188 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
190 ######################################################################
192 ######################################################################
194 TDBBASE_OBJ
= tdb
/common
/tdb.o tdb
/common
/dump.o tdb
/common
/error.o \
195 tdb
/common
/freelist.o tdb
/common
/freelistcheck.o tdb
/common
/io.o tdb
/common
/lock.o \
196 tdb
/common
/open.o tdb
/common
/transaction.o tdb
/common
/traverse.o
198 TDB_OBJ
= $(TDBBASE_OBJ
) lib
/util_tdb.o tdb
/common
/tdbback.o
200 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
202 VERSION_OBJ
= lib
/version.o
204 DOSERR_OBJ
= libsmb
/doserr.o
206 WBCOMMON_OBJ
= nsswitch
/wb_common.o
210 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
212 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
214 ERRORMAP_OBJ
= libsmb
/errormap.o
216 PASSCHANGE_OBJ
= libsmb
/passchange.o
218 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o librpc
/ndr
/ndr.o librpc
/ndr
/ndr_misc.o \
219 librpc
/ndr
/ndr_sec_helper.o librpc
/ndr
/ndr_string.o librpc
/ndr
/sid.o \
222 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o librpc
/gen_ndr
/ndr_notify.o
224 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
226 # this includes only the low level parse code, not stuff
227 # that requires knowledge of security contexts
228 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
230 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o rpc_parse
/parse_net.o rpc_parse
/parse_srv.o
232 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
234 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
236 TALLOC_OBJ
= lib
/talloc
/talloc.o
238 LIB_WITHOUT_PROTO_OBJ
= $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) $(TALLOC_OBJ
)
240 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
241 lib
/interface.o lib
/md4.o \
242 lib
/interfaces.o lib
/pidfile.o \
243 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
244 lib
/ufc.o lib
/genrand.o lib
/username.o \
245 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
246 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
247 lib
/xfile.o lib
/wins_srv.o \
248 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
249 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
250 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
251 lib
/substitute.o lib
/fsusage.o \
252 lib
/ms_fnmatch.o lib
/select.o lib
/messages.o \
253 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
254 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
255 nsswitch
/wb_client.o
$(WBCOMMON_OBJ
) \
256 lib
/pam_errors.o intl
/lang_tdb.o \
257 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
258 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
259 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
260 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
262 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
264 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
265 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
267 READLINE_OBJ
= lib
/readline.o
269 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
270 # Be sure to include them into your application
271 POPT_LIB_OBJ
= lib
/popt_common.o
273 PARAM_OBJ
= dynconfig.o param
/loadparm.o param
/params.o lib
/sharesec.o lib
/ldap_debug_handler.o
275 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
277 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
278 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
279 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(TALLOC_OBJ
)
281 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_parse.o libgpo
/gpo_util.o \
282 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o
283 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
285 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o libads
/sasl.o \
286 libads
/krb5_setpw.o libads
/ldap_user.o \
287 libads
/ads_struct.o libads
/kerberos_keytab.o \
288 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
289 libads
/authdata.o libads
/cldap.o libads
/util.o
291 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o \
294 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
296 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
297 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
299 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
300 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
301 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
303 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
304 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
305 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
306 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
307 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
308 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
309 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
310 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
312 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
314 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o rpc_client
/cli_srvsvc.o
316 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
317 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
318 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
319 rpc_client
/cli_ds.o rpc_client
/cli_svcctl.o \
320 rpc_client
/cli_shutdown.o rpc_client
/cli_dfs.o rpc_client
/cli_echo.o
322 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_wkssvc.o \
323 $(LIBNDR_GEN_OBJ
) $(LIBNDR_OBJ
)
325 REGOBJS_OBJ
= registry
/reg_objects.o
327 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
328 registry
/reg_db.o registry
/reg_eventlog.o registry
/reg_shares.o \
329 registry
/reg_util.o registry
/reg_dynamic.o registry
/reg_perfcount.o
331 RPC_LSA_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o
333 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o
335 RPC_SAMR_OBJ
= rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o \
336 rpc_server
/srv_samr_util.o
338 REGFIO_OBJ
= registry
/regfio.o
340 RPC_REG_OBJ
= rpc_server
/srv_reg.o rpc_server
/srv_reg_nt.o
$(REGFIO_OBJ
)
342 RPC_LSA_DS_OBJ
= rpc_server
/srv_lsa_ds.o rpc_server
/srv_lsa_ds_nt.o
344 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o
346 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
348 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
349 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
350 services
/svc_netlogon.o services
/svc_winreg.o \
353 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o
355 RPC_DFS_OBJ
= rpc_server
/srv_dfs.o rpc_server
/srv_dfs_nt.o
357 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
359 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o rpc_server
/srv_eventlog_lib.o
361 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
362 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
364 RPC_ECHO_OBJ
= rpc_server
/srv_echo.o rpc_server
/srv_echo_nt.o
366 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
368 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o
$(RPC_PARSE_OBJ2
) \
369 rpc_parse
/parse_samr.o \
370 rpc_parse
/parse_ds.o rpc_parse
/parse_spoolss.o \
371 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
372 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
$(REGOBJS_OBJ
) \
373 rpc_parse
/parse_dfs.o \
374 rpc_parse
/parse_reg.o rpc_parse
/parse_echo.o \
375 rpc_parse
/parse_shutdown.o
377 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
379 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
381 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
383 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
384 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
385 passdb
/util_unixsids.o passdb
/lookup_sid.o \
386 passdb
/login_cache.o @PDB_STATIC@ \
387 lib
/account_pol.o lib
/privileges.o lib
/util_nscd.o
389 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
390 CP850_OBJ
= modules
/CP850.o
391 CP437_OBJ
= modules
/CP437.o
392 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
394 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
396 PROFILE_OBJ
= profile
/profile.o
397 PROFILES_OBJ
= utils
/profiles.o \
398 $(REGFIO_OBJ
) $(REGOBJS_OBJ
) $(ERRORMAP_OBJ
) \
399 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
400 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
401 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
403 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
405 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
407 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
408 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
409 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
410 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
411 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
412 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
413 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
414 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
415 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
416 VFS_CAP_OBJ
= modules
/vfs_cap.o
417 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
418 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
419 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
420 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
421 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
422 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
423 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
424 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
425 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
426 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
427 VFS_CATIA_OBJ
= modules
/vfs_catia.o
428 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
429 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
430 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
431 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
432 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
433 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
435 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
437 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
439 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o
441 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
442 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
443 AUTH_SAM_OBJ
= auth
/auth_sam.o
444 AUTH_SERVER_OBJ
= auth
/auth_server.o
445 AUTH_UNIX_OBJ
= auth
/auth_unix.o
446 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
447 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
449 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/auth_compat.o \
450 auth
/auth_ntlmssp.o \
451 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
453 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_map.o smbd
/mangle_hash2.o
455 SMBD_OBJ_MAIN
= smbd
/server.o
457 BUILDOPT_OBJ
= smbd
/build_options.o
459 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
460 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
461 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
462 smbd
/share_access.o smbd
/fileio.o \
463 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
464 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
465 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
466 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
467 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
468 smbd
/vfs.o smbd
/statcache.o \
469 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
470 smbd
/process.o smbd
/service.o smbd
/error.o \
471 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
472 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
473 smbd
/change_trust_pw.o smbd
/fake_file.o \
474 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
475 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
476 smbd
/dmapi.o
$(MANGLE_OBJ
) @VFS_STATIC@
478 SMBD_OBJ_BASE
= $(PARAM_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
479 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
480 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
481 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
482 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
483 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
484 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
485 $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
486 $(BUILDOPT_OBJ
) $(SMBLDAP_OBJ
)
488 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
489 printing
/print_cups.o printing
/print_generic.o \
490 printing
/lpq_parse.o printing
/load.o \
491 printing
/print_iprint.o printing
/print_test.o
493 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
494 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
496 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
497 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
498 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
499 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
500 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
501 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
502 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
503 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
504 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
505 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
506 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
507 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
508 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
510 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
511 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
513 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
514 web
/swat.o web
/neg_lang.o
516 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
517 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
518 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
519 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
522 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
523 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
524 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
525 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
528 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
529 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
530 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
531 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
533 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
534 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
535 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
536 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
540 TESTPARM_OBJ
= utils
/testparm.o \
541 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
542 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
544 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
546 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
547 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
548 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
549 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
)
551 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
552 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
553 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
554 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) libsmb
/errormap.o
556 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ
)
558 DISPLAY_SEC_OBJ
= lib
/display_sec.o
560 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
561 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
562 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
563 rpcclient
/cmd_dfs.o \
564 rpcclient
/cmd_ds.o rpcclient
/cmd_echo.o \
565 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
568 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
569 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
570 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
571 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
572 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
573 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
)
575 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
576 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) @BUILD_INIPARSER@
578 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
579 libsmb
/libsmb_cache.o \
580 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
581 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
582 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
583 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
)
585 CAC_OBJ
= $(LIBSMBCLIENT_OBJ
) \
586 libmsrpc
/libmsrpc.o libmsrpc
/libmsrpc_internal.o \
587 libmsrpc
/cac_lsarpc.o libmsrpc
/cac_winreg.o libmsrpc
/cac_samr.o \
588 libmsrpc
/cac_svcctl.o
590 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o
$(TDB_BASE_OBJ
)
592 # This shared library is intended for linking with unit test programs
593 # to test Samba internals. It's called libbigballofmud.so to
594 # discourage casual usage.
596 LIBBIGBALLOFMUD_MAJOR
= 0
598 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
599 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
600 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
602 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
606 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
607 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
608 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
611 TOOL_OBJ
= client
/smbctool.o client
/clitar.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
612 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
613 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
616 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
617 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
618 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
619 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
620 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
621 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
622 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
623 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
624 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o
626 NET_OBJ
= $(NET_OBJ1
) $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
627 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
628 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
629 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
630 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
631 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
632 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
633 $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
)
635 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
636 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
638 MOUNT_OBJ
= client
/smbmount.o \
639 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
641 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
643 UMOUNT_OBJ
= client
/smbumount.o
$(SOCKET_WRAPPER_OBJ
)
645 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
647 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
649 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
650 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
652 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
653 torture
/denytest.o torture
/mangle_test.o
655 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
656 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
658 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
659 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
661 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
662 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
664 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
665 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
667 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
668 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
670 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
671 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
672 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
)
675 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
677 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
679 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
681 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
682 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
684 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
685 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
686 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) \
687 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
)
689 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
691 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
692 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
693 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
)
695 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
697 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
698 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
700 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o registry
/reg_util.o \
703 SHARESEC_OBJ0
= utils
/sharesec.o
704 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
705 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
706 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
708 TALLOCTORT_OBJ
= lib
/talloc
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
709 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
)
711 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
712 lib
/replace
/test/os2_delete.o \
713 lib
/replace
/test/strptime.o \
716 RPCTORTURE_OBJ
= torture
/rpctorture.o \
717 rpcclient
/display.o \
718 rpcclient
/cmd_lsarpc.o \
719 rpcclient
/cmd_samr.o \
720 rpcclient
/cmd_wkssvc.o \
721 rpcclient
/cmd_srvsvc.o \
722 rpcclient
/cmd_netlogon.o \
723 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
724 $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
) $(SECRETS_OBJ
)
726 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
728 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
729 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
731 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
732 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
733 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
735 $(LIB_WITH_PROTO_OBJ
) \
736 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
737 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
738 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
739 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
740 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
741 $(AUTH_SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
742 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_LSA_DS_OBJ
) \
743 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
744 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
745 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
746 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) utils
/passwd_util.o \
747 $(LIBGPO_OBJ
) $(NSS_INFO_OBJ
)
749 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
750 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
752 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
753 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
754 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
755 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
756 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
)
758 IDMAP_OBJ
= nsswitch
/idmap.o nsswitch
/idmap_cache.o nsswitch
/idmap_util.o @IDMAP_STATIC@
760 NSS_INFO_OBJ
= nsswitch
/nss_info.o @NSS_INFO_STATIC@
762 IDMAP_NSS_OBJ
= sam
/idmap_nss.o
765 nsswitch
/winbindd.o \
766 nsswitch
/winbindd_user.o \
767 nsswitch
/winbindd_group.o \
768 nsswitch
/winbindd_util.o \
769 nsswitch
/winbindd_cache.o \
770 nsswitch
/winbindd_pam.o \
771 nsswitch
/winbindd_sid.o \
772 nsswitch
/winbindd_misc.o \
773 nsswitch
/winbindd_cm.o \
774 nsswitch
/winbindd_wins.o \
775 nsswitch
/winbindd_rpc.o \
776 nsswitch
/winbindd_reconnect.o \
777 nsswitch
/winbindd_ads.o \
778 nsswitch
/winbindd_passdb.o \
779 nsswitch
/winbindd_dual.o \
780 nsswitch
/winbindd_async.o \
781 nsswitch
/winbindd_creds.o \
782 nsswitch
/winbindd_cred_cache.o \
783 nsswitch
/winbindd_ccache_access.o
786 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
787 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
788 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
789 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
790 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
791 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
792 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
793 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
)
795 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
796 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
798 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
800 SMB_KRB5_LOCATOR_OBJ1
= libads
/smb_krb5_locator.o
801 SMB_KRB5_LOCATOR_OBJ
= $(SMB_KRB5_LOCATOR_OBJ1
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
802 $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
)
804 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
805 popt
/popthelp.o popt
/poptparse.o
807 INIPARSER_OBJ
= iniparser
/src
/iniparser.o iniparser
/src
/dictionary.o \
808 iniparser
/src
/strlib.o
810 TDBBACKUP_OBJ
= tdb
/tools
/tdbbackup.o tdb
/common
/tdbback.o
$(LIBREPLACE_OBJ
) \
811 $(TDBBASE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
813 TDBTOOL_OBJ
= tdb
/tools
/tdbtool.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
814 $(SOCKET_WRAPPER_OBJ
)
816 TDBDUMP_OBJ
= tdb
/tools
/tdbdump.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
817 $(SOCKET_WRAPPER_OBJ
)
819 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
821 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
822 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
823 libads
/kerberos_verify.o
$(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) \
824 libads
/authdata.o
$(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
825 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) rpc_parse
/parse_net.o
$(LIBNMB_OBJ
) \
826 $(LDB_OBJ
) libsmb
/errormap.o
828 ######################################################################
830 ######################################################################
831 all : SHOWFLAGS
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
832 $(SHLIBS
) $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
834 nss_modules
: $(NSS_MODULES
)
836 pam_modules
: $(PAM_MODULES
)
838 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
840 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
842 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
844 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
846 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
848 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
850 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
852 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
854 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
856 smbctool
: SHOWFLAGS bin
/smbctool@EXEEXT@
858 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
860 rpctorture
: SHOWFLAGS bin
/rpctorture@EXEEXT@
862 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
864 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
866 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
868 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
870 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
872 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
874 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
876 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
877 @WINBIND_WINS_NSS@ bin
/pam_winbind.@SHLIBEXT@
879 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
881 modules
: SHOWFLAGS
$(MODULES
)
883 cac
: SHOWFLAGS
$(LIBMSRPC
)
886 everything
: all libsmbclient debug2html smbfilter talloctort replacetort modules torture \
893 @echo
"Using FLAGS = $(FLAGS)"
894 @echo
" PICFLAG = $(PICFLAG)"
895 @echo
" LIBS = $(LIBS)"
896 @echo
" LDFLAGS = $(LDFLAGS)"
897 @echo
" DYNEXP = $(DYNEXP)"
898 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
899 @echo
" SHLIBEXT = @SHLIBEXT@"
900 @echo
" SONAMEFLAG = @SONAMEFLAG@"
902 MAKEDIR
= || exec false
; \
903 if
test -d
"$$dir"; then
:; else \
904 echo mkdir
"$$dir"; \
905 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
908 exec false
; fi || exec false
911 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
912 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
913 @if
test -n
"$(CC_CHECKER)"; then \
914 echo
"Checking $*.c with '$(CC_CHECKER)'";\
915 $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
;\
918 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
&& exit
0;\
919 echo
"The following command failed:" 1>&2;\
920 echo
"$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $< -o $@" 1>&2;\
921 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
>/dev
/null
2>&1
922 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
924 # this adds support for precompiled headers. To use it, install a snapshot
925 # of gcc-3.4 and run 'make pch' before you do the main build.
927 rm -f
$(builddir
)/include/includes.h.gch
928 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$(srcdir)/include/includes.h
-o
$(builddir
)/include/includes.h.gch
930 # These dependencies are only approximately correct: we want to make
931 # sure Samba's paths are updated if ./configure is re-run. Really it
932 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
933 # but since we also require "make install prefix=/opt/samba" *not* to
934 # rebuild it's a bit hard.
936 dynconfig.o
: dynconfig.c Makefile
938 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
&& exit
0;\
939 echo
"The following command failed:" 1>&2;\
940 echo
"$(CC) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/dynconfig.c -o $@" 1>&2;\
941 $(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
>/dev
/null
2>&1
943 lib
/pidfile.o
: lib
/pidfile.c
945 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/pidfile.c
-o
$@
947 lib
/version.o
: lib
/version.c
include/version.h
949 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/version.c
-o
$@
951 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
953 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c smbd
/build_options.c
-o
$@
955 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
957 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
960 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
961 dir=bin
$(MAKEDIR
); fi
962 @
: >> $@ ||
: > $@
# what a fancy emoticon!
964 bin
/smbd@EXEEXT@
: proto_exists
$(SMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
966 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
967 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
968 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @SMBD_LIBS@
970 bin
/nmbd@EXEEXT@
: proto_exists
$(NMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
972 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
974 bin
/swat@EXEEXT@
: proto_exists
$(SWAT_OBJ
) @BUILD_POPT@ bin
/.dummy
976 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
977 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
979 bin
/rpcclient@EXEEXT@
: proto_exists
$(RPCCLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
981 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
982 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
983 $(KRB5LIBS
) $(LDAP_LIBS
)
985 bin
/smbclient@EXEEXT@
: proto_exists
$(CLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
987 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
989 bin
/smbctool@EXEEXT@
: proto_exists
$(TOOL_OBJ
) @BUILD_POPT@ bin
/.dummy
991 @
$(CC
) $(FLAGS
) -o
$@
$(TOOL_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) -Lbin
-lsmbclient
993 bin
/net@EXEEXT@
: proto_exists
$(NET_OBJ
) @BUILD_POPT@ @BUILD_INIPARSER@ bin
/.dummy
995 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@
997 bin
/profiles@EXEEXT@
: proto_exists
$(PROFILES_OBJ
) @BUILD_POPT@ bin
/.dummy
999 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1001 bin
/smbspool@EXEEXT@
: proto_exists
$(CUPS_OBJ
) bin
/.dummy
1003 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1005 bin
/smbmount@EXEEXT@
: proto_exists
$(MOUNT_OBJ
) bin
/.dummy
1007 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1009 bin
/smbmnt@EXEEXT@
: proto_exists
$(MNT_OBJ
) bin
/.dummy
1011 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1013 bin
/smbumount@EXEEXT@
: proto_exists
$(UMOUNT_OBJ
) bin
/.dummy
1015 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1017 bin
/mount.cifs@EXEEXT@
: $(CIFS_MOUNT_OBJ
) bin
/.dummy
1019 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1021 bin
/umount.cifs@EXEEXT@
: $(CIFS_UMOUNT_OBJ
) bin
/.dummy
1023 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1025 bin
/testparm@EXEEXT@
: proto_exists
$(TESTPARM_OBJ
) @BUILD_POPT@ bin
/.dummy
1027 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1029 bin
/smbstatus@EXEEXT@
: proto_exists
$(STATUS_OBJ
) @BUILD_POPT@ bin
/.dummy
1031 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1034 bin
/smbcontrol@EXEEXT@
: proto_exists
$(SMBCONTROL_OBJ
) @BUILD_POPT@ bin
/.dummy
1036 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1037 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1038 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@
1040 bin
/smbtree@EXEEXT@
: proto_exists
$(SMBTREE_OBJ
) @BUILD_POPT@ bin
/.dummy
1042 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1044 bin
/smbpasswd@EXEEXT@
: proto_exists
$(SMBPASSWD_OBJ
) @BUILD_POPT@ bin
/.dummy
1046 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1047 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1049 bin
/pdbedit@EXEEXT@
: proto_exists
$(PDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1051 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
)
1053 bin
/smbget@EXEEXT@
: proto_exists
$(SMBGET_OBJ
) @BUILD_POPT@ bin
/.dummy
1055 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1057 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1059 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1061 bin
/nmblookup@EXEEXT@
: proto_exists
$(NMBLOOKUP_OBJ
) @BUILD_POPT@ bin
/.dummy
1063 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(LDAP_LIBS
)
1065 bin
/smbtorture@EXEEXT@
: proto_exists
$(SMBTORTURE_OBJ
) bin
/.dummy
1067 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1069 bin
/talloctort@EXEEXT@
: proto_exists
$(TALLOCTORT_OBJ
) bin
/.dummy
1071 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1072 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
)
1074 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) bin
/.dummy
1076 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1079 bin
/masktest@EXEEXT@
: proto_exists
$(MASKTEST_OBJ
) bin
/.dummy
1081 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1083 bin
/msgtest@EXEEXT@
: proto_exists
$(MSGTEST_OBJ
) bin
/.dummy
1085 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1087 bin
/smbcacls@EXEEXT@
: proto_exists
$(SMBCACLS_OBJ
) @BUILD_POPT@ bin
/.dummy
1089 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1090 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1092 bin
/smbcquotas@EXEEXT@
: proto_exists
$(SMBCQUOTAS_OBJ
) @BUILD_POPT@ bin
/.dummy
1094 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1095 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1097 bin
/eventlogadm@EXEEXT@
: proto_exists
$(EVTLOGADM_OBJ
) @BUILD_POPT@ bin
/.dummy
1099 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1101 bin
/sharesec@EXEEXT@
: proto_exists
$(SHARESEC_OBJ
) @BUILD_POPT@ bin
/.dummy
1103 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1105 bin
/locktest@EXEEXT@
: proto_exists
$(LOCKTEST_OBJ
) bin
/.dummy
1107 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1109 bin
/nsstest@EXEEXT@
: proto_exists
$(NSSTEST_OBJ
) bin
/.dummy
1111 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1113 bin
/pdbtest@EXEEXT@
: proto_exists
$(PDBTEST_OBJ
) bin
/.dummy
1115 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@
1117 bin
/vfstest@EXEEXT@
: proto_exists
$(VFSTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1119 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
)
1121 bin
/smbiconv@EXEEXT@
: $(SMBICONV_OBJ
) @BUILD_POPT@ bin
/.dummy
1123 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
1125 bin
/log2pcap@EXEEXT@
: proto_exists
$(LOG2PCAP_OBJ
) @BUILD_POPT@ bin
/.dummy
1127 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1129 bin
/locktest2@EXEEXT@
: proto_exists
$(LOCKTEST2_OBJ
) bin
/.dummy
1131 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1133 bin
/rpctorture@EXEEXT@
: $(RPCTORTURE_OBJ
) bin
/.dummy
1135 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1137 bin
/debug2html@EXEEXT@
: proto_exists
$(DEBUG2HTML_OBJ
) bin
/.dummy
1139 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1141 bin
/smbfilter@EXEEXT@
: proto_exists
$(SMBFILTER_OBJ
) bin
/.dummy
1143 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1145 bin
/libaddns.@SHLIBEXT@
: proto_exists
$(LIBADDNS_OBJ
)
1146 @echo Linking libaddns shared library
$@
1147 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBADDNS_OBJ
) $(LIBS
) \
1148 $(KRB5LIBS
) $(UUID_LIBS
)\
1149 @SONAMEFLAG@
`basename $@`.
$(LIBADDNS_MAJOR
)
1151 bin
/libaddns.a
: proto_exists
$(LIBADDNS_OBJ
)
1152 @echo Linking libaddns non-shared library
$@
1153 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1155 bin
/libsmbclient.@SHLIBEXT@
: proto_exists
$(LIBSMBCLIENT_OBJ
)
1156 @echo Linking libsmbclient shared library
$@
1157 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBCLIENT_OBJ
) $(LIBS
) \
1158 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1159 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
1161 bin
/libsmbclient.a
: proto_exists
$(LIBSMBCLIENT_OBJ
)
1162 @echo Linking libsmbclient non-shared library
$@
1163 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ
)
1165 bin
/libsmbsharemodes.@SHLIBEXT@
: proto_exists
$(LIBSMBSHAREMODES_OBJ
)
1166 @echo Linking libsmbsharemodes shared library
$@
1167 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBSHAREMODES_OBJ
) $(LIBS
) \
1168 $(KRB5LIBS
) $(LDAP_LIBS
) \
1169 @SONAMEFLAG@
`basename $@`.
$(LIBSMBSHAREMODES_MAJOR
)
1171 bin
/libsmbsharemodes.a
: proto_exists
$(LIBSMBSHAREMODES_OBJ
)
1172 @echo Linking libsmbsharemodes non-shared library
$@
1173 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1175 bin
/libmsrpc.@SHLIBEXT@
: proto_exists
$(CAC_OBJ
)
1176 @echo Linking libmsrpc shared library
$@
1177 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CAC_OBJ
) $(LIBS
) \
1178 @SONAMEFLAG@
`basename $@`.
$(LIBMSRPC_MAJOR
)
1180 bin
/libmsrpc.a
: proto_exists
$(CAC_OBJ
)
1181 @echo Linking libmsrpc non-shared library
$@
1182 @
-$(AR
) -rc
$@
$(CAC_OBJ
)
1184 # This is probably wrong for anything other than the GNU linker.
1185 bin
/libbigballofmud.@SHLIBEXT@
: proto_exists
$(LIBBIGBALLOFMUD_OBJ
)
1186 @echo Linking bigballofmud shared library
$@
1187 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1188 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1189 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1190 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1192 # It would be nice to build a static bigballofmud too, but when I try
1193 # I get linker errors about dl_open and similar things. I'm not sure if
1194 # it can be fixed or if they just can't be called from a static
1197 libsmbclient
: $(LIBSMBCLIENT
)
1198 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1199 libmsrpc
: $(LIBMSRPC
)
1200 libaddns
: $(LIBADDNS
)
1202 bin
/librpc_lsarpc.@SHLIBEXT@
: proto_exists
$(RPC_LSA_OBJ
)
1204 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_OBJ
) -lc \
1205 @SONAMEFLAG@
`basename $@`
1207 bin
/librpc_samr.@SHLIBEXT@
: proto_exists
$(RPC_SAMR_OBJ
)
1209 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SAMR_OBJ
) -lc \
1210 @SONAMEFLAG@
`basename $@`
1212 bin
/librpc_unixinfo.@SHLIBEXT@
: proto_exists
$(RPC_UNIXINFO_OBJ
)
1214 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_UNIXINFO_OBJ
) -lc \
1215 @SONAMEFLAG@
`basename $@`
1217 bin
/librpc_srvsvc.@SHLIBEXT@
: proto_exists
$(RPC_SVC_OBJ
)
1219 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVC_OBJ
) -lc \
1220 @SONAMEFLAG@
`basename $@`
1222 bin
/librpc_svcctl.@SHLIBEXT@
: proto_exists
$(RPC_SVCCTL_OBJ
)
1224 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVCCTL_OBJ
) -lc \
1225 @SONAMEFLAG@
`basename $@`
1227 bin
/librpc_ntsvcs.@SHLIBEXT@
: proto_exists
$(RPC_NTSVCS_OBJ
)
1229 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NTSVCS_OBJ
) -lc \
1230 @SONAMEFLAG@
`basename $@`
1232 bin
/librpc_wkssvc.@SHLIBEXT@
: proto_exists
$(RPC_WKS_OBJ
)
1234 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_WKS_OBJ
) -lc \
1235 @SONAMEFLAG@
`basename $@`
1237 bin
/librpc_NETLOGON.@SHLIBEXT@
: proto_exists
$(RPC_NETLOG_OBJ
)
1239 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NETLOG_OBJ
) -lc \
1240 @SONAMEFLAG@
`basename $@`
1242 bin
/librpc_reg.@SHLIBEXT@
: proto_exists
$(RPC_REG_OBJ
)
1244 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_REG_OBJ
) -lc \
1245 @SONAMEFLAG@
`basename $@`
1247 bin
/librpc_initshutdown.@SHLIBEXT@
: proto_exists
$(RPC_INITSHUTDOWN_OBJ
)
1249 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_INITSHUTDOWN_OBJ
) -lc \
1250 @SONAMEFLAG@
`basename $@`
1252 bin
/librpc_lsa_ds.@SHLIBEXT@
: proto_exists
$(RPC_LSA_DS_OBJ
)
1254 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_DS_OBJ
) -lc \
1255 @SONAMEFLAG@
`basename $@`
1257 bin
/librpc_spoolss.@SHLIBEXT@
: proto_exists
$(RPC_SPOOLSS_OBJ
)
1259 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SPOOLSS_OBJ
) -lc \
1260 @SONAMEFLAG@
`basename $@`
1262 bin
/librpc_eventlog.@SHLIBEXT@
: proto_exists
$(RPC_EVENTLOG_OBJ
)
1264 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_EVENTLOG_OBJ
) -lc \
1265 @SONAMEFLAG@
`basename $@`
1267 bin
/librpc_netdfs.@SHLIBEXT@
: proto_exists
$(RPC_DFS_OBJ
)
1269 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_DFS_OBJ
) -lc \
1270 @SONAMEFLAG@
`basename $@`
1272 bin
/librpc_echo.@SHLIBEXT@
: proto_exists
$(RPC_ECHO_OBJ
)
1274 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_ECHO_OBJ
) -lc \
1275 @SONAMEFLAG@
`basename $@`
1277 bin
/winbindd@EXEEXT@
: proto_exists
$(WINBINDD_OBJ
) @BUILD_POPT@ bin
/.dummy
1279 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1280 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
)
1282 @WINBIND_NSS@
: $(WINBIND_NSS_OBJ
)
1284 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1285 @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1287 @WINBIND_WINS_NSS@
: proto_exists
$(WINBIND_WINS_NSS_OBJ
)
1289 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1290 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) \
1291 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1293 @SMB_KRB5_LOCATOR@
: proto_exists
$(SMB_KRB5_LOCATOR_OBJ
)
1295 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(SMB_KRB5_LOCATOR_OBJ
) \
1296 $(LDAP_LIBS
) $(LIBS
) -lcom_err \
1297 @SONAMEFLAG@
`basename $@`
1299 bin
/pam_winbind.@SHLIBEXT@
: $(PAM_WINBIND_OBJ
) bin
/.dummy
1300 @echo
"Linking shared library $@"
1301 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
1302 @PAM_WINBIND_EXTRA_LIBS@ @SONAMEFLAG@
`basename $@`
1304 bin
/builtin.@SHLIBEXT@
: proto_exists
$(AUTH_BUILTIN_OBJ
)
1305 @echo
"Building plugin $@"
1306 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_BUILTIN_OBJ
) @SONAMEFLAG@
`basename $@`
1308 bin
/domain.@SHLIBEXT@
: proto_exists
$(AUTH_DOMAIN_OBJ
)
1309 @echo
"Building plugin $@"
1310 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_DOMAIN_OBJ
) @SONAMEFLAG@
`basename $@`
1312 bin
/script.@SHLIBEXT@
: proto_exists
$(AUTH_SCRIPT_OBJ
)
1313 @echo
"Building plugin $@"
1314 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SCRIPT_OBJ
) @SONAMEFLAG@
`basename $@`
1316 bin
/smbserver.@SHLIBEXT@
: proto_exists
$(AUTH_SERVER_OBJ
)
1317 @echo
"Building plugin $@"
1318 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SERVER_OBJ
) @SONAMEFLAG@
`basename $@`
1320 bin
/winbind.@SHLIBEXT@
: proto_exists
$(AUTH_WINBIND_OBJ
)
1321 @echo
"Building plugin $@"
1322 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_WINBIND_OBJ
) @SONAMEFLAG@
`basename $@`
1324 bin
/unix.@SHLIBEXT@
: proto_exists
$(AUTH_UNIX_OBJ
)
1325 @echo
"Building plugin $@"
1326 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_UNIX_OBJ
) @SONAMEFLAG@
`basename $@`
1328 bin
/sam.@SHLIBEXT@
: proto_exists
$(AUTH_SAM_OBJ
)
1329 @echo
"Building plugin $@"
1330 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SAM_OBJ
) @SONAMEFLAG@
`basename $@`
1332 bin
/ldapsam.@SHLIBEXT@
: passdb
/pdb_ldap.o
1333 @echo
"Building plugin $@"
1334 @
$(SHLD
) $(LDSHFLAGS
) $(LDAP_LIBS
) -o
$@ passdb
/pdb_ldap.o \
1335 @SONAMEFLAG@
`basename $@`
1337 bin
/tdbsam.@SHLIBEXT@
: proto_exists passdb
/pdb_tdb.o
1338 @echo
"Building plugin $@"
1339 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_tdb.o \
1340 @SONAMEFLAG@
`basename $@`
1342 bin
/smbpasswd.@SHLIBEXT@
: proto_exists passdb
/pdb_smbpasswd.o
1343 @echo
"Building plugin $@"
1344 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_smbpasswd.o \
1345 @SONAMEFLAG@
`basename $@`
1347 bin
/rid.@SHLIBEXT@
: proto_exists nsswitch
/idmap_rid.o
1348 @echo
"Building plugin $@"
1349 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_rid.o \
1350 @SONAMEFLAG@
`basename $@`
1352 bin
/ad.@SHLIBEXT@
: proto_exists nsswitch
/idmap_ad.o
1353 @echo
"Building plugin $@"
1354 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_ad.o \
1355 @SONAMEFLAG@
`basename $@`
1357 bin
/ldap.@SHLIBEXT@
: proto_exists nsswitch
/idmap_ldap.o
1358 @echo
"Building plugin $@"
1359 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_ldap.o \
1360 @SONAMEFLAG@
`basename $@`
1362 bin
/weird.@SHLIBEXT@
: proto_exists
$(DEVEL_HELP_WEIRD_OBJ
)
1363 @echo
"Building plugin $@"
1364 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(DEVEL_HELP_WEIRD_OBJ
) \
1365 @SONAMEFLAG@
`basename $@`
1367 bin
/CP850.@SHLIBEXT@
: proto_exists
$(CP850_OBJ
)
1368 @echo
"Building plugin $@"
1369 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP850_OBJ
) \
1370 @SONAMEFLAG@
`basename $@`
1372 bin
/CP437.@SHLIBEXT@
: proto_exists
$(CP437_OBJ
)
1373 @echo
"Building plugin $@"
1374 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP437_OBJ
) \
1375 @SONAMEFLAG@
`basename $@`
1377 bin
/macosxfs.@SHLIBEXT@
: $(CHARSET_MACOSXFS_OBJ
)
1378 @echo
"Building plugin $@"
1379 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CHARSET_MACOSXFS_OBJ
) \
1380 -framework CoreFoundation @SONAMEFLAG@
`basename $@`
1382 # NOTE, there is no build rule for a dynamic default VFS module because
1383 # this one MUST MUST MUST be built statically.
1385 bin
/audit.@SHLIBEXT@
: proto_exists
$(VFS_AUDIT_OBJ
)
1386 @echo
"Building plugin $@"
1387 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AUDIT_OBJ
) \
1388 @SONAMEFLAG@
`basename $@`
1390 bin
/extd_audit.@SHLIBEXT@
: proto_exists
$(VFS_EXTD_AUDIT_OBJ
)
1391 @echo
"Building plugin $@"
1392 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXTD_AUDIT_OBJ
) \
1393 @SONAMEFLAG@
`basename $@`
1395 bin
/full_audit.@SHLIBEXT@
: proto_exists
$(VFS_FULL_AUDIT_OBJ
)
1396 @echo
"Building plugin $@"
1397 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FULL_AUDIT_OBJ
) \
1398 @SONAMEFLAG@
`basename $@`
1400 bin
/recycle.@SHLIBEXT@
: proto_exists
$(VFS_RECYCLE_OBJ
)
1401 @echo
"Building plugin $@"
1402 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_RECYCLE_OBJ
) \
1403 @SONAMEFLAG@
`basename $@`
1405 bin
/netatalk.@SHLIBEXT@
: proto_exists
$(VFS_NETATALK_OBJ
)
1406 @echo
"Building plugin $@"
1407 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NETATALK_OBJ
) \
1408 @SONAMEFLAG@
`basename $@`
1410 bin
/fake_perms.@SHLIBEXT@
: proto_exists
$(VFS_FAKE_PERMS_OBJ
)
1411 @echo
"Building plugin $@"
1412 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FAKE_PERMS_OBJ
) \
1413 @SONAMEFLAG@
`basename $@`
1415 bin
/default_quota.@SHLIBEXT@
: proto_exists
$(VFS_DEFAULT_QUOTA_OBJ
)
1416 @echo
"Building plugin $@"
1417 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_DEFAULT_QUOTA_OBJ
) \
1418 @SONAMEFLAG@
`basename $@`
1420 bin
/readonly.@SHLIBEXT@
: proto_exists
$(VFS_READONLY_OBJ
)
1421 @echo
"Building plugin $@"
1422 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READONLY_OBJ
) \
1423 @SONAMEFLAG@
`basename $@`
1425 bin
/shadow_copy.@SHLIBEXT@
: proto_exists
$(VFS_SHADOW_COPY_OBJ
)
1426 @echo
"Building plugin $@"
1427 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SHADOW_COPY_OBJ
) \
1428 @SONAMEFLAG@
`basename $@`
1430 bin
/cap.@SHLIBEXT@
: proto_exists
$(VFS_CAP_OBJ
)
1431 @echo
"Building plugin $@"
1432 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CAP_OBJ
) \
1433 @SONAMEFLAG@
`basename $@`
1435 bin
/expand_msdfs.@SHLIBEXT@
: proto_exists
$(VFS_EXPAND_MSDFS_OBJ
)
1436 @echo
"Building plugin $@"
1437 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXPAND_MSDFS_OBJ
) \
1438 @SONAMEFLAG@
`basename $@`
1440 bin
/afsacl.@SHLIBEXT@
: $(VFS_AFSACL_OBJ
:.o
=.po
)
1441 @echo
"Building plugin $@"
1442 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AFSACL_OBJ
:.o
=.po
) \
1443 @SONAMEFLAG@
`basename $@`
1445 bin
/posixacl.@SHLIBEXT@
: $(VFS_POSIXACL_OBJ
)
1446 @echo
"Building plugin $@"
1447 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_POSIXACL_OBJ
) \
1448 @SONAMEFLAG@
`basename $@`
1450 bin
/aixacl.@SHLIBEXT@
: $(VFS_AIXACL_OBJ
)
1451 @echo
"Building plugin $@"
1452 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL_OBJ
) \
1453 @SONAMEFLAG@
`basename $@`
1455 bin
/aixacl2.@SHLIBEXT@
: $(VFS_AIXACL2_OBJ
)
1456 @echo
"Building plugin $@"
1457 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL2_OBJ
) \
1458 @SONAMEFLAG@
`basename $@`
1460 bin
/solarisacl.@SHLIBEXT@
: $(VFS_SOLARISACL_OBJ
)
1461 @echo
"Building plugin $@"
1462 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SOLARISACL_OBJ
) \
1463 @SONAMEFLAG@
`basename $@`
1465 bin
/irixacl.@SHLIBEXT@
: proto_exists
$(VFS_IRIXACL_OBJ
)
1466 @echo
"Building plugin $@"
1467 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_IRIXACL_OBJ
) \
1468 @SONAMEFLAG@
`basename $@`
1470 bin
/hpuxacl.@SHLIBEXT@
: proto_exists
$(VFS_HPUXACL_OBJ
)
1471 @echo
"Building plugin $@"
1472 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_HPUXACL_OBJ
) \
1473 @SONAMEFLAG@
`basename $@`
1475 bin
/tru64acl.@SHLIBEXT@
: $(VFS_TRU64ACL_OBJ
)
1476 @echo
"Building plugin $@"
1477 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_TRU64ACL_OBJ
) \
1478 @SONAMEFLAG@
`basename $@`
1480 bin
/catia.@SHLIBEXT@
: proto_exists
$(VFS_CATIA_OBJ
)
1481 @echo
"Building plugin $@"
1482 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CATIA_OBJ
) \
1483 @SONAMEFLAG@
`basename $@`
1485 bin
/cacheprime.@SHLIBEXT@
: proto_exists
$(VFS_CACHEPRIME_OBJ
)
1486 @echo
"Building plugin $@"
1487 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CACHEPRIME_OBJ
) \
1488 @SONAMEFLAG@
`basename $@`
1490 bin
/prealloc.@SHLIBEXT@
: proto_exists
$(VFS_PREALLOC_OBJ
)
1491 @echo
"Building plugin $@"
1492 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_PREALLOC_OBJ
) \
1493 @SONAMEFLAG@
`basename $@`
1495 bin
/commit.@SHLIBEXT@
: proto_exists
$(VFS_COMMIT_OBJ
)
1496 @echo
"Building plugin $@"
1497 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_COMMIT_OBJ
) \
1498 @SONAMEFLAG@
`basename $@`
1500 bin
/gpfs.@SHLIBEXT@
: $(VFS_GPFS_OBJ
)
1501 @echo
"Building plugin $@"
1502 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_GPFS_OBJ
) \
1503 @SONAMEFLAG@
`basename $@`
1505 bin
/notify_fam.@SHLIBEXT@
: $(VFS_NOTIFY_FAM_OBJ
)
1506 @echo
"Building plugin $@"
1507 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NOTIFY_FAM_OBJ
) \
1508 @SONAMEFLAG@
`basename $@` @SMB_FAM_LIBS@
1510 bin
/readahead.@SHLIBEXT@
: $(VFS_READAHEAD_OBJ
)
1511 @echo
"Building plugin $@"
1512 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READAHEAD_OBJ
) \
1513 @SONAMEFLAG@
`basename $@`
1515 #########################################################
1516 ## IdMap NSS plugins
1518 ## None here right now
1519 #########################################################
1521 bin
/wbinfo@EXEEXT@
: proto_exists
$(WBINFO_OBJ
) @BUILD_POPT@ bin
/.dummy
1523 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1525 bin
/ntlm_auth@EXEEXT@
: proto_exists
$(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1526 @BUILD_POPT@ bin
/.dummy
1528 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1529 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1530 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1532 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_OBJ
)
1533 @echo
"Linking shared library $@"
1534 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1536 bin
/tdbbackup@EXEEXT@
: proto_exists
$(TDBBACKUP_OBJ
) bin
/.dummy
1538 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBBACKUP_OBJ
)
1540 bin
/tdbtool@EXEEXT@
: $(TDBTOOL_OBJ
) bin
/.dummy
1542 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTOOL_OBJ
)
1544 bin
/tdbdump@EXEEXT@
: $(TDBDUMP_OBJ
) bin
/.dummy
1546 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBDUMP_OBJ
)
1548 bin
/t_strcmp@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1549 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1551 bin
/t_strstr@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1552 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1554 bin
/t_strappend@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1555 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1557 bin
/t_stringoverflow@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1558 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1560 bin
/t_doschar@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_doschar.o
1561 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_doschar.o
-L .
/bin
-lbigballofmud
1562 bin
/t_push_ucs2@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_push_ucs2.o
1563 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_push_ucs2.o
-L .
/bin
-lbigballofmud
1565 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1567 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1569 install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
1572 install-everything
: install installmodules
1574 # DESTDIR is used here to prevent packagers wasting their time
1575 # duplicating the Makefile. Remove it and you will have the privelege
1576 # of package each samba release for muliple versions of multiple
1577 # distributions and operating systems, or at least supplying patches
1578 # to all the packaging files required for this, prior to committing
1579 # the removal of DESTDIR. Do not remove it even though you think it
1583 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1585 installservers
: all installdirs
1586 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1588 installbin
: all installdirs
1589 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1591 installcifsmount
: @CIFSMOUNT_PROGS@
1592 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(ROOTSBINDIR
)
1593 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1595 # Some symlinks are required for the 'probing' of modules.
1596 # This mechanism should go at some point..
1597 installmodules
: modules
installdirs
1598 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1599 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1600 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1601 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1602 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
1603 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1604 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1605 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1606 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1607 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1608 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1609 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1610 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@
1612 installscripts
: installdirs
1613 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1615 installdat
: installdirs
1616 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1618 installmsg
: installdirs
1619 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1621 installswat
: installdirs installmsg
1622 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1624 installclientlib
: installdirs libsmbclient
1625 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1626 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1627 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
1628 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1629 -$(INSTALLCMD
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
1631 installlibmsrpc
: installdirs libmsrpc
1632 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1633 -$(INSTALLLIBCMD_SH
) bin
/libmsrpc.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1634 -$(INSTALLLIBCMD_A
) bin
/libmsrpc.a
$(DESTDIR
)$(LIBDIR
)
1635 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1636 -$(INSTALLCMD
) $(srcdir)/include/libmsrpc.h
$(DESTDIR
)${prefix}/include
1638 installlibsmbsharemodes
: installdirs libsmbsharemodes
1639 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1640 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1641 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
1643 installlibaddns
: installdirs libaddns
1644 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1645 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1646 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
1648 installpammodules
: $(PAM_MODULES
)
1649 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(PAMMODULESDIR
)
1650 @for module in
$(PAM_MODULES
); do \
1651 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1652 $(INSTALLCMD
) -m
$(INSTALLPERMS
) bin
/$${module}.@SHLIBEXT@ \
1653 "$(DESTDIR)/$(PAMMODULESDIR)"; \
1658 PYTHON_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) $(RPC_PARSE_OBJ
) \
1659 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1660 $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
)
1662 python_ext
: $(PYTHON_OBJ
)
1663 @if
test -z
"$(PYTHON)"; then \
1664 echo Use the option
--with-python to configure python
; \
1667 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1668 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
1669 LIBS
="$(LDFLAGS) $(LIBS) $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS)" \
1670 $(PYTHON
) python
/setup.py build
1672 python_install
: $(PYTHON_OBJ
)
1673 @if
test -z
"$(PYTHON)"; then \
1674 echo Use the option
--with-python to configure python
; \
1677 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1678 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS)" \
1679 LIBS
="$(LDFLAGS) $(LIBS)" \
1680 $(PYTHON
) python
/setup.py
install --root
=$(DESTDIR
)
1683 @
-if
test -n
"$(PYTHON)"; then
$(PYTHON
) python
/setup.py
clean; fi
1686 # revert to the previously installed version
1688 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1689 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1691 installman
: installdirs
1692 @SMBMOUNT_PROGS
="@SMBMOUNT_PROGS@" $(SHELL
) \
1693 $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
1698 @echo
"Samba will be installed into:"
1699 @echo
" prefix: $(prefix)"
1700 @echo
" bindir: $(BINDIR)"
1701 @echo
" sbindir: $(SBINDIR)"
1702 @echo
" libdir: $(LIBDIR)"
1703 @echo
" vardir: $(VARDIR)"
1704 @echo
" mandir: $(MANDIR)"
1705 @echo
" privatedir: $(PRIVATE_DIR)"
1706 @echo
" configdir: $(CONFIGDIR)"
1707 @echo
" lockdir: $(LOCKDIR)"
1708 @echo
" piddir: $(PIDDIR)"
1709 @echo
" swatdir: $(SWATDIR)"
1712 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
1715 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
1718 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1721 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1724 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1727 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1728 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1729 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1730 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1731 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1732 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1735 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1738 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1741 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1743 uninstallswat
: uninstallmsg
1744 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1747 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
1748 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
1749 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1752 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.@SHLIBEXT@
1753 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.a
1754 -rm -f
$(DESTDIR
)${prefix}/include/libmsrpc.h
1756 uninstalllibsmbsharemodes
:
1757 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
1758 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
1761 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
1762 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
1764 uninstallpammodules
:
1765 @for module in
$(PAM_MODULES
); do \
1766 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1767 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
1770 # Toplevel clean files
1771 TOPFILES
=dynconfig.o
1773 clean: delheaders python_clean
1774 -rm -f core
*/*~
*~
*/*.o
*/*/*.o
*/*/*/*.o \
1775 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
1776 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1777 $(MODULES
) $(TORTURE_PROGS
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
1778 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBMSRPC
) \
1779 .headers.stamp
*/src
/*.o proto_exists
1782 # Making this target will just make sure that the prototype files
1783 # exist, not necessarily that they are up to date. Since they're
1784 # removed by "make clean" this will always be run when you do anything
1786 proto_exists
: include/proto.h
include/build_env.h \
1787 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1788 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
1792 @echo Removing prototype headers
1793 @
rm -f
include/proto.h
include/build_env.h \
1794 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1795 client
/client_proto.h utils
/net_proto.h \
1796 smbd
/build_options.c utils
/ntlm_auth_proto.h \
1797 utils
/passwd_proto.h
1799 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
1801 include/proto.h
: smbd
/build_options.c
1802 @echo Building
include/proto.h
1803 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1804 -h _PROTO_H_
$(builddir
)/include/proto.h \
1807 include/build_env.h
: script
/build_env.sh
1808 @echo Building
include/build_env.h
1809 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
1810 > $(builddir
)/include/build_env.h
1812 nsswitch
/winbindd_proto.h
:
1813 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1814 -h _WINBINDD_PROTO_H_
$(builddir
)/nsswitch
/winbindd_proto.h \
1818 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1819 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
1822 client
/client_proto.h
:
1823 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1824 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
1828 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1829 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
1832 utils
/passwd_proto.h
:
1833 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1834 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
1837 utils
/ntlm_auth_proto.h
:
1838 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1839 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
1842 # "make headers" or "make proto" calls a subshell because we need to
1843 # make sure these commands are executed in sequence even for a
1846 $(MAKE
) delheaders
; \
1847 $(MAKE
) smbd
/build_options.c
; \
1848 $(MAKE
) include/proto.h
; \
1849 $(MAKE
) include/build_env.h
; \
1850 $(MAKE
) nsswitch
/winbindd_proto.h
; \
1851 $(MAKE
) web
/swat_proto.h
; \
1852 $(MAKE
) client
/client_proto.h
; \
1853 $(MAKE
) utils
/ntlm_auth_proto.h
; \
1854 $(MAKE
) utils
/net_proto.h
; \
1855 $(MAKE
) utils
/passwd_proto.h
;
1859 .PHONY
: headers proto
1862 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1865 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1867 realclean: clean delheaders
1868 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
1869 -rm -f script
/installbin.sh script
/uninstallbin.sh
1871 distclean: realclean
1872 -rm -f
include/stamp-h
1874 -rm -f
include/config.h Makefile
1875 -rm -f config.status config.cache so_locations
1878 realdistclean
: distclean
1879 -rm -f
include/config.h.in
1880 -rm -f
include/version.h
1883 # this target is really just for my use. It only works on a limited
1884 # range of machines and is used to produce a list of potentially
1885 # dead (ie. unused) functions in the code. (tridge)
1887 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
1888 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
1889 comm
-13 nmused.txt nmfns.txt
1892 # when configure.in is updated, reconfigure
1893 $(srcdir)/configure
: $(srcdir)/configure.in
1894 @echo
"WARNING: you need to rerun ./autogen.sh"
1896 config.status
: $(srcdir)/configure
1897 @echo
"WARNING: you need to run ./configure"
1899 Makefile
: $(srcdir)/Makefile.in config.status
1900 @echo
"WARNING: you need to run ./config.status"
1902 ######################################################################
1903 # Samba Testing Framework
1905 # Check for NSS module problems.
1906 test_nss_modules
: nss_modules
1907 @echo
"Testing $(NSS_MODULES) "
1908 @for module in
$(NSS_MODULES
); do \
1909 .
/script
/tests
/dlopen.sh
$${module} \
1913 # Check for PAM module problems. Specifically, check that every module we
1914 # built can actually be loaded by a minimal PAM-aware application.
1915 test_pam_modules
: pam_modules
1916 @echo
"Testing $(PAM_MODULES) "
1917 @for module in
$(PAM_MODULES
); do \
1918 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
1923 ## Targets for 'make test'
1925 test: all torture timelimit
1926 @echo Running Test suite
1927 @sh
$(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"
1929 valgrindtest
: all torture timelimit
1930 @echo Running Test suite with valgrind
1931 @NMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1932 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1933 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
1934 $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"