1 #########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 # Copyright (C) 2001 by Martin Pool <mbp@samba.org>
5 # Copyright Andrew Bartlett 2002
6 # Copyright (C) 2003 Jim McDonough <jmcd@us.ibm.com>
7 # Copyright (C) 2002-2003 Jelmer Vernooij <jelmer@samba.org>
8 # Copyright (C) 2006 Lars Mueller <lars@samba.org>
9 ###########################################################################
12 exec_prefix=@
exec_prefix@
13 sysconfdir
=@sysconfdir@
14 localstatedir
=@localstatedir@
15 datarootdir
=@datarootdir@
17 selftest_prefix
=@selftest_prefix@
18 smbtorture4_path
=@smbtorture4_path@
24 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
26 LDFLAGS
=@PIE_LDFLAGS@ @LDFLAGS@
28 LDSHFLAGS
=@LDSHFLAGS@ @LDFLAGS@
29 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
38 TERMLDFLAGS
=@TERMLDFLAGS@
40 PRINT_LIBS
=@PRINT_LIBS@
43 PASSDB_LIBS
=@PASSDB_LIBS@
44 IDMAP_LIBS
=@IDMAP_LIBS@
51 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
52 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
53 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
54 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
58 builddir
=@abs_builddir@
62 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
63 # will search for a POSIX-compliant shell, and that might not be
64 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
66 # See the autoconf manual "Installation Directory Variables" for a
67 # discussion of the subtle use of these variables.
71 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
73 ROOTSBINDIR
= @rootsbindir@
75 PAMMODULESDIR
= @pammodulesdir@
76 VFSLIBDIR
= $(LIBDIR
)/vfs
77 PDBLIBDIR
= $(LIBDIR
)/pdb
78 RPCLIBDIR
= $(LIBDIR
)/rpc
79 IDMAPLIBDIR
= $(LIBDIR
)/idmap
80 CHARSETLIBDIR
= $(LIBDIR
)/charset
81 AUTHLIBDIR
= $(LIBDIR
)/auth
82 CONFIGLIBDIR
= $(LIBDIR
)/config
83 CONFIGDIR
= @configdir@
84 VARDIR
= @localstatedir@
88 # The permissions to give the executables
91 # set these to where to find various files
92 # These can be overridden by command line switches (see smbd(8))
93 # or in smb.conf (see smb.conf(5))
94 LOGFILEBASE
= @logfilebase@
95 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
96 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
98 # This is where smbpasswd et al go
99 PRIVATEDIR
= @privatedir@
101 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
102 PRIVATE_DIR
= $(PRIVATEDIR
)
104 # This is where SWAT images and help files go
107 # the directory where lock files go
110 # the directory where pid files go
113 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
117 LIBMSRPC
=bin
/libmsrpc.a @LIBMSRPC_SHARED@
121 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
122 LIBSMBSHAREMODES_MAJOR
=0
123 LIBSMBSHAREMODES_MINOR
=2
125 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
129 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@ @SMBWRAP_INC@
$(CPPFLAGS
)
133 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
134 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
136 PASSWD_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\"
137 PATH_FLAGS1
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" -DSBINDIR
=\"$(SBINDIR
)\"
138 PATH_FLAGS2
= $(PATH_FLAGS1
) -DBINDIR
=\"$(BINDIR
)\"
139 PATH_FLAGS3
= $(PATH_FLAGS2
) -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\"
140 PATH_FLAGS4
= $(PATH_FLAGS3
) -DSWATDIR
=\"$(SWATDIR
)\" -DLOCKDIR
=\"$(LOCKDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\"
141 PATH_FLAGS5
= $(PATH_FLAGS4
) -DLIBDIR
=\"$(LIBDIR
)\" \
142 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" -DSHLIBEXT
=\"@SHLIBEXT@
\"
143 PATH_FLAGS6
= $(PATH_FLAGS5
) -DCONFIGDIR
=\"$(CONFIGDIR
)\"
144 PATH_FLAGS
= $(PATH_FLAGS6
) $(PASSWD_FLAGS
)
146 # Note that all executable programs now provide for an optional executable suffix.
148 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ bin
/swat@EXEEXT@ @EXTRA_SBIN_PROGS@
150 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
152 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
153 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
154 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
155 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
157 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
158 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
159 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
160 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
161 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
163 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
164 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
165 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
166 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
167 bin
/tdbtorture@EXEEXT@
169 BIN_PROGS
= $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
) @EXTRA_BIN_PROGS@ @SMBMOUNT_PROGS@
171 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
172 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
173 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@
175 SHLIBS
= @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBMSRPC@ @LIBADDNS@
177 PAM_MODULES
= @PAM_MODULES@
179 NSS_MODULES
= @WINBIND_WINS_NSS@ @WINBIND_NSS@
181 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
183 VFS_MODULES
= @VFS_MODULES@
184 PDB_MODULES
= @PDB_MODULES@
185 RPC_MODULES
= @RPC_MODULES@
186 IDMAP_MODULES
= @IDMAP_MODULES@
187 CHARSET_MODULES
= @CHARSET_MODULES@
188 AUTH_MODULES
= @AUTH_MODULES@
189 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
190 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
191 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
193 ######################################################################
195 ######################################################################
197 TDBBASE_OBJ
= tdb
/common
/tdb.o tdb
/common
/dump.o tdb
/common
/error.o \
198 tdb
/common
/freelist.o tdb
/common
/freelistcheck.o tdb
/common
/io.o tdb
/common
/lock.o \
199 tdb
/common
/open.o tdb
/common
/transaction.o tdb
/common
/traverse.o
201 TDB_OBJ
= $(TDBBASE_OBJ
) lib
/util_tdb.o tdb
/common
/tdbback.o
203 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
205 VERSION_OBJ
= lib
/version.o
207 DOSERR_OBJ
= libsmb
/doserr.o
209 WBCOMMON_OBJ
= nsswitch
/wb_common.o
213 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
215 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
217 ERRORMAP_OBJ
= libsmb
/errormap.o
219 PASSCHANGE_OBJ
= libsmb
/passchange.o
222 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o librpc
/ndr
/ndr.o librpc
/ndr
/ndr_misc.o \
223 librpc
/ndr
/ndr_sec_helper.o librpc
/ndr
/ndr_string.o librpc
/ndr
/sid.o
225 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
227 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_unixinfo.o librpc
/gen_ndr
/ndr_lsa.o \
228 librpc
/gen_ndr
/ndr_dfs.o librpc
/gen_ndr
/ndr_echo.o \
229 librpc
/gen_ndr
/ndr_winreg.o librpc
/gen_ndr
/ndr_initshutdown.o \
230 librpc
/gen_ndr
/ndr_srvsvc.o librpc
/gen_ndr
/ndr_svcctl.o \
231 librpc
/gen_ndr
/ndr_eventlog.o librpc
/gen_ndr
/ndr_wkssvc.o \
232 librpc
/gen_ndr
/ndr_notify.o \
233 librpc
/gen_ndr
/ndr_epmapper.o
235 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
237 # this includes only the low level parse code, not stuff
238 # that requires knowledge of security contexts
239 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
241 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o rpc_parse
/parse_net.o
243 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
245 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
247 TALLOC_OBJ
= lib
/talloc
/talloc.o
249 LIB_WITHOUT_PROTO_OBJ
= $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) $(TALLOC_OBJ
)
251 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
252 lib
/interface.o lib
/md4.o \
253 lib
/interfaces.o lib
/pidfile.o \
254 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
255 lib
/ufc.o lib
/genrand.o lib
/username.o \
256 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
257 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
258 lib
/xfile.o lib
/wins_srv.o lib
/util_reg.o \
259 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
260 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
261 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
262 lib
/substitute.o lib
/fsusage.o \
263 lib
/ms_fnmatch.o lib
/select.o lib
/messages.o \
264 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
265 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
266 nsswitch
/wb_client.o
$(WBCOMMON_OBJ
) \
267 lib
/pam_errors.o intl
/lang_tdb.o \
268 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
269 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
270 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
271 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
273 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
275 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
276 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
278 READLINE_OBJ
= lib
/readline.o
280 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
281 # Be sure to include them into your application
282 POPT_LIB_OBJ
= lib
/popt_common.o
284 PARAM_OBJ
= dynconfig.o param
/loadparm.o param
/params.o lib
/sharesec.o
286 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
288 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
289 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
290 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(TALLOC_OBJ
)
292 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_parse.o libgpo
/gpo_util.o \
293 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o
294 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
296 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o libads
/sasl.o \
297 libads
/krb5_setpw.o libads
/ldap_user.o \
298 libads
/ads_struct.o libads
/kerberos_keytab.o \
299 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
300 libads
/authdata.o libads
/cldap.o
302 LIBADS_SERVER_OBJ
= libads
/util.o libads
/kerberos_verify.o \
305 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
307 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
308 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
310 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
311 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
312 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
314 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
315 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
316 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
317 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
318 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
319 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
320 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
321 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
322 libsmb
/smb_seal.o
$(DOSERR_OBJ
) \
323 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
325 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
327 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
328 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
329 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
330 rpc_client
/cli_ds.o rpc_client
/cli_svcctl.o
332 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_unixinfo.o librpc
/gen_ndr
/cli_lsa.o \
333 librpc
/gen_ndr
/cli_dfs.o librpc
/gen_ndr
/cli_echo.o \
334 librpc
/gen_ndr
/cli_srvsvc.o \
335 librpc
/gen_ndr
/cli_winreg.o librpc
/gen_ndr
/cli_initshutdown.o \
336 librpc
/gen_ndr
/cli_eventlog.o librpc
/gen_ndr
/cli_epmapper.o \
337 $(LIBNDR_GEN_OBJ
) $(LIBNDR_OBJ
) $(RPCCLIENT_NDR_OBJ
)
339 REGOBJS_OBJ
= registry
/reg_objects.o
341 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
342 registry
/reg_db.o registry
/reg_eventlog.o registry
/reg_shares.o \
343 registry
/reg_util.o registry
/reg_dynamic.o registry
/reg_perfcount.o \
344 registry
/reg_smbconf.o registry
/reg_api.o
346 RPC_LSA_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
348 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o
350 RPC_SAMR_OBJ
= rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o \
351 rpc_server
/srv_samr_util.o
353 RPC_UNIXINFO_OBJ
= librpc
/gen_ndr
/srv_unixinfo.o rpc_server
/srv_unixinfo_nt.o
354 REGFIO_OBJ
= registry
/regfio.o
356 RPC_EPMAPPER_OBJ
= librpc
/gen_ndr
/srv_epmapper.o rpc_server
/srv_epmapper_nt.o
358 RPC_REG_OBJ
= librpc
/gen_ndr
/srv_winreg.o rpc_server
/srv_winreg_nt.o
$(REGFIO_OBJ
)
359 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
361 RPC_LSA_DS_OBJ
= rpc_server
/srv_lsa_ds.o rpc_server
/srv_lsa_ds_nt.o
363 RPC_SVC_OBJ
= librpc
/gen_ndr
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o
365 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
367 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
368 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
369 services
/svc_netlogon.o services
/svc_winreg.o \
372 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o
374 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
376 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
378 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o rpc_server
/srv_eventlog_lib.o
380 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
381 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
383 RPC_ECHO_OBJ
= librpc
/gen_ndr
/srv_echo.o rpc_server
/srv_echo_nt.o
385 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
387 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o
$(RPC_PARSE_OBJ2
) \
388 rpc_parse
/parse_samr.o \
389 rpc_parse
/parse_ds.o rpc_parse
/parse_spoolss.o \
390 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
391 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
$(REGOBJS_OBJ
)
393 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
395 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
397 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
399 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
400 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
401 passdb
/util_unixsids.o passdb
/lookup_sid.o \
402 passdb
/login_cache.o @PDB_STATIC@ \
403 lib
/account_pol.o lib
/privileges.o lib
/util_nscd.o
405 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
406 CP850_OBJ
= modules
/CP850.o
407 CP437_OBJ
= modules
/CP437.o
408 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
410 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o
412 PROFILE_OBJ
= profile
/profile.o
413 PROFILES_OBJ
= utils
/profiles.o \
414 $(REGFIO_OBJ
) $(REGOBJS_OBJ
) $(ERRORMAP_OBJ
) \
415 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
416 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
417 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
419 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
421 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
423 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
424 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
425 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
426 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
427 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
428 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
429 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
430 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
431 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
432 VFS_CAP_OBJ
= modules
/vfs_cap.o
433 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
434 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
435 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
436 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
437 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
438 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
439 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
440 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
441 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
442 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
443 VFS_CATIA_OBJ
= modules
/vfs_catia.o
444 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
445 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
446 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
447 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
448 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
449 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
451 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
453 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
455 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o
457 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
458 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
459 AUTH_SAM_OBJ
= auth
/auth_sam.o
460 AUTH_SERVER_OBJ
= auth
/auth_server.o
461 AUTH_UNIX_OBJ
= auth
/auth_unix.o
462 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
463 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
465 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/auth_compat.o \
466 auth
/auth_ntlmssp.o \
467 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
469 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_map.o smbd
/mangle_hash2.o
471 SMBD_OBJ_MAIN
= smbd
/server.o
473 BUILDOPT_OBJ
= smbd
/build_options.o
475 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
476 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
477 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
478 smbd
/share_access.o smbd
/fileio.o \
479 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
480 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
481 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
482 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
483 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
484 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
485 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
486 smbd
/process.o smbd
/service.o smbd
/error.o \
487 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
488 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
489 smbd
/change_trust_pw.o smbd
/fake_file.o \
490 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
491 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
492 smbd
/dmapi.o
$(MANGLE_OBJ
) @VFS_STATIC@
494 SMBD_OBJ_BASE
= $(PARAM_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
495 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
496 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
497 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
498 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
499 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
500 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
501 $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
502 $(BUILDOPT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
504 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
505 printing
/print_cups.o printing
/print_generic.o \
506 printing
/lpq_parse.o printing
/load.o \
507 printing
/print_iprint.o printing
/print_test.o
509 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
510 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
512 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
513 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
514 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
515 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
516 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
517 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
518 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
519 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
520 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
521 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
522 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
523 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
524 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
526 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
527 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
529 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
530 web
/swat.o web
/neg_lang.o
532 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
533 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
534 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
535 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
536 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
538 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
539 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
540 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
541 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
544 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
545 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
546 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
547 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
549 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
550 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
551 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
552 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
554 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
557 TESTPARM_OBJ
= utils
/testparm.o \
558 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
559 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
561 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
563 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
564 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
565 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
566 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
568 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) \
569 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
570 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
571 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) libsmb
/errormap.o
573 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ
)
575 DISPLAY_SEC_OBJ
= lib
/display_sec.o
577 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
578 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
579 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
580 rpcclient
/cmd_dfs.o \
581 rpcclient
/cmd_ds.o rpcclient
/cmd_echo.o \
582 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
583 rpcclient
/cmd_unixinfo.o
$(DISPLAY_SEC_OBJ
)
585 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
586 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
587 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
588 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
589 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
590 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
592 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
593 $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) @BUILD_INIPARSER@
595 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
596 libsmb
/libsmb_cache.o \
597 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
598 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
599 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
600 $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
602 CAC_OBJ
= $(LIBSMBCLIENT_OBJ
) \
603 libmsrpc
/libmsrpc.o libmsrpc
/libmsrpc_internal.o \
604 libmsrpc
/cac_lsarpc.o libmsrpc
/cac_winreg.o libmsrpc
/cac_samr.o \
605 libmsrpc
/cac_svcctl.o
607 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o
$(TDB_BASE_OBJ
)
609 # This shared library is intended for linking with unit test programs
610 # to test Samba internals. It's called libbigballofmud.so to
611 # discourage casual usage.
613 LIBBIGBALLOFMUD_MAJOR
= 0
615 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
616 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
617 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
619 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
623 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
624 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
625 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
626 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
629 TOOL_OBJ
= client
/smbctool.o client
/clitar.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
630 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
631 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
634 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
635 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
636 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
637 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
638 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
639 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
640 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
641 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
642 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o
644 NET_OBJ
= $(NET_OBJ1
) $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
645 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
646 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
647 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
648 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
649 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
650 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
651 $(LDB_OBJ
) $(LIBGPO_OBJ
) $(INIPARSER_OBJ
) $(DISPLAY_SEC_OBJ
)
653 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
654 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
656 MOUNT_OBJ
= client
/smbmount.o \
657 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
659 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
661 UMOUNT_OBJ
= client
/smbumount.o
$(SOCKET_WRAPPER_OBJ
)
663 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
665 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
667 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
668 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
670 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
671 torture
/denytest.o torture
/mangle_test.o
673 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
674 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
676 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
677 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
679 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
680 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
682 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
683 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
685 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
686 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
688 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
689 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
690 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
693 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
695 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
697 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
699 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
700 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
702 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
703 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
704 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) \
705 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
707 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
709 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
710 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
711 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
713 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
715 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
716 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
718 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o registry
/reg_util.o \
721 SHARESEC_OBJ0
= utils
/sharesec.o
722 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
723 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
724 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
726 TALLOCTORT_OBJ
= lib
/talloc
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
727 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
)
729 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o lib
/replace
/test/os2_delete.o \
732 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
733 $(PARAM_OBJ
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
734 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
735 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(SECRETS_OBJ
)
737 RPCTORTURE_OBJ
= torture
/rpctorture.o \
738 rpcclient
/display.o \
739 rpcclient
/cmd_lsarpc.o \
740 rpcclient
/cmd_wkssvc.o \
741 rpcclient
/cmd_samr.o \
742 rpcclient
/cmd_srvsvc.o \
743 rpcclient
/cmd_netlogon.o \
744 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
745 $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
) $(SECRETS_OBJ
)
747 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
749 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
750 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
752 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(RPCCLIENT_NDR_OBJ
) \
753 $(LIBNDR_GEN_OBJ
) $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
754 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
755 $(LIBMSRPC_OBJ
) @SMBWRAP_OBJS@ \
756 $(LIB_WITH_PROTO_OBJ
) \
757 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
758 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
759 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
760 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
761 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
762 $(AUTH_SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
763 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_LSA_DS_OBJ
) \
764 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
765 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
766 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
767 $(RPC_EPMAPPER_OBJ
) $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
768 utils
/passwd_util.o
$(LIBGPO_OBJ
) $(NSS_INFO_OBJ
)
770 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
771 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
773 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
774 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o \
775 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
776 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
777 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
)
779 IDMAP_OBJ
= nsswitch
/idmap.o nsswitch
/idmap_cache.o nsswitch
/idmap_util.o @IDMAP_STATIC@
781 NSS_INFO_OBJ
= nsswitch
/nss_info.o @NSS_INFO_STATIC@
783 IDMAP_NSS_OBJ
= sam
/idmap_nss.o @IDMAP_NSS_STATIC@
786 nsswitch
/winbindd.o \
787 nsswitch
/winbindd_user.o \
788 nsswitch
/winbindd_group.o \
789 nsswitch
/winbindd_util.o \
790 nsswitch
/winbindd_cache.o \
791 nsswitch
/winbindd_pam.o \
792 nsswitch
/winbindd_sid.o \
793 nsswitch
/winbindd_misc.o \
794 nsswitch
/winbindd_cm.o \
795 nsswitch
/winbindd_wins.o \
796 nsswitch
/winbindd_rpc.o \
797 nsswitch
/winbindd_reconnect.o \
798 nsswitch
/winbindd_ads.o \
799 nsswitch
/winbindd_passdb.o \
800 nsswitch
/winbindd_dual.o \
801 nsswitch
/winbindd_async.o \
802 nsswitch
/winbindd_creds.o \
803 nsswitch
/winbindd_cred_cache.o \
804 nsswitch
/winbindd_ccache_access.o
807 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
808 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
809 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
810 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
811 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
812 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
813 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
814 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
816 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
817 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
819 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
821 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
822 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
823 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
824 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
825 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
827 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
828 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
829 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
831 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
832 lib
/ldb
/modules
/objectclass.o \
833 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
835 # enabled in configure.in
836 LDB_LDAP_OBJ
=@LDBLDAP@
838 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
840 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
841 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
842 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
843 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
844 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
845 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
846 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
847 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
850 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
851 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
852 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
853 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
854 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
856 SMB_KRB5_LOCATOR_OBJ1
= libads
/smb_krb5_locator.o
857 SMB_KRB5_LOCATOR_OBJ
= $(SMB_KRB5_LOCATOR_OBJ1
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
858 $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
)
860 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
861 popt
/popthelp.o popt
/poptparse.o
863 INIPARSER_OBJ
= iniparser
/src
/iniparser.o iniparser
/src
/dictionary.o \
864 iniparser
/src
/strlib.o
866 TDBBACKUP_OBJ
= tdb
/tools
/tdbbackup.o tdb
/common
/tdbback.o
$(LIBREPLACE_OBJ
) \
867 $(TDBBASE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
869 TDBTOOL_OBJ
= tdb
/tools
/tdbtool.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
870 $(SOCKET_WRAPPER_OBJ
)
872 TDBDUMP_OBJ
= tdb
/tools
/tdbdump.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
873 $(SOCKET_WRAPPER_OBJ
)
875 TDBTORTURE_OBJ
= tdb
/tools
/tdbtorture.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
876 $(SOCKET_WRAPPER_OBJ
)
879 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
881 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
882 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
883 libads
/kerberos_verify.o
$(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) \
884 libads
/authdata.o
$(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
885 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) rpc_parse
/parse_net.o
$(LIBNMB_OBJ
) \
886 $(LDB_OBJ
) libsmb
/errormap.o
888 ######################################################################
890 ######################################################################
891 all : SHOWFLAGS
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
892 $(SHLIBS
) $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
894 nss_modules
: $(NSS_MODULES
)
896 pam_modules
: $(PAM_MODULES
)
898 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
900 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
902 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
904 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
906 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
908 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
910 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
912 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
914 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
916 smbctool
: SHOWFLAGS bin
/smbctool@EXEEXT@
918 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
920 rpctorture
: SHOWFLAGS bin
/rpctorture@EXEEXT@
922 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
924 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
926 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
928 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
930 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
932 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
934 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
936 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
937 @WINBIND_WINS_NSS@ bin
/pam_winbind.@SHLIBEXT@
939 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
941 modules
: SHOWFLAGS
$(MODULES
)
943 cac
: SHOWFLAGS
$(LIBMSRPC
)
946 #####################################################################
948 IDL_FILES
= unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
949 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
953 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
954 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
957 #####################################################################
960 everything
: all libsmbclient debug2html smbfilter talloctort replacetort modules torture \
967 @echo
"Using FLAGS = $(FLAGS)"
968 @echo
" PICFLAG = $(PICFLAG)"
969 @echo
" LIBS = $(LIBS)"
970 @echo
" LDFLAGS = $(LDFLAGS)"
971 @echo
" DYNEXP = $(DYNEXP)"
972 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
973 @echo
" SHLIBEXT = @SHLIBEXT@"
974 @echo
" SONAMEFLAG = @SONAMEFLAG@"
976 MAKEDIR
= || exec false
; \
977 if
test -d
"$$dir"; then
:; else \
978 echo mkdir
"$$dir"; \
979 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
982 exec false
; fi || exec false
985 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
986 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
987 @if
test -n
"$(CC_CHECKER)"; then \
988 echo
"Checking $*.c with '$(CC_CHECKER)'";\
989 $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
;\
992 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
&& exit
0;\
993 echo
"The following command failed:" 1>&2;\
994 echo
"$(CC) -I. -I$(srcdir) $(FLAGS) $(PICFLAG) -c $< -o $@" 1>&2;\
995 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
>/dev
/null
2>&1
996 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
998 # this adds support for precompiled headers. To use it, install a snapshot
999 # of gcc-3.4 and run 'make pch' before you do the main build.
1001 rm -f
$(builddir
)/include/includes.h.gch
1002 $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$(srcdir)/include/includes.h
-o
$(builddir
)/include/includes.h.gch
1004 # These dependencies are only approximately correct: we want to make
1005 # sure Samba's paths are updated if ./configure is re-run. Really it
1006 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1007 # but since we also require "make install prefix=/opt/samba" *not* to
1008 # rebuild it's a bit hard.
1010 dynconfig.o
: dynconfig.c Makefile
1011 @echo Compiling
$*.c
1012 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
&& exit
0;\
1013 echo
"The following command failed:" 1>&2;\
1014 echo
"$(CC) $(FLAGS) $(PATH_FLAGS) $(PICFLAG) -c $(srcdir)/dynconfig.c -o $@" 1>&2;\
1015 $(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/dynconfig.c
-o
$@
>/dev
/null
2>&1
1017 lib
/pidfile.o
: lib
/pidfile.c
1018 @echo Compiling
$*.c
1019 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/pidfile.c
-o
$@
1021 lib
/version.o
: lib
/version.c
include/version.h
1022 @echo Compiling
$*.c
1023 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c
$(srcdir)/lib
/version.c
-o
$@
1025 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1026 @echo Compiling
$*.c
1027 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) $(PICFLAG
) -c smbd
/build_options.c
-o
$@
1029 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1031 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1034 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1035 dir=bin
$(MAKEDIR
); fi
1036 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1038 bin
/smbd@EXEEXT@
: proto_exists
$(SMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
1040 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1041 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1042 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @SMBD_LIBS@
1044 bin
/nmbd@EXEEXT@
: proto_exists
$(NMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
1046 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1048 bin
/swat@EXEEXT@
: proto_exists
$(SWAT_OBJ
) @BUILD_POPT@ bin
/.dummy
1050 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1051 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1053 bin
/rpcclient@EXEEXT@
: proto_exists
$(RPCCLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
1055 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1056 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1057 $(KRB5LIBS
) $(LDAP_LIBS
)
1059 bin
/smbclient@EXEEXT@
: proto_exists
$(CLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
1061 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1063 bin
/smbctool@EXEEXT@
: proto_exists
$(TOOL_OBJ
) @BUILD_POPT@ bin
/.dummy
1065 @
$(CC
) $(FLAGS
) -o
$@
$(TOOL_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) -Lbin
-lsmbclient
1067 bin
/net@EXEEXT@
: proto_exists
$(NET_OBJ
) @BUILD_POPT@ @BUILD_INIPARSER@ bin
/.dummy
1069 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@
1071 bin
/profiles@EXEEXT@
: proto_exists
$(PROFILES_OBJ
) @BUILD_POPT@ bin
/.dummy
1073 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1075 bin
/smbspool@EXEEXT@
: proto_exists
$(CUPS_OBJ
) bin
/.dummy
1077 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1079 bin
/smbmount@EXEEXT@
: proto_exists
$(MOUNT_OBJ
) bin
/.dummy
1081 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1083 bin
/smbmnt@EXEEXT@
: proto_exists
$(MNT_OBJ
) bin
/.dummy
1085 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1087 bin
/smbumount@EXEEXT@
: proto_exists
$(UMOUNT_OBJ
) bin
/.dummy
1089 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1091 bin
/mount.cifs@EXEEXT@
: $(CIFS_MOUNT_OBJ
) bin
/.dummy
1093 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1095 bin
/umount.cifs@EXEEXT@
: $(CIFS_UMOUNT_OBJ
) bin
/.dummy
1097 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
)
1099 bin
/testparm@EXEEXT@
: proto_exists
$(TESTPARM_OBJ
) @BUILD_POPT@ bin
/.dummy
1101 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1103 bin
/smbstatus@EXEEXT@
: proto_exists
$(STATUS_OBJ
) @BUILD_POPT@ bin
/.dummy
1105 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1108 bin
/smbcontrol@EXEEXT@
: proto_exists
$(SMBCONTROL_OBJ
) @BUILD_POPT@ bin
/.dummy
1110 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1111 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1112 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@
1114 bin
/smbtree@EXEEXT@
: proto_exists
$(SMBTREE_OBJ
) @BUILD_POPT@ bin
/.dummy
1116 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1118 bin
/smbpasswd@EXEEXT@
: proto_exists
$(SMBPASSWD_OBJ
) @BUILD_POPT@ bin
/.dummy
1120 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1121 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1123 bin
/pdbedit@EXEEXT@
: proto_exists
$(PDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1125 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
)
1127 bin
/smbget@EXEEXT@
: proto_exists
$(SMBGET_OBJ
) @BUILD_POPT@ bin
/.dummy
1129 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1131 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1133 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1135 bin
/nmblookup@EXEEXT@
: proto_exists
$(NMBLOOKUP_OBJ
) @BUILD_POPT@ bin
/.dummy
1137 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(LDAP_LIBS
)
1139 bin
/smbtorture@EXEEXT@
: proto_exists
$(SMBTORTURE_OBJ
) bin
/.dummy
1141 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1143 bin
/talloctort@EXEEXT@
: proto_exists
$(TALLOCTORT_OBJ
) bin
/.dummy
1145 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1146 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
)
1148 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) bin
/.dummy
1150 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1153 bin
/masktest@EXEEXT@
: proto_exists
$(MASKTEST_OBJ
) bin
/.dummy
1155 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1157 bin
/msgtest@EXEEXT@
: proto_exists
$(MSGTEST_OBJ
) bin
/.dummy
1159 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1161 bin
/smbcacls@EXEEXT@
: proto_exists
$(SMBCACLS_OBJ
) @BUILD_POPT@ bin
/.dummy
1163 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1164 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1166 bin
/smbcquotas@EXEEXT@
: proto_exists
$(SMBCQUOTAS_OBJ
) @BUILD_POPT@ bin
/.dummy
1168 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1169 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1171 bin
/eventlogadm@EXEEXT@
: proto_exists
$(EVTLOGADM_OBJ
) @BUILD_POPT@ bin
/.dummy
1173 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1175 bin
/sharesec@EXEEXT@
: proto_exists
$(SHARESEC_OBJ
) @BUILD_POPT@ bin
/.dummy
1177 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1179 bin
/locktest@EXEEXT@
: proto_exists
$(LOCKTEST_OBJ
) bin
/.dummy
1181 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1183 bin
/nsstest@EXEEXT@
: proto_exists
$(NSSTEST_OBJ
) bin
/.dummy
1185 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1187 bin
/pdbtest@EXEEXT@
: proto_exists
$(PDBTEST_OBJ
) bin
/.dummy
1189 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@
1191 bin
/vfstest@EXEEXT@
: proto_exists
$(VFSTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
1193 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
)
1195 bin
/smbiconv@EXEEXT@
: $(SMBICONV_OBJ
) @BUILD_POPT@ bin
/.dummy
1197 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
1199 bin
/log2pcap@EXEEXT@
: proto_exists
$(LOG2PCAP_OBJ
) @BUILD_POPT@ bin
/.dummy
1201 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1203 bin
/locktest2@EXEEXT@
: proto_exists
$(LOCKTEST2_OBJ
) bin
/.dummy
1205 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1207 bin
/rpctorture@EXEEXT@
: $(RPCTORTURE_OBJ
) bin
/.dummy
1209 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1211 bin
/ndrdump@EXEEXT@
: $(NDRDUMP_OBJ
) bin
/.dummy
1213 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1214 @POPTLIBS@ @LDAP_LIBS@
1216 bin
/debug2html@EXEEXT@
: proto_exists
$(DEBUG2HTML_OBJ
) bin
/.dummy
1218 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1220 bin
/smbfilter@EXEEXT@
: proto_exists
$(SMBFILTER_OBJ
) bin
/.dummy
1222 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1225 bin
/ldbedit
: proto_exists
$(LDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
1227 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1229 bin
/ldbsearch
: proto_exists
$(LDBSEARCH_OBJ
) @BUILD_POPT@ bin
/.dummy
1231 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1233 bin
/ldbadd
: proto_exists
$(LDBADD_OBJ
) @BUILD_POPT@ bin
/.dummy
1235 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1237 bin
/ldbmodify
: proto_exists
$(LDBMODIFY_OBJ
) @BUILD_POPT@ bin
/.dummy
1239 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1241 bin
/ldbdel
: proto_exists
$(LDBDEL_OBJ
) @BUILD_POPT@ bin
/.dummy
1243 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
)
1245 bin
/libaddns.@SHLIBEXT@
: proto_exists
$(LIBADDNS_OBJ
)
1246 @echo Linking libaddns shared library
$@
1247 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBADDNS_OBJ
) $(LDFLAGS
) $(LIBS
) \
1248 $(KRB5LIBS
) $(UUID_LIBS
)\
1249 @SONAMEFLAG@
`basename $@`.
$(LIBADDNS_MAJOR
)
1251 bin
/libaddns.a
: proto_exists
$(LIBADDNS_OBJ
)
1252 @echo Linking libaddns non-shared library
$@
1253 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1255 bin
/libsmbclient.@SHLIBEXT@
: proto_exists
$(LIBSMBCLIENT_OBJ
)
1256 @echo Linking libsmbclient shared library
$@
1257 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBCLIENT_OBJ
) $(LDFLAGS
) $(LIBS
) \
1258 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1259 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
1261 bin
/libsmbclient.a
: proto_exists
$(LIBSMBCLIENT_OBJ
)
1262 @echo Linking libsmbclient non-shared library
$@
1263 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ
)
1265 bin
/libsmbsharemodes.@SHLIBEXT@
: proto_exists
$(LIBSMBSHAREMODES_OBJ
)
1266 @echo Linking libsmbsharemodes shared library
$@
1267 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBSHAREMODES_OBJ
) $(LDFLAGS
) $(LIBS
) \
1268 $(KRB5LIBS
) $(LDAP_LIBS
) \
1269 @SONAMEFLAG@
`basename $@`.
$(LIBSMBSHAREMODES_MAJOR
)
1271 bin
/libsmbsharemodes.a
: proto_exists
$(LIBSMBSHAREMODES_OBJ
)
1272 @echo Linking libsmbsharemodes non-shared library
$@
1273 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1275 bin
/libmsrpc.@SHLIBEXT@
: proto_exists
$(CAC_OBJ
)
1276 @echo Linking libmsrpc shared library
$@
1277 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CAC_OBJ
) $(LDFLAGS
) $(LIBS
) \
1278 @SONAMEFLAG@
`basename $@`.
$(LIBMSRPC_MAJOR
)
1280 bin
/libmsrpc.a
: proto_exists
$(CAC_OBJ
)
1281 @echo Linking libmsrpc non-shared library
$@
1282 @
-$(AR
) -rc
$@
$(CAC_OBJ
)
1284 # This is probably wrong for anything other than the GNU linker.
1285 bin
/libbigballofmud.@SHLIBEXT@
: proto_exists
$(LIBBIGBALLOFMUD_OBJ
)
1286 @echo Linking bigballofmud shared library
$@
1287 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1288 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1289 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1290 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1292 # It would be nice to build a static bigballofmud too, but when I try
1293 # I get linker errors about dl_open and similar things. I'm not sure if
1294 # it can be fixed or if they just can't be called from a static
1297 libsmbclient
: $(LIBSMBCLIENT
)
1298 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1299 libmsrpc
: $(LIBMSRPC
)
1300 libaddns
: $(LIBADDNS
)
1302 bin
/librpc_lsarpc.@SHLIBEXT@
: proto_exists
$(RPC_LSA_OBJ
)
1304 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_OBJ
) -lc \
1305 @SONAMEFLAG@
`basename $@`
1307 bin
/librpc_samr.@SHLIBEXT@
: proto_exists
$(RPC_SAMR_OBJ
)
1309 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SAMR_OBJ
) -lc \
1310 @SONAMEFLAG@
`basename $@`
1312 bin
/librpc_unixinfo.@SHLIBEXT@
: proto_exists
$(RPC_UNIXINFO_OBJ
)
1314 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_UNIXINFO_OBJ
) -lc \
1315 @SONAMEFLAG@
`basename $@`
1317 bin
/librpc_epmapper.@SHLIBEXT@
: proto_exists
$(RPC_EPMAPPER_OBJ
)
1319 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_EPMAPPER_OBJ
) -lc \
1320 @SONAMEFLAG@
`basename $@`
1322 bin
/librpc_srvsvc.@SHLIBEXT@
: proto_exists
$(RPC_SVC_OBJ
)
1324 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVC_OBJ
) -lc \
1325 @SONAMEFLAG@
`basename $@`
1327 bin
/librpc_svcctl.@SHLIBEXT@
: proto_exists
$(RPC_SVCCTL_OBJ
)
1329 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SVCCTL_OBJ
) -lc \
1330 @SONAMEFLAG@
`basename $@`
1332 bin
/librpc_ntsvcs.@SHLIBEXT@
: proto_exists
$(RPC_NTSVCS_OBJ
)
1334 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NTSVCS_OBJ
) -lc \
1335 @SONAMEFLAG@
`basename $@`
1337 bin
/librpc_wkssvc.@SHLIBEXT@
: proto_exists
$(RPC_WKS_OBJ
)
1339 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_WKS_OBJ
) -lc \
1340 @SONAMEFLAG@
`basename $@`
1342 bin
/librpc_NETLOGON.@SHLIBEXT@
: proto_exists
$(RPC_NETLOG_OBJ
)
1344 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_NETLOG_OBJ
) -lc \
1345 @SONAMEFLAG@
`basename $@`
1347 bin
/librpc_winreg.@SHLIBEXT@
: proto_exists
$(RPC_REG_OBJ
)
1349 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_REG_OBJ
) -lc \
1350 @SONAMEFLAG@
`basename $@`
1352 bin
/librpc_initshutdown.@SHLIBEXT@
: proto_exists
$(RPC_INITSHUTDOWN_OBJ
)
1354 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_INITSHUTDOWN_OBJ
) -lc \
1355 @SONAMEFLAG@
`basename $@`
1357 bin
/librpc_lsa_ds.@SHLIBEXT@
: proto_exists
$(RPC_LSA_DS_OBJ
)
1359 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_LSA_DS_OBJ
) -lc \
1360 @SONAMEFLAG@
`basename $@`
1362 bin
/librpc_spoolss.@SHLIBEXT@
: proto_exists
$(RPC_SPOOLSS_OBJ
)
1364 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_SPOOLSS_OBJ
) -lc \
1365 @SONAMEFLAG@
`basename $@`
1367 bin
/librpc_eventlog.@SHLIBEXT@
: proto_exists
$(RPC_EVENTLOG_OBJ
)
1369 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_EVENTLOG_OBJ
) -lc \
1370 @SONAMEFLAG@
`basename $@`
1372 bin
/librpc_netdfs.@SHLIBEXT@
: proto_exists
$(RPC_DFS_OBJ
)
1374 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_DFS_OBJ
) -lc \
1375 @SONAMEFLAG@
`basename $@`
1377 bin
/librpc_echo.@SHLIBEXT@
: proto_exists
$(RPC_ECHO_OBJ
)
1379 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(RPC_ECHO_OBJ
) -lc \
1380 @SONAMEFLAG@
`basename $@`
1382 bin
/winbindd@EXEEXT@
: proto_exists
$(WINBINDD_OBJ
) @BUILD_POPT@ bin
/.dummy
1384 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1385 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
)
1387 @WINBIND_NSS@
: $(WINBIND_NSS_OBJ
)
1389 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1390 @WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1392 @WINBIND_WINS_NSS@
: proto_exists
$(WINBIND_WINS_NSS_OBJ
)
1394 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1395 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) \
1396 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1398 @SMB_KRB5_LOCATOR@
: proto_exists
$(SMB_KRB5_LOCATOR_OBJ
)
1400 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(SMB_KRB5_LOCATOR_OBJ
) \
1401 $(LDAP_LIBS
) $(LIBS
) -lcom_err \
1402 @SONAMEFLAG@
`basename $@`
1404 bin
/pam_winbind.@SHLIBEXT@
: $(PAM_WINBIND_OBJ
) bin
/.dummy
1405 @echo
"Linking shared library $@"
1406 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@
$(GPLIBS
) \
1407 @SONAMEFLAG@
`basename $@`
1409 bin
/builtin.@SHLIBEXT@
: proto_exists
$(AUTH_BUILTIN_OBJ
)
1410 @echo
"Building plugin $@"
1411 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_BUILTIN_OBJ
) @SONAMEFLAG@
`basename $@`
1413 bin
/domain.@SHLIBEXT@
: proto_exists
$(AUTH_DOMAIN_OBJ
)
1414 @echo
"Building plugin $@"
1415 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_DOMAIN_OBJ
) @SONAMEFLAG@
`basename $@`
1417 bin
/script.@SHLIBEXT@
: proto_exists
$(AUTH_SCRIPT_OBJ
)
1418 @echo
"Building plugin $@"
1419 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SCRIPT_OBJ
) @SONAMEFLAG@
`basename $@`
1421 bin
/smbserver.@SHLIBEXT@
: proto_exists
$(AUTH_SERVER_OBJ
)
1422 @echo
"Building plugin $@"
1423 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SERVER_OBJ
) @SONAMEFLAG@
`basename $@`
1425 bin
/winbind.@SHLIBEXT@
: proto_exists
$(AUTH_WINBIND_OBJ
)
1426 @echo
"Building plugin $@"
1427 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_WINBIND_OBJ
) @SONAMEFLAG@
`basename $@`
1429 bin
/unix.@SHLIBEXT@
: proto_exists
$(AUTH_UNIX_OBJ
)
1430 @echo
"Building plugin $@"
1431 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_UNIX_OBJ
) @SONAMEFLAG@
`basename $@`
1433 bin
/sam.@SHLIBEXT@
: proto_exists
$(AUTH_SAM_OBJ
)
1434 @echo
"Building plugin $@"
1435 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(AUTH_SAM_OBJ
) @SONAMEFLAG@
`basename $@`
1437 bin
/ldapsam.@SHLIBEXT@
: passdb
/pdb_ldap.o
1438 @echo
"Building plugin $@"
1439 @
$(SHLD
) $(LDSHFLAGS
) $(LDAP_LIBS
) -o
$@ passdb
/pdb_ldap.o \
1440 @SONAMEFLAG@
`basename $@`
1442 bin
/tdbsam.@SHLIBEXT@
: proto_exists passdb
/pdb_tdb.o
1443 @echo
"Building plugin $@"
1444 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_tdb.o \
1445 @SONAMEFLAG@
`basename $@`
1447 bin
/smbpasswd.@SHLIBEXT@
: proto_exists passdb
/pdb_smbpasswd.o
1448 @echo
"Building plugin $@"
1449 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ passdb
/pdb_smbpasswd.o \
1450 @SONAMEFLAG@
`basename $@`
1452 bin
/rid.@SHLIBEXT@
: proto_exists nsswitch
/idmap_rid.o
1453 @echo
"Building plugin $@"
1454 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_rid.o \
1455 @SONAMEFLAG@
`basename $@`
1457 bin
/ad.@SHLIBEXT@
: nsswitch
/idmap_ad.o
1458 @echo
"Building plugin $@"
1459 @
$(SHLD
) $(LDSHFLAGS
) -o
$@ nsswitch
/idmap_ad.o \
1460 @SONAMEFLAG@
`basename $@`
1462 bin
/weird.@SHLIBEXT@
: proto_exists
$(DEVEL_HELP_WEIRD_OBJ
)
1463 @echo
"Building plugin $@"
1464 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(DEVEL_HELP_WEIRD_OBJ
) \
1465 @SONAMEFLAG@
`basename $@`
1467 bin
/CP850.@SHLIBEXT@
: proto_exists
$(CP850_OBJ
)
1468 @echo
"Building plugin $@"
1469 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP850_OBJ
) \
1470 @SONAMEFLAG@
`basename $@`
1472 bin
/CP437.@SHLIBEXT@
: proto_exists
$(CP437_OBJ
)
1473 @echo
"Building plugin $@"
1474 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CP437_OBJ
) \
1475 @SONAMEFLAG@
`basename $@`
1477 bin
/macosxfs.@SHLIBEXT@
: $(CHARSET_MACOSXFS_OBJ
)
1478 @echo
"Building plugin $@"
1479 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(CHARSET_MACOSXFS_OBJ
) \
1480 -framework CoreFoundation @SONAMEFLAG@
`basename $@`
1482 # NOTE, there is no build rule for a dynamic default VFS module because
1483 # this one MUST MUST MUST be built statically.
1485 bin
/audit.@SHLIBEXT@
: proto_exists
$(VFS_AUDIT_OBJ
)
1486 @echo
"Building plugin $@"
1487 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AUDIT_OBJ
) \
1488 @SONAMEFLAG@
`basename $@`
1490 bin
/extd_audit.@SHLIBEXT@
: proto_exists
$(VFS_EXTD_AUDIT_OBJ
)
1491 @echo
"Building plugin $@"
1492 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXTD_AUDIT_OBJ
) \
1493 @SONAMEFLAG@
`basename $@`
1495 bin
/full_audit.@SHLIBEXT@
: proto_exists
$(VFS_FULL_AUDIT_OBJ
)
1496 @echo
"Building plugin $@"
1497 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FULL_AUDIT_OBJ
) \
1498 @SONAMEFLAG@
`basename $@`
1500 bin
/recycle.@SHLIBEXT@
: proto_exists
$(VFS_RECYCLE_OBJ
)
1501 @echo
"Building plugin $@"
1502 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_RECYCLE_OBJ
) \
1503 @SONAMEFLAG@
`basename $@`
1505 bin
/netatalk.@SHLIBEXT@
: proto_exists
$(VFS_NETATALK_OBJ
)
1506 @echo
"Building plugin $@"
1507 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NETATALK_OBJ
) \
1508 @SONAMEFLAG@
`basename $@`
1510 bin
/fake_perms.@SHLIBEXT@
: proto_exists
$(VFS_FAKE_PERMS_OBJ
)
1511 @echo
"Building plugin $@"
1512 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_FAKE_PERMS_OBJ
) \
1513 @SONAMEFLAG@
`basename $@`
1515 bin
/default_quota.@SHLIBEXT@
: proto_exists
$(VFS_DEFAULT_QUOTA_OBJ
)
1516 @echo
"Building plugin $@"
1517 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_DEFAULT_QUOTA_OBJ
) \
1518 @SONAMEFLAG@
`basename $@`
1520 bin
/readonly.@SHLIBEXT@
: proto_exists
$(VFS_READONLY_OBJ
)
1521 @echo
"Building plugin $@"
1522 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READONLY_OBJ
) \
1523 @SONAMEFLAG@
`basename $@`
1525 bin
/shadow_copy.@SHLIBEXT@
: proto_exists
$(VFS_SHADOW_COPY_OBJ
)
1526 @echo
"Building plugin $@"
1527 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SHADOW_COPY_OBJ
) \
1528 @SONAMEFLAG@
`basename $@`
1530 bin
/cap.@SHLIBEXT@
: proto_exists
$(VFS_CAP_OBJ
)
1531 @echo
"Building plugin $@"
1532 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CAP_OBJ
) \
1533 @SONAMEFLAG@
`basename $@`
1535 bin
/expand_msdfs.@SHLIBEXT@
: proto_exists
$(VFS_EXPAND_MSDFS_OBJ
)
1536 @echo
"Building plugin $@"
1537 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_EXPAND_MSDFS_OBJ
) \
1538 @SONAMEFLAG@
`basename $@`
1540 bin
/afsacl.@SHLIBEXT@
: $(VFS_AFSACL_OBJ
:.o
=.po
)
1541 @echo
"Building plugin $@"
1542 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AFSACL_OBJ
:.o
=.po
) \
1543 @SONAMEFLAG@
`basename $@`
1545 bin
/posixacl.@SHLIBEXT@
: $(VFS_POSIXACL_OBJ
)
1546 @echo
"Building plugin $@"
1547 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_POSIXACL_OBJ
) \
1548 @SONAMEFLAG@
`basename $@`
1550 bin
/aixacl.@SHLIBEXT@
: $(VFS_AIXACL_OBJ
)
1551 @echo
"Building plugin $@"
1552 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL_OBJ
) \
1553 @SONAMEFLAG@
`basename $@`
1555 bin
/aixacl2.@SHLIBEXT@
: $(VFS_AIXACL2_OBJ
)
1556 @echo
"Building plugin $@"
1557 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AIXACL2_OBJ
) \
1558 @SONAMEFLAG@
`basename $@`
1560 bin
/solarisacl.@SHLIBEXT@
: $(VFS_SOLARISACL_OBJ
)
1561 @echo
"Building plugin $@"
1562 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_SOLARISACL_OBJ
) \
1563 @SONAMEFLAG@
`basename $@`
1565 bin
/irixacl.@SHLIBEXT@
: proto_exists
$(VFS_IRIXACL_OBJ
)
1566 @echo
"Building plugin $@"
1567 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_IRIXACL_OBJ
) \
1568 @SONAMEFLAG@
`basename $@`
1570 bin
/hpuxacl.@SHLIBEXT@
: proto_exists
$(VFS_HPUXACL_OBJ
)
1571 @echo
"Building plugin $@"
1572 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_HPUXACL_OBJ
) \
1573 @SONAMEFLAG@
`basename $@`
1575 bin
/tru64acl.@SHLIBEXT@
: $(VFS_TRU64ACL_OBJ
)
1576 @echo
"Building plugin $@"
1577 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_TRU64ACL_OBJ
) \
1578 @SONAMEFLAG@
`basename $@`
1580 bin
/catia.@SHLIBEXT@
: proto_exists
$(VFS_CATIA_OBJ
)
1581 @echo
"Building plugin $@"
1582 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CATIA_OBJ
) \
1583 @SONAMEFLAG@
`basename $@`
1585 bin
/cacheprime.@SHLIBEXT@
: proto_exists
$(VFS_CACHEPRIME_OBJ
)
1586 @echo
"Building plugin $@"
1587 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_CACHEPRIME_OBJ
) \
1588 @SONAMEFLAG@
`basename $@`
1590 bin
/prealloc.@SHLIBEXT@
: proto_exists
$(VFS_PREALLOC_OBJ
)
1591 @echo
"Building plugin $@"
1592 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_PREALLOC_OBJ
) \
1593 @SONAMEFLAG@
`basename $@`
1595 bin
/commit.@SHLIBEXT@
: proto_exists
$(VFS_COMMIT_OBJ
)
1596 @echo
"Building plugin $@"
1597 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_COMMIT_OBJ
) \
1598 @SONAMEFLAG@
`basename $@`
1600 bin
/gpfs.@SHLIBEXT@
: $(VFS_GPFS_OBJ
)
1601 @echo
"Building plugin $@"
1602 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_GPFS_OBJ
) \
1603 @SONAMEFLAG@
`basename $@`
1605 bin
/notify_fam.@SHLIBEXT@
: $(VFS_NOTIFY_FAM_OBJ
)
1606 @echo
"Building plugin $@"
1607 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NOTIFY_FAM_OBJ
) \
1608 @SONAMEFLAG@
`basename $@`
1610 bin
/readahead.@SHLIBEXT@
: $(VFS_READAHEAD_OBJ
)
1611 @echo
"Building plugin $@"
1612 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_READAHEAD_OBJ
) \
1613 @SONAMEFLAG@
`basename $@`
1615 #########################################################
1616 ## IdMap NSS plugins
1618 ## None here right now
1619 #########################################################
1621 bin
/wbinfo@EXEEXT@
: proto_exists
$(WBINFO_OBJ
) @BUILD_POPT@ bin
/.dummy
1623 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1625 bin
/ntlm_auth@EXEEXT@
: proto_exists
$(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1626 @BUILD_POPT@ bin
/.dummy
1628 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1629 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1630 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
)
1632 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_OBJ
)
1633 @echo
"Linking shared library $@"
1634 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1636 bin
/tdbbackup@EXEEXT@
: proto_exists
$(TDBBACKUP_OBJ
) bin
/.dummy
1638 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBBACKUP_OBJ
)
1640 bin
/tdbtool@EXEEXT@
: $(TDBTOOL_OBJ
) bin
/.dummy
1642 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTOOL_OBJ
)
1644 bin
/tdbdump@EXEEXT@
: $(TDBDUMP_OBJ
) bin
/.dummy
1646 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBDUMP_OBJ
)
1648 bin
/tdbtorture@EXEEXT@
: $(TDBTORTURE_OBJ
) bin
/.dummy
1650 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTORTURE_OBJ
)
1652 bin
/t_strcmp@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1653 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1655 bin
/t_strstr@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1656 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1658 bin
/t_strappend@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1659 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1661 bin
/t_stringoverflow@EXEEXT@
: bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1662 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1664 bin
/t_doschar@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_doschar.o
1665 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_doschar.o
-L .
/bin
-lbigballofmud
1666 bin
/t_push_ucs2@EXEEXT@
: proto_exists bin
/libbigballofmud.@SHLIBEXT@ torture
/t_push_ucs2.o
1667 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_push_ucs2.o
-L .
/bin
-lbigballofmud
1669 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1671 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1673 install: installservers installbin @INSTALL_CIFSMOUNT@ installman installscripts installdat installswat installmodules @INSTALL_LIBSMBCLIENT@ @INSTALL_LIBMSRPC@ @INSTALL_PAM_MODULES@ @INSTALL_LIBSMBSHAREMODES@
1676 install-everything
: install installmodules
1678 # DESTDIR is used here to prevent packagers wasting their time
1679 # duplicating the Makefile. Remove it and you will have the privelege
1680 # of package each samba release for muliple versions of multiple
1681 # distributions and operating systems, or at least supplying patches
1682 # to all the packaging files required for this, prior to committing
1683 # the removal of DESTDIR. Do not remove it even though you think it
1687 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1689 installservers
: all installdirs
1690 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1692 installbin
: all installdirs
1693 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1695 installcifsmount
: @CIFSMOUNT_PROGS@
1696 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(ROOTSBINDIR
)
1697 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1699 # Some symlinks are required for the 'probing' of modules.
1700 # This mechanism should go at some point..
1701 installmodules
: modules
installdirs
1702 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1703 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1704 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1705 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1706 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1707 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1708 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1709 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1710 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1711 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1712 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1714 installscripts
: installdirs
1715 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1717 installdat
: installdirs
1718 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1720 installmsg
: installdirs
1721 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1723 installswat
: installdirs installmsg
1724 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1726 installclientlib
: installdirs libsmbclient
1727 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1728 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1729 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
1730 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1731 -$(INSTALLCMD
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
1733 installlibmsrpc
: installdirs libmsrpc
1734 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1735 -$(INSTALLLIBCMD_SH
) bin
/libmsrpc.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1736 -$(INSTALLLIBCMD_A
) bin
/libmsrpc.a
$(DESTDIR
)$(LIBDIR
)
1737 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) ${prefix}/include
1738 -$(INSTALLCMD
) $(srcdir)/include/libmsrpc.h
$(DESTDIR
)${prefix}/include
1740 installlibsmbsharemodes
: installdirs libsmbsharemodes
1741 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1742 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1743 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
1745 installlibaddns
: installdirs libaddns
1746 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(LIBDIR
)
1747 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1748 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
1750 installpammodules
: $(PAM_MODULES
)
1751 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS
) $(DESTDIR
) $(PAMMODULESDIR
)
1752 @for module in
$(PAM_MODULES
); do \
1753 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1754 $(INSTALLCMD
) -m
$(INSTALLPERMS
) bin
/$${module}.@SHLIBEXT@ \
1755 "$(DESTDIR)/$(PAMMODULESDIR)"; \
1760 PYTHON_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) $(RPC_PARSE_OBJ
) \
1761 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1762 $(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
1764 python_ext
: $(PYTHON_OBJ
)
1765 @if
test -z
"$(PYTHON)"; then \
1766 echo Use the option
--with-python to configure python
; \
1769 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1770 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
1771 LIBS
="$(LDFLAGS) $(LIBS) $(PASSDB_LIBS) $(IDMAP_LIBS) $(KRB5LIBS) $(LDAP_LIBS)" \
1772 $(PYTHON
) python
/setup.py build
1774 python_install
: $(PYTHON_OBJ
)
1775 @if
test -z
"$(PYTHON)"; then \
1776 echo Use the option
--with-python to configure python
; \
1779 PYTHON_OBJS
="$(PYTHON_OBJ)" \
1780 PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS)" \
1781 LIBS
="$(LDFLAGS) $(LIBS)" \
1782 $(PYTHON
) python
/setup.py
install --root
=$(DESTDIR
)
1785 @
-if
test -n
"$(PYTHON)"; then
$(PYTHON
) python
/setup.py
clean; fi
1787 # revert to the previously installed version
1789 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1790 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1792 installman
: installdirs
1793 @SMBMOUNT_PROGS
="@SMBMOUNT_PROGS@" $(SHELL
) \
1794 $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
1799 @echo
"Samba will be installed into:"
1800 @echo
" prefix: $(prefix)"
1801 @echo
" bindir: $(BINDIR)"
1802 @echo
" sbindir: $(SBINDIR)"
1803 @echo
" libdir: $(LIBDIR)"
1804 @echo
" vardir: $(VARDIR)"
1805 @echo
" mandir: $(MANDIR)"
1806 @echo
" privatedir: $(PRIVATE_DIR)"
1807 @echo
" configdir: $(CONFIGDIR)"
1808 @echo
" lockdir: $(LOCKDIR)"
1809 @echo
" piddir: $(PIDDIR)"
1810 @echo
" swatdir: $(SWATDIR)"
1813 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_LIBMSRPC@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@
1816 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
1819 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1822 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1825 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1828 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1829 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1830 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1831 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1832 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1833 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1836 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1839 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1842 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1844 uninstallswat
: uninstallmsg
1845 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1848 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
1849 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
1850 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1853 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.@SHLIBEXT@
1854 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libmsrpc.a
1855 -rm -f
$(DESTDIR
)${prefix}/include/libmsrpc.h
1857 uninstalllibsmbsharemodes
:
1858 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
1859 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
1862 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
1863 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
1865 uninstallpammodules
:
1866 @for module in
$(PAM_MODULES
); do \
1867 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1868 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
1871 # Toplevel clean files
1872 TOPFILES
=dynconfig.o
1874 clean: delheaders python_clean
1875 -rm -f core
*/*~
*~
*/*.o
*/*/*.o
*/*/*/*.o \
1876 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
1877 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1878 $(MODULES
) $(TORTURE_PROGS
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
1879 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBMSRPC
) \
1880 .headers.stamp
*/src
/*.o proto_exists
1883 # Making this target will just make sure that the prototype files
1884 # exist, not necessarily that they are up to date. Since they're
1885 # removed by "make clean" this will always be run when you do anything
1887 proto_exists
: include/proto.h
include/build_env.h \
1888 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1889 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
1893 @echo Removing prototype headers
1894 @
rm -f
include/proto.h
include/build_env.h \
1895 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1896 client
/client_proto.h utils
/net_proto.h \
1897 smbd
/build_options.c utils
/ntlm_auth_proto.h \
1898 utils
/passwd_proto.h
1900 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
1902 include/proto.h
: smbd
/build_options.c
1903 @echo Building
include/proto.h
1904 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1905 -h _PROTO_H_
$(builddir
)/include/proto.h \
1908 include/build_env.h
: script
/build_env.sh
1909 @echo Building
include/build_env.h
1910 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
1911 > $(builddir
)/include/build_env.h
1913 nsswitch
/winbindd_proto.h
:
1914 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1915 -h _WINBINDD_PROTO_H_
$(builddir
)/nsswitch
/winbindd_proto.h \
1919 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1920 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
1923 client
/client_proto.h
:
1924 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1925 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
1929 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1930 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
1933 utils
/passwd_proto.h
:
1934 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1935 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
1938 utils
/ntlm_auth_proto.h
:
1939 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
1940 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
1943 # "make headers" or "make proto" calls a subshell because we need to
1944 # make sure these commands are executed in sequence even for a
1947 $(MAKE
) delheaders
; \
1948 $(MAKE
) smbd
/build_options.c
; \
1949 $(MAKE
) include/proto.h
; \
1950 $(MAKE
) include/build_env.h
; \
1951 $(MAKE
) nsswitch
/winbindd_proto.h
; \
1952 $(MAKE
) web
/swat_proto.h
; \
1953 $(MAKE
) client
/client_proto.h
; \
1954 $(MAKE
) utils
/ntlm_auth_proto.h
; \
1955 $(MAKE
) utils
/net_proto.h
; \
1956 $(MAKE
) utils
/passwd_proto.h
;
1960 .PHONY
: headers proto
1963 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1966 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
1968 realclean: clean delheaders
1969 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
1970 -rm -f script
/installbin.sh script
/uninstallbin.sh
1972 distclean: realclean
1973 -rm -f
include/stamp-h
1974 -rm -f
include/config.h Makefile
1975 -rm -f config.status config.cache so_locations
1978 realdistclean
: distclean
1979 -rm -f
include/config.h.in
1980 -rm -f
include/version.h
1983 # this target is really just for my use. It only works on a limited
1984 # range of machines and is used to produce a list of potentially
1985 # dead (ie. unused) functions in the code. (tridge)
1987 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
1988 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
1989 comm
-13 nmused.txt nmfns.txt
1992 # when configure.in is updated, reconfigure
1993 $(srcdir)/configure
: $(srcdir)/configure.in
1994 @echo
"WARNING: you need to rerun ./autogen.sh"
1996 config.status
: $(srcdir)/configure
1997 @echo
"WARNING: you need to run ./configure"
1999 Makefile
: $(srcdir)/Makefile.in config.status
2000 @echo
"WARNING: you need to run ./config.status"
2002 ######################################################################
2003 # Samba Testing Framework
2005 # Check for NSS module problems.
2006 test_nss_modules
: nss_modules
2007 @echo
"Testing $(NSS_MODULES) "
2008 @for module in
$(NSS_MODULES
); do \
2009 .
/script
/tests
/dlopen.sh
$${module} \
2013 # Check for PAM module problems. Specifically, check that every module we
2014 # built can actually be loaded by a minimal PAM-aware application.
2015 test_pam_modules
: pam_modules
2016 @echo
"Testing $(PAM_MODULES) "
2017 @for module in
$(PAM_MODULES
); do \
2018 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2023 ## Targets for 'make test'
2025 test: all torture timelimit
2026 @echo Running Test suite
2027 @sh
$(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"
2029 valgrindtest
: all torture timelimit
2030 @echo Running Test suite with valgrind
2031 @NMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2032 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2033 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
2034 $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"