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@
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@ @SMBMOUNT_PROGS@
168 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
169 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
170 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@
172 SHLIBS
= @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 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
185 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
186 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
188 ######################################################################
190 ######################################################################
192 TDBBASE_OBJ
= tdb
/common
/tdb.o tdb
/common
/dump.o tdb
/common
/error.o \
193 tdb
/common
/freelist.o tdb
/common
/freelistcheck.o tdb
/common
/io.o tdb
/common
/lock.o \
194 tdb
/common
/open.o tdb
/common
/transaction.o tdb
/common
/traverse.o
196 TDB_OBJ
= $(TDBBASE_OBJ
) lib
/util_tdb.o tdb
/common
/tdbback.o
198 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
200 VERSION_OBJ
= lib
/version.o
202 DOSERR_OBJ
= libsmb
/doserr.o
204 WBCOMMON_OBJ
= nsswitch
/wb_common.o
208 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
210 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
212 ERRORMAP_OBJ
= libsmb
/errormap.o
214 PASSCHANGE_OBJ
= libsmb
/passchange.o
216 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o librpc
/ndr
/ndr.o librpc
/ndr
/ndr_misc.o \
217 librpc
/ndr
/ndr_sec_helper.o librpc
/ndr
/ndr_string.o librpc
/ndr
/sid.o \
220 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_unixinfo.o librpc
/gen_ndr
/ndr_lsa.o \
221 librpc
/gen_ndr
/ndr_dfs.o librpc
/gen_ndr
/ndr_echo.o \
222 librpc
/gen_ndr
/ndr_winreg.o librpc
/gen_ndr
/ndr_initshutdown.o \
223 librpc
/gen_ndr
/ndr_srvsvc.o librpc
/gen_ndr
/ndr_svcctl.o \
224 librpc
/gen_ndr
/ndr_eventlog.o librpc
/gen_ndr
/ndr_wkssvc.o
226 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
228 # this includes only the low level parse code, not stuff
229 # that requires knowledge of security contexts
230 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
232 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o rpc_parse
/parse_net.o
234 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
236 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
238 TALLOC_OBJ
= lib
/talloc
/talloc.o
240 LIB_WITHOUT_PROTO_OBJ
= $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) $(TALLOC_OBJ
)
242 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
243 lib
/interface.o lib
/md4.o \
244 lib
/interfaces.o lib
/pidfile.o \
245 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
246 lib
/ufc.o lib
/genrand.o lib
/username.o \
247 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
248 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
249 lib
/xfile.o lib
/wins_srv.o lib
/util_reg.o \
250 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
251 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
252 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
253 lib
/substitute.o lib
/fsusage.o \
254 lib
/ms_fnmatch.o lib
/select.o lib
/messages.o \
255 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
256 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
257 nsswitch
/wb_client.o
$(WBCOMMON_OBJ
) \
258 lib
/pam_errors.o intl
/lang_tdb.o \
259 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
260 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
261 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
262 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
264 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
266 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
267 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
269 READLINE_OBJ
= lib
/readline.o
271 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
272 # Be sure to include them into your application
273 POPT_LIB_OBJ
= lib
/popt_common.o
275 PARAM_OBJ
= dynconfig.o param
/loadparm.o param
/params.o lib
/sharesec.o
277 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
279 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
280 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
281 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(TALLOC_OBJ
)
283 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_parse.o libgpo
/gpo_util.o \
284 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o
285 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
287 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o libads
/sasl.o \
288 libads
/krb5_setpw.o libads
/ldap_user.o \
289 libads
/ads_struct.o libads
/kerberos_keytab.o \
290 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
291 libads
/authdata.o libads
/cldap.o
293 LIBADS_SERVER_OBJ
= libads
/util.o libads
/kerberos_verify.o \
296 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
298 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
299 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
301 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
302 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
303 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
305 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
306 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
307 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
308 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
309 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
310 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
311 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
312 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
314 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
316 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
318 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
319 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
320 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
321 rpc_client
/cli_ds.o rpc_client
/cli_svcctl.o
323 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_unixinfo.o librpc
/gen_ndr
/cli_lsa.o \
324 librpc
/gen_ndr
/cli_dfs.o librpc
/gen_ndr
/cli_echo.o \
325 librpc
/gen_ndr
/cli_srvsvc.o \
326 librpc
/gen_ndr
/cli_winreg.o librpc
/gen_ndr
/cli_initshutdown.o \
327 librpc
/gen_ndr
/cli_eventlog.o \
328 $(LIBNDR_GEN_OBJ
) $(LIBNDR_OBJ
)
330 REGOBJS_OBJ
= registry
/reg_objects.o
332 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
333 registry
/reg_db.o registry
/reg_eventlog.o registry
/reg_shares.o \
334 registry
/reg_util.o registry
/reg_dynamic.o registry
/reg_perfcount.o \
335 registry
/reg_smbconf.o registry
/reg_api.o
337 RPC_LSA_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
339 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o
341 RPC_SAMR_OBJ
= rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o \
342 rpc_server
/srv_samr_util.o
344 RPC_UNIXINFO_OBJ
= librpc
/gen_ndr
/srv_unixinfo.o rpc_server
/srv_unixinfo_nt.o
345 REGFIO_OBJ
= registry
/regfio.o
347 RPC_REG_OBJ
= librpc
/gen_ndr
/srv_winreg.o rpc_server
/srv_winreg_nt.o
$(REGFIO_OBJ
)
348 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
350 RPC_LSA_DS_OBJ
= rpc_server
/srv_lsa_ds.o rpc_server
/srv_lsa_ds_nt.o
352 RPC_SVC_OBJ
= librpc
/gen_ndr
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o
354 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
356 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
357 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
358 services
/svc_netlogon.o services
/svc_winreg.o \
361 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o
363 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
365 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
367 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o rpc_server
/srv_eventlog_lib.o
369 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
370 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
372 RPC_ECHO_OBJ
= librpc
/gen_ndr
/srv_echo.o rpc_server
/srv_echo_nt.o
374 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
376 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o
$(RPC_PARSE_OBJ2
) \
377 rpc_parse
/parse_samr.o \
378 rpc_parse
/parse_ds.o rpc_parse
/parse_spoolss.o \
379 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
380 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
$(REGOBJS_OBJ
)
382 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
384 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
386 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
388 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
389 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
390 passdb
/util_unixsids.o passdb
/lookup_sid.o \
391 passdb
/login_cache.o @PDB_STATIC@ \
392 lib
/account_pol.o lib
/privileges.o lib
/util_nscd.o
394 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
395 CP850_OBJ
= modules
/CP850.o
396 CP437_OBJ
= modules
/CP437.o
397 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
399 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_ldb.o
401 PROFILE_OBJ
= profile
/profile.o
402 PROFILES_OBJ
= utils
/profiles.o \
403 $(REGFIO_OBJ
) $(REGOBJS_OBJ
) $(ERRORMAP_OBJ
) \
404 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
405 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
406 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
408 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
410 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_hash.o smbd
/notify_kernel.o \
411 smbd
/notify_fam.o smbd
/notify_inotify.o
413 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
414 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
415 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
416 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
417 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
418 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
419 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
420 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
421 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
422 VFS_CAP_OBJ
= modules
/vfs_cap.o
423 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
424 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
425 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
426 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
427 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
428 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
429 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
430 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
431 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
432 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
433 VFS_CATIA_OBJ
= modules
/vfs_catia.o
434 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
435 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
436 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
437 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
439 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
441 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
443 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o
445 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
446 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
447 AUTH_SAM_OBJ
= auth
/auth_sam.o
448 AUTH_SERVER_OBJ
= auth
/auth_server.o
449 AUTH_UNIX_OBJ
= auth
/auth_unix.o
450 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
451 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
453 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/auth_compat.o \
454 auth
/auth_ntlmssp.o \
455 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
457 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_map.o smbd
/mangle_hash2.o
459 SMBD_OBJ_MAIN
= smbd
/server.o
461 BUILDOPT_OBJ
= smbd
/build_options.o
463 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
464 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
465 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
466 smbd
/share_access.o smbd
/fileio.o \
467 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
468 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
469 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
470 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
471 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
472 smbd
/vfs.o smbd
/statcache.o \
473 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
474 smbd
/process.o smbd
/service.o smbd
/error.o \
475 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
476 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
477 smbd
/change_trust_pw.o smbd
/fake_file.o \
478 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
479 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
480 smbd
/dmapi.o
$(MANGLE_OBJ
) @VFS_STATIC@
482 SMBD_OBJ_BASE
= $(PARAM_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
483 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
484 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
485 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
486 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
487 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
488 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
489 $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
490 $(BUILDOPT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
492 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
493 printing
/print_cups.o printing
/print_generic.o \
494 printing
/lpq_parse.o printing
/load.o \
495 printing
/print_iprint.o printing
/print_test.o
497 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
498 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
500 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
501 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
502 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
503 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
504 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
505 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
506 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
507 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
508 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
509 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
510 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
511 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
512 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
514 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
515 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
517 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
518 web
/swat.o web
/neg_lang.o
520 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
521 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
522 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
523 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
524 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
526 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
527 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
528 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
529 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
532 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
533 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
534 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
535 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
537 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
538 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
539 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
540 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
542 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
545 TESTPARM_OBJ
= utils
/testparm.o \
546 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
547 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
549 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
551 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
552 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
553 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
554 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
556 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
557 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
558 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
559 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) libsmb
/errormap.o
561 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ
)
563 DISPLAY_SEC_OBJ
= lib
/display_sec.o
565 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
566 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
567 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
568 rpcclient
/cmd_dfs.o \
569 rpcclient
/cmd_ds.o rpcclient
/cmd_echo.o \
570 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
571 rpcclient
/cmd_unixinfo.o
$(DISPLAY_SEC_OBJ
)
573 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
574 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
575 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
576 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
577 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
578 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
580 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
581 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) @BUILD_INIPARSER@
583 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
584 libsmb
/libsmb_cache.o \
585 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
586 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
587 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
588 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
590 CAC_OBJ
= $(LIBSMBCLIENT_OBJ
) \
591 libmsrpc
/libmsrpc.o libmsrpc
/libmsrpc_internal.o \
592 libmsrpc
/cac_lsarpc.o libmsrpc
/cac_winreg.o libmsrpc
/cac_samr.o \
593 libmsrpc
/cac_svcctl.o
595 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o
$(TDB_BASE_OBJ
)
597 # This shared library is intended for linking with unit test programs
598 # to test Samba internals. It's called libbigballofmud.so to
599 # discourage casual usage.
601 LIBBIGBALLOFMUD_MAJOR
= 0
603 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
604 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
605 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
607 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
611 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
612 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
613 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
614 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
617 TOOL_OBJ
= client
/smbctool.o client
/clitar.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
618 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
619 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
622 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
623 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
624 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
625 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
626 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
627 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
628 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
629 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
630 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o
632 NET_OBJ
= $(NET_OBJ1
) $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
633 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
634 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
635 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
636 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
637 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
638 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
639 $(LDB_OBJ
) $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
)
641 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
642 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
644 MOUNT_OBJ
= client
/smbmount.o \
645 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
647 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
649 UMOUNT_OBJ
= client
/smbumount.o
$(SOCKET_WRAPPER_OBJ
)
651 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
653 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
655 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
656 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
658 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
659 torture
/denytest.o torture
/mangle_test.o
661 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
662 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
664 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
665 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
667 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
668 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
670 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
671 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
673 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
674 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
676 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
677 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
678 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
681 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
683 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
685 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
687 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
688 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
690 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
691 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
692 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) \
693 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
695 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
697 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
698 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
699 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
701 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
703 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
704 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
706 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o registry
/reg_util.o \
709 SHARESEC_OBJ0
= utils
/sharesec.o
710 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
711 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
712 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
714 TALLOCTORT_OBJ
= lib
/talloc
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
715 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
)
717 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o lib
/replace
/test/os2_delete.o \
720 RPCTORTURE_OBJ
= torture
/rpctorture.o \
721 rpcclient
/display.o \
722 rpcclient
/cmd_lsarpc.o \
723 rpcclient
/cmd_wkssvc.o \
724 rpcclient
/cmd_samr.o \
725 rpcclient
/cmd_srvsvc.o \
726 rpcclient
/cmd_netlogon.o \
727 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
728 $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
) $(SECRETS_OBJ
)
730 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
732 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
733 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
735 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
736 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
737 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
738 $(LIBMSRPC_OBJ
) @SMBWRAP_OBJS@ \
739 $(LIB_WITH_PROTO_OBJ
) \
740 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
741 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
742 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
743 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
744 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
745 $(AUTH_SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
746 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_LSA_DS_OBJ
) \
747 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
748 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
749 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
750 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) utils
/passwd_util.o \
751 $(LIBGPO_OBJ
) $(NSS_INFO_OBJ
)
753 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
754 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
756 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
757 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o \
758 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
759 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
760 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
)
762 IDMAP_OBJ
= nsswitch
/idmap.o nsswitch
/idmap_cache.o nsswitch
/idmap_util.o @IDMAP_STATIC@
764 NSS_INFO_OBJ
= nsswitch
/nss_info.o @NSS_INFO_STATIC@
766 IDMAP_NSS_OBJ
= sam
/idmap_nss.o @IDMAP_NSS_STATIC@
769 nsswitch
/winbindd.o \
770 nsswitch
/winbindd_user.o \
771 nsswitch
/winbindd_group.o \
772 nsswitch
/winbindd_util.o \
773 nsswitch
/winbindd_cache.o \
774 nsswitch
/winbindd_pam.o \
775 nsswitch
/winbindd_sid.o \
776 nsswitch
/winbindd_misc.o \
777 nsswitch
/winbindd_cm.o \
778 nsswitch
/winbindd_wins.o \
779 nsswitch
/winbindd_rpc.o \
780 nsswitch
/winbindd_reconnect.o \
781 nsswitch
/winbindd_ads.o \
782 nsswitch
/winbindd_passdb.o \
783 nsswitch
/winbindd_dual.o \
784 nsswitch
/winbindd_async.o \
785 nsswitch
/winbindd_creds.o \
786 nsswitch
/winbindd_cred_cache.o \
787 nsswitch
/winbindd_ccache_access.o
790 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
791 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
792 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
793 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
794 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
795 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
796 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
797 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
799 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
800 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
802 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
804 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
805 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
806 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
807 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
808 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
810 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
811 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
812 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
814 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
815 lib
/ldb
/modules
/objectclass.o \
816 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
818 # enabled in configure.in
819 LDB_LDAP_OBJ
=@LDBLDAP@
821 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
823 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
824 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
825 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
826 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
827 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
828 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
829 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
830 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
833 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
834 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
835 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
836 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
837 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
839 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
840 popt
/popthelp.o popt
/poptparse.o
842 INIPARSER_OBJ
= iniparser
/src
/iniparser.o iniparser
/src
/dictionary.o \
843 iniparser
/src
/strlib.o
845 TDBBACKUP_OBJ
= tdb
/tools
/tdbbackup.o tdb
/common
/tdbback.o
$(LIBREPLACE_OBJ
) \
846 $(TDBBASE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
848 TDBTOOL_OBJ
= tdb
/tools
/tdbtool.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
849 $(SOCKET_WRAPPER_OBJ
)
851 TDBDUMP_OBJ
= tdb
/tools
/tdbdump.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
852 $(SOCKET_WRAPPER_OBJ
)
854 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
856 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
857 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
858 libads
/kerberos_verify.o
$(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) \
859 libads
/authdata.o
$(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
860 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) rpc_parse
/parse_net.o
$(LIBNMB_OBJ
) \
861 $(LDB_OBJ
) libsmb
/errormap.o
863 ######################################################################
865 ######################################################################
866 all : SHOWFLAGS proto_exists
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
867 $(SHLIBS
) $(MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
869 pam_modules
: $(PAM_MODULES
)
871 pam_smbpass
: SHOWFLAGS proto_exists bin
/pam_smbpass.@SHLIBEXT@
873 pam_winbind
: SHOWFLAGS proto_exists bin
/pam_winbind.@SHLIBEXT@
875 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
877 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
879 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
881 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
883 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
885 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
887 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
889 smbctool
: SHOWFLAGS bin
/smbctool@EXEEXT@
891 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
893 rpctorture
: SHOWFLAGS bin
/rpctorture@EXEEXT@
895 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
897 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
899 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
901 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
903 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
905 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
907 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
909 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
910 @WINBIND_WINS_NSS@ bin
/pam_winbind.@SHLIBEXT@
912 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
914 modules
: SHOWFLAGS proto_exists
$(MODULES
)
916 cac
: SHOWFLAGS
$(LIBMSRPC
)
919 #####################################################################
921 IDL_FILES
= unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
922 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl
925 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
926 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
929 #####################################################################
932 everything
: all libsmbclient debug2html smbfilter talloctort replacetort modules torture \
939 @echo
"Using FLAGS = $(FLAGS)"
940 @echo
" PICFLAG = $(PICFLAG)"
941 @echo
" LIBS = $(LIBS)"
942 @echo
" LDFLAGS = $(LDFLAGS)"
943 @echo
" DYNEXP = $(DYNEXP)"
944 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
945 @echo
" SHLIBEXT = @SHLIBEXT@"
946 @echo
" SONAMEFLAG = @SONAMEFLAG@"
948 MAKEDIR
= || exec false
; \
949 if
test -d
"$$dir"; then
:; else \
950 echo mkdir
"$$dir"; \
951 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
954 exec false
; fi || exec false
957 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
958 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
959 @if
test -n
"$(CC_CHECKER)"; then \
960 echo
"Checking $*.c with '$(CC_CHECKER)'";\
961 $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
;\
964 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
&& exit
0;\
965 echo
"The following command failed:" 1>&2;\
966 echo
"$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $< -o $@" 1>&2;\
967 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
>/dev
/null
2>&1
968 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
970 # this adds support for precompiled headers. To use it, install a snapshot
971 # of gcc-3.4 and run 'make pch' before you do the main build.
973 rm -f
$(builddir
)/include/includes.h.gch
974 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$(srcdir)/include/includes.h
-o
$(builddir
)/include/includes.h.gch
976 # These dependencies are only approximately correct: we want to make
977 # sure Samba's paths are updated if ./configure is re-run. Really it
978 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
979 # but since we also require "make install prefix=/opt/samba" *not* to
980 # rebuild it's a bit hard.
982 dynconfig.o
: dynconfig.c Makefile
984 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
&& exit
0;\
985 echo
"The following command failed:" 1>&2;\
986 echo
"$(CC) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/dynconfig.c -o $@" 1>&2;\
987 $(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
>/dev
/null
2>&1
989 lib
/pidfile.o
: lib
/pidfile.c
991 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/pidfile.c
-o
$@
993 lib
/version.o
: lib
/version.c
include/version.h
995 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/version.c
-o
$@
997 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
999 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c smbd
/build_options.c
-o
$@
1001 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1003 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1006 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1007 dir=bin
$(MAKEDIR
); fi
1008 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1010 bin
/smbd@EXEEXT@
: $(SMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
1012 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1013 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1014 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @SMBD_LIBS@
1016 bin
/nmbd@EXEEXT@
: $(NMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
1018 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1020 bin
/swat@EXEEXT@
: $(SWAT_OBJ
) @BUILD_POPT@ bin
/.dummy
1022 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1023 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1025 bin
/rpcclient@EXEEXT@
: $(RPCCLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
1027 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1028 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1029 $(KRB5LIBS
) $(LDAP_LIBS
)
1031 bin
/smbclient@EXEEXT@
: $(CLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
1033 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1035 bin
/smbctool@EXEEXT@
: $(TOOL_OBJ
) @BUILD_POPT@ bin
/.dummy
1037 @
$(CC
) $(FLAGS
) -o
$@
$(TOOL_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) -Lbin
-lsmbclient
1039 bin
/net@EXEEXT@
: $(NET_OBJ
) @BUILD_POPT@ @BUILD_INIPARSER@ bin
/.dummy
1041 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@
1043 bin
/profiles@EXEEXT@
: $(PROFILES_OBJ
) @BUILD_POPT@ bin
/.dummy
1045 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1047 bin
/smbspool@EXEEXT@
: $(CUPS_OBJ
) bin
/.dummy
1049 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1051 bin
/smbmount@EXEEXT@
: $(MOUNT_OBJ
) bin
/.dummy
1053 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1055 bin
/smbmnt@EXEEXT@
: $(MNT_OBJ
) bin
/.dummy
1057 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1059 bin
/smbumount@EXEEXT@
: $(UMOUNT_OBJ
) bin
/.dummy
1061 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1063 bin
/mount.cifs@EXEEXT@
: $(CIFS_MOUNT_OBJ
) bin
/.dummy
1065 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1067 bin
/umount.cifs@EXEEXT@
: $(CIFS_UMOUNT_OBJ
) bin
/.dummy
1069 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1071 bin
/testparm@EXEEXT@
: $(TESTPARM_OBJ
) @BUILD_POPT@ bin
/.dummy
1073 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1075 bin
/smbstatus@EXEEXT@
: $(STATUS_OBJ
) @BUILD_POPT@ bin
/.dummy
1077 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1080 bin
/smbcontrol@EXEEXT@
: $(SMBCONTROL_OBJ
) @BUILD_POPT@ bin
/.dummy
1082 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1083 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1084 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@
1086 bin
/smbtree@EXEEXT@
: $(SMBTREE_OBJ
) @BUILD_POPT@ bin
/.dummy
1088 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1090 bin
/smbpasswd@EXEEXT@
: $(SMBPASSWD_OBJ
) @BUILD_POPT@ bin
/.dummy
1092 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1093 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1095 bin
/pdbedit@EXEEXT@
: $(PDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1097 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
)
1099 bin
/smbget@EXEEXT@
: $(SMBGET_OBJ
) @BUILD_POPT@ bin
/.dummy
1101 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1103 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1105 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1107 bin
/nmblookup@EXEEXT@
: $(NMBLOOKUP_OBJ
) @BUILD_POPT@ bin
/.dummy
1109 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(LDAP_LIBS
)
1111 bin
/smbtorture@EXEEXT@
: $(SMBTORTURE_OBJ
) bin
/.dummy
1113 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1115 bin
/talloctort@EXEEXT@
: $(TALLOCTORT_OBJ
) bin
/.dummy
1117 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1118 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
)
1120 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) bin
/.dummy
1122 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1125 bin
/masktest@EXEEXT@
: $(MASKTEST_OBJ
) bin
/.dummy
1127 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1129 bin
/msgtest@EXEEXT@
: $(MSGTEST_OBJ
) bin
/.dummy
1131 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1133 bin
/smbcacls@EXEEXT@
: $(SMBCACLS_OBJ
) @BUILD_POPT@ bin
/.dummy
1135 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1136 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1138 bin
/smbcquotas@EXEEXT@
: $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ bin
/.dummy
1140 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1141 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1143 bin
/eventlogadm@EXEEXT@
: $(EVTLOGADM_OBJ
) @BUILD_POPT@ bin
/.dummy
1145 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1147 bin
/sharesec@EXEEXT@
: $(SHARESEC_OBJ
) @BUILD_POPT@ bin
/.dummy
1149 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1151 bin
/locktest@EXEEXT@
: $(LOCKTEST_OBJ
) bin
/.dummy
1153 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1155 bin
/nsstest@EXEEXT@
: $(NSSTEST_OBJ
) bin
/.dummy
1157 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1159 bin
/pdbtest@EXEEXT@
: $(PDBTEST_OBJ
) bin
/.dummy
1161 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@
1163 bin
/vfstest@EXEEXT@
: $(VFSTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1165 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
)
1167 bin
/smbiconv@EXEEXT@
: $(SMBICONV_OBJ
) @BUILD_POPT@ bin
/.dummy
1169 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
1171 bin
/log2pcap@EXEEXT@
: $(LOG2PCAP_OBJ
) @BUILD_POPT@ bin
/.dummy
1173 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1175 bin
/locktest2@EXEEXT@
: $(LOCKTEST2_OBJ
) bin
/.dummy
1177 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1179 bin
/rpctorture@EXEEXT@
: $(RPCTORTURE_OBJ
) bin
/.dummy
1181 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1183 bin
/debug2html@EXEEXT@
: $(DEBUG2HTML_OBJ
) bin
/.dummy
1185 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1187 bin
/smbfilter@EXEEXT@
: $(SMBFILTER_OBJ
) bin
/.dummy
1189 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1192 bin
/ldbedit
: $(LDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1194 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1196 bin
/ldbsearch
: $(LDBSEARCH_OBJ
) @BUILD_POPT@ bin
/.dummy
1198 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1200 bin
/ldbadd
: $(LDBADD_OBJ
) @BUILD_POPT@ bin
/.dummy
1202 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1204 bin
/ldbmodify
: $(LDBMODIFY_OBJ
) @BUILD_POPT@ bin
/.dummy
1206 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1208 bin
/ldbdel
: $(LDBDEL_OBJ
) @BUILD_POPT@ bin
/.dummy
1210 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1212 bin
/libaddns.@SHLIBEXT@
: $(LIBADDNS_OBJ
)
1213 @echo Linking libaddns shared library
$@
1214 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBADDNS_OBJ
) $(LDFLAGS
) $(LIBS
) \
1215 $(KRB5LIBS
) $(UUID_LIBS
)\
1216 @SONAMEFLAG@
`basename $@`.
$(LIBADDNS_MAJOR
)
1218 bin
/libaddns.a
: $(LIBADDNS_OBJ
)
1219 @echo Linking libaddns non-shared library
$@
1220 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1222 bin
/libsmbclient.@SHLIBEXT@
: $(LIBSMBCLIENT_OBJ
)
1223 @echo Linking libsmbclient shared library
$@
1224 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBCLIENT_OBJ
) $(LDFLAGS
) $(LIBS
) \
1225 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1226 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
1228 bin
/libsmbclient.a
: $(LIBSMBCLIENT_OBJ
)
1229 @echo Linking libsmbclient non-shared library
$@
1230 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ
)
1232 bin
/libsmbsharemodes.@SHLIBEXT@
: $(LIBSMBSHAREMODES_OBJ
)
1233 @echo Linking libsmbsharemodes shared library
$@
1234 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBSHAREMODES_OBJ
) $(LDFLAGS
) $(LIBS
) \
1235 $(KRB5LIBS
) $(LDAP_LIBS
) \
1236 @SONAMEFLAG@
`basename $@`.
$(LIBSMBSHAREMODES_MAJOR
)
1238 bin
/libsmbsharemodes.a
: $(LIBSMBSHAREMODES_OBJ
)
1239 @echo Linking libsmbsharemodes non-shared library
$@
1240 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1242 bin
/libmsrpc.@SHLIBEXT@
: $(CAC_OBJ
)
1243 @echo Linking libmsrpc shared library
$@
1244 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CAC_OBJ
) $(LDFLAGS
) $(LIBS
) \
1245 @SONAMEFLAG@
`basename $@`.
$(LIBMSRPC_MAJOR
)
1247 bin
/libmsrpc.a
: $(CAC_OBJ
)
1248 @echo Linking libmsrpc non-shared library
$@
1249 @
-$(AR
) -rc
$@
$(CAC_OBJ
)
1251 # This is probably wrong for anything other than the GNU linker.
1252 bin
/libbigballofmud.@SHLIBEXT@
: $(LIBBIGBALLOFMUD_OBJ
)
1253 @echo Linking bigballofmud shared library
$@
1254 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1255 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1256 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1257 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1259 # It would be nice to build a static bigballofmud too, but when I try
1260 # I get linker errors about dl_open and similar things. I'm not sure if
1261 # it can be fixed or if they just can't be called from a static
1264 libsmbclient
: $(LIBSMBCLIENT
)
1265 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1266 libmsrpc
: $(LIBMSRPC
)
1267 libaddns
: $(LIBADDNS
)
1269 bin
/librpc_lsarpc.@SHLIBEXT@
: $(RPC_LSA_OBJ
)
1271 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_OBJ
) -lc \
1272 @SONAMEFLAG@
`basename $@`
1274 bin
/librpc_samr.@SHLIBEXT@
: $(RPC_SAMR_OBJ
)
1276 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SAMR_OBJ
) -lc \
1277 @SONAMEFLAG@
`basename $@`
1279 bin
/librpc_unixinfo.@SHLIBEXT@
: $(RPC_UNIXINFO_OBJ
)
1281 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_UNIXINFO_OBJ
) -lc \
1282 @SONAMEFLAG@
`basename $@`
1284 bin
/librpc_srvsvc.@SHLIBEXT@
: $(RPC_SVC_OBJ
)
1286 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVC_OBJ
) -lc \
1287 @SONAMEFLAG@
`basename $@`
1289 bin
/librpc_svcctl.@SHLIBEXT@
: $(RPC_SVCCTL_OBJ
)
1291 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVCCTL_OBJ
) -lc \
1292 @SONAMEFLAG@
`basename $@`
1294 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(RPC_NTSVCS_OBJ
)
1296 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NTSVCS_OBJ
) -lc \
1297 @SONAMEFLAG@
`basename $@`
1299 bin
/librpc_wkssvc.@SHLIBEXT@
: $(RPC_WKS_OBJ
)
1301 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_WKS_OBJ
) -lc \
1302 @SONAMEFLAG@
`basename $@`
1304 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(RPC_NETLOG_OBJ
)
1306 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NETLOG_OBJ
) -lc \
1307 @SONAMEFLAG@
`basename $@`
1309 bin
/librpc_winreg.@SHLIBEXT@
: $(RPC_REG_OBJ
)
1311 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_REG_OBJ
) -lc \
1312 @SONAMEFLAG@
`basename $@`
1314 bin
/librpc_initshutdown.@SHLIBEXT@
: $(RPC_INITSHUTDOWN_OBJ
)
1316 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_INITSHUTDOWN_OBJ
) -lc \
1317 @SONAMEFLAG@
`basename $@`
1319 bin
/librpc_lsa_ds.@SHLIBEXT@
: $(RPC_LSA_DS_OBJ
)
1321 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_DS_OBJ
) -lc \
1322 @SONAMEFLAG@
`basename $@`
1324 bin
/librpc_spoolss.@SHLIBEXT@
: $(RPC_SPOOLSS_OBJ
)
1326 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SPOOLSS_OBJ
) -lc \
1327 @SONAMEFLAG@
`basename $@`
1329 bin
/librpc_eventlog.@SHLIBEXT@
: $(RPC_EVENTLOG_OBJ
)
1331 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_EVENTLOG_OBJ
) -lc \
1332 @SONAMEFLAG@
`basename $@`
1334 bin
/librpc_netdfs.@SHLIBEXT@
: $(RPC_DFS_OBJ
)
1336 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_DFS_OBJ
) -lc \
1337 @SONAMEFLAG@
`basename $@`
1339 bin
/librpc_echo.@SHLIBEXT@
: $(RPC_ECHO_OBJ
)
1341 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_ECHO_OBJ
) -lc \
1342 @SONAMEFLAG@
`basename $@`
1344 bin
/winbindd@EXEEXT@
: $(WINBINDD_OBJ
) @BUILD_POPT@ bin
/.dummy
1346 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1347 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
)
1349 @WINBIND_NSS@
: $(WINBIND_NSS_OBJ
)
1351 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1352 @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1354 @WINBIND_WINS_NSS@
: $(WINBIND_WINS_NSS_OBJ
)
1356 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1357 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) \
1358 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1360 bin
/pam_winbind.@SHLIBEXT@
: $(PAM_WINBIND_OBJ
) bin
/.dummy
1361 @echo
"Linking shared library $@"
1362 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) \
1363 @SONAMEFLAG@
`basename $@` -lpam @INIPARSERLIBS@
1365 bin
/builtin.@SHLIBEXT@
: $(AUTH_BUILTIN_OBJ
)
1366 @echo
"Building plugin $@"
1367 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_BUILTIN_OBJ
) @SONAMEFLAG@
`basename $@`
1369 bin
/domain.@SHLIBEXT@
: $(AUTH_DOMAIN_OBJ
)
1370 @echo
"Building plugin $@"
1371 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_DOMAIN_OBJ
) @SONAMEFLAG@
`basename $@`
1373 bin
/script.@SHLIBEXT@
: $(AUTH_SCRIPT_OBJ
)
1374 @echo
"Building plugin $@"
1375 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SCRIPT_OBJ
) @SONAMEFLAG@
`basename $@`
1377 bin
/smbserver.@SHLIBEXT@
: $(AUTH_SERVER_OBJ
)
1378 @echo
"Building plugin $@"
1379 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SERVER_OBJ
) @SONAMEFLAG@
`basename $@`
1381 bin
/winbind.@SHLIBEXT@
: $(AUTH_WINBIND_OBJ
)
1382 @echo
"Building plugin $@"
1383 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_WINBIND_OBJ
) @SONAMEFLAG@
`basename $@`
1385 bin
/unix.@SHLIBEXT@
: $(AUTH_UNIX_OBJ
)
1386 @echo
"Building plugin $@"
1387 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_UNIX_OBJ
) @SONAMEFLAG@
`basename $@`
1389 bin
/sam.@SHLIBEXT@
: $(AUTH_SAM_OBJ
)
1390 @echo
"Building plugin $@"
1391 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SAM_OBJ
) @SONAMEFLAG@
`basename $@`
1393 bin
/ldapsam.@SHLIBEXT@
: passdb
/pdb_ldap.o
1394 @echo
"Building plugin $@"
1395 @
$(SHLD
) $(LDSHFLAGS
) $(LDAP_LIBS
) -o
$@ passdb
/pdb_ldap.o \
1396 @SONAMEFLAG@
`basename $@`
1398 bin
/tdbsam.@SHLIBEXT@
: passdb
/pdb_tdb.o
1399 @echo
"Building plugin $@"
1400 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_tdb.o \
1401 @SONAMEFLAG@
`basename $@`
1403 bin
/smbpasswd.@SHLIBEXT@
: passdb
/pdb_smbpasswd.o
1404 @echo
"Building plugin $@"
1405 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_smbpasswd.o \
1406 @SONAMEFLAG@
`basename $@`
1408 bin
/rid.@SHLIBEXT@
: nsswitch
/idmap_rid.o
1409 @echo
"Building plugin $@"
1410 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_rid.o \
1411 @SONAMEFLAG@
`basename $@`
1413 bin
/ad.@SHLIBEXT@
: nsswitch
/idmap_ad.o
1414 @echo
"Building plugin $@"
1415 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_ad.o \
1416 @SONAMEFLAG@
`basename $@`
1418 bin
/weird.@SHLIBEXT@
: $(DEVEL_HELP_WEIRD_OBJ
)
1419 @echo
"Building plugin $@"
1420 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(DEVEL_HELP_WEIRD_OBJ
) \
1421 @SONAMEFLAG@
`basename $@`
1423 bin
/CP850.@SHLIBEXT@
: $(CP850_OBJ
)
1424 @echo
"Building plugin $@"
1425 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP850_OBJ
) \
1426 @SONAMEFLAG@
`basename $@`
1428 bin
/CP437.@SHLIBEXT@
: $(CP437_OBJ
)
1429 @echo
"Building plugin $@"
1430 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP437_OBJ
) \
1431 @SONAMEFLAG@
`basename $@`
1433 bin
/macosxfs.@SHLIBEXT@
: $(CHARSET_MACOSXFS_OBJ
)
1434 @echo
"Building plugin $@"
1435 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CHARSET_MACOSXFS_OBJ
) \
1436 -framework CoreFoundation @SONAMEFLAG@
`basename $@`
1438 # NOTE, there is no build rule for a dynamic default VFS module because
1439 # this one MUST MUST MUST be built statically.
1441 bin
/audit.@SHLIBEXT@
: $(VFS_AUDIT_OBJ
)
1442 @echo
"Building plugin $@"
1443 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AUDIT_OBJ
) \
1444 @SONAMEFLAG@
`basename $@`
1446 bin
/extd_audit.@SHLIBEXT@
: $(VFS_EXTD_AUDIT_OBJ
)
1447 @echo
"Building plugin $@"
1448 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXTD_AUDIT_OBJ
) \
1449 @SONAMEFLAG@
`basename $@`
1451 bin
/full_audit.@SHLIBEXT@
: $(VFS_FULL_AUDIT_OBJ
)
1452 @echo
"Building plugin $@"
1453 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FULL_AUDIT_OBJ
) \
1454 @SONAMEFLAG@
`basename $@`
1456 bin
/recycle.@SHLIBEXT@
: $(VFS_RECYCLE_OBJ
)
1457 @echo
"Building plugin $@"
1458 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_RECYCLE_OBJ
) \
1459 @SONAMEFLAG@
`basename $@`
1461 bin
/netatalk.@SHLIBEXT@
: $(VFS_NETATALK_OBJ
)
1462 @echo
"Building plugin $@"
1463 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NETATALK_OBJ
) \
1464 @SONAMEFLAG@
`basename $@`
1466 bin
/fake_perms.@SHLIBEXT@
: $(VFS_FAKE_PERMS_OBJ
)
1467 @echo
"Building plugin $@"
1468 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FAKE_PERMS_OBJ
) \
1469 @SONAMEFLAG@
`basename $@`
1471 bin
/default_quota.@SHLIBEXT@
: $(VFS_DEFAULT_QUOTA_OBJ
)
1472 @echo
"Building plugin $@"
1473 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_DEFAULT_QUOTA_OBJ
) \
1474 @SONAMEFLAG@
`basename $@`
1476 bin
/readonly.@SHLIBEXT@
: $(VFS_READONLY_OBJ
)
1477 @echo
"Building plugin $@"
1478 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READONLY_OBJ
) \
1479 @SONAMEFLAG@
`basename $@`
1481 bin
/shadow_copy.@SHLIBEXT@
: $(VFS_SHADOW_COPY_OBJ
)
1482 @echo
"Building plugin $@"
1483 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SHADOW_COPY_OBJ
) \
1484 @SONAMEFLAG@
`basename $@`
1486 bin
/cap.@SHLIBEXT@
: $(VFS_CAP_OBJ
)
1487 @echo
"Building plugin $@"
1488 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CAP_OBJ
) \
1489 @SONAMEFLAG@
`basename $@`
1491 bin
/expand_msdfs.@SHLIBEXT@
: $(VFS_EXPAND_MSDFS_OBJ
)
1492 @echo
"Building plugin $@"
1493 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXPAND_MSDFS_OBJ
) \
1494 @SONAMEFLAG@
`basename $@`
1496 bin
/afsacl.@SHLIBEXT@
: $(VFS_AFSACL_OBJ
:.o
=.po
)
1497 @echo
"Building plugin $@"
1498 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AFSACL_OBJ
:.o
=.po
) \
1499 @SONAMEFLAG@
`basename $@`
1501 bin
/posixacl.@SHLIBEXT@
: $(VFS_POSIXACL_OBJ
)
1502 @echo
"Building plugin $@"
1503 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_POSIXACL_OBJ
) \
1504 @SONAMEFLAG@
`basename $@`
1506 bin
/aixacl.@SHLIBEXT@
: $(VFS_AIXACL_OBJ
)
1507 @echo
"Building plugin $@"
1508 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL_OBJ
) \
1509 @SONAMEFLAG@
`basename $@`
1511 bin
/aixacl2.@SHLIBEXT@
: $(VFS_AIXACL2_OBJ
)
1512 @echo
"Building plugin $@"
1513 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL2_OBJ
) \
1514 @SONAMEFLAG@
`basename $@`
1516 bin
/solarisacl.@SHLIBEXT@
: $(VFS_SOLARISACL_OBJ
)
1517 @echo
"Building plugin $@"
1518 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SOLARISACL_OBJ
) \
1519 @SONAMEFLAG@
`basename $@`
1521 bin
/irixacl.@SHLIBEXT@
: $(VFS_IRIXACL_OBJ
)
1522 @echo
"Building plugin $@"
1523 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_IRIXACL_OBJ
) \
1524 @SONAMEFLAG@
`basename $@`
1526 bin
/hpuxacl.@SHLIBEXT@
: $(VFS_HPUXACL_OBJ
)
1527 @echo
"Building plugin $@"
1528 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_HPUXACL_OBJ
) \
1529 @SONAMEFLAG@
`basename $@`
1531 bin
/tru64acl.@SHLIBEXT@
: $(VFS_TRU64ACL_OBJ
)
1532 @echo
"Building plugin $@"
1533 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_TRU64ACL_OBJ
) \
1534 @SONAMEFLAG@
`basename $@`
1536 bin
/catia.@SHLIBEXT@
: $(VFS_CATIA_OBJ
)
1537 @echo
"Building plugin $@"
1538 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CATIA_OBJ
) \
1539 @SONAMEFLAG@
`basename $@`
1541 bin
/cacheprime.@SHLIBEXT@
: $(VFS_CACHEPRIME_OBJ
)
1542 @echo
"Building plugin $@"
1543 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CACHEPRIME_OBJ
) \
1544 @SONAMEFLAG@
`basename $@`
1546 bin
/prealloc.@SHLIBEXT@
: $(VFS_PREALLOC_OBJ
)
1547 @echo
"Building plugin $@"
1548 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_PREALLOC_OBJ
) \
1549 @SONAMEFLAG@
`basename $@`
1551 bin
/commit.@SHLIBEXT@
: $(VFS_COMMIT_OBJ
)
1552 @echo
"Building plugin $@"
1553 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_COMMIT_OBJ
) \
1554 @SONAMEFLAG@
`basename $@`
1556 bin
/gpfs.@SHLIBEXT@
: $(VFS_GPFS_OBJ
)
1557 @echo
"Building plugin $@"
1558 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_GPFS_OBJ
) \
1559 @SONAMEFLAG@
`basename $@`
1561 #########################################################
1562 ## IdMap NSS plugins
1564 ## None here right now
1565 #########################################################
1567 bin
/wbinfo@EXEEXT@
: $(WBINFO_OBJ
) @BUILD_POPT@ bin
/.dummy
1569 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1571 bin
/ntlm_auth@EXEEXT@
: $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1572 @BUILD_POPT@ bin
/.dummy
1574 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1575 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1576 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1578 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_OBJ
)
1579 @echo
"Linking shared library $@"
1580 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1582 bin
/tdbbackup@EXEEXT@
: $(TDBBACKUP_OBJ
) bin
/.dummy
1584 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBBACKUP_OBJ
)
1586 bin
/tdbtool@EXEEXT@
: $(TDBTOOL_OBJ
) bin
/.dummy
1588 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTOOL_OBJ
)
1590 bin
/tdbdump@EXEEXT@
: $(TDBDUMP_OBJ
) bin
/.dummy
1592 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBDUMP_OBJ
)
1594 bin
/t_strcmp@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1595 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1597 bin
/t_strstr@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1598 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1600 bin
/t_strappend@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1601 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1603 bin
/t_stringoverflow@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1604 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1606 bin
/t_doschar@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_doschar.o
1607 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_doschar.o
-L .
/bin
-lbigballofmud
1608 bin
/t_push_ucs2@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_push_ucs2.o
1609 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_push_ucs2.o
-L .
/bin
-lbigballofmud
1611 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1613 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1615 install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
1618 install-everything
: install installmodules
1620 # DESTDIR is used here to prevent packagers wasting their time
1621 # duplicating the Makefile. Remove it and you will have the privelege
1622 # of package each samba release for muliple versions of multiple
1623 # distributions and operating systems, or at least supplying patches
1624 # to all the packaging files required for this, prior to committing
1625 # the removal of DESTDIR. Do not remove it even though you think it
1629 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1631 installservers
: all installdirs
1632 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1634 installbin
: all installdirs
1635 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1637 installcifsmount
: @CIFSMOUNT_PROGS@
1638 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(ROOTSBINDIR
)
1639 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1641 # Some symlinks are required for the 'probing' of modules.
1642 # This mechanism should go at some point..
1643 installmodules
: modules
installdirs
1644 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1645 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1646 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1647 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1648 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1649 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1650 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1651 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1652 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1653 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1654 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1656 installscripts
: installdirs
1657 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1659 installdat
: installdirs
1660 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1662 installmsg
: installdirs
1663 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1665 installswat
: installdirs installmsg
1666 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1668 installclientlib
: installdirs libsmbclient
1669 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1670 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1671 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
1672 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1673 -$(INSTALLCMD
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
1675 installlibmsrpc
: installdirs libmsrpc
1676 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1677 -$(INSTALLLIBCMD_SH
) bin
/libmsrpc.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1678 -$(INSTALLLIBCMD_A
) bin
/libmsrpc.a
$(DESTDIR
)$(LIBDIR
)
1679 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1680 -$(INSTALLCMD
) $(srcdir)/include/libmsrpc.h
$(DESTDIR
)${prefix}/include
1682 installlibsmbsharemodes
: installdirs libsmbsharemodes
1683 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1684 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1685 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
1687 installlibaddns
: installdirs libaddns
1688 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1689 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1690 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
1692 installpammodules
: $(PAM_MODULES
)
1693 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(PAMMODULESDIR
)
1694 @for module in
$(PAM_MODULES
); do \
1695 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1696 $(INSTALLCMD
) -m
$(INSTALLPERMS
) bin
/$${module}.@SHLIBEXT@ \
1697 "$(DESTDIR)/$(PAMMODULESDIR)"; \
1702 PYTHON_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) $(RPC_PARSE_OBJ
) \
1703 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1704 $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1706 python_ext
: $(PYTHON_OBJ
)
1707 @if
test -z
"$(PYTHON)"; then \
1708 echo Use the option
--with-python to configure python
; \
1711 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1712 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
1713 LIBS
="$(LDFLAGS) $(LIBS) $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS)" \
1714 $(PYTHON
) python
/setup.py build
1716 python_install
: $(PYTHON_OBJ
)
1717 @if
test -z
"$(PYTHON)"; then \
1718 echo Use the option
--with-python to configure python
; \
1721 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1722 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS)" \
1723 LIBS
="$(LDFLAGS) $(LIBS)" \
1724 $(PYTHON
) python
/setup.py
install --root
=$(DESTDIR
)
1727 @
-if
test -n
"$(PYTHON)"; then
$(PYTHON
) python
/setup.py
clean; fi
1729 # revert to the previously installed version
1731 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1732 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1734 installman
: installdirs
1735 @SMBMOUNT_PROGS
="@SMBMOUNT_PROGS@" $(SHELL
) \
1736 $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
1741 @echo
"Samba will be installed into:"
1742 @echo
" prefix: $(prefix)"
1743 @echo
" bindir: $(BINDIR)"
1744 @echo
" sbindir: $(SBINDIR)"
1745 @echo
" libdir: $(LIBDIR)"
1746 @echo
" vardir: $(VARDIR)"
1747 @echo
" mandir: $(MANDIR)"
1748 @echo
" privatedir: $(PRIVATE_DIR)"
1749 @echo
" configdir: $(CONFIGDIR)"
1750 @echo
" lockdir: $(LOCKDIR)"
1751 @echo
" piddir: $(PIDDIR)"
1752 @echo
" swatdir: $(SWATDIR)"
1755 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
1758 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
1761 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1764 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1767 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1770 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1771 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1772 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1773 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1774 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1775 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1778 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1781 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1784 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1786 uninstallswat
: uninstallmsg
1787 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1790 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
1791 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
1792 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1795 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.@SHLIBEXT@
1796 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.a
1797 -rm -f
$(DESTDIR
)${prefix}/include/libmsrpc.h
1799 uninstalllibsmbsharemodes
:
1800 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
1801 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
1804 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
1805 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
1807 uninstallpammodules
:
1808 @for module in
$(PAM_MODULES
); do \
1809 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1810 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
1813 # Toplevel clean files
1814 TOPFILES
=dynconfig.o
1816 clean: delheaders python_clean
1817 -rm -f core
*/*~
*~
*/*.o
*/*/*.o
*/*/*/*.o \
1818 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
1819 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1820 $(MODULES
) $(TORTURE_PROGS
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
1821 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBMSRPC
) \
1822 .headers.stamp
*/src
/*.o
1825 # Making this target will just make sure that the prototype files
1826 # exist, not necessarily that they are up to date. Since they're
1827 # removed by "make clean" this will always be run when you do anything
1829 proto_exists
: include/proto.h
include/build_env.h \
1830 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1831 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
1834 @echo Removing prototype headers
1835 @
rm -f
include/proto.h
include/build_env.h \
1836 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1837 client
/client_proto.h utils
/net_proto.h \
1838 smbd
/build_options.c utils
/ntlm_auth_proto.h \
1839 utils
/passwd_proto.h
1841 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
1843 include/proto.h
: smbd
/build_options.c
1844 @echo Building
include/proto.h
1845 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1846 -h _PROTO_H_
$(builddir
)/include/proto.h \
1849 include/build_env.h
: script
/build_env.sh
1850 @echo Building
include/build_env.h
1851 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
1852 > $(builddir
)/include/build_env.h
1854 nsswitch
/winbindd_proto.h
:
1855 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1856 -h _WINBINDD_PROTO_H_
$(builddir
)/nsswitch
/winbindd_proto.h \
1860 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1861 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
1864 client
/client_proto.h
:
1865 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1866 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
1870 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1871 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
1874 utils
/passwd_proto.h
:
1875 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1876 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
1879 utils
/ntlm_auth_proto.h
:
1880 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1881 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
1884 # "make headers" or "make proto" calls a subshell because we need to
1885 # make sure these commands are executed in sequence even for a
1888 $(MAKE
) delheaders
; \
1889 $(MAKE
) smbd
/build_options.c
; \
1890 $(MAKE
) include/proto.h
; \
1891 $(MAKE
) include/build_env.h
; \
1892 $(MAKE
) nsswitch
/winbindd_proto.h
; \
1893 $(MAKE
) web
/swat_proto.h
; \
1894 $(MAKE
) client
/client_proto.h
; \
1895 $(MAKE
) utils
/ntlm_auth_proto.h
; \
1896 $(MAKE
) utils
/net_proto.h
; \
1897 $(MAKE
) utils
/passwd_proto.h
;
1901 .PHONY
: headers proto
1904 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1907 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1909 realclean: clean delheaders
1910 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
1911 -rm -f script
/installbin.sh script
/uninstallbin.sh
1913 distclean: realclean
1914 -rm -f
include/stamp-h
1915 -rm -f
include/config.h Makefile
1916 -rm -f config.status config.cache so_locations
1919 realdistclean
: distclean
1920 -rm -f
include/config.h.in
1921 -rm -f
include/version.h
1924 # this target is really just for my use. It only works on a limited
1925 # range of machines and is used to produce a list of potentially
1926 # dead (ie. unused) functions in the code. (tridge)
1928 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
1929 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
1930 comm
-13 nmused.txt nmfns.txt
1933 # when configure.in is updated, reconfigure
1934 $(srcdir)/configure
: $(srcdir)/configure.in
1935 @echo
"WARNING: you need to rerun ./autogen.sh"
1937 config.status
: $(srcdir)/configure
1938 @echo
"WARNING: you need to run ./configure"
1940 Makefile
: $(srcdir)/Makefile.in config.status
1941 @echo
"WARNING: you need to run ./config.status"
1943 ######################################################################
1944 # Samba Testing Framework
1946 # Check for PAM module problems. Specifically, check that every module we
1947 # built can actually be loaded by a minimal PAM-aware application.
1948 test_pam_modules
: pam_modules
1949 @echo
"Testing $(PAM_MODULES) "
1950 @for module in
$(PAM_MODULES
); do \
1951 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
1956 ## Targets for 'make test'
1958 test: all torture timelimit
1959 @echo Running Test suite
1960 @sh
$(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"
1962 valgrindtest
: all torture timelimit
1963 @echo Running Test suite with valgrind
1964 @NMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1965 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
1966 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
1967 $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"