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 datarootdir
=@datarootdir@
15 selftest_prefix
=@selftest_prefix@
16 smbtorture4_path
=@smbtorture4_path@
22 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
24 LDFLAGS
=@PIE_LDFLAGS@ @LDFLAGS@
26 LDSHFLAGS
=@LDSHFLAGS@ @LDFLAGS@
27 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @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 CHARSETLIBDIR
= $(LIBDIR
)/charset
79 AUTHLIBDIR
= $(LIBDIR
)/auth
80 CONFIGLIBDIR
= $(LIBDIR
)/config
81 CONFIGDIR
= @configdir@
82 VARDIR
= @localstatedir@
86 # The permissions to give the executables
89 # set these to where to find various files
90 # These can be overridden by command line switches (see smbd(8))
91 # or in smb.conf (see smb.conf(5))
92 LOGFILEBASE
= @logfilebase@
93 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
94 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
96 # This is where smbpasswd et al go
97 PRIVATEDIR
= @privatedir@
99 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
100 PRIVATE_DIR
= $(PRIVATEDIR
)
102 # This is where SWAT images and help files go
105 # the directory where lock files go
108 # the directory where pid files go
111 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
115 LIBMSRPC
=bin
/libmsrpc.a @LIBMSRPC_SHARED@
119 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
120 LIBSMBSHAREMODES_MAJOR
=0
121 LIBSMBSHAREMODES_MINOR
=2
123 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
127 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@ @SMBWRAP_INC@
$(CPPFLAGS
)
131 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
132 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
134 PASSWD_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\"
135 PATH_FLAGS1
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" -DSBINDIR
=\"$(SBINDIR
)\"
136 PATH_FLAGS2
= $(PATH_FLAGS1
) -DBINDIR
=\"$(BINDIR
)\"
137 PATH_FLAGS3
= $(PATH_FLAGS2
) -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\"
138 PATH_FLAGS4
= $(PATH_FLAGS3
) -DSWATDIR
=\"$(SWATDIR
)\" -DLOCKDIR
=\"$(LOCKDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\"
139 PATH_FLAGS5
= $(PATH_FLAGS4
) -DLIBDIR
=\"$(LIBDIR
)\" \
140 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" -DSHLIBEXT
=\"@SHLIBEXT@
\"
141 PATH_FLAGS6
= $(PATH_FLAGS5
) -DCONFIGDIR
=\"$(CONFIGDIR
)\"
142 PATH_FLAGS
= $(PATH_FLAGS6
) $(PASSWD_FLAGS
)
144 # Note that all executable programs now provide for an optional executable suffix.
146 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ bin
/swat@EXEEXT@ @EXTRA_SBIN_PROGS@
148 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
150 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
151 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
152 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
153 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
155 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
156 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
157 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@ bin
/sharesec@EXEEXT@
158 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
159 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
161 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
162 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
163 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
164 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@
166 BIN_PROGS
= $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
) @EXTRA_BIN_PROGS@
168 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
169 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
172 SHLIBS
= @SHLIB_PROGS@ @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBMSRPC@ @LIBADDNS@
174 PAM_MODULES
= @PAM_MODULES@
176 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
178 VFS_MODULES
= @VFS_MODULES@
179 PDB_MODULES
= @PDB_MODULES@
180 RPC_MODULES
= @RPC_MODULES@
181 IDMAP_MODULES
= @IDMAP_MODULES@
182 CHARSET_MODULES
= @CHARSET_MODULES@
183 AUTH_MODULES
= @AUTH_MODULES@
184 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) $(CHARSET_MODULES
) $(AUTH_MODULES
)
186 ######################################################################
188 ######################################################################
190 TDBBASE_OBJ
= tdb
/common
/tdb.o tdb
/common
/dump.o tdb
/common
/error.o \
191 tdb
/common
/freelist.o tdb
/common
/freelistcheck.o tdb
/common
/io.o tdb
/common
/lock.o \
192 tdb
/common
/open.o tdb
/common
/transaction.o tdb
/common
/traverse.o
194 TDB_OBJ
= $(TDBBASE_OBJ
) lib
/util_tdb.o tdb
/common
/tdbback.o
196 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
198 VERSION_OBJ
= lib
/version.o
200 DOSERR_OBJ
= libsmb
/doserr.o
202 WBCOMMON_OBJ
= nsswitch
/wb_common.o
206 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
208 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
210 ERRORMAP_OBJ
= libsmb
/errormap.o
212 PASSCHANGE_OBJ
= libsmb
/passchange.o
214 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o librpc
/ndr
/ndr.o librpc
/ndr
/ndr_misc.o \
215 librpc
/ndr
/ndr_sec_helper.o librpc
/ndr
/ndr_string.o librpc
/ndr
/sid.o \
218 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_unixinfo.o librpc
/gen_ndr
/ndr_lsa.o \
219 librpc
/gen_ndr
/ndr_dfs.o librpc
/gen_ndr
/ndr_echo.o \
220 librpc
/gen_ndr
/ndr_winreg.o librpc
/gen_ndr
/ndr_initshutdown.o \
221 librpc
/gen_ndr
/ndr_srvsvc.o librpc
/gen_ndr
/ndr_svcctl.o \
222 librpc
/gen_ndr
/ndr_eventlog.o librpc
/gen_ndr
/ndr_wkssvc.o
224 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
226 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
228 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
230 TALLOC_OBJ
= lib
/talloc
/talloc.o
232 LIB_WITHOUT_PROTO_OBJ
= $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) $(TALLOC_OBJ
)
234 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
235 lib
/interface.o lib
/md4.o \
236 lib
/interfaces.o lib
/pidfile.o \
237 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
238 lib
/ufc.o lib
/genrand.o lib
/username.o \
239 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
240 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
241 lib
/xfile.o lib
/wins_srv.o lib
/util_reg.o \
242 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
243 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
244 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
245 lib
/substitute.o lib
/fsusage.o \
246 lib
/ms_fnmatch.o lib
/select.o lib
/messages.o \
247 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
248 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
249 nsswitch
/wb_client.o
$(WBCOMMON_OBJ
) \
250 lib
/pam_errors.o intl
/lang_tdb.o \
251 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
252 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
253 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
254 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
256 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
258 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
259 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
261 READLINE_OBJ
= lib
/readline.o
263 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
264 # Be sure to include them into your application
265 POPT_LIB_OBJ
= lib
/popt_common.o
267 PARAM_OBJ
= dynconfig.o param
/loadparm.o param
/params.o lib
/sharesec.o
269 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
271 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
272 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
273 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(TALLOC_OBJ
)
275 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_parse.o libgpo
/gpo_util.o \
276 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o
277 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
279 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o libads
/sasl.o \
280 libads
/krb5_setpw.o libads
/ldap_user.o \
281 libads
/ads_struct.o libads
/kerberos_keytab.o \
282 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
283 libads
/authdata.o libads
/cldap.o
285 LIBADS_SERVER_OBJ
= libads
/util.o libads
/kerberos_verify.o \
286 libads
/ldap_schema.o sam
/nss_info.o
288 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
290 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
291 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
293 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
294 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
295 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
297 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
298 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
299 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
300 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
301 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
302 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
303 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
304 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
306 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
308 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
309 rpc_client
/cli_netlogon.o rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
310 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
311 rpc_client
/cli_ds.o rpc_client
/cli_svcctl.o
313 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_unixinfo.o librpc
/gen_ndr
/cli_lsa.o \
314 librpc
/gen_ndr
/cli_dfs.o librpc
/gen_ndr
/cli_echo.o \
315 librpc
/gen_ndr
/cli_srvsvc.o \
316 librpc
/gen_ndr
/cli_winreg.o librpc
/gen_ndr
/cli_initshutdown.o \
317 librpc
/gen_ndr
/cli_eventlog.o \
318 $(LIBNDR_GEN_OBJ
) $(LIBNDR_OBJ
)
320 REGOBJS_OBJ
= registry
/reg_objects.o
322 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
323 registry
/reg_db.o registry
/reg_eventlog.o registry
/reg_shares.o \
324 registry
/reg_util.o registry
/reg_dynamic.o registry
/reg_perfcount.o \
325 registry
/reg_smbconf.o registry
/reg_api.o
327 RPC_LSA_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
329 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o
331 RPC_SAMR_OBJ
= rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o \
332 rpc_server
/srv_samr_util.o
334 RPC_UNIXINFO_OBJ
= librpc
/gen_ndr
/srv_unixinfo.o rpc_server
/srv_unixinfo_nt.o
335 REGFIO_OBJ
= registry
/regfio.o
337 RPC_REG_OBJ
= librpc
/gen_ndr
/srv_winreg.o rpc_server
/srv_winreg_nt.o
$(REGFIO_OBJ
)
338 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
340 RPC_LSA_DS_OBJ
= rpc_server
/srv_lsa_ds.o rpc_server
/srv_lsa_ds_nt.o
342 RPC_SVC_OBJ
= librpc
/gen_ndr
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o
344 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
346 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
347 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
348 services
/svc_netlogon.o services
/svc_winreg.o \
351 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o
353 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
355 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
357 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o rpc_server
/srv_eventlog_lib.o
359 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
360 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
362 RPC_ECHO_OBJ
= librpc
/gen_ndr
/srv_echo.o rpc_server
/srv_echo_nt.o
364 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
366 # this includes only the low level parse code, not stuff
367 # that requires knowledge of security contexts
368 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
370 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o rpc_parse
/parse_net.o \
371 rpc_parse
/parse_rpc.o rpc_parse
/parse_samr.o \
372 rpc_parse
/parse_ds.o rpc_parse
/parse_spoolss.o \
373 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
374 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
$(REGOBJS_OBJ
)
376 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
378 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
380 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
382 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
383 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
384 passdb
/util_unixsids.o passdb
/lookup_sid.o \
385 passdb
/login_cache.o @PDB_STATIC@ \
386 lib
/account_pol.o lib
/privileges.o lib
/util_nscd.o
388 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
389 CP850_OBJ
= modules
/CP850.o
390 CP437_OBJ
= modules
/CP437.o
391 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
393 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_ldb.o
395 PROFILE_OBJ
= profile
/profile.o
396 PROFILES_OBJ
= utils
/profiles.o \
397 $(REGFIO_OBJ
) $(REGOBJS_OBJ
) $(ERRORMAP_OBJ
) \
398 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
399 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
400 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
402 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
404 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_hash.o smbd
/notify_kernel.o smbd
/notify_fam.o
406 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
407 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
408 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
409 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
410 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
411 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
412 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
413 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
414 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
415 VFS_CAP_OBJ
= modules
/vfs_cap.o
416 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
417 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
418 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
419 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
420 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
421 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
422 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
423 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
424 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
425 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
426 VFS_CATIA_OBJ
= modules
/vfs_catia.o
427 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
428 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
429 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
430 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
432 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
434 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
436 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o
438 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
439 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
440 AUTH_SAM_OBJ
= auth
/auth_sam.o
441 AUTH_SERVER_OBJ
= auth
/auth_server.o
442 AUTH_UNIX_OBJ
= auth
/auth_unix.o
443 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
444 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
446 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/auth_compat.o \
447 auth
/auth_ntlmssp.o \
448 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
450 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_map.o smbd
/mangle_hash2.o
452 SMBD_OBJ_MAIN
= smbd
/server.o
454 BUILDOPT_OBJ
= smbd
/build_options.o
456 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
457 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
458 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
459 smbd
/share_access.o smbd
/fileio.o \
460 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
461 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
462 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
463 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
464 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
465 smbd
/vfs.o smbd
/statcache.o \
466 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
467 smbd
/process.o smbd
/service.o smbd
/error.o \
468 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
469 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
470 smbd
/change_trust_pw.o smbd
/fake_file.o \
471 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
472 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
473 smbd
/dmapi.o
$(MANGLE_OBJ
) @VFS_STATIC@
475 SMBD_OBJ_BASE
= $(PARAM_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
476 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
477 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
478 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
479 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
480 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
481 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
482 $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
483 $(BUILDOPT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
485 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
486 printing
/print_cups.o printing
/print_generic.o \
487 printing
/lpq_parse.o printing
/load.o \
488 printing
/print_iprint.o printing
/print_test.o
490 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
491 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
493 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
494 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
495 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
496 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
497 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
498 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
499 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
500 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
501 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
502 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
503 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
504 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
505 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
507 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
508 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
510 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
511 web
/swat.o web
/neg_lang.o
513 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
514 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
515 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
516 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
517 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
519 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
520 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
521 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
522 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
525 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
526 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
527 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
528 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
530 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
531 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
532 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
533 rpc_client
/cli_pipe.o rpc_parse
/parse_rpc.o \
534 rpc_client
/cli_netlogon.o rpc_parse
/parse_net.o \
537 TESTPARM_OBJ
= utils
/testparm.o \
538 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
539 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
541 SMBPASSWD_OBJ
= utils
/smbpasswd.o utils
/passwd_util.o
$(PASSCHANGE_OBJ
) \
542 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
543 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
544 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
546 PDBEDIT_OBJ
= utils
/pdbedit.o utils
/passwd_util.o
$(PARAM_OBJ
) $(PASSDB_OBJ
) \
547 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
548 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
549 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) libsmb
/errormap.o
551 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ
)
553 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
554 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
555 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
556 rpcclient
/cmd_dfs.o \
557 rpcclient
/cmd_ds.o rpcclient
/cmd_echo.o \
558 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
559 rpcclient
/cmd_unixinfo.o lib
/display_sec.o
561 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
562 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
563 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
564 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
565 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
566 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
568 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
569 @LIBREPLACE_OBJS@ @SOCKET_WRAPPER_OBJS@ @BUILD_INIPARSER@
571 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
572 libsmb
/libsmb_cache.o \
573 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
574 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
575 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
576 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
578 CAC_OBJ
= $(LIBSMBCLIENT_OBJ
) \
579 libmsrpc
/libmsrpc.o libmsrpc
/libmsrpc_internal.o \
580 libmsrpc
/cac_lsarpc.o libmsrpc
/cac_winreg.o libmsrpc
/cac_samr.o \
581 libmsrpc
/cac_svcctl.o
583 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o
$(TDB_BASE_OBJ
)
585 # This shared library is intended for linking with unit test programs
586 # to test Samba internals. It's called libbigballofmud.so to
587 # discourage casual usage.
589 LIBBIGBALLOFMUD_MAJOR
= 0
591 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
592 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
593 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
595 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
596 rpc_parse
/parse_rpc.o rpc_client
/cli_netlogon.o \
597 rpc_parse
/parse_net.o
599 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
600 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
601 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
604 TOOL_OBJ
= client
/smbctool.o client
/clitar.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
605 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
606 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
609 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
610 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
611 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
612 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
613 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
614 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
615 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
616 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
617 utils
/passwd_util.o utils
/net_dns.o utils
/net_ads_gpo.o
619 NET_OBJ
= $(NET_OBJ1
) $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
620 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
621 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
622 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(IDMAP_OBJ
) \
623 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
624 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
625 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
626 $(LDB_OBJ
) $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) lib
/display_sec.o
628 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
629 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
631 MOUNT_OBJ
= client
/smbmount.o \
632 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
634 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) @LIBREPLACE_OBJS@ @SOCKET_WRAPPER_OBJS@
636 UMOUNT_OBJ
= client
/smbumount.o @SOCKET_WRAPPER_OBJS@
638 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
640 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
642 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
643 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
645 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
646 torture
/denytest.o torture
/mangle_test.o
648 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
649 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
651 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
652 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
654 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
655 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
657 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
658 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
660 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
661 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
663 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
664 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
665 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
668 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
670 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
672 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
674 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
675 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
677 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
678 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
679 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) \
680 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
682 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
684 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
685 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
686 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
688 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
690 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
691 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
693 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o registry
/reg_util.o \
696 SHARESEC_OBJ0
= utils
/sharesec.o
697 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
698 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
699 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
701 TALLOCTORT_OBJ
= lib
/talloc
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
702 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
)
704 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o lib
/replace
/test/os2_delete.o \
707 RPCTORTURE_OBJ
= torture
/rpctorture.o \
708 rpcclient
/display.o \
709 rpcclient
/cmd_lsarpc.o \
710 rpcclient
/cmd_wkssvc.o \
711 rpcclient
/cmd_samr.o \
712 rpcclient
/cmd_srvsvc.o \
713 rpcclient
/cmd_netlogon.o \
714 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
715 $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
) $(SECRETS_OBJ
)
717 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
719 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
720 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
722 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
723 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(SWAT_OBJ1
) $(LIBSMB_OBJ
) \
724 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
725 $(LIBMSRPC_OBJ
) @SMBWRAP_OBJS@ \
726 $(LIB_WITH_PROTO_OBJ
) \
727 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
728 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
729 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
730 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
731 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
732 $(AUTH_SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
733 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_LSA_DS_OBJ
) \
734 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
735 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
736 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
737 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) utils
/passwd_util.o
$(LIBGPO_OBJ
)
739 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
740 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
742 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
743 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o \
744 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
745 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
746 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
)
748 IDMAP_OBJ
= sam
/idmap.o sam
/idmap_util.o @IDMAP_STATIC@
751 nsswitch
/winbindd.o \
752 nsswitch
/winbindd_user.o \
753 nsswitch
/winbindd_group.o \
754 nsswitch
/winbindd_util.o \
755 nsswitch
/winbindd_cache.o \
756 nsswitch
/winbindd_pam.o \
757 nsswitch
/winbindd_sid.o \
758 nsswitch
/winbindd_misc.o \
759 nsswitch
/winbindd_cm.o \
760 nsswitch
/winbindd_wins.o \
761 nsswitch
/winbindd_rpc.o \
762 nsswitch
/winbindd_reconnect.o \
763 nsswitch
/winbindd_ads.o \
764 nsswitch
/winbindd_passdb.o \
765 nsswitch
/winbindd_dual.o \
766 nsswitch
/winbindd_async.o \
767 nsswitch
/winbindd_creds.o \
768 nsswitch
/winbindd_cred_cache.o \
769 nsswitch
/winbindd_ccache_access.o
772 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
773 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
774 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
775 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
776 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
777 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) \
778 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
779 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
781 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
782 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
784 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) @LIBREPLACE_OBJS@ @SOCKET_WRAPPER_OBJS@ @WINBIND_NSS_EXTRA_OBJS@
786 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
787 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
788 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
789 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
790 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
792 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
793 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
794 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
796 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
797 lib
/ldb
/modules
/objectclass.o \
798 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
800 # enabled in configure.in
801 LDB_LDAP_OBJ
=@LDBLDAP@
803 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
805 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
806 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
807 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
808 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(IDMAP_OBJ
) \
809 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
810 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
811 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
812 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
815 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
816 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
817 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
818 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
819 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
821 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
822 popt
/popthelp.o popt
/poptparse.o
824 INIPARSER_OBJ
= iniparser
/src
/iniparser.o iniparser
/src
/dictionary.o \
825 iniparser
/src
/strlib.o
827 TDBBACKUP_OBJ
= tdb
/tools
/tdbbackup.o tdb
/common
/tdbback.o @LIBREPLACE_OBJS@ \
830 TDBTOOL_OBJ
= tdb
/tools
/tdbtool.o
$(TDBBASE_OBJ
) @LIBREPLACE_OBJS@
832 TDBDUMP_OBJ
= tdb
/tools
/tdbdump.o
$(TDBBASE_OBJ
) @LIBREPLACE_OBJS@
834 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
836 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
837 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
838 libads
/kerberos_verify.o
$(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) \
839 libads
/authdata.o
$(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
840 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) rpc_parse
/parse_net.o
$(LIBNMB_OBJ
) \
841 $(LDB_OBJ
) libsmb
/errormap.o
843 ######################################################################
845 ######################################################################
846 all : SHOWFLAGS proto_exists
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
847 $(SHLIBS
) $(MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
849 pam_modules
: $(PAM_MODULES
)
851 pam_smbpass
: SHOWFLAGS proto_exists bin
/pam_smbpass.@SHLIBEXT@
853 pam_winbind
: SHOWFLAGS proto_exists bin
/pam_winbind.@SHLIBEXT@
855 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
857 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
859 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
861 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
863 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
865 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
867 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
869 smbctool
: SHOWFLAGS bin
/smbctool@EXEEXT@
871 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
873 rpctorture
: SHOWFLAGS bin
/rpctorture@EXEEXT@
875 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
877 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
879 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
881 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
883 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
885 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
887 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
889 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
890 @WINBIND_WINS_NSS@ bin
/pam_winbind.@SHLIBEXT@
892 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
894 modules
: SHOWFLAGS proto_exists
$(MODULES
)
896 cac
: SHOWFLAGS
$(LIBMSRPC
)
899 #####################################################################
901 IDL_FILES
= unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
902 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl
905 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
906 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
909 #####################################################################
912 everything
: all libsmbclient debug2html smbfilter talloctort replacetort modules torture \
919 @echo
"Using FLAGS = $(FLAGS)"
920 @echo
" PICFLAG = $(PICFLAG)"
921 @echo
" LIBS = $(LIBS)"
922 @echo
" LDFLAGS = $(LDFLAGS)"
923 @echo
" DYNEXP = $(DYNEXP)"
924 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
925 @echo
" SHLIBEXT = @SHLIBEXT@"
926 @echo
" SONAMEFLAG = @SONAMEFLAG@"
928 MAKEDIR
= || exec false
; \
929 if
test -d
"$$dir"; then
:; else \
930 echo mkdir
"$$dir"; \
931 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
934 exec false
; fi || exec false
937 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
938 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
939 @if
test -n
"$(CC_CHECKER)"; then \
940 echo
"Checking $*.c with '$(CC_CHECKER)'";\
941 $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
;\
944 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
&& exit
0;\
945 echo
"The following command failed:" 1>&2;\
946 echo
"$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $< -o $@" 1>&2;\
947 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
>/dev
/null
2>&1
948 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
950 # this adds support for precompiled headers. To use it, install a snapshot
951 # of gcc-3.4 and run 'make pch' before you do the main build.
953 rm -f
$(builddir
)/include/includes.h.gch
954 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$(srcdir)/include/includes.h
-o
$(builddir
)/include/includes.h.gch
956 # These dependencies are only approximately correct: we want to make
957 # sure Samba's paths are updated if ./configure is re-run. Really it
958 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
959 # but since we also require "make install prefix=/opt/samba" *not* to
960 # rebuild it's a bit hard.
962 dynconfig.o
: dynconfig.c Makefile
964 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
&& exit
0;\
965 echo
"The following command failed:" 1>&2;\
966 echo
"$(CC) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/dynconfig.c -o $@" 1>&2;\
967 $(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
>/dev
/null
2>&1
969 lib
/pidfile.o
: lib
/pidfile.c
971 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/pidfile.c
-o
$@
973 lib
/version.o
: lib
/version.c
include/version.h
975 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/version.c
-o
$@
977 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
979 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c smbd
/build_options.c
-o
$@
981 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
983 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
986 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
987 dir=bin
$(MAKEDIR
); fi
988 @
: >> $@ ||
: > $@
# what a fancy emoticon!
990 bin
/smbd@EXEEXT@
: $(SMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
992 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
993 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
994 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @SMBD_LIBS@
996 bin
/nmbd@EXEEXT@
: $(NMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
998 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1000 bin
/swat@EXEEXT@
: $(SWAT_OBJ
) @BUILD_POPT@ bin
/.dummy
1002 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1003 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1005 bin
/rpcclient@EXEEXT@
: $(RPCCLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
1007 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1008 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1009 $(KRB5LIBS
) $(LDAP_LIBS
)
1011 bin
/smbclient@EXEEXT@
: $(CLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
1013 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1015 bin
/smbctool@EXEEXT@
: $(TOOL_OBJ
) @BUILD_POPT@ bin
/.dummy
1017 @
$(CC
) $(FLAGS
) -o
$@
$(TOOL_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) -Lbin
-lsmbclient
1019 bin
/net@EXEEXT@
: $(NET_OBJ
) @BUILD_POPT@ @BUILD_INIPARSER@ bin
/.dummy
1021 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@
1023 bin
/profiles@EXEEXT@
: $(PROFILES_OBJ
) @BUILD_POPT@ bin
/.dummy
1025 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1027 bin
/smbspool@EXEEXT@
: $(CUPS_OBJ
) bin
/.dummy
1029 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1031 bin
/smbmount@EXEEXT@
: $(MOUNT_OBJ
) bin
/.dummy
1033 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1035 bin
/smbmnt@EXEEXT@
: $(MNT_OBJ
) bin
/.dummy
1037 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1039 bin
/smbumount@EXEEXT@
: $(UMOUNT_OBJ
) bin
/.dummy
1041 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1043 bin
/mount.cifs@EXEEXT@
: $(CIFS_MOUNT_OBJ
) bin
/.dummy
1045 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1047 bin
/umount.cifs@EXEEXT@
: $(CIFS_UMOUNT_OBJ
) bin
/.dummy
1049 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1051 bin
/testparm@EXEEXT@
: $(TESTPARM_OBJ
) @BUILD_POPT@ bin
/.dummy
1053 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1055 bin
/smbstatus@EXEEXT@
: $(STATUS_OBJ
) @BUILD_POPT@ bin
/.dummy
1057 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1060 bin
/smbcontrol@EXEEXT@
: $(SMBCONTROL_OBJ
) @BUILD_POPT@ bin
/.dummy
1062 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1063 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1064 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@
1066 bin
/smbtree@EXEEXT@
: $(SMBTREE_OBJ
) @BUILD_POPT@ bin
/.dummy
1068 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1070 bin
/smbpasswd@EXEEXT@
: $(SMBPASSWD_OBJ
) @BUILD_POPT@ bin
/.dummy
1072 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1073 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1075 bin
/pdbedit@EXEEXT@
: $(PDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1077 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
)
1079 bin
/smbget@EXEEXT@
: $(SMBGET_OBJ
) @BUILD_POPT@ bin
/.dummy
1081 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1083 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1085 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1087 bin
/nmblookup@EXEEXT@
: $(NMBLOOKUP_OBJ
) @BUILD_POPT@ bin
/.dummy
1089 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(LDAP_LIBS
)
1091 bin
/smbtorture@EXEEXT@
: $(SMBTORTURE_OBJ
) bin
/.dummy
1093 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1095 bin
/talloctort@EXEEXT@
: $(TALLOCTORT_OBJ
) bin
/.dummy
1097 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1098 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
)
1100 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) bin
/.dummy
1102 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1105 bin
/masktest@EXEEXT@
: $(MASKTEST_OBJ
) bin
/.dummy
1107 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1109 bin
/msgtest@EXEEXT@
: $(MSGTEST_OBJ
) bin
/.dummy
1111 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1113 bin
/smbcacls@EXEEXT@
: $(SMBCACLS_OBJ
) @BUILD_POPT@ bin
/.dummy
1115 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1116 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1118 bin
/smbcquotas@EXEEXT@
: $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ bin
/.dummy
1120 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1121 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1123 bin
/eventlogadm@EXEEXT@
: $(EVTLOGADM_OBJ
) @BUILD_POPT@ bin
/.dummy
1125 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1127 bin
/sharesec@EXEEXT@
: $(SHARESEC_OBJ
) @BUILD_POPT@ bin
/.dummy
1129 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1131 bin
/locktest@EXEEXT@
: $(LOCKTEST_OBJ
) bin
/.dummy
1133 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1135 bin
/nsstest@EXEEXT@
: $(NSSTEST_OBJ
) bin
/.dummy
1137 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1139 bin
/pdbtest@EXEEXT@
: $(PDBTEST_OBJ
) bin
/.dummy
1141 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@
1143 bin
/vfstest@EXEEXT@
: $(VFSTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1145 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
)
1147 bin
/smbiconv@EXEEXT@
: $(SMBICONV_OBJ
) @BUILD_POPT@ bin
/.dummy
1149 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
1151 bin
/log2pcap@EXEEXT@
: $(LOG2PCAP_OBJ
) @BUILD_POPT@ bin
/.dummy
1153 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1155 bin
/locktest2@EXEEXT@
: $(LOCKTEST2_OBJ
) bin
/.dummy
1157 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1159 bin
/rpctorture@EXEEXT@
: $(RPCTORTURE_OBJ
) bin
/.dummy
1161 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1163 bin
/debug2html@EXEEXT@
: $(DEBUG2HTML_OBJ
) bin
/.dummy
1165 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1167 bin
/smbfilter@EXEEXT@
: $(SMBFILTER_OBJ
) bin
/.dummy
1169 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1172 bin
/ldbedit
: $(LDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1174 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1176 bin
/ldbsearch
: $(LDBSEARCH_OBJ
) @BUILD_POPT@ bin
/.dummy
1178 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1180 bin
/ldbadd
: $(LDBADD_OBJ
) @BUILD_POPT@ bin
/.dummy
1182 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1184 bin
/ldbmodify
: $(LDBMODIFY_OBJ
) @BUILD_POPT@ bin
/.dummy
1186 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1188 bin
/ldbdel
: $(LDBDEL_OBJ
) @BUILD_POPT@ bin
/.dummy
1190 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1192 bin
/libaddns.@SHLIBEXT@
: $(LIBADDNS_OBJ
)
1193 @echo Linking libaddns shared library
$@
1194 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBADDNS_OBJ
) $(LDFLAGS
) $(LIBS
) \
1195 $(KRB5LIBS
) $(UUID_LIBS
)\
1196 @SONAMEFLAG@
`basename $@`.
$(LIBADDNS_MAJOR
)
1198 bin
/libaddns.a
: $(LIBADDNS_OBJ
)
1199 @echo Linking libaddns non-shared library
$@
1200 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1202 bin
/libsmbclient.@SHLIBEXT@
: $(LIBSMBCLIENT_OBJ
)
1203 @echo Linking libsmbclient shared library
$@
1204 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBCLIENT_OBJ
) $(LDFLAGS
) $(LIBS
) \
1205 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1206 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
1208 bin
/libsmbclient.a
: $(LIBSMBCLIENT_OBJ
)
1209 @echo Linking libsmbclient non-shared library
$@
1210 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ
)
1212 bin
/libsmbsharemodes.@SHLIBEXT@
: $(LIBSMBSHAREMODES_OBJ
)
1213 @echo Linking libsmbsharemodes shared library
$@
1214 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBSHAREMODES_OBJ
) $(LDFLAGS
) $(LIBS
) \
1215 $(KRB5LIBS
) $(LDAP_LIBS
) \
1216 @SONAMEFLAG@
`basename $@`.
$(LIBSMBSHAREMODES_MAJOR
)
1218 bin
/libsmbsharemodes.a
: $(LIBSMBSHAREMODES_OBJ
)
1219 @echo Linking libsmbsharemodes non-shared library
$@
1220 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1222 bin
/libmsrpc.@SHLIBEXT@
: $(CAC_OBJ
)
1223 @echo Linking libmsrpc shared library
$@
1224 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CAC_OBJ
) $(LDFLAGS
) $(LIBS
) \
1225 @SONAMEFLAG@
`basename $@`.
$(LIBMSRPC_MAJOR
)
1227 bin
/libmsrpc.a
: $(CAC_OBJ
)
1228 @echo Linking libmsrpc non-shared library
$@
1229 @
-$(AR
) -rc
$@
$(CAC_OBJ
)
1231 # This is probably wrong for anything other than the GNU linker.
1232 bin
/libbigballofmud.@SHLIBEXT@
: $(LIBBIGBALLOFMUD_OBJ
)
1233 @echo Linking bigballofmud shared library
$@
1234 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1235 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1236 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1237 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1239 # It would be nice to build a static bigballofmud too, but when I try
1240 # I get linker errors about dl_open and similar things. I'm not sure if
1241 # it can be fixed or if they just can't be called from a static
1244 libsmbclient
: $(LIBSMBCLIENT
)
1245 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1246 libmsrpc
: $(LIBMSRPC
)
1247 libaddns
: $(LIBADDNS
)
1249 bin
/librpc_lsarpc.@SHLIBEXT@
: $(RPC_LSA_OBJ
)
1251 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_OBJ
) -lc \
1252 @SONAMEFLAG@
`basename $@`
1254 bin
/librpc_samr.@SHLIBEXT@
: $(RPC_SAMR_OBJ
)
1256 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SAMR_OBJ
) -lc \
1257 @SONAMEFLAG@
`basename $@`
1259 bin
/librpc_unixinfo.@SHLIBEXT@
: $(RPC_UNIXINFO_OBJ
)
1261 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_UNIXINFO_OBJ
) -lc \
1262 @SONAMEFLAG@
`basename $@`
1264 bin
/librpc_srvsvc.@SHLIBEXT@
: $(RPC_SVC_OBJ
)
1266 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVC_OBJ
) -lc \
1267 @SONAMEFLAG@
`basename $@`
1269 bin
/librpc_svcctl.@SHLIBEXT@
: $(RPC_SVCCTL_OBJ
)
1271 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVCCTL_OBJ
) -lc \
1272 @SONAMEFLAG@
`basename $@`
1274 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(RPC_NTSVCS_OBJ
)
1276 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NTSVCS_OBJ
) -lc \
1277 @SONAMEFLAG@
`basename $@`
1279 bin
/librpc_wkssvc.@SHLIBEXT@
: $(RPC_WKS_OBJ
)
1281 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_WKS_OBJ
) -lc \
1282 @SONAMEFLAG@
`basename $@`
1284 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(RPC_NETLOG_OBJ
)
1286 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NETLOG_OBJ
) -lc \
1287 @SONAMEFLAG@
`basename $@`
1289 bin
/librpc_winreg.@SHLIBEXT@
: $(RPC_REG_OBJ
)
1291 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_REG_OBJ
) -lc \
1292 @SONAMEFLAG@
`basename $@`
1294 bin
/librpc_initshutdown.@SHLIBEXT@
: $(RPC_INITSHUTDOWN_OBJ
)
1296 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_INITSHUTDOWN_OBJ
) -lc \
1297 @SONAMEFLAG@
`basename $@`
1299 bin
/librpc_lsa_ds.@SHLIBEXT@
: $(RPC_LSA_DS_OBJ
)
1301 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_DS_OBJ
) -lc \
1302 @SONAMEFLAG@
`basename $@`
1304 bin
/librpc_spoolss.@SHLIBEXT@
: $(RPC_SPOOLSS_OBJ
)
1306 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SPOOLSS_OBJ
) -lc \
1307 @SONAMEFLAG@
`basename $@`
1309 bin
/librpc_eventlog.@SHLIBEXT@
: $(RPC_EVENTLOG_OBJ
)
1311 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_EVENTLOG_OBJ
) -lc \
1312 @SONAMEFLAG@
`basename $@`
1314 bin
/librpc_netdfs.@SHLIBEXT@
: $(RPC_DFS_OBJ
)
1316 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_DFS_OBJ
) -lc \
1317 @SONAMEFLAG@
`basename $@`
1319 bin
/librpc_echo.@SHLIBEXT@
: $(RPC_ECHO_OBJ
)
1321 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_ECHO_OBJ
) -lc \
1322 @SONAMEFLAG@
`basename $@`
1324 bin
/winbindd@EXEEXT@
: $(WINBINDD_OBJ
) @BUILD_POPT@ bin
/.dummy
1326 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1327 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
)
1329 @WINBIND_NSS@
: $(WINBIND_NSS_OBJ
)
1331 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1332 @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1334 @WINBIND_WINS_NSS@
: $(WINBIND_WINS_NSS_OBJ
)
1336 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1337 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) \
1338 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1340 bin
/pam_winbind.@SHLIBEXT@
: $(PAM_WINBIND_OBJ
) bin
/.dummy
1341 @echo
"Linking shared library $@"
1342 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) \
1343 @SONAMEFLAG@
`basename $@` -lpam @INIPARSERLIBS@
1345 bin
/builtin.@SHLIBEXT@
: $(AUTH_BUILTIN_OBJ
)
1346 @echo
"Building plugin $@"
1347 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_BUILTIN_OBJ
) @SONAMEFLAG@
`basename $@`
1349 bin
/domain.@SHLIBEXT@
: $(AUTH_DOMAIN_OBJ
)
1350 @echo
"Building plugin $@"
1351 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_DOMAIN_OBJ
) @SONAMEFLAG@
`basename $@`
1353 bin
/script.@SHLIBEXT@
: $(AUTH_SCRIPT_OBJ
)
1354 @echo
"Building plugin $@"
1355 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SCRIPT_OBJ
) @SONAMEFLAG@
`basename $@`
1357 bin
/smbserver.@SHLIBEXT@
: $(AUTH_SERVER_OBJ
)
1358 @echo
"Building plugin $@"
1359 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SERVER_OBJ
) @SONAMEFLAG@
`basename $@`
1361 bin
/winbind.@SHLIBEXT@
: $(AUTH_WINBIND_OBJ
)
1362 @echo
"Building plugin $@"
1363 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_WINBIND_OBJ
) @SONAMEFLAG@
`basename $@`
1365 bin
/unix.@SHLIBEXT@
: $(AUTH_UNIX_OBJ
)
1366 @echo
"Building plugin $@"
1367 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_UNIX_OBJ
) @SONAMEFLAG@
`basename $@`
1369 bin
/sam.@SHLIBEXT@
: $(AUTH_SAM_OBJ
)
1370 @echo
"Building plugin $@"
1371 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SAM_OBJ
) @SONAMEFLAG@
`basename $@`
1373 bin
/ldapsam.@SHLIBEXT@
: passdb
/pdb_ldap.o
1374 @echo
"Building plugin $@"
1375 @
$(SHLD
) $(LDSHFLAGS
) $(LDAP_LIBS
) -o
$@ passdb
/pdb_ldap.o \
1376 @SONAMEFLAG@
`basename $@`
1378 bin
/tdbsam.@SHLIBEXT@
: passdb
/pdb_tdb.o
1379 @echo
"Building plugin $@"
1380 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_tdb.o \
1381 @SONAMEFLAG@
`basename $@`
1383 bin
/smbpasswd.@SHLIBEXT@
: passdb
/pdb_smbpasswd.o
1384 @echo
"Building plugin $@"
1385 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_smbpasswd.o \
1386 @SONAMEFLAG@
`basename $@`
1388 bin
/rid.@SHLIBEXT@
: sam
/idmap_rid.o
1389 @echo
"Building plugin $@"
1390 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ sam
/idmap_rid.o \
1391 @SONAMEFLAG@
`basename $@`
1393 bin
/ad.@SHLIBEXT@
: sam
/idmap_ad.o
1394 @echo
"Building plugin $@"
1395 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ sam
/idmap_ad.o \
1396 @SONAMEFLAG@
`basename $@`
1398 bin
/weird.@SHLIBEXT@
: $(DEVEL_HELP_WEIRD_OBJ
)
1399 @echo
"Building plugin $@"
1400 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(DEVEL_HELP_WEIRD_OBJ
) \
1401 @SONAMEFLAG@
`basename $@`
1403 bin
/CP850.@SHLIBEXT@
: $(CP850_OBJ
)
1404 @echo
"Building plugin $@"
1405 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP850_OBJ
) \
1406 @SONAMEFLAG@
`basename $@`
1408 bin
/CP437.@SHLIBEXT@
: $(CP437_OBJ
)
1409 @echo
"Building plugin $@"
1410 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP437_OBJ
) \
1411 @SONAMEFLAG@
`basename $@`
1413 bin
/macosxfs.@SHLIBEXT@
: $(CHARSET_MACOSXFS_OBJ
)
1414 @echo
"Building plugin $@"
1415 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CHARSET_MACOSXFS_OBJ
) \
1416 -framework CoreFoundation @SONAMEFLAG@
`basename $@`
1418 # NOTE, there is no build rule for a dynamic default VFS module because
1419 # this one MUST MUST MUST be built statically.
1421 bin
/audit.@SHLIBEXT@
: $(VFS_AUDIT_OBJ
)
1422 @echo
"Building plugin $@"
1423 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AUDIT_OBJ
) \
1424 @SONAMEFLAG@
`basename $@`
1426 bin
/extd_audit.@SHLIBEXT@
: $(VFS_EXTD_AUDIT_OBJ
)
1427 @echo
"Building plugin $@"
1428 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXTD_AUDIT_OBJ
) \
1429 @SONAMEFLAG@
`basename $@`
1431 bin
/full_audit.@SHLIBEXT@
: $(VFS_FULL_AUDIT_OBJ
)
1432 @echo
"Building plugin $@"
1433 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FULL_AUDIT_OBJ
) \
1434 @SONAMEFLAG@
`basename $@`
1436 bin
/recycle.@SHLIBEXT@
: $(VFS_RECYCLE_OBJ
)
1437 @echo
"Building plugin $@"
1438 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_RECYCLE_OBJ
) \
1439 @SONAMEFLAG@
`basename $@`
1441 bin
/netatalk.@SHLIBEXT@
: $(VFS_NETATALK_OBJ
)
1442 @echo
"Building plugin $@"
1443 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NETATALK_OBJ
) \
1444 @SONAMEFLAG@
`basename $@`
1446 bin
/fake_perms.@SHLIBEXT@
: $(VFS_FAKE_PERMS_OBJ
)
1447 @echo
"Building plugin $@"
1448 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FAKE_PERMS_OBJ
) \
1449 @SONAMEFLAG@
`basename $@`
1451 bin
/default_quota.@SHLIBEXT@
: $(VFS_DEFAULT_QUOTA_OBJ
)
1452 @echo
"Building plugin $@"
1453 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_DEFAULT_QUOTA_OBJ
) \
1454 @SONAMEFLAG@
`basename $@`
1456 bin
/readonly.@SHLIBEXT@
: $(VFS_READONLY_OBJ
)
1457 @echo
"Building plugin $@"
1458 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READONLY_OBJ
) \
1459 @SONAMEFLAG@
`basename $@`
1461 bin
/shadow_copy.@SHLIBEXT@
: $(VFS_SHADOW_COPY_OBJ
)
1462 @echo
"Building plugin $@"
1463 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SHADOW_COPY_OBJ
) \
1464 @SONAMEFLAG@
`basename $@`
1466 bin
/cap.@SHLIBEXT@
: $(VFS_CAP_OBJ
)
1467 @echo
"Building plugin $@"
1468 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CAP_OBJ
) \
1469 @SONAMEFLAG@
`basename $@`
1471 bin
/expand_msdfs.@SHLIBEXT@
: $(VFS_EXPAND_MSDFS_OBJ
)
1472 @echo
"Building plugin $@"
1473 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXPAND_MSDFS_OBJ
) \
1474 @SONAMEFLAG@
`basename $@`
1476 bin
/afsacl.@SHLIBEXT@
: $(VFS_AFSACL_OBJ
:.o
=.po
)
1477 @echo
"Building plugin $@"
1478 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AFSACL_OBJ
:.o
=.po
) \
1479 @SONAMEFLAG@
`basename $@`
1481 bin
/posixacl.@SHLIBEXT@
: $(VFS_POSIXACL_OBJ
)
1482 @echo
"Building plugin $@"
1483 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_POSIXACL_OBJ
) \
1484 @SONAMEFLAG@
`basename $@`
1486 bin
/aixacl.@SHLIBEXT@
: $(VFS_AIXACL_OBJ
)
1487 @echo
"Building plugin $@"
1488 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL_OBJ
) \
1489 @SONAMEFLAG@
`basename $@`
1491 bin
/aixacl2.@SHLIBEXT@
: $(VFS_AIXACL2_OBJ
)
1492 @echo
"Building plugin $@"
1493 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL2_OBJ
) \
1494 @SONAMEFLAG@
`basename $@`
1496 bin
/solarisacl.@SHLIBEXT@
: $(VFS_SOLARISACL_OBJ
)
1497 @echo
"Building plugin $@"
1498 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SOLARISACL_OBJ
) \
1499 @SONAMEFLAG@
`basename $@`
1501 bin
/irixacl.@SHLIBEXT@
: $(VFS_IRIXACL_OBJ
)
1502 @echo
"Building plugin $@"
1503 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_IRIXACL_OBJ
) \
1504 @SONAMEFLAG@
`basename $@`
1506 bin
/hpuxacl.@SHLIBEXT@
: $(VFS_HPUXACL_OBJ
)
1507 @echo
"Building plugin $@"
1508 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_HPUXACL_OBJ
) \
1509 @SONAMEFLAG@
`basename $@`
1511 bin
/tru64acl.@SHLIBEXT@
: $(VFS_TRU64ACL_OBJ
)
1512 @echo
"Building plugin $@"
1513 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_TRU64ACL_OBJ
) \
1514 @SONAMEFLAG@
`basename $@`
1516 bin
/catia.@SHLIBEXT@
: $(VFS_CATIA_OBJ
)
1517 @echo
"Building plugin $@"
1518 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CATIA_OBJ
) \
1519 @SONAMEFLAG@
`basename $@`
1521 bin
/cacheprime.@SHLIBEXT@
: $(VFS_CACHEPRIME_OBJ
)
1522 @echo
"Building plugin $@"
1523 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CACHEPRIME_OBJ
) \
1524 @SONAMEFLAG@
`basename $@`
1526 bin
/prealloc.@SHLIBEXT@
: $(VFS_PREALLOC_OBJ
)
1527 @echo
"Building plugin $@"
1528 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_PREALLOC_OBJ
) \
1529 @SONAMEFLAG@
`basename $@`
1531 bin
/commit.@SHLIBEXT@
: $(VFS_COMMIT_OBJ
)
1532 @echo
"Building plugin $@"
1533 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_COMMIT_OBJ
) \
1534 @SONAMEFLAG@
`basename $@`
1536 bin
/gpfs.@SHLIBEXT@
: $(VFS_GPFS_OBJ
)
1537 @echo
"Building plugin $@"
1538 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_GPFS_OBJ
) \
1539 @SONAMEFLAG@
`basename $@`
1541 bin
/wbinfo@EXEEXT@
: $(WBINFO_OBJ
) @BUILD_POPT@ bin
/.dummy
1543 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1545 bin
/ntlm_auth@EXEEXT@
: $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1546 @BUILD_POPT@ bin
/.dummy
1548 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1549 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1550 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1552 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_OBJ
)
1553 @echo
"Linking shared library $@"
1554 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1556 bin
/tdbbackup@EXEEXT@
: $(TDBBACKUP_OBJ
) bin
/.dummy
1558 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBBACKUP_OBJ
) @SOCKET_WRAPPER_OBJS@
1560 bin
/tdbtool@EXEEXT@
: $(TDBTOOL_OBJ
) bin
/.dummy
1562 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTOOL_OBJ
) @SOCKET_WRAPPER_OBJS@
1564 bin
/tdbdump@EXEEXT@
: $(TDBDUMP_OBJ
) bin
/.dummy
1566 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBDUMP_OBJ
) @SOCKET_WRAPPER_OBJS@
1568 bin
/t_strcmp@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1569 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1571 bin
/t_strstr@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1572 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1574 bin
/t_strappend@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1575 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1577 bin
/t_stringoverflow@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1578 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1580 bin
/t_doschar@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_doschar.o
1581 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_doschar.o
-L .
/bin
-lbigballofmud
1582 bin
/t_push_ucs2@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_push_ucs2.o
1583 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_push_ucs2.o
-L .
/bin
-lbigballofmud
1585 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1587 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1589 install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
1592 install-everything
: install installmodules
1594 # DESTDIR is used here to prevent packagers wasting their time
1595 # duplicating the Makefile. Remove it and you will have the privelege
1596 # of package each samba release for muliple versions of multiple
1597 # distributions and operating systems, or at least supplying patches
1598 # to all the packaging files required for this, prior to committing
1599 # the removal of DESTDIR. Do not remove it even though you think it
1603 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1605 installservers
: all installdirs
1606 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1608 installbin
: all installdirs
1609 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1611 installcifsmount
: @CIFSMOUNT_PROGS@
1612 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(ROOTSBINDIR
)
1613 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1615 # Some symlinks are required for the 'probing' of modules.
1616 # This mechanism should go at some point..
1617 installmodules
: modules
installdirs
1618 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1619 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1620 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1621 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1622 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1623 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1624 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1625 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1626 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1627 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1628 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1630 installscripts
: installdirs
1631 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1633 installdat
: installdirs
1634 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1636 installmsg
: installdirs
1637 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1639 installswat
: installdirs installmsg
1640 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1642 installclientlib
: installdirs libsmbclient
1643 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1644 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1645 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
1646 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1647 -$(INSTALLCMD
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
1649 installlibmsrpc
: installdirs libmsrpc
1650 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1651 -$(INSTALLLIBCMD_SH
) bin
/libmsrpc.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1652 -$(INSTALLLIBCMD_A
) bin
/libmsrpc.a
$(DESTDIR
)$(LIBDIR
)
1653 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1654 -$(INSTALLCMD
) $(srcdir)/include/libmsrpc.h
$(DESTDIR
)${prefix}/include
1656 installlibsmbsharemodes
: installdirs libsmbsharemodes
1657 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1658 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1659 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
1661 installlibaddns
: installdirs libaddns
1662 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1663 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1664 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
1666 installpammodules
: $(PAM_MODULES
)
1667 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(PAMMODULESDIR
)
1668 @for module in
$(PAM_MODULES
); do \
1669 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1670 $(INSTALLCMD
) -m
$(INSTALLPERMS
) bin
/$${module}.@SHLIBEXT@ \
1671 "$(DESTDIR)/$(PAMMODULESDIR)"; \
1676 PYTHON_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) $(RPC_PARSE_OBJ
) \
1677 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1678 $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1680 python_ext
: $(PYTHON_OBJ
)
1681 @if
test -z
"$(PYTHON)"; then \
1682 echo Use the option
--with-python to configure python
; \
1685 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1686 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
1687 LIBS
="$(LDFLAGS) $(LIBS) $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS)" \
1688 $(PYTHON
) python
/setup.py build
1690 python_install
: $(PYTHON_OBJ
)
1691 @if
test -z
"$(PYTHON)"; then \
1692 echo Use the option
--with-python to configure python
; \
1695 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1696 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS)" \
1697 LIBS
="$(LDFLAGS) $(LIBS)" \
1698 $(PYTHON
) python
/setup.py
install --root
=$(DESTDIR
)
1701 @
-if
test -n
"$(PYTHON)"; then
$(PYTHON
) python
/setup.py
clean; fi
1703 # revert to the previously installed version
1705 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1706 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1708 installman
: installdirs
1709 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
1714 @echo
"Samba will be installed into:"
1715 @echo
" prefix: $(prefix)"
1716 @echo
" bindir: $(BINDIR)"
1717 @echo
" sbindir: $(SBINDIR)"
1718 @echo
" libdir: $(LIBDIR)"
1719 @echo
" vardir: $(VARDIR)"
1720 @echo
" mandir: $(MANDIR)"
1721 @echo
" privatedir: $(PRIVATE_DIR)"
1722 @echo
" configdir: $(CONFIGDIR)"
1723 @echo
" lockdir: $(LOCKDIR)"
1724 @echo
" piddir: $(PIDDIR)"
1725 @echo
" swatdir: $(SWATDIR)"
1728 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
1731 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
1734 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1737 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1740 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1743 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1744 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1745 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1746 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1747 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1748 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1751 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1754 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1757 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1759 uninstallswat
: uninstallmsg
1760 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1763 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
1764 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
1765 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1768 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.@SHLIBEXT@
1769 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.a
1770 -rm -f
$(DESTDIR
)${prefix}/include/libmsrpc.h
1772 uninstalllibsmbsharemodes
:
1773 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
1774 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
1777 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
1778 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
1780 uninstallpammodules
:
1781 @for module in
$(PAM_MODULES
); do \
1782 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1783 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
1786 # Toplevel clean files
1787 TOPFILES
=dynconfig.o
1789 clean: delheaders python_clean
1790 -rm -f core
*/*~
*~
*/*.o
*/*/*.o
*/*/*/*.o \
1791 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
1792 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1793 $(MODULES
) $(TORTURE_PROGS
) $(LIBSMBCLIENT
) \
1794 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBMSRPC
) \
1795 .headers.stamp
*/src
/*.o
1798 # Making this target will just make sure that the prototype files
1799 # exist, not necessarily that they are up to date. Since they're
1800 # removed by "make clean" this will always be run when you do anything
1802 proto_exists
: include/proto.h
include/build_env.h \
1803 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1804 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
1807 @echo Removing prototype headers
1808 @
rm -f
include/proto.h
include/build_env.h \
1809 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1810 client
/client_proto.h utils
/net_proto.h \
1811 smbd
/build_options.c utils
/ntlm_auth_proto.h \
1812 utils
/passwd_proto.h
1814 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
1816 include/proto.h
: smbd
/build_options.c
1817 @echo Building
include/proto.h
1818 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1819 -h _PROTO_H_
$(builddir
)/include/proto.h \
1822 include/build_env.h
: script
/build_env.sh
1823 @echo Building
include/build_env.h
1824 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
1825 > $(builddir
)/include/build_env.h
1827 nsswitch
/winbindd_proto.h
:
1828 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1829 -h _WINBINDD_PROTO_H_
$(builddir
)/nsswitch
/winbindd_proto.h \
1833 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1834 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
1837 client
/client_proto.h
:
1838 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1839 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
1843 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1844 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
1847 utils
/passwd_proto.h
:
1848 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1849 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
1852 utils
/ntlm_auth_proto.h
:
1853 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1854 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
1857 # "make headers" or "make proto" calls a subshell because we need to
1858 # make sure these commands are executed in sequence even for a
1861 $(MAKE
) delheaders
; \
1862 $(MAKE
) smbd
/build_options.c
; \
1863 $(MAKE
) include/proto.h
; \
1864 $(MAKE
) include/build_env.h
; \
1865 $(MAKE
) nsswitch
/winbindd_proto.h
; \
1866 $(MAKE
) web
/swat_proto.h
; \
1867 $(MAKE
) client
/client_proto.h
; \
1868 $(MAKE
) utils
/ntlm_auth_proto.h
; \
1869 $(MAKE
) utils
/net_proto.h
; \
1870 $(MAKE
) utils
/passwd_proto.h
;
1874 .PHONY
: headers proto
1877 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1880 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1882 realclean: clean delheaders
1883 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
1884 -rm -f script
/installbin.sh script
/uninstallbin.sh
1886 distclean: realclean
1887 -rm -f
include/stamp-h
1888 -rm -f
include/config.h Makefile
1889 -rm -f config.status config.cache so_locations
1892 realdistclean
: distclean
1893 -rm -f
include/config.h.in
1894 -rm -f
include/version.h
1897 # this target is really just for my use. It only works on a limited
1898 # range of machines and is used to produce a list of potentially
1899 # dead (ie. unused) functions in the code. (tridge)
1901 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
1902 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
1903 comm
-13 nmused.txt nmfns.txt
1906 # when configure.in is updated, reconfigure
1907 $(srcdir)/configure
: $(srcdir)/configure.in
1908 @echo
"WARNING: you need to rerun ./autogen.sh"
1910 config.status
: $(srcdir)/configure
1911 @echo
"WARNING: you need to run ./configure"
1913 Makefile
: $(srcdir)/Makefile.in config.status
1914 @echo
"WARNING: you need to run ./config.status"
1916 ######################################################################
1917 # Samba Testing Framework
1919 # Check for PAM module problems. Specifically, check that every module we
1920 # built can actually be loaded by a minimal PAM-aware application.
1921 test_pam_modules
: pam_modules
1922 @echo
"Testing $(PAM_MODULES) "
1923 @for module in
$(PAM_MODULES
); do \
1924 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
1929 ## Targets for 'make test'
1931 test: all torture timelimit
1932 @echo Running Test suite
1933 @sh
$(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"
1935 valgrindtest
: all torture timelimit
1936 @echo Running Test suite with valgrind
1937 @NMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1938 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1939 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
1940 $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"