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@
34 TERMLDFLAGS
=@TERMLDFLAGS@
36 PRINT_LIBS
=@PRINT_LIBS@
39 PASSDB_LIBS
=@PASSDB_LIBS@
40 IDMAP_LIBS
=@IDMAP_LIBS@
47 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
48 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
49 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
50 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
54 builddir
=@abs_builddir@
58 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
59 # will search for a POSIX-compliant shell, and that might not be
60 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
62 # See the autoconf manual "Installation Directory Variables" for a
63 # discussion of the subtle use of these variables.
67 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
69 ROOTSBINDIR
= @rootsbindir@
71 PAMMODULESDIR
= @pammodulesdir@
72 VFSLIBDIR
= $(LIBDIR
)/vfs
73 PDBLIBDIR
= $(LIBDIR
)/pdb
74 RPCLIBDIR
= $(LIBDIR
)/rpc
75 IDMAPLIBDIR
= $(LIBDIR
)/idmap
76 CHARSETLIBDIR
= $(LIBDIR
)/charset
77 AUTHLIBDIR
= $(LIBDIR
)/auth
78 CONFIGLIBDIR
= $(LIBDIR
)/config
79 CONFIGDIR
= @configdir@
80 VARDIR
= @localstatedir@
84 # The permissions to give the executables
87 # set these to where to find various files
88 # These can be overridden by command line switches (see smbd(8))
89 # or in smb.conf (see smb.conf(5))
90 LOGFILEBASE
= @logfilebase@
91 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
92 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
94 # This is where smbpasswd et al go
95 PRIVATEDIR
= @privatedir@
97 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
98 PRIVATE_DIR
= $(PRIVATEDIR
)
100 # This is where SWAT images and help files go
103 # the directory where lock files go
106 # the directory where pid files go
109 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
113 LIBMSRPC
=bin
/libmsrpc.a @LIBMSRPC_SHARED@
117 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
118 LIBSMBSHAREMODES_MAJOR
=0
119 LIBSMBSHAREMODES_MINOR
=2
121 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
125 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@ @SMBWRAP_INC@
$(CPPFLAGS
)
129 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
130 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
132 PASSWD_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\"
133 PATH_FLAGS1
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" -DSBINDIR
=\"$(SBINDIR
)\"
134 PATH_FLAGS2
= $(PATH_FLAGS1
) -DBINDIR
=\"$(BINDIR
)\"
135 PATH_FLAGS3
= $(PATH_FLAGS2
) -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\"
136 PATH_FLAGS4
= $(PATH_FLAGS3
) -DSWATDIR
=\"$(SWATDIR
)\" -DLOCKDIR
=\"$(LOCKDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\"
137 PATH_FLAGS5
= $(PATH_FLAGS4
) -DLIBDIR
=\"$(LIBDIR
)\" \
138 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" -DSHLIBEXT
=\"@SHLIBEXT@
\"
139 PATH_FLAGS6
= $(PATH_FLAGS5
) -DCONFIGDIR
=\"$(CONFIGDIR
)\"
140 PATH_FLAGS
= $(PATH_FLAGS6
) $(PASSWD_FLAGS
)
142 # Note that all executable programs now provide for an optional executable suffix.
144 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ bin
/swat@EXEEXT@ @EXTRA_SBIN_PROGS@
146 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
148 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
149 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
150 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
151 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
153 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
154 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
155 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
156 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
157 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
159 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
160 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
161 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
162 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@
164 BIN_PROGS
= $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
) @EXTRA_BIN_PROGS@
166 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
167 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
170 SHLIBS
= @SHLIB_PROGS@ @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBMSRPC@ @LIBADDNS@
172 PAM_MODULES
= @PAM_MODULES@
174 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
176 VFS_MODULES
= @VFS_MODULES@
177 PDB_MODULES
= @PDB_MODULES@
178 RPC_MODULES
= @RPC_MODULES@
179 IDMAP_MODULES
= @IDMAP_MODULES@
180 CHARSET_MODULES
= @CHARSET_MODULES@
181 AUTH_MODULES
= @AUTH_MODULES@
182 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) $(CHARSET_MODULES
) $(AUTH_MODULES
)
184 ######################################################################
186 ######################################################################
188 TDBBASE_OBJ
= tdb
/common
/tdb.o tdb
/common
/dump.o tdb
/common
/error.o \
189 tdb
/common
/freelist.o tdb
/common
/io.o tdb
/common
/lock.o \
190 tdb
/common
/open.o tdb
/common
/transaction.o tdb
/common
/traverse.o
192 TDB_OBJ
= $(TDBBASE_OBJ
) lib
/util_tdb.o tdb
/common
/tdbback.o
194 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
196 VERSION_OBJ
= lib
/version.o
198 DOSERR_OBJ
= libsmb
/doserr.o
200 WBCOMMON_OBJ
= nsswitch
/wb_common.o
204 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
206 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
208 ERRORMAP_OBJ
= libsmb
/errormap.o
210 PASSCHANGE_OBJ
= libsmb
/passchange.o
212 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
214 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
216 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
218 TALLOC_OBJ
= lib
/talloc
/talloc.o
220 LIB_WITHOUT_PROTO_OBJ
= $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) $(TALLOC_OBJ
)
222 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
223 lib
/interface.o lib
/md4.o \
224 lib
/interfaces.o lib
/pidfile.o \
225 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
226 lib
/ufc.o lib
/genrand.o lib
/username.o \
227 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
228 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
229 lib
/xfile.o lib
/wins_srv.o \
230 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
231 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
232 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
233 lib
/substitute.o lib
/fsusage.o \
234 lib
/ms_fnmatch.o lib
/select.o lib
/messages.o \
235 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
236 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
237 nsswitch
/wb_client.o
$(WBCOMMON_OBJ
) \
238 lib
/pam_errors.o intl
/lang_tdb.o \
239 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
240 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
241 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
242 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
244 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
246 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
247 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
249 READLINE_OBJ
= lib
/readline.o
251 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
252 # Be sure to include them into your application
253 POPT_LIB_OBJ
= lib
/popt_common.o
255 PARAM_OBJ
= dynconfig.o param
/loadparm.o param
/params.o lib
/sharesec.o
257 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
259 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
260 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
261 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(TALLOC_OBJ
)
263 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o libads
/sasl.o \
264 libads
/krb5_setpw.o libads
/ldap_user.o \
265 libads
/ads_struct.o libads
/kerberos_keytab.o \
266 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
267 libads
/authdata.o libads
/cldap.o
269 LIBADS_SERVER_OBJ
= libads
/util.o libads
/kerberos_verify.o \
270 libads
/ldap_schema.o sam
/nss_info.o
272 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
274 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
275 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
277 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
278 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
279 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
281 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
282 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
283 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
284 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
285 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
286 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
287 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
288 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
290 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
292 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
293 rpc_client
/cli_netlogon.o rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
294 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
295 rpc_client
/cli_ds.o rpc_client
/cli_svcctl.o \
296 rpc_client
/cli_srvsvc.o rpc_client
/cli_shutdown.o \
297 rpc_client
/cli_dfs.o rpc_client
/cli_echo.o
299 REGOBJS_OBJ
= registry
/reg_objects.o
301 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
302 registry
/reg_db.o registry
/reg_eventlog.o registry
/reg_shares.o \
303 registry
/reg_util.o registry
/reg_dynamic.o registry
/reg_perfcount.o
305 RPC_LSA_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o
307 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o
309 RPC_SAMR_OBJ
= rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o \
310 rpc_server
/srv_samr_util.o
312 REGFIO_OBJ
= registry
/regfio.o
314 RPC_REG_OBJ
= rpc_server
/srv_reg.c rpc_server
/srv_reg_nt.o
$(REGFIO_OBJ
)
316 RPC_LSA_DS_OBJ
= rpc_server
/srv_lsa_ds.o rpc_server
/srv_lsa_ds_nt.o
318 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o
320 RPC_WKS_OBJ
= rpc_server
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
322 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
323 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
324 services
/svc_netlogon.o services
/svc_winreg.o \
327 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o
329 RPC_DFS_OBJ
= rpc_server
/srv_dfs.o rpc_server
/srv_dfs_nt.o
331 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
333 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o rpc_server
/srv_eventlog_lib.o
335 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
336 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
338 RPC_ECHO_OBJ
= rpc_server
/srv_echo.o rpc_server
/srv_echo_nt.o
340 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
342 # this includes only the low level parse code, not stuff
343 # that requires knowledge of security contexts
344 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
346 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o rpc_parse
/parse_net.o \
347 rpc_parse
/parse_rpc.o rpc_parse
/parse_samr.o \
348 rpc_parse
/parse_ds.o rpc_parse
/parse_spoolss.o \
349 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
350 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
$(REGOBJS_OBJ
) \
351 rpc_parse
/parse_srv.o rpc_parse
/parse_dfs.o \
352 rpc_parse
/parse_reg.o rpc_parse
/parse_echo.o \
353 rpc_parse
/parse_wks.o rpc_parse
/parse_shutdown.o
355 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
357 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
359 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
361 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
362 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
363 passdb
/util_unixsids.o passdb
/lookup_sid.o \
364 passdb
/login_cache.o @PDB_STATIC@ \
365 lib
/account_pol.o lib
/privileges.o lib
/util_nscd.o
367 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
368 CP850_OBJ
= modules
/CP850.o
369 CP437_OBJ
= modules
/CP437.o
370 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
372 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_ldb.o
374 PROFILE_OBJ
= profile
/profile.o
375 PROFILES_OBJ
= utils
/profiles.o \
376 $(REGFIO_OBJ
) $(REGOBJS_OBJ
) $(ERRORMAP_OBJ
) \
377 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
378 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
379 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
381 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
383 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_hash.o smbd
/notify_kernel.o smbd
/notify_fam.o
385 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
386 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
387 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
388 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
389 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
390 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
391 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
392 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
393 VFS_CAP_OBJ
= modules
/vfs_cap.o
394 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
395 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
396 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
397 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
398 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
399 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
400 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
401 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
402 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
403 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
404 VFS_CATIA_OBJ
= modules
/vfs_catia.o
405 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o
407 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
409 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
411 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o
413 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
414 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
415 AUTH_SAM_OBJ
= auth
/auth_sam.o
416 AUTH_SERVER_OBJ
= auth
/auth_server.o
417 AUTH_UNIX_OBJ
= auth
/auth_unix.o
418 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
419 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
421 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/auth_compat.o \
422 auth
/auth_ntlmssp.o \
423 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
425 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_map.o smbd
/mangle_hash2.o
427 SMBD_OBJ_MAIN
= smbd
/server.o
429 BUILDOPT_OBJ
= smbd
/build_options.o
431 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
432 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
433 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
434 smbd
/share_access.o smbd
/fileio.o \
435 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
436 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
437 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
438 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
439 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
440 smbd
/vfs.o smbd
/vfs-wrap.o smbd
/statcache.o \
441 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
442 smbd
/process.o smbd
/service.o smbd
/error.o \
443 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
444 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
445 smbd
/change_trust_pw.o smbd
/fake_file.o \
446 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
447 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
448 smbd
/dmapi.o
$(MANGLE_OBJ
) @VFS_STATIC@
450 SMBD_OBJ_BASE
= $(PARAM_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
451 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
452 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
453 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
454 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
455 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
456 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
457 $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
458 $(BUILDOPT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
460 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
461 printing
/print_cups.o printing
/print_generic.o \
462 printing
/lpq_parse.o printing
/load.o \
463 printing
/print_iprint.o
465 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
466 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
468 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
469 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
470 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
471 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
472 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
473 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
474 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
475 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
476 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
477 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
478 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
479 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
480 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
482 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
483 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
485 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
486 web
/swat.o web
/neg_lang.o
488 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
489 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
490 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
491 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
492 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
494 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
495 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
496 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
497 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
500 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
501 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
502 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
503 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
505 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
506 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
507 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
508 rpc_client
/cli_pipe.o rpc_parse
/parse_rpc.o \
509 rpc_client
/cli_netlogon.o rpc_parse
/parse_net.o \
510 rpc_client
/cli_srvsvc.o rpc_parse
/parse_srv.o \
513 TESTPARM_OBJ
= utils
/testparm.o \
514 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
515 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
517 SMBPASSWD_OBJ
= utils
/smbpasswd.o utils
/passwd_util.o
$(PASSCHANGE_OBJ
) \
518 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
519 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
520 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
522 PDBEDIT_OBJ
= utils
/pdbedit.o utils
/passwd_util.o
$(PARAM_OBJ
) $(PASSDB_OBJ
) \
523 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
524 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
525 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) libsmb
/errormap.o
527 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ
)
529 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
530 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
531 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
532 rpcclient
/cmd_dfs.o \
533 rpcclient
/cmd_ds.o rpcclient
/cmd_echo.o \
534 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
537 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
538 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
539 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
540 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
541 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
542 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
544 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
545 @LIBREPLACE_OBJS@ @SOCKET_WRAPPER_OBJS@ @BUILD_INIPARSER@
547 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
548 libsmb
/libsmb_cache.o \
549 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
550 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
551 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
552 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
554 CAC_OBJ
= $(LIBSMBCLIENT_OBJ
) \
555 libmsrpc
/libmsrpc.o libmsrpc
/libmsrpc_internal.o \
556 libmsrpc
/cac_lsarpc.o libmsrpc
/cac_winreg.o libmsrpc
/cac_samr.o \
557 libmsrpc
/cac_svcctl.o
559 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o
$(TDB_BASE_OBJ
)
561 # This shared library is intended for linking with unit test programs
562 # to test Samba internals. It's called libbigballofmud.so to
563 # discourage casual usage.
565 LIBBIGBALLOFMUD_MAJOR
= 0
567 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
568 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
569 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
571 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
572 rpc_parse
/parse_rpc.o rpc_client
/cli_netlogon.o \
573 rpc_parse
/parse_net.o rpc_client
/cli_srvsvc.o rpc_parse
/parse_srv.o
575 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
576 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
577 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
580 TOOL_OBJ
= client
/smbctool.o client
/clitar.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
581 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
582 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
585 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
586 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
587 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
588 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
589 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
590 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
591 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
592 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
595 NET_OBJ
= $(NET_OBJ1
) $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
596 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
597 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
598 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(IDMAP_OBJ
) \
599 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
600 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
601 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
602 $(LDB_OBJ
) $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) lib
/display_sec.o
604 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
605 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
607 MOUNT_OBJ
= client
/smbmount.o \
608 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
610 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) @LIBREPLACE_OBJS@ @SOCKET_WRAPPER_OBJS@
612 UMOUNT_OBJ
= client
/smbumount.o @SOCKET_WRAPPER_OBJS@
614 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
616 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
618 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
619 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
621 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
622 torture
/denytest.o torture
/mangle_test.o
624 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
625 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
627 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
628 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
630 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
631 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
633 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
634 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
636 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
637 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
639 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
640 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
641 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
644 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
646 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
648 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
650 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
651 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
653 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
654 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
655 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) \
656 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
658 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
660 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
661 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
662 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
664 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
666 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
667 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
669 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o registry
/reg_util.o \
672 TALLOCTORT_OBJ
= lib
/talloc
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
673 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
)
675 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o lib
/replace
/test/os2_delete.o \
678 RPCTORTURE_OBJ
= torture
/rpctorture.o \
679 rpcclient
/display.o \
680 rpcclient
/cmd_lsarpc.o \
681 rpcclient
/cmd_wkssvc.o \
682 rpcclient
/cmd_samr.o \
683 rpcclient
/cmd_srvsvc.o \
684 rpcclient
/cmd_netlogon.o \
685 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
686 $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
) $(SECRETS_OBJ
)
688 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
690 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
691 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
693 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
694 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(SWAT_OBJ1
) $(LIBSMB_OBJ
) \
695 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
696 $(LIBMSRPC_OBJ
) @SMBWRAP_OBJS@ \
697 $(LIB_WITH_PROTO_OBJ
) \
698 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
699 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
700 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
701 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
702 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
703 $(AUTH_SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
704 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_LSA_DS_OBJ
) \
705 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
706 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
707 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
708 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) utils
/passwd_util.o
$(LIBGPO_OBJ
)
710 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
711 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
713 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
714 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o \
715 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
716 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
717 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
)
719 IDMAP_OBJ
= sam
/idmap.o sam
/idmap_util.o @IDMAP_STATIC@
722 nsswitch
/winbindd.o \
723 nsswitch
/winbindd_user.o \
724 nsswitch
/winbindd_group.o \
725 nsswitch
/winbindd_util.o \
726 nsswitch
/winbindd_cache.o \
727 nsswitch
/winbindd_pam.o \
728 nsswitch
/winbindd_sid.o \
729 nsswitch
/winbindd_misc.o \
730 nsswitch
/winbindd_cm.o \
731 nsswitch
/winbindd_wins.o \
732 nsswitch
/winbindd_rpc.o \
733 nsswitch
/winbindd_reconnect.o \
734 nsswitch
/winbindd_ads.o \
735 nsswitch
/winbindd_passdb.o \
736 nsswitch
/winbindd_dual.o \
737 nsswitch
/winbindd_async.o \
738 nsswitch
/winbindd_creds.o \
739 nsswitch
/winbindd_cred_cache.o \
740 nsswitch
/winbindd_ccache_access.o
743 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
744 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
745 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
746 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
747 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
748 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) \
749 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
750 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
752 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
753 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
755 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) @LIBREPLACE_OBJS@ @SOCKET_WRAPPER_OBJS@ @WINBIND_NSS_EXTRA_OBJS@
757 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
758 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
759 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
760 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
761 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
763 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
764 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
765 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
767 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
768 lib
/ldb
/modules
/objectclass.o \
769 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
771 # enabled in configure.in
772 LDB_LDAP_OBJ
=@LDBLDAP@
774 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
776 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
777 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
778 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
779 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(IDMAP_OBJ
) \
780 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
781 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
782 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
783 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
786 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
787 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
788 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
789 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
790 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
792 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
793 popt
/popthelp.o popt
/poptparse.o
795 INIPARSER_OBJ
= iniparser
/src
/iniparser.o iniparser
/src
/dictionary.o \
796 iniparser
/src
/strlib.o
798 TDBBACKUP_OBJ
= tdb
/tools
/tdbbackup.o tdb
/common
/tdbback.o @LIBREPLACE_OBJS@ \
801 TDBTOOL_OBJ
= tdb
/tools
/tdbtool.o
$(TDBBASE_OBJ
) @LIBREPLACE_OBJS@
803 TDBDUMP_OBJ
= tdb
/tools
/tdbdump.o
$(TDBBASE_OBJ
) @LIBREPLACE_OBJS@
805 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
807 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
808 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
809 libads
/kerberos_verify.o
$(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) \
810 libads
/authdata.o
$(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
811 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) rpc_parse
/parse_net.o
$(LIBNMB_OBJ
) \
812 $(LDB_OBJ
) libsmb
/errormap.o
814 ######################################################################
816 ######################################################################
817 all : SHOWFLAGS proto_exists
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
818 $(SHLIBS
) $(MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
820 pam_modules
: $(PAM_MODULES
)
822 pam_smbpass
: SHOWFLAGS proto_exists bin
/pam_smbpass.@SHLIBEXT@
824 pam_winbind
: SHOWFLAGS proto_exists bin
/pam_winbind.@SHLIBEXT@
826 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
828 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
830 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
832 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
834 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
836 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
838 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
840 smbctool
: SHOWFLAGS bin
/smbctool@EXEEXT@
842 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
844 rpctorture
: SHOWFLAGS bin
/rpctorture@EXEEXT@
846 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
848 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
850 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
852 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
854 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
856 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
858 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
859 @WINBIND_WINS_NSS@ bin
/pam_winbind.@SHLIBEXT@
861 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
863 modules
: SHOWFLAGS proto_exists
$(MODULES
)
865 cac
: SHOWFLAGS
$(LIBMSRPC
)
868 everything
: all libsmbclient debug2html smbfilter talloctort replacetort modules torture \
875 @echo
"Using FLAGS = $(FLAGS)"
876 @echo
" PICFLAG = $(PICFLAG)"
877 @echo
" LIBS = $(LIBS)"
878 @echo
" LDFLAGS = $(LDFLAGS)"
879 @echo
" DYNEXP = $(DYNEXP)"
880 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
881 @echo
" SHLIBEXT = @SHLIBEXT@"
882 @echo
" SONAMEFLAG = @SONAMEFLAG@"
884 MAKEDIR
= || exec false
; \
885 if
test -d
"$$dir"; then
:; else \
886 echo mkdir
"$$dir"; \
887 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
890 exec false
; fi || exec false
893 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
894 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
895 @if
test -n
"$(CC_CHECKER)"; then \
896 echo
"Checking $*.c with '$(CC_CHECKER)'";\
897 $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
;\
900 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
&& exit
0;\
901 echo
"The following command failed:" 1>&2;\
902 echo
"$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $< -o $@" 1>&2;\
903 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
>/dev
/null
2>&1
904 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
906 # this adds support for precompiled headers. To use it, install a snapshot
907 # of gcc-3.4 and run 'make pch' before you do the main build.
909 rm -f
$(builddir
)/include/includes.h.gch
910 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$(srcdir)/include/includes.h
-o
$(builddir
)/include/includes.h.gch
912 # These dependencies are only approximately correct: we want to make
913 # sure Samba's paths are updated if ./configure is re-run. Really it
914 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
915 # but since we also require "make install prefix=/opt/samba" *not* to
916 # rebuild it's a bit hard.
918 dynconfig.o
: dynconfig.c Makefile
920 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
&& exit
0;\
921 echo
"The following command failed:" 1>&2;\
922 echo
"$(CC) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/dynconfig.c -o $@" 1>&2;\
923 $(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
>/dev
/null
2>&1
925 lib
/pidfile.o
: lib
/pidfile.c
927 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/pidfile.c
-o
$@
929 lib
/version.o
: lib
/version.c
include/version.h
931 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/version.c
-o
$@
933 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
935 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c smbd
/build_options.c
-o
$@
937 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
939 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
942 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
943 dir=bin
$(MAKEDIR
); fi
944 @
: >> $@ ||
: > $@
# what a fancy emoticon!
946 bin
/smbd@EXEEXT@
: $(SMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
948 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
949 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
950 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @SMBD_LIBS@
952 bin
/nmbd@EXEEXT@
: $(NMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
954 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
956 bin
/swat@EXEEXT@
: $(SWAT_OBJ
) @BUILD_POPT@ bin
/.dummy
958 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
959 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
961 bin
/rpcclient@EXEEXT@
: $(RPCCLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
963 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
964 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
965 $(KRB5LIBS
) $(LDAP_LIBS
)
967 bin
/smbclient@EXEEXT@
: $(CLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
969 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
971 bin
/smbctool@EXEEXT@
: $(TOOL_OBJ
) @BUILD_POPT@ bin
/.dummy
973 @
$(CC
) $(FLAGS
) -o
$@
$(TOOL_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) -Lbin
-lsmbclient
975 bin
/net@EXEEXT@
: $(NET_OBJ
) @BUILD_POPT@ @BUILD_INIPARSER@ bin
/.dummy
977 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@
979 bin
/profiles@EXEEXT@
: $(PROFILES_OBJ
) @BUILD_POPT@ bin
/.dummy
981 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
983 bin
/smbspool@EXEEXT@
: $(CUPS_OBJ
) bin
/.dummy
985 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
987 bin
/smbmount@EXEEXT@
: $(MOUNT_OBJ
) bin
/.dummy
989 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
991 bin
/smbmnt@EXEEXT@
: $(MNT_OBJ
) bin
/.dummy
993 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
995 bin
/smbumount@EXEEXT@
: $(UMOUNT_OBJ
) bin
/.dummy
997 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
999 bin
/mount.cifs@EXEEXT@
: $(CIFS_MOUNT_OBJ
) bin
/.dummy
1001 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1003 bin
/umount.cifs@EXEEXT@
: $(CIFS_UMOUNT_OBJ
) bin
/.dummy
1005 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1007 bin
/testparm@EXEEXT@
: $(TESTPARM_OBJ
) @BUILD_POPT@ bin
/.dummy
1009 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1011 bin
/smbstatus@EXEEXT@
: $(STATUS_OBJ
) @BUILD_POPT@ bin
/.dummy
1013 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1016 bin
/smbcontrol@EXEEXT@
: $(SMBCONTROL_OBJ
) @BUILD_POPT@ bin
/.dummy
1018 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1019 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1020 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@
1022 bin
/smbtree@EXEEXT@
: $(SMBTREE_OBJ
) @BUILD_POPT@ bin
/.dummy
1024 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1026 bin
/smbpasswd@EXEEXT@
: $(SMBPASSWD_OBJ
) @BUILD_POPT@ bin
/.dummy
1028 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1029 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1031 bin
/pdbedit@EXEEXT@
: $(PDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1033 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
)
1035 bin
/smbget@EXEEXT@
: $(SMBGET_OBJ
) @BUILD_POPT@ bin
/.dummy
1037 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1039 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1041 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1043 bin
/nmblookup@EXEEXT@
: $(NMBLOOKUP_OBJ
) @BUILD_POPT@ bin
/.dummy
1045 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(LDAP_LIBS
)
1047 bin
/smbtorture@EXEEXT@
: $(SMBTORTURE_OBJ
) bin
/.dummy
1049 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1051 bin
/talloctort@EXEEXT@
: $(TALLOCTORT_OBJ
) bin
/.dummy
1053 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1054 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
)
1056 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) bin
/.dummy
1058 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1061 bin
/masktest@EXEEXT@
: $(MASKTEST_OBJ
) bin
/.dummy
1063 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1065 bin
/msgtest@EXEEXT@
: $(MSGTEST_OBJ
) bin
/.dummy
1067 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1069 bin
/smbcacls@EXEEXT@
: $(SMBCACLS_OBJ
) @BUILD_POPT@ bin
/.dummy
1071 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1072 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1074 bin
/smbcquotas@EXEEXT@
: $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ bin
/.dummy
1076 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1077 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1079 bin
/eventlogadm@EXEEXT@
: $(EVTLOGADM_OBJ
) @BUILD_POPT@ bin
/.dummy
1081 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1083 bin
/locktest@EXEEXT@
: $(LOCKTEST_OBJ
) bin
/.dummy
1085 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1087 bin
/nsstest@EXEEXT@
: $(NSSTEST_OBJ
) bin
/.dummy
1089 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1091 bin
/pdbtest@EXEEXT@
: $(PDBTEST_OBJ
) bin
/.dummy
1093 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@
1095 bin
/vfstest@EXEEXT@
: $(VFSTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1097 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
)
1099 bin
/smbiconv@EXEEXT@
: $(SMBICONV_OBJ
) @BUILD_POPT@ bin
/.dummy
1101 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
1103 bin
/log2pcap@EXEEXT@
: $(LOG2PCAP_OBJ
) @BUILD_POPT@ bin
/.dummy
1105 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1107 bin
/locktest2@EXEEXT@
: $(LOCKTEST2_OBJ
) bin
/.dummy
1109 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1111 bin
/rpctorture@EXEEXT@
: $(RPCTORTURE_OBJ
) bin
/.dummy
1113 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1115 bin
/debug2html@EXEEXT@
: $(DEBUG2HTML_OBJ
) bin
/.dummy
1117 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1119 bin
/smbfilter@EXEEXT@
: $(SMBFILTER_OBJ
) bin
/.dummy
1121 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1124 bin
/ldbedit
: $(LDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1126 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1128 bin
/ldbsearch
: $(LDBSEARCH_OBJ
) @BUILD_POPT@ bin
/.dummy
1130 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1132 bin
/ldbadd
: $(LDBADD_OBJ
) @BUILD_POPT@ bin
/.dummy
1134 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1136 bin
/ldbmodify
: $(LDBMODIFY_OBJ
) @BUILD_POPT@ bin
/.dummy
1138 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1140 bin
/ldbdel
: $(LDBDEL_OBJ
) @BUILD_POPT@ bin
/.dummy
1142 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1144 bin
/libaddns.@SHLIBEXT@
: $(LIBADDNS_OBJ
)
1145 @echo Linking libaddns shared library
$@
1146 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBADDNS_OBJ
) $(LDFLAGS
) $(LIBS
) \
1147 $(KRB5LIBS
) $(UUID_LIBS
)\
1148 @SONAMEFLAG@
`basename $@`.
$(LIBADDNS_MAJOR
)
1150 bin
/libaddns.a
: $(LIBADDNS_OBJ
)
1151 @echo Linking libaddns non-shared library
$@
1152 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1154 bin
/libsmbclient.@SHLIBEXT@
: $(LIBSMBCLIENT_OBJ
)
1155 @echo Linking libsmbclient shared library
$@
1156 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBCLIENT_OBJ
) $(LDFLAGS
) $(LIBS
) \
1157 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1158 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
1160 bin
/libsmbclient.a
: $(LIBSMBCLIENT_OBJ
)
1161 @echo Linking libsmbclient non-shared library
$@
1162 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ
)
1164 bin
/libsmbsharemodes.@SHLIBEXT@
: $(LIBSMBSHAREMODES_OBJ
)
1165 @echo Linking libsmbsharemodes shared library
$@
1166 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBSHAREMODES_OBJ
) $(LDFLAGS
) $(LIBS
) \
1167 $(KRB5LIBS
) $(LDAP_LIBS
) \
1168 @SONAMEFLAG@
`basename $@`.
$(LIBSMBSHAREMODES_MAJOR
)
1170 bin
/libsmbsharemodes.a
: $(LIBSMBSHAREMODES_OBJ
)
1171 @echo Linking libsmbsharemodes non-shared library
$@
1172 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1174 bin
/libmsrpc.@SHLIBEXT@
: $(CAC_OBJ
)
1175 @echo Linking libmsrpc shared library
$@
1176 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CAC_OBJ
) $(LDFLAGS
) $(LIBS
) \
1177 @SONAMEFLAG@
`basename $@`.
$(LIBMSRPC_MAJOR
)
1179 bin
/libmsrpc.a
: $(CAC_OBJ
)
1180 @echo Linking libmsrpc non-shared library
$@
1181 @
-$(AR
) -rc
$@
$(CAC_OBJ
)
1183 # This is probably wrong for anything other than the GNU linker.
1184 bin
/libbigballofmud.@SHLIBEXT@
: $(LIBBIGBALLOFMUD_OBJ
)
1185 @echo Linking bigballofmud shared library
$@
1186 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1187 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1188 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1189 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1191 # It would be nice to build a static bigballofmud too, but when I try
1192 # I get linker errors about dl_open and similar things. I'm not sure if
1193 # it can be fixed or if they just can't be called from a static
1196 libsmbclient
: $(LIBSMBCLIENT
)
1197 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1198 libmsrpc
: $(LIBMSRPC
)
1199 libaddns
: $(LIBADDNS
)
1201 bin
/librpc_lsarpc.@SHLIBEXT@
: $(RPC_LSA_OBJ
)
1203 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_OBJ
) -lc \
1204 @SONAMEFLAG@
`basename $@`
1206 bin
/librpc_samr.@SHLIBEXT@
: $(RPC_SAMR_OBJ
)
1208 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SAMR_OBJ
) -lc \
1209 @SONAMEFLAG@
`basename $@`
1211 bin
/librpc_unixinfo.@SHLIBEXT@
: $(RPC_UNIXINFO_OBJ
)
1213 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_UNIXINFO_OBJ
) -lc \
1214 @SONAMEFLAG@
`basename $@`
1216 bin
/librpc_srvsvc.@SHLIBEXT@
: $(RPC_SVC_OBJ
)
1218 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVC_OBJ
) -lc \
1219 @SONAMEFLAG@
`basename $@`
1221 bin
/librpc_svcctl.@SHLIBEXT@
: $(RPC_SVCCTL_OBJ
)
1223 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVCCTL_OBJ
) -lc \
1224 @SONAMEFLAG@
`basename $@`
1226 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(RPC_NTSVCS_OBJ
)
1228 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NTSVCS_OBJ
) -lc \
1229 @SONAMEFLAG@
`basename $@`
1231 bin
/librpc_wkssvc.@SHLIBEXT@
: $(RPC_WKS_OBJ
)
1233 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_WKS_OBJ
) -lc \
1234 @SONAMEFLAG@
`basename $@`
1236 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(RPC_NETLOG_OBJ
)
1238 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NETLOG_OBJ
) -lc \
1239 @SONAMEFLAG@
`basename $@`
1241 bin
/librpc_reg.@SHLIBEXT@
: $(RPC_REG_OBJ
)
1243 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_REG_OBJ
) -lc \
1244 @SONAMEFLAG@
`basename $@`
1246 bin
/librpc_initshutdown.@SHLIBEXT@
: $(RPC_INITSHUTDOWN_OBJ
)
1248 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_INITSHUTDOWN_OBJ
) -lc \
1249 @SONAMEFLAG@
`basename $@`
1251 bin
/librpc_lsa_ds.@SHLIBEXT@
: $(RPC_LSA_DS_OBJ
)
1253 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_DS_OBJ
) -lc \
1254 @SONAMEFLAG@
`basename $@`
1256 bin
/librpc_spoolss.@SHLIBEXT@
: $(RPC_SPOOLSS_OBJ
)
1258 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SPOOLSS_OBJ
) -lc \
1259 @SONAMEFLAG@
`basename $@`
1261 bin
/librpc_eventlog.@SHLIBEXT@
: $(RPC_EVENTLOG_OBJ
)
1263 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_EVENTLOG_OBJ
) -lc \
1264 @SONAMEFLAG@
`basename $@`
1266 bin
/librpc_netdfs.@SHLIBEXT@
: $(RPC_DFS_OBJ
)
1268 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_DFS_OBJ
) -lc \
1269 @SONAMEFLAG@
`basename $@`
1271 bin
/librpc_echo.@SHLIBEXT@
: $(RPC_ECHO_OBJ
)
1273 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_ECHO_OBJ
) -lc \
1274 @SONAMEFLAG@
`basename $@`
1276 bin
/winbindd@EXEEXT@
: $(WINBINDD_OBJ
) @BUILD_POPT@ bin
/.dummy
1278 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1279 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
)
1281 @WINBIND_NSS@
: $(WINBIND_NSS_OBJ
)
1283 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1284 @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1286 @WINBIND_WINS_NSS@
: $(WINBIND_WINS_NSS_OBJ
)
1288 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1289 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) \
1290 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1292 bin
/pam_winbind.@SHLIBEXT@
: $(PAM_WINBIND_OBJ
) bin
/.dummy
1293 @echo
"Linking shared library $@"
1294 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) \
1295 @SONAMEFLAG@
`basename $@` -lpam @INIPARSERLIBS@
1297 bin
/builtin.@SHLIBEXT@
: $(AUTH_BUILTIN_OBJ
)
1298 @echo
"Building plugin $@"
1299 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_BUILTIN_OBJ
) @SONAMEFLAG@
`basename $@`
1301 bin
/domain.@SHLIBEXT@
: $(AUTH_DOMAIN_OBJ
)
1302 @echo
"Building plugin $@"
1303 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_DOMAIN_OBJ
) @SONAMEFLAG@
`basename $@`
1305 bin
/script.@SHLIBEXT@
: $(AUTH_SCRIPT_OBJ
)
1306 @echo
"Building plugin $@"
1307 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SCRIPT_OBJ
) @SONAMEFLAG@
`basename $@`
1309 bin
/smbserver.@SHLIBEXT@
: $(AUTH_SERVER_OBJ
)
1310 @echo
"Building plugin $@"
1311 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SERVER_OBJ
) @SONAMEFLAG@
`basename $@`
1313 bin
/winbind.@SHLIBEXT@
: $(AUTH_WINBIND_OBJ
)
1314 @echo
"Building plugin $@"
1315 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_WINBIND_OBJ
) @SONAMEFLAG@
`basename $@`
1317 bin
/unix.@SHLIBEXT@
: $(AUTH_UNIX_OBJ
)
1318 @echo
"Building plugin $@"
1319 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_UNIX_OBJ
) @SONAMEFLAG@
`basename $@`
1321 bin
/sam.@SHLIBEXT@
: $(AUTH_SAM_OBJ
)
1322 @echo
"Building plugin $@"
1323 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SAM_OBJ
) @SONAMEFLAG@
`basename $@`
1325 bin
/ldapsam.@SHLIBEXT@
: passdb
/pdb_ldap.o
1326 @echo
"Building plugin $@"
1327 @
$(SHLD
) $(LDSHFLAGS
) $(LDAP_LIBS
) -o
$@ passdb
/pdb_ldap.o \
1328 @SONAMEFLAG@
`basename $@`
1330 bin
/tdbsam.@SHLIBEXT@
: passdb
/pdb_tdb.o
1331 @echo
"Building plugin $@"
1332 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_tdb.o \
1333 @SONAMEFLAG@
`basename $@`
1335 bin
/smbpasswd.@SHLIBEXT@
: passdb
/pdb_smbpasswd.o
1336 @echo
"Building plugin $@"
1337 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_smbpasswd.o \
1338 @SONAMEFLAG@
`basename $@`
1340 bin
/rid.@SHLIBEXT@
: sam
/idmap_rid.o
1341 @echo
"Building plugin $@"
1342 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ sam
/idmap_rid.o \
1343 @SONAMEFLAG@
`basename $@`
1345 bin
/ad.@SHLIBEXT@
: sam
/idmap_ad.o
1346 @echo
"Building plugin $@"
1347 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ sam
/idmap_ad.o \
1348 @SONAMEFLAG@
`basename $@`
1350 bin
/weird.@SHLIBEXT@
: $(DEVEL_HELP_WEIRD_OBJ
)
1351 @echo
"Building plugin $@"
1352 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(DEVEL_HELP_WEIRD_OBJ
) \
1353 @SONAMEFLAG@
`basename $@`
1355 bin
/CP850.@SHLIBEXT@
: $(CP850_OBJ
)
1356 @echo
"Building plugin $@"
1357 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP850_OBJ
) \
1358 @SONAMEFLAG@
`basename $@`
1360 bin
/CP437.@SHLIBEXT@
: $(CP437_OBJ
)
1361 @echo
"Building plugin $@"
1362 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP437_OBJ
) \
1363 @SONAMEFLAG@
`basename $@`
1365 bin
/macosxfs.@SHLIBEXT@
: $(CHARSET_MACOSXFS_OBJ
)
1366 @echo
"Building plugin $@"
1367 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CHARSET_MACOSXFS_OBJ
) \
1368 -framework CoreFoundation @SONAMEFLAG@
`basename $@`
1370 # NOTE, there is no build rule for a dynamic default VFS module because
1371 # this one MUST MUST MUST be built statically.
1373 bin
/audit.@SHLIBEXT@
: $(VFS_AUDIT_OBJ
)
1374 @echo
"Building plugin $@"
1375 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AUDIT_OBJ
) \
1376 @SONAMEFLAG@
`basename $@`
1378 bin
/extd_audit.@SHLIBEXT@
: $(VFS_EXTD_AUDIT_OBJ
)
1379 @echo
"Building plugin $@"
1380 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXTD_AUDIT_OBJ
) \
1381 @SONAMEFLAG@
`basename $@`
1383 bin
/full_audit.@SHLIBEXT@
: $(VFS_FULL_AUDIT_OBJ
)
1384 @echo
"Building plugin $@"
1385 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FULL_AUDIT_OBJ
) \
1386 @SONAMEFLAG@
`basename $@`
1388 bin
/recycle.@SHLIBEXT@
: $(VFS_RECYCLE_OBJ
)
1389 @echo
"Building plugin $@"
1390 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_RECYCLE_OBJ
) \
1391 @SONAMEFLAG@
`basename $@`
1393 bin
/netatalk.@SHLIBEXT@
: $(VFS_NETATALK_OBJ
)
1394 @echo
"Building plugin $@"
1395 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NETATALK_OBJ
) \
1396 @SONAMEFLAG@
`basename $@`
1398 bin
/fake_perms.@SHLIBEXT@
: $(VFS_FAKE_PERMS_OBJ
)
1399 @echo
"Building plugin $@"
1400 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FAKE_PERMS_OBJ
) \
1401 @SONAMEFLAG@
`basename $@`
1403 bin
/default_quota.@SHLIBEXT@
: $(VFS_DEFAULT_QUOTA_OBJ
)
1404 @echo
"Building plugin $@"
1405 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_DEFAULT_QUOTA_OBJ
) \
1406 @SONAMEFLAG@
`basename $@`
1408 bin
/readonly.@SHLIBEXT@
: $(VFS_READONLY_OBJ
)
1409 @echo
"Building plugin $@"
1410 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READONLY_OBJ
) \
1411 @SONAMEFLAG@
`basename $@`
1413 bin
/shadow_copy.@SHLIBEXT@
: $(VFS_SHADOW_COPY_OBJ
)
1414 @echo
"Building plugin $@"
1415 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SHADOW_COPY_OBJ
) \
1416 @SONAMEFLAG@
`basename $@`
1418 bin
/cap.@SHLIBEXT@
: $(VFS_CAP_OBJ
)
1419 @echo
"Building plugin $@"
1420 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CAP_OBJ
) \
1421 @SONAMEFLAG@
`basename $@`
1423 bin
/expand_msdfs.@SHLIBEXT@
: $(VFS_EXPAND_MSDFS_OBJ
)
1424 @echo
"Building plugin $@"
1425 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXPAND_MSDFS_OBJ
) \
1426 @SONAMEFLAG@
`basename $@`
1428 bin
/afsacl.@SHLIBEXT@
: $(VFS_AFSACL_OBJ
:.o
=.po
)
1429 @echo
"Building plugin $@"
1430 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AFSACL_OBJ
:.o
=.po
) \
1431 @SONAMEFLAG@
`basename $@`
1433 bin
/posixacl.@SHLIBEXT@
: $(VFS_POSIXACL_OBJ
)
1434 @echo
"Building plugin $@"
1435 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_POSIXACL_OBJ
) \
1436 @SONAMEFLAG@
`basename $@`
1438 bin
/aixacl.@SHLIBEXT@
: $(VFS_AIXACL_OBJ
)
1439 @echo
"Building plugin $@"
1440 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL_OBJ
) \
1441 @SONAMEFLAG@
`basename $@`
1443 bin
/aixacl2.@SHLIBEXT@
: $(VFS_AIXACL2_OBJ
)
1444 @echo
"Building plugin $@"
1445 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL2_OBJ
) \
1446 @SONAMEFLAG@
`basename $@`
1448 bin
/solarisacl.@SHLIBEXT@
: $(VFS_SOLARISACL_OBJ
)
1449 @echo
"Building plugin $@"
1450 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SOLARISACL_OBJ
) \
1451 @SONAMEFLAG@
`basename $@`
1453 bin
/irixacl.@SHLIBEXT@
: $(VFS_IRIXACL_OBJ
)
1454 @echo
"Building plugin $@"
1455 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_IRIXACL_OBJ
) \
1456 @SONAMEFLAG@
`basename $@`
1458 bin
/hpuxacl.@SHLIBEXT@
: $(VFS_HPUXACL_OBJ
)
1459 @echo
"Building plugin $@"
1460 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_HPUXACL_OBJ
) \
1461 @SONAMEFLAG@
`basename $@`
1463 bin
/tru64acl.@SHLIBEXT@
: $(VFS_TRU64ACL_OBJ
)
1464 @echo
"Building plugin $@"
1465 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_TRU64ACL_OBJ
) \
1466 @SONAMEFLAG@
`basename $@`
1468 bin
/catia.@SHLIBEXT@
: $(VFS_CATIA_OBJ
)
1469 @echo
"Building plugin $@"
1470 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CATIA_OBJ
) \
1471 @SONAMEFLAG@
`basename $@`
1473 bin
/cacheprime.@SHLIBEXT@
: $(VFS_CACHEPRIME_OBJ
)
1474 @echo
"Building plugin $@"
1475 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CACHEPRIME_OBJ
) \
1476 @SONAMEFLAG@
`basename $@`
1478 bin
/prealloc.@SHLIBEXT@
: $(VFS_PREALLOC_OBJ
)
1479 @echo
"Building plugin $@"
1480 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_PREALLOC_OBJ
) \
1481 @SONAMEFLAG@
`basename $@`
1483 bin
/commit.@SHLIBEXT@
: $(VFS_COMMIT_OBJ
)
1484 @echo
"Building plugin $@"
1485 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_COMMIT_OBJ
) \
1486 @SONAMEFLAG@
`basename $@`
1488 bin
/gpfs.@SHLIBEXT@
: $(VFS_GPFS_OBJ
)
1489 @echo
"Building plugin $@"
1490 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_GPFS_OBJ
) \
1491 @SONAMEFLAG@
`basename $@`
1493 bin
/wbinfo@EXEEXT@
: $(WBINFO_OBJ
) @BUILD_POPT@ bin
/.dummy
1495 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1497 bin
/ntlm_auth@EXEEXT@
: $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1498 @BUILD_POPT@ bin
/.dummy
1500 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1501 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1502 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1504 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_OBJ
)
1505 @echo
"Linking shared library $@"
1506 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1508 bin
/tdbbackup@EXEEXT@
: $(TDBBACKUP_OBJ
) bin
/.dummy
1510 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBBACKUP_OBJ
) @SOCKET_WRAPPER_OBJS@
1512 bin
/tdbtool@EXEEXT@
: $(TDBTOOL_OBJ
) bin
/.dummy
1514 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTOOL_OBJ
) @SOCKET_WRAPPER_OBJS@
1516 bin
/tdbdump@EXEEXT@
: $(TDBDUMP_OBJ
) bin
/.dummy
1518 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBDUMP_OBJ
) @SOCKET_WRAPPER_OBJS@
1520 bin
/t_strcmp@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1521 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1523 bin
/t_strstr@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1524 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1526 bin
/t_strappend@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1527 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1529 bin
/t_stringoverflow@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1530 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1532 bin
/t_doschar@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_doschar.o
1533 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_doschar.o
-L .
/bin
-lbigballofmud
1534 bin
/t_push_ucs2@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_push_ucs2.o
1535 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_push_ucs2.o
-L .
/bin
-lbigballofmud
1537 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1539 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1541 install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
1544 install-everything
: install installmodules
1546 # DESTDIR is used here to prevent packagers wasting their time
1547 # duplicating the Makefile. Remove it and you will have the privelege
1548 # of package each samba release for muliple versions of multiple
1549 # distributions and operating systems, or at least supplying patches
1550 # to all the packaging files required for this, prior to committing
1551 # the removal of DESTDIR. Do not remove it even though you think it
1555 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1557 installservers
: all installdirs
1558 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1560 installbin
: all installdirs
1561 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1563 installcifsmount
: @CIFSMOUNT_PROGS@
1564 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(ROOTSBINDIR
)
1565 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1567 # Some symlinks are required for the 'probing' of modules.
1568 # This mechanism should go at some point..
1569 installmodules
: modules
installdirs
1570 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1571 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1572 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1573 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1574 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1575 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1576 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1577 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1578 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1579 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1580 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1582 installscripts
: installdirs
1583 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1585 installdat
: installdirs
1586 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1588 installmsg
: installdirs
1589 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1591 installswat
: installdirs installmsg
1592 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1594 installclientlib
: installdirs libsmbclient
1595 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1596 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1597 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
1598 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1599 -$(INSTALLCMD
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
1601 installlibmsrpc
: installdirs libmsrpc
1602 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1603 -$(INSTALLLIBCMD_SH
) bin
/libmsrpc.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1604 -$(INSTALLLIBCMD_A
) bin
/libmsrpc.a
$(DESTDIR
)$(LIBDIR
)
1605 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1606 -$(INSTALLCMD
) $(srcdir)/include/libmsrpc.h
$(DESTDIR
)${prefix}/include
1608 installlibsmbsharemodes
: installdirs libsmbsharemodes
1609 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1610 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1611 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
1613 installlibaddns
: installdirs libaddns
1614 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1615 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1616 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
1618 installpammodules
: $(PAM_MODULES
)
1619 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(PAMMODULESDIR
)
1620 @for module in
$(PAM_MODULES
); do \
1621 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1622 $(INSTALLCMD
) -m
$(INSTALLPERMS
) bin
/$${module}.@SHLIBEXT@ \
1623 "$(DESTDIR)/$(PAMMODULESDIR)"; \
1628 PYTHON_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) $(RPC_PARSE_OBJ
) \
1629 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1630 $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1632 python_ext
: $(PYTHON_OBJ
)
1633 @if
test -z
"$(PYTHON)"; then \
1634 echo Use the option
--with-python to configure python
; \
1637 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1638 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
1639 LIBS
="$(LDFLAGS) $(LIBS) $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS)" \
1640 $(PYTHON
) python
/setup.py build
1642 python_install
: $(PYTHON_OBJ
)
1643 @if
test -z
"$(PYTHON)"; then \
1644 echo Use the option
--with-python to configure python
; \
1647 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1648 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS)" \
1649 LIBS
="$(LDFLAGS) $(LIBS)" \
1650 $(PYTHON
) python
/setup.py
install --root
=$(DESTDIR
)
1653 @
-if
test -n
"$(PYTHON)"; then
$(PYTHON
) python
/setup.py
clean; fi
1655 # revert to the previously installed version
1657 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1658 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1660 installman
: installdirs
1661 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
1666 @echo
"Samba will be installed into:"
1667 @echo
" prefix: $(prefix)"
1668 @echo
" bindir: $(BINDIR)"
1669 @echo
" sbindir: $(SBINDIR)"
1670 @echo
" libdir: $(LIBDIR)"
1671 @echo
" vardir: $(VARDIR)"
1672 @echo
" mandir: $(MANDIR)"
1673 @echo
" privatedir: $(PRIVATE_DIR)"
1674 @echo
" configdir: $(CONFIGDIR)"
1675 @echo
" lockdir: $(LOCKDIR)"
1676 @echo
" piddir: $(PIDDIR)"
1677 @echo
" swatdir: $(SWATDIR)"
1680 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
1683 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
1686 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1689 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1692 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1695 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1696 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1697 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1698 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1699 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1700 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1703 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1706 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1709 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1711 uninstallswat
: uninstallmsg
1712 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1715 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
1716 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
1717 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1720 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.@SHLIBEXT@
1721 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.a
1722 -rm -f
$(DESTDIR
)${prefix}/include/libmsrpc.h
1724 uninstalllibsmbsharemodes
:
1725 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
1726 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
1729 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
1730 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
1732 uninstallpammodules
:
1733 @for module in
$(PAM_MODULES
); do \
1734 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1735 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
1738 # Toplevel clean files
1739 TOPFILES
=dynconfig.o
1741 clean: delheaders python_clean
1742 -rm -f core
*/*~
*~
*/*.o
*/*/*.o
*/*/*/*.o \
1743 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
1744 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1745 $(MODULES
) $(TORTURE_PROGS
) $(LIBSMBCLIENT
) \
1746 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBMSRPC
) \
1747 .headers.stamp
*/src
/*.o
1750 # Making this target will just make sure that the prototype files
1751 # exist, not necessarily that they are up to date. Since they're
1752 # removed by "make clean" this will always be run when you do anything
1754 proto_exists
: include/proto.h
include/build_env.h \
1755 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1756 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
1759 @echo Removing prototype headers
1760 @
rm -f
include/proto.h
include/build_env.h \
1761 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1762 client
/client_proto.h utils
/net_proto.h \
1763 smbd
/build_options.c utils
/ntlm_auth_proto.h \
1764 utils
/passwd_proto.h
1766 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
1768 include/proto.h
: smbd
/build_options.c
1769 @echo Building
include/proto.h
1770 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1771 -h _PROTO_H_
$(builddir
)/include/proto.h \
1774 include/build_env.h
: script
/build_env.sh
1775 @echo Building
include/build_env.h
1776 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
1777 > $(builddir
)/include/build_env.h
1779 nsswitch
/winbindd_proto.h
:
1780 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1781 -h _WINBINDD_PROTO_H_
$(builddir
)/nsswitch
/winbindd_proto.h \
1785 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1786 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
1789 client
/client_proto.h
:
1790 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1791 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
1795 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1796 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
1799 utils
/passwd_proto.h
:
1800 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1801 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
1804 utils
/ntlm_auth_proto.h
:
1805 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1806 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
1809 # "make headers" or "make proto" calls a subshell because we need to
1810 # make sure these commands are executed in sequence even for a
1813 $(MAKE
) delheaders
; \
1814 $(MAKE
) smbd
/build_options.c
; \
1815 $(MAKE
) include/proto.h
; \
1816 $(MAKE
) include/build_env.h
; \
1817 $(MAKE
) nsswitch
/winbindd_proto.h
; \
1818 $(MAKE
) web
/swat_proto.h
; \
1819 $(MAKE
) client
/client_proto.h
; \
1820 $(MAKE
) utils
/ntlm_auth_proto.h
; \
1821 $(MAKE
) utils
/net_proto.h
; \
1822 $(MAKE
) utils
/passwd_proto.h
;
1826 .PHONY
: headers proto
1829 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1832 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1834 realclean: clean delheaders
1835 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
1836 -rm -f script
/installbin.sh script
/uninstallbin.sh
1838 distclean: realclean
1839 -rm -f
include/stamp-h
1840 -rm -f
include/config.h Makefile
1841 -rm -f config.status config.cache so_locations
1844 realdistclean
: distclean
1845 -rm -f
include/config.h.in
1846 -rm -f
include/version.h
1849 # this target is really just for my use. It only works on a limited
1850 # range of machines and is used to produce a list of potentially
1851 # dead (ie. unused) functions in the code. (tridge)
1853 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
1854 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
1855 comm
-13 nmused.txt nmfns.txt
1858 # when configure.in is updated, reconfigure
1859 $(srcdir)/configure
: $(srcdir)/configure.in
1860 @echo
"WARNING: you need to rerun ./autogen.sh"
1862 config.status
: $(srcdir)/configure
1863 @echo
"WARNING: you need to run ./configure"
1865 Makefile
: $(srcdir)/Makefile.in config.status
1866 @echo
"WARNING: you need to run ./config.status"
1868 ######################################################################
1869 # Samba Testing Framework
1871 # Check for PAM module problems. Specifically, check that every module we
1872 # built can actually be loaded by a minimal PAM-aware application.
1873 test_pam_modules
: pam_modules
1874 @echo
"Testing $(PAM_MODULES) "
1875 @for module in
$(PAM_MODULES
); do \
1876 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
1881 ## Targets for 'make test'
1883 test: all torture timelimit
1884 @echo Running Test suite
1885 @sh
$(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"
1887 valgrindtest
: all torture timelimit
1888 @echo Running Test suite with valgrind
1889 @NMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1890 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1891 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
1892 $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"