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 # Copyright (C) 2007 James Peach <jpeach@samba.org>
10 ###########################################################################
13 exec_prefix=@
exec_prefix@
14 sysconfdir
=@sysconfdir@
15 localstatedir
=@localstatedir@
16 datarootdir
=@datarootdir@
18 selftest_prefix
=@selftest_prefix@
19 smbtorture4_path
=@smbtorture4_path@
24 LIB_PATH_VAR
=@LIB_PATH_VAR@
26 ## Dynamic shared libraries build settings
27 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@$$/syms/'`
28 DSO_EXPORTS
=@DSO_EXPORTS@
29 SONAME_VER
=`grep \^$@ $(builddir)/library-versions | cut -d: -f2`
30 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
32 # The MODULE_EXPORTS variable contains the platform-specific linker flags
33 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
34 MODULE_EXPORTS
=@MODULE_EXPORTS@
36 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
37 # (GCC) warnings. This is done automtically for --enable-developer
38 # and --enable-krb5developer.
39 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
41 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
45 LDSHFLAGS
=@LDSHFLAGS@ @LDFLAGS@
46 LDFLAGS
=@PIE_LDFLAGS@ @LDFLAGS@
48 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
56 TERMLDFLAGS
=@TERMLDFLAGS@
58 PRINT_LIBS
=@PRINT_LIBS@
61 PASSDB_LIBS
=@PASSDB_LIBS@
62 IDMAP_LIBS
=@IDMAP_LIBS@
67 WINBIND_LIBS
=@WINBIND_LIBS@
68 DNSSD_LIBS
=@DNSSD_LIBS@
71 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
72 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
73 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
74 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
78 builddir
=@abs_builddir@
82 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
83 # will search for a POSIX-compliant shell, and that might not be
84 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
86 # See the autoconf manual "Installation Directory Variables" for a
87 # discussion of the subtle use of these variables.
91 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
93 ROOTSBINDIR
= @rootsbindir@
95 INCLUDEDIR
=@
includedir@
96 PAMMODULESDIR
= @pammodulesdir@
97 VFSLIBDIR
= $(LIBDIR
)/vfs
98 PDBLIBDIR
= $(LIBDIR
)/pdb
99 RPCLIBDIR
= $(LIBDIR
)/rpc
100 IDMAPLIBDIR
= $(LIBDIR
)/idmap
101 NSSINFOLIBDIR
= $(LIBDIR
)/nss_info
102 CHARSETLIBDIR
= $(LIBDIR
)/charset
103 AUTHLIBDIR
= $(LIBDIR
)/auth
104 CONFIGLIBDIR
= $(LIBDIR
)/config
105 CONFIGDIR
= @configdir@
106 VARDIR
= @localstatedir@
110 # The permissions to give the executables and other data
111 INSTALLPERMS_BIN
= 0755
112 INSTALLPERMS_DATA
= 0644
114 # set these to where to find various files
115 # These can be overridden by command line switches (see smbd(8))
116 # or in smb.conf (see smb.conf(5))
117 LOGFILEBASE
= @logfilebase@
118 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
119 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
122 # This is where smbpasswd et al go
123 PRIVATEDIR
= @privatedir@
125 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
126 PRIVATE_DIR
= $(PRIVATEDIR
)
128 # This is where SWAT images and help files go
131 # the directory where lock files go
134 # FHS directories; equal to LOCKDIR if not using --with-fhs
135 CACHEDIR
= @cachedir@
136 STATEDIR
= @
statedir@
138 # Where to look for (and install) codepage databases.
139 CODEPAGEDIR
= @codepagedir@
141 # the directory where pid files go
144 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
145 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
146 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
147 LIBWBCLIENT
=@LIBWBCLIENT_SHARED@
148 LIBNETAPI
=bin
/libnetapi.a @LIBNETAPI_SHARED@
150 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
153 FLAGS4
= -I
$(CTDBDIR
)/include
154 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
155 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
157 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
158 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
159 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
160 -DSBINDIR
=\"$(SBINDIR
)\" \
161 -DBINDIR
=\"$(BINDIR
)\" \
162 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
163 -DSWATDIR
=\"$(SWATDIR
)\" \
164 -DLOCKDIR
=\"$(LOCKDIR
)\" \
165 -DPIDDIR
=\"$(PIDDIR
)\" \
166 -DLIBDIR
=\"$(LIBDIR
)\" \
167 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
168 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
169 -DCTDBDIR
=\"$(CTDBDIR
)\" \
170 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
171 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
172 -DCACHEDIR
=\"$(CACHEDIR
)\" \
173 -DSTATEDIR
=\"$(STATEDIR
)\"
175 # Note that all executable programs now provide for an optional executable suffix.
177 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
179 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@ @CIFSSPNEGO_PROGS@
181 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
182 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
183 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
184 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
186 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
187 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
188 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
189 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
190 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
192 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
193 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
194 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
195 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
196 bin
/tdbtorture@EXEEXT@
198 BIN_PROGS
= @EXTRA_BIN_PROGS@ @SMBMOUNT_PROGS@ \
199 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
201 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
202 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
203 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
206 SHLIBS
= @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBADDNS@ @LIBNETAPI@ @LIBWBCLIENT@
208 PAM_MODULES
= @PAM_MODULES@
210 NSS_MODULES
= @NSS_MODULES@
212 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
214 VFS_MODULES
= @VFS_MODULES@
215 PDB_MODULES
= @PDB_MODULES@
216 RPC_MODULES
= @RPC_MODULES@
217 IDMAP_MODULES
= @IDMAP_MODULES@
218 CHARSET_MODULES
= @CHARSET_MODULES@
219 AUTH_MODULES
= @AUTH_MODULES@
220 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
221 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
222 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
224 ######################################################################
226 ######################################################################
228 TDBBASE_OBJ
= lib
/tdb
/common
/tdb.o lib
/tdb
/common
/dump.o lib
/tdb
/common
/error.o \
229 lib
/tdb
/common
/freelist.o lib
/tdb
/common
/freelistcheck.o \
230 lib
/tdb
/common
/io.o lib
/tdb
/common
/lock.o \
231 lib
/tdb
/common
/open.o lib
/tdb
/common
/transaction.o \
232 lib
/tdb
/common
/traverse.o
234 TDB_OBJ
= $(TDBBASE_OBJ
) lib
/util_tdb.o \
235 lib
/dbwrap.o lib
/dbwrap_tdb.o lib
/dbwrap_ctdb.o lib
/dbwrap_rbt.o
237 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
239 VERSION_OBJ
= lib
/version.o
241 DOSERR_OBJ
= libsmb
/doserr.o
243 WBCOMMON_OBJ
= nsswitch
/wb_common.o
247 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
249 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
251 ERRORMAP_OBJ
= libsmb
/errormap.o
253 PASSCHANGE_OBJ
= libsmb
/passchange.o
256 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o librpc
/ndr
/ndr.o librpc
/ndr
/ndr_misc.o \
257 librpc
/ndr
/ndr_sec_helper.o librpc
/ndr
/ndr_string.o librpc
/ndr
/sid.o \
260 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
262 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
263 librpc
/gen_ndr
/ndr_lsa.o \
264 librpc
/gen_ndr
/ndr_dfs.o \
265 librpc
/gen_ndr
/ndr_echo.o \
266 librpc
/gen_ndr
/ndr_winreg.o \
267 librpc
/gen_ndr
/ndr_initshutdown.o \
268 librpc
/gen_ndr
/ndr_srvsvc.o \
269 librpc
/gen_ndr
/ndr_svcctl.o \
270 librpc
/gen_ndr
/ndr_eventlog.o \
271 librpc
/gen_ndr
/ndr_notify.o \
272 librpc
/gen_ndr
/ndr_libnet_join.o
274 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
276 # this includes only the low level parse code, not stuff
277 # that requires knowledge of security contexts
278 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
280 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o rpc_parse
/parse_net.o rpc_parse
/parse_srv.o
282 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
284 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
285 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
287 TALLOC_OBJ
= lib
/talloc
/talloc.o
289 LIBSAMBAUTIL_OBJ
= $(TALLOC_OBJ
) \
291 $(SOCKET_WRAPPER_OBJ
) \
294 LIB_WITHOUT_PROTO_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
295 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
296 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
297 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
298 lib
/util_transfer_file.o
300 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
301 lib
/interface.o lib
/md4.o \
303 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
304 lib
/ufc.o lib
/genrand.o lib
/username.o \
305 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
306 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
307 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
308 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
309 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
310 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
311 lib
/substitute.o lib
/fsusage.o \
312 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
313 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
314 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
316 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
317 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
318 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
319 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
320 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
323 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
325 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
326 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
328 READLINE_OBJ
= lib
/readline.o
330 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
331 # Be sure to include them into your application
332 POPT_LIB_OBJ
= lib
/popt_common.o
334 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o
335 PARAM_REG_ADD_OBJ
= $(UTIL_REG_API_OBJ
)
336 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
338 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
340 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
341 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
342 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(TALLOC_OBJ
)
344 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
345 nsswitch
/libwbclient
/wbc_util.o \
346 nsswitch
/libwbclient
/wbc_pwd.o \
347 nsswitch
/libwbclient
/wbc_idmap.o \
348 nsswitch
/libwbclient
/wbc_sid.o \
349 nsswitch
/libwbclient
/wbc_pam.o
350 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
) $(TALLOC_OBJ
) $(LIBREPLACE_OBJ
)
352 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
353 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o
354 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
356 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
357 libads
/sasl.o libads
/sasl_wrapping.o \
358 libads
/krb5_setpw.o libads
/ldap_user.o \
359 libads
/ads_struct.o libads
/kerberos_keytab.o \
360 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
361 libads
/cldap.o libads
/ldap_schema.o libads
/util.o
363 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o
365 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
367 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
368 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
370 LIBSAMBA_OBJ
= libsmb
/nterr.o libsmb
/dcerpc_err.o libsmb
/smbdes.o \
371 libsmb
/smbencrypt.o libsmb
/ntlm_check.o \
372 libsmb
/ntlmssp.o libsmb
/ntlmssp_parse.o libsmb
/ntlmssp_sign.o
374 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
375 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
376 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
377 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
378 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
379 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
380 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
381 libsmb
/clioplock.o
$(ERRORMAP_OBJ
) libsmb
/clirap2.o \
382 libsmb
/smb_seal.o
$(DOSERR_OBJ
) \
383 $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(LIBNMB_OBJ
)
385 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o rpc_client
/cli_srvsvc.o
387 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
388 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
389 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
390 rpc_client
/cli_ds.o rpc_client
/cli_svcctl.o
392 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
393 librpc
/gen_ndr
/cli_dfs.o \
394 librpc
/gen_ndr
/cli_echo.o \
395 librpc
/gen_ndr
/cli_srvsvc.o \
396 librpc
/gen_ndr
/cli_svcctl.o \
397 librpc
/gen_ndr
/cli_winreg.o \
398 librpc
/gen_ndr
/cli_initshutdown.o \
399 librpc
/gen_ndr
/cli_eventlog.o \
400 librpc
/gen_ndr
/cli_wkssvc.o \
404 REGOBJS_OBJ
= registry
/reg_objects.o
406 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
407 registry
/reg_db.o registry
/reg_eventlog.o registry
/reg_shares.o \
408 registry
/reg_util.o registry
/reg_dynamic.o registry
/reg_perfcount.o \
409 registry
/reg_smbconf.o registry
/reg_api.o \
410 registry
/reg_frontend_hilvl.o \
411 $(UTIL_REG_API_OBJ
) $(UTIL_REG_SMBCONF_OBJ
)
413 RPC_LSA_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
415 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o
417 RPC_SAMR_OBJ
= rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o \
418 rpc_server
/srv_samr_util.o
420 REGFIO_OBJ
= registry
/regfio.o
422 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
424 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
425 librpc
/gen_ndr
/srv_winreg.o \
428 RPC_LSA_DS_OBJ
= rpc_server
/srv_lsa_ds.o rpc_server
/srv_lsa_ds_nt.o
430 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o \
431 librpc
/gen_ndr
/srv_srvsvc.o
433 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
435 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
436 librpc
/gen_ndr
/srv_svcctl.o \
437 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
438 services
/svc_netlogon.o services
/svc_winreg.o \
441 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o
443 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
445 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
447 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
448 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
450 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
451 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
453 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
455 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
457 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o
$(RPC_PARSE_OBJ2
) \
458 rpc_parse
/parse_samr.o \
459 rpc_parse
/parse_ds.o rpc_parse
/parse_spoolss.o \
460 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
461 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
$(REGOBJS_OBJ
)
463 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
465 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
467 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
469 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
470 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
471 passdb
/util_unixsids.o passdb
/lookup_sid.o \
472 passdb
/login_cache.o @PDB_STATIC@ \
473 lib
/account_pol.o lib
/privileges.o lib
/privileges_basic.o \
474 lib
/util_nscd.o lib
/winbind_util.o
476 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
477 CP850_OBJ
= modules
/CP850.o
478 CP437_OBJ
= modules
/CP437.o
479 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
481 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
483 PROFILE_OBJ
= profile
/profile.o
484 PROFILES_OBJ
= utils
/profiles.o \
485 $(REGFIO_OBJ
) $(REGOBJS_OBJ
) $(ERRORMAP_OBJ
) \
486 $(RPC_PARSE_OBJ1
) $(PARAM_OBJ
) $(LIBSAMBA_OBJ
) \
487 $(DOSERR_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
488 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
490 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
492 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
494 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
495 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
496 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
497 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
498 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
499 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
500 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
501 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
502 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
503 VFS_CAP_OBJ
= modules
/vfs_cap.o
504 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
505 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
506 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
507 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o librpc
/gen_ndr
/ndr_xattr.o
508 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
509 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
510 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
511 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
512 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
513 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
514 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
515 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
516 VFS_CATIA_OBJ
= modules
/vfs_catia.o
517 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
518 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
519 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
520 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
521 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
522 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
523 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
524 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
526 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
528 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
530 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
532 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
533 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
534 AUTH_SAM_OBJ
= auth
/auth_sam.o
535 AUTH_SERVER_OBJ
= auth
/auth_server.o
536 AUTH_UNIX_OBJ
= auth
/auth_unix.o
537 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
538 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
540 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
542 auth
/auth_compat.o auth
/auth_ntlmssp.o \
543 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
545 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
547 SMBD_OBJ_MAIN
= smbd
/server.o
549 BUILDOPT_OBJ
= smbd
/build_options.o
551 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
552 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
553 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
554 smbd
/share_access.o smbd
/fileio.o \
555 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
556 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
557 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
558 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
559 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
560 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
561 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
562 smbd
/process.o smbd
/service.o smbd
/error.o \
563 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
564 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
565 smbd
/change_trust_pw.o smbd
/fake_file.o \
566 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
567 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
571 $(MANGLE_OBJ
) @VFS_STATIC@
573 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
574 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
575 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
576 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
577 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
578 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
579 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
580 $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) @LIBWBCLIENT_STATIC@ \
581 $(BUILDOPT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
)
583 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
584 printing
/print_cups.o printing
/print_generic.o \
585 printing
/lpq_parse.o printing
/load.o \
586 printing
/print_iprint.o
588 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
589 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
591 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
593 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
594 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
595 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
596 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
597 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
598 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
599 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
600 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
601 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
602 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
603 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
604 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
606 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
607 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
609 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
610 web
/swat.o web
/neg_lang.o
612 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
613 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SECRETS_OBJ
) $(KRBCLIENT_OBJ
) \
614 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
615 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
616 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
618 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
619 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
620 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
621 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) \
624 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
625 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
626 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
627 $(PRINTBASE_OBJ
) $(ERRORMAP_OBJ
)
629 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
630 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
631 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
632 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
634 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
637 TESTPARM_OBJ
= utils
/testparm.o \
638 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
639 $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
)
641 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
643 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
644 $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
645 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
646 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
647 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
649 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
650 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
651 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
652 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) $(ERRORMAP_OBJ
)
654 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ
)
656 DISPLAY_SEC_OBJ
= lib
/display_sec.o
657 DISPLAY_DSDCINFO_OBJ
= lib
/display_dsdcinfo.o
659 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
660 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
661 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
662 rpcclient
/cmd_dfs.o \
663 rpcclient
/cmd_ds.o rpcclient
/cmd_echo.o \
664 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
665 rpcclient
/cmd_wkssvc.o \
666 $(DISPLAY_SEC_OBJ
) $(DISPLAY_DSDCINFO_OBJ
)
668 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
669 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
670 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
671 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
672 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
673 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
675 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
676 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
678 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
679 libsmb
/libsmb_cache.o \
680 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
681 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
682 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
683 $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
685 LIBSMBSHAREMODES_OBJ
= libsmb
/smb_share_modes.o
$(TDBBASE_OBJ
)
687 # This shared library is intended for linking with unit test programs
688 # to test Samba internals. It's called libbigballofmud.so to
689 # discourage casual usage.
691 LIBBIGBALLOFMUD_MAJOR
= 0
693 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) \
694 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
695 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
697 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
702 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
703 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
704 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
705 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
708 UTIL_REG_OBJ
= lib
/util_reg.o
709 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
710 UTIL_REG_SMBCONF_OBJ
= lib
/util_reg_smbconf.o
712 # objects to be used when not all of the registry code should be
713 # loaded but only the portion needed by reg_api, typically for
714 # using smbconf (registry) - full access
715 REG_API_OBJ
= registry
/reg_api.o \
716 registry
/reg_frontend_hilvl.o \
717 registry
/reg_smbconf.o \
719 registry
/reg_util.o \
721 registry
/reg_cachehook.o \
722 registry
/reg_eventlog.o \
723 registry
/reg_perfcount.o \
724 registry
/reg_dynamic.o \
727 $(UTIL_REG_API_OBJ
) \
728 $(UTIL_REG_SMBCONF_OBJ
)
731 LIBNETAPI_OBJ1
= lib
/netapi
/netapi.o \
732 lib
/netapi
/joindomain.o \
733 lib
/netapi
/serverinfo.o \
736 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ1
) $(LIBNET_OBJ
) \
738 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
739 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
740 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
741 $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
742 $(DCUTIL_OBJ
) $(LIBADS_OBJ
)
744 LIBNET_OBJ
= libnet
/libnet_conf.o libnet
/libnet_join.o
746 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_domain.o utils
/net_help.o \
747 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
748 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
749 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
750 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
751 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
752 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
753 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
754 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
755 utils
/net_conf.o auth
/token_util.o utils
/net_dom.o nsswitch
/wb_client.o
757 NET_OBJ
= $(NET_OBJ1
) $(PARAM_WITHOUT_REG_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
758 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
759 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
760 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
761 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
762 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
763 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
764 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
765 $(REG_API_OBJ
) $(DISPLAY_DSDCINFO_OBJ
) $(LIBNETAPI_OBJ1
) $(LIBNET_OBJ
)
767 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
768 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
770 MOUNT_OBJ
= client
/smbmount.o \
771 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
773 MNT_OBJ
= client
/smbmnt.o
$(VERSION_OBJ
) $(LIBREPLACE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
775 UMOUNT_OBJ
= client
/smbumount.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
776 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
778 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
780 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
782 CIFS_SPNEGO_OBJ
= client
/cifs.spnego.o
784 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) \
785 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
787 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
788 torture
/denytest.o torture
/mangle_test.o
790 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
791 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
793 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
794 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
796 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
797 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
799 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
800 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
802 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
803 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
805 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
806 $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
807 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
)
810 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
812 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) $(LIBSAMBA_OBJ
)
814 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
816 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
817 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(SECRETS_OBJ
)
819 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
820 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
821 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
823 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
825 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
827 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
828 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) \
829 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
831 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
833 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
834 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
836 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o registry
/reg_util.o \
839 SHARESEC_OBJ0
= utils
/sharesec.o
840 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(REGOBJS_OBJ
) \
841 $(ERRORMAP_OBJ
) $(RPC_PARSE_OBJ1
) $(LIBSAMBA_OBJ
) $(DOSERR_OBJ
) \
842 $(POPT_LIB_OBJ
) $(SECRETS_OBJ
)
844 TALLOCTORT_OBJ
= lib
/talloc
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
845 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LIBSAMBA_OBJ
) $(SECRETS_OBJ
)
847 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
848 lib
/replace
/test/os2_delete.o \
849 lib
/replace
/test/strptime.o \
852 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
853 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
854 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
855 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(SECRETS_OBJ
)
857 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
859 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(SECRETS_OBJ
) \
860 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
)
862 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
863 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
864 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
866 $(LIB_WITH_PROTO_OBJ
) \
867 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
868 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
869 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
870 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
871 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
872 $(AUTH_SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
) \
873 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_LSA_DS_OBJ
) \
874 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
875 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
876 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) $(RPC_UNIXINFO_OBJ
) \
877 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
878 utils
/passwd_util.o
$(LIBGPO_OBJ
) $(NSS_INFO_OBJ
) \
879 $(RPCCLIENT_NDR_OBJ
) $(DISPLAY_DSDCINFO_OBJ
)
881 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
882 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) $(SECRETS_OBJ
)
884 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
885 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
886 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
887 $(SECRETS_OBJ
) $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
888 $(RPC_PARSE_OBJ1
) $(DOSERR_OBJ
) $(LDB_OBJ
) $(ERRORMAP_OBJ
)
890 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_cache.o winbindd
/idmap_util.o @IDMAP_STATIC@
892 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
895 winbindd
/winbindd.o \
896 winbindd
/winbindd_user.o \
897 winbindd
/winbindd_group.o \
898 winbindd
/winbindd_util.o \
899 winbindd
/winbindd_cache.o \
900 winbindd
/winbindd_pam.o \
901 winbindd
/winbindd_sid.o \
902 winbindd
/winbindd_misc.o \
903 winbindd
/winbindd_cm.o \
904 winbindd
/winbindd_wins.o \
905 winbindd
/winbindd_rpc.o \
906 winbindd
/winbindd_reconnect.o \
907 winbindd
/winbindd_ads.o \
908 winbindd
/winbindd_passdb.o \
909 winbindd
/winbindd_dual.o \
910 winbindd
/winbindd_async.o \
911 winbindd
/winbindd_creds.o \
912 winbindd
/winbindd_cred_cache.o \
913 winbindd
/winbindd_ccache_access.o \
914 winbindd
/winbindd_domain.o \
915 winbindd
/winbindd_idmap.o \
916 winbindd
/winbindd_locator.o \
920 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
921 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
922 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
923 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
924 $(SECRETS_OBJ
) $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
925 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
926 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
927 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
929 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
930 $(SECRETS_OBJ
) $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) $(RPC_PARSE_OBJ1
) \
931 $(DOSERR_OBJ
) lib
/winbind_util.o @LIBWBCLIENT_STATIC@
933 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
935 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
936 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
937 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
938 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
939 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
941 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
942 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
943 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
945 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
946 lib
/ldb
/modules
/objectclass.o \
947 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
949 # enabled in configure.in
950 LDB_LDAP_OBJ
=@LDBLDAP@
952 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
954 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
955 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
956 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
957 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
958 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
959 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
960 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(REGFIO_OBJ
) $(READLINE_OBJ
) \
961 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
964 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
965 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
966 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
967 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
968 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
970 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
971 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
)
973 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
974 popt
/popthelp.o popt
/poptparse.o
976 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
977 iniparser_build
/strlib.o
979 TDBBACKUP_OBJ
= lib
/tdb
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
980 $(TDBBASE_OBJ
) $(SOCKET_WRAPPER_OBJ
)
982 TDBTOOL_OBJ
= lib
/tdb
/tools
/tdbtool.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
983 $(SOCKET_WRAPPER_OBJ
)
985 TDBDUMP_OBJ
= lib
/tdb
/tools
/tdbdump.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
986 $(SOCKET_WRAPPER_OBJ
)
988 TDBTORTURE_OBJ
= lib
/tdb
/tools
/tdbtorture.o
$(TDBBASE_OBJ
) $(LIBREPLACE_OBJ
) \
989 $(SOCKET_WRAPPER_OBJ
)
992 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
994 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
995 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
996 libads
/kerberos_verify.o
$(SECRETS_OBJ
) $(SERVER_MUTEX_OBJ
) \
997 libads
/authdata.o
$(RPC_PARSE_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
998 $(SMBLDAP_OBJ
) $(DOSERR_OBJ
) rpc_parse
/parse_net.o
$(LIBNMB_OBJ
) \
999 $(LDB_OBJ
) $(ERRORMAP_OBJ
)
1001 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
)
1003 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1004 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1005 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) $(SECRETS_OBJ
) \
1006 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1009 ######################################################################
1011 ######################################################################
1012 all : SHOWFLAGS
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1013 $(SHLIBS
) $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
1015 nss_modules
: $(NSS_MODULES
)
1017 pam_modules
: $(PAM_MODULES
)
1019 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1021 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1023 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
1025 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1027 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1029 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1031 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1033 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1035 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1037 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1039 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1041 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1043 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1045 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1047 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1049 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1051 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1053 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1054 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1055 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1057 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1059 modules
: SHOWFLAGS
$(MODULES
)
1061 #####################################################################
1062 ## Perl IDL Compiler
1063 IDL_FILES
= unixinfo.idl lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1064 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1065 epmapper.idl messaging.idl xattr.idl
1068 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1069 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1072 #####################################################################
1075 everything
: all libsmbclient libnetapi debug2html smbfilter talloctort replacetort modules torture \
1079 .SUFFIXES
: .c .o .lo
1082 @echo
"Using FLAGS = $(FLAGS)"
1083 @echo
" PICFLAG = $(PICFLAG)"
1084 @echo
" LIBS = $(LIBS)"
1085 @echo
" LDFLAGS = $(LDFLAGS)"
1086 @echo
" DYNEXP = $(DYNEXP)"
1087 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1088 @echo
" SHLIBEXT = @SHLIBEXT@"
1089 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1091 MAKEDIR
= || exec false
; \
1092 if
test -d
"$$dir"; then
:; else \
1093 echo mkdir
"$$dir"; \
1094 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1095 test -d
"$$dir" || \
1097 exec false
; fi || exec false
1099 # Run a static checker.
1100 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1101 # Compile a source file.
1102 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1103 # Compile a source file with the installation paths defined.
1104 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1106 COMPILE
= $(COMPILE_CC
)
1109 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1110 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1111 @if
test -n
"$(CC_CHECKER)"; then \
1112 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1115 @echo Compiling
$*.c
1116 @
$(COMPILE
) && exit
0;\
1117 echo
"The following command failed:" 1>&2;\
1118 echo
"$(COMPILE_CC)" 1>&2;\
1119 $(COMPILE_CC
) >/dev
/null
2>&1
1120 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1122 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1124 # this adds support for precompiled headers. To use it, install a snapshot
1125 # of gcc-3.4 and run 'make pch' before you do the main build.
1127 rm -f
$(PRECOMPILED_HEADER
)
1128 $(MAKE
) $(PRECOMPILED_HEADER
)
1130 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1133 BINARY_PREREQS
= proto_exists bin
/.dummy
1135 # These dependencies are only approximately correct: we want to make
1136 # sure Samba's paths are updated if ./configure is re-run. Really it
1137 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1138 # but since we also require "make install prefix=/opt/samba" *not* to
1139 # rebuild it's a bit hard.
1141 dynconfig.o
: dynconfig.c Makefile
1142 @echo Compiling
$*.c
1143 @
$(COMPILE_CC_PATH
) && exit
0;\
1144 echo
"The following command failed:" 1>&2;\
1145 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1146 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1148 lib
/pidfile.o
: lib
/pidfile.c
1149 @echo Compiling
$*.c
1150 @
$(COMPILE_CC_PATH
) && exit
0;\
1151 echo
"The following command failed:" 1>&2;\
1152 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1153 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1155 lib
/version.o
: lib
/version.c
include/version.h
1156 @echo Compiling
$*.c
1157 @
$(COMPILE_CC_PATH
) && exit
0;\
1158 echo
"The following command failed:" 1>&2;\
1159 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1160 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1162 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1163 @echo Compiling
$*.c
1164 @
$(COMPILE_CC_PATH
) && exit
0;\
1165 echo
"The following command failed:" 1>&2;\
1166 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1167 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1169 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1171 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1174 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1175 dir=bin
$(MAKEDIR
); fi
1176 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1178 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1180 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1181 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1182 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1183 @POPTLIBS@ @SMBD_LIBS@ @WINBIND_LIBS@
1185 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@
1187 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1188 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
)
1190 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1192 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1193 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) @POPTLIBS@
$(KRB5LIBS
) \
1194 $(LDAP_LIBS
) @WINBIND_LIBS@
1196 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1198 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1199 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1200 $(KRB5LIBS
) $(LDAP_LIBS
) @WINBIND_LIBS@
1202 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1204 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1205 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1206 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) @WINBIND_LIBS@
1208 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1210 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1211 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1212 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @INIPARSERLIBS@ @WINBIND_LIBS@
1214 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@
1216 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1218 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@
1220 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1222 bin
/smbmount@EXEEXT@
: $(BINARY_PREREQS
) $(MOUNT_OBJ
) @BUILD_POPT@
1224 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1226 bin
/smbmnt@EXEEXT@
: $(BINARY_PREREQS
) $(MNT_OBJ
) @BUILD_POPT@
1228 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1230 bin
/smbumount@EXEEXT@
: $(BINARY_PREREQS
) $(UMOUNT_OBJ
) @BUILD_POPT@
1232 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1234 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1236 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1238 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1240 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) @POPTLIBS@
1242 bin
/cifs.spnego@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_SPNEGO_OBJ
) $(LIBSMBCLIENT_OBJ
) @BUILD_POPT@
1244 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_SPNEGO_OBJ
) $(DYNEXP
) $(LDFLAGS
) -lkeyutils
$(LIBS
) \
1245 $(LIBSMBCLIENT_OBJ
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@ @LIBWBCLIENT_SHARED@
1247 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@
1249 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1251 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@
1253 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) \
1256 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@
1258 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1259 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1260 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@ @POPTLIBS@
1262 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1264 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1265 $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1267 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1269 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1270 $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @WINBIND_LIBS@
1272 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1274 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1275 @POPTLIBS@
$(PASSDB_LIBS
) $(LDAP_LIBS
) @WINBIND_LIBS@
1277 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1279 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1280 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1282 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@
1284 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(PASSDB_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
)
1286 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@
1288 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
$(LDAP_LIBS
)
1290 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@
1292 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1294 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@
1296 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1297 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1299 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@
1301 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1302 $(DYNEXP
) $(LIBS
) @POPTLIBS@
1304 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@
1306 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1308 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@
1310 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1312 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1314 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1315 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1317 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1319 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @POPTLIBS@ \
1320 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1322 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@
1324 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1326 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@
1328 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1330 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@
1332 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1334 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@
1336 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1338 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@
1340 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) $(LIBS
) @POPTLIBS@ @LIBWBCLIENT_SHARED@
1342 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@
1344 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(ACL_LIBS
) $(LIBS
) @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) @SMBD_LIBS@
$(NSCD_LIBS
) @LIBWBCLIENT_SHARED@
1346 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@
1348 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @POPTLIBS@
1350 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@
1352 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) @POPTLIBS@
$(LIBS
)
1354 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@
1356 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1358 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@
1360 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1361 @POPTLIBS@ @LDAP_LIBS@
1363 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@
1365 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
1367 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@
1369 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) @POPTLIBS@
1371 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1373 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1374 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1375 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1377 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1379 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1380 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1381 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1383 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1385 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1386 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1387 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1389 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1391 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1392 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1393 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1395 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1397 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1398 @POPTLIBS@
$(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1399 $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1401 bin
/libwbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
)
1402 @echo Linking shared library
$@
1403 @
$(SHLD_DSO
) $(LIBWBCLIENT_OBJ
) \
1404 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1405 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1407 bin
/libwbclient.a
: $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
)
1408 @echo Linking non-shared library
$@
1409 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
)
1411 bin
/libaddns.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
)
1412 @echo Linking shared library
$@
1413 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1414 $(KRB5LIBS
) $(UUID_LIBS
)\
1415 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1417 bin
/libaddns.a
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
)
1418 @echo Linking non-shared library
$@
1419 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ
)
1421 bin
/libnetapi.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
)
1422 @echo Linking shared library
$@
1423 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) @LIBWBCLIENT_SHARED@
$(LIBS
) \
1424 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1425 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1427 bin
/libnetapi.a
: $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
)
1428 @echo Linking non-shared library
$@
1429 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ
)
1431 bin
/libsmbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
)
1432 @echo Linking shared library
$@
1433 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) @LIBWBCLIENT_SHARED@
$(LIBS
) \
1434 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1435 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1437 bin
/libsmbclient.a
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
)
1438 @echo Linking non-shared library
$@
1439 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ
)
1441 bin
/libsmbsharemodes.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
)
1442 @echo Linking shared library
$@
1443 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) $(LIBS
) \
1444 $(KRB5LIBS
) $(LDAP_LIBS
) \
1445 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1447 bin
/libsmbsharemodes.a
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
)
1448 @echo Linking non-shared library
$@
1449 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ
)
1451 # This is probably wrong for anything other than the GNU linker.
1452 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
)
1453 @echo Linking shared library
$@
1454 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) $(LIBS
) \
1455 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1456 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1457 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1459 # It would be nice to build a static bigballofmud too, but when I try
1460 # I get linker errors about dl_open and similar things. I'm not sure if
1461 # it can be fixed or if they just can't be called from a static
1464 libsmbclient
: $(LIBSMBCLIENT
)
1465 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1466 libaddns
: $(LIBADDNS
)
1467 libwbclient
: $(LIBWBCLIENT
)
1468 libnetapi
: $(LIBNETAPI
)
1470 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
1471 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
1472 -o
$@ @SONAMEFLAG@
`basename $@`
1474 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
1476 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
1478 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
1480 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
1482 bin
/librpc_unixinfo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_UNIXINFO_OBJ
)
1484 @
$(SHLD_MODULE
) $(RPC_UNIXINFO_OBJ
)
1486 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
1488 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
1490 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
1492 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
1494 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
1496 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
1498 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
1500 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
1502 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
1504 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
1506 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
1508 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
1510 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
1512 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
1514 bin
/librpc_lsa_ds.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_DS_OBJ
)
1516 @
$(SHLD_MODULE
) $(RPC_LSA_DS_OBJ
)
1518 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
1520 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
1522 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
1524 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
1526 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
1528 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
1530 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
1532 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
1534 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1536 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1537 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) \
1538 $(PASSDB_LIBS
) @WINBIND_LIBS@
1540 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBWBCLIENT_SHARED@
1542 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @POPTLIBS@ \
1543 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @LIBWBCLIENT_SHARED@
1545 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
1547 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1548 @WINBIND_NSS_EXTRA_LIBS@ @WINBIND_NSS_PTHREAD@ @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1550 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
)
1552 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1553 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) \
1554 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1556 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
)
1558 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) \
1559 @SONAMEFLAG@
`basename $@`
1561 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
)
1562 @echo
"Linking shared library $@"
1563 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
1564 @SONAMEFLAG@
`basename $@`
1566 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
1567 @echo
"Building plugin $@"
1568 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
1570 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
1571 @echo
"Building plugin $@"
1572 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
1574 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
1575 @echo
"Building plugin $@"
1576 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
1578 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
1579 @echo
"Building plugin $@"
1580 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
1582 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
1583 @echo
"Building plugin $@"
1584 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
1586 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
1587 @echo
"Building plugin $@"
1588 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
1590 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
1591 @echo
"Building plugin $@"
1592 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
1594 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
1595 @echo
"Building plugin $@"
1596 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
1598 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
1599 @echo
"Building plugin $@"
1600 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
1602 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
1603 @echo
"Building plugin $@"
1604 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
1606 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
1607 @echo
"Building plugin $@"
1608 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
1610 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
1611 @echo
"Building plugin $@"
1612 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
1614 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
1615 @echo
"Building plugin $@"
1616 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
1618 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
1619 @echo
"Building plugin $@"
1620 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
1622 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
1623 @echo
"Building plugin $@"
1624 @
$(SHLD_MODULE
) $(CP850_OBJ
)
1626 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
1627 @echo
"Building plugin $@"
1628 @
$(SHLD_MODULE
) $(CP437_OBJ
)
1630 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
1631 @echo
"Building plugin $@"
1632 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
1634 # NOTE, there is no build rule for a dynamic default VFS module because
1635 # this one MUST MUST MUST be built statically.
1637 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
1638 @echo
"Building plugin $@"
1639 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
1641 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
1642 @echo
"Building plugin $@"
1643 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
1645 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
1646 @echo
"Building plugin $@"
1647 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
1649 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
1650 @echo
"Building plugin $@"
1651 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
1653 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
1654 @echo
"Building plugin $@"
1655 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
1657 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
1658 @echo
"Building plugin $@"
1659 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
1661 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
1662 @echo
"Building plugin $@"
1663 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
1665 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
1666 @echo
"Building plugin $@"
1667 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
1669 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
1670 @echo
"Building plugin $@"
1671 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
1673 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
1674 @echo
"Building plugin $@"
1675 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
1677 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
1678 @echo
"Building plugin $@"
1679 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
1681 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
1682 @echo
"Building plugin $@"
1683 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
1685 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
1686 @echo
"Building plugin $@"
1687 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
1689 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
1690 @echo
"Building plugin $@"
1691 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
1693 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
1694 @echo
"Building plugin $@"
1695 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
1697 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
1698 @echo
"Building plugin $@"
1699 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
1701 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
1702 @echo
"Building plugin $@"
1703 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
1705 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
1706 @echo
"Building plugin $@"
1707 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
1709 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
1710 @echo
"Building plugin $@"
1711 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
1713 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
1714 @echo
"Building plugin $@"
1715 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
1717 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
1718 @echo
"Building plugin $@"
1719 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
1721 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
1722 @echo
"Building plugin $@"
1723 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
1725 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
1726 @echo
"Building plugin $@"
1727 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
1729 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
1730 @echo
"Building plugin $@"
1731 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
1733 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
1734 @echo
"Building plugin $@"
1735 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
1737 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
1738 @echo
"Building plugin $@"
1739 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
1741 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
1742 @echo
"Building plugin $@"
1743 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
1745 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
1746 @echo
"Building plugin $@"
1747 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
1749 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
1750 @echo
"Building plugin $@"
1751 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
1753 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
1754 @echo
"Building plugin $@"
1755 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
1757 #########################################################
1758 ## IdMap NSS plugins
1760 ## None here right now
1761 #########################################################
1763 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1765 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
1766 $(LDAP_LIBS
) @POPTLIBS@ @WINBIND_LIBS@
1768 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
1769 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBWBCLIENT_SHARED@
1771 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
1772 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
1773 @POPTLIBS@
$(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) @WINBIND_LIBS@
1775 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
)
1776 @echo
"Linking shared library $@"
1777 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
1779 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
)
1781 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBBACKUP_OBJ
)
1783 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
)
1785 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTOOL_OBJ
)
1787 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
)
1789 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBDUMP_OBJ
)
1791 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
)
1793 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(TDBTORTURE_OBJ
)
1795 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
1796 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
1798 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
1799 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strstr.o
-L .
/bin
-lbigballofmud
1801 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
1802 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) torture
/t_strappend.o
-L .
/bin
-lbigballofmud
1804 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
1805 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o
-L.
/bin
-lbigballofmud
1807 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
1809 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
1811 install: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSSPNEGO@ installman \
1812 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
1813 @INSTALL_LIBSMBCLIENT@ @INSTALL_PAM_MODULES@ \
1814 @INSTALL_LIBSMBSHAREMODES@ @INSTALL_LIBWBCLIENT@ @INSTALL_LIBNETAPI@
1816 install-everything
: install installmodules
1818 # DESTDIR is used here to prevent packagers wasting their time
1819 # duplicating the Makefile. Remove it and you will have the privelege
1820 # of package each samba release for muliple versions of multiple
1821 # distributions and operating systems, or at least supplying patches
1822 # to all the packaging files required for this, prior to committing
1823 # the removal of DESTDIR. Do not remove it even though you think it
1827 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
1829 installservers
: all installdirs
1830 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1832 installbin
: all installdirs
1833 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1835 installcifsmount
: @CIFSMOUNT_PROGS@
1836 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
1837 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1839 installcifsspnego
: @CIFSSPNEGO_PROGS@
1840 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
1841 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
1843 # Some symlinks are required for the 'probing' of modules.
1844 # This mechanism should go at some point..
1845 installmodules
: modules
installdirs
1846 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1847 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1848 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1849 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1850 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
1851 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1852 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1853 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
1854 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
1855 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
1856 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
1857 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
1858 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
1859 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
1860 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
1862 installscripts
: installdirs
1863 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1865 installdat
: installdirs
1866 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
1868 installmsg
: installdirs
1869 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
1871 installswat
: installdirs installmsg
1872 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1874 installclientlib
: installdirs libsmbclient
1875 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1876 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1877 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
1878 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1879 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
1881 installlibsmbsharemodes
: installdirs libsmbsharemodes
1882 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1883 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1884 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
1885 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/smb_share_modes.h
$(DESTDIR
)${prefix}/include
1887 installlibaddns
: installdirs libaddns
1888 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1889 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1890 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
1892 installlibwbclient
: installdirs libwbclient
1893 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1894 -$(INSTALLLIBCMD_SH
) bin
/libwbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1895 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1896 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/nsswitch
/libwbclient
/wbclient.h
$(DESTDIR
)${prefix}/include
1898 installlibnetapi
: installdirs libnetapi
1899 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1900 -$(INSTALLLIBCMD_SH
) bin
/libnetapi.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
1901 -$(INSTALLLIBCMD_A
) bin
/libnetapi.a
$(DESTDIR
)$(LIBDIR
)
1902 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
1904 installpammodules
: $(PAM_MODULES
)
1905 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
1906 @for module in
$(PAM_MODULES
); do \
1907 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1908 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
1909 "$(DESTDIR)/$(PAMMODULESDIR)"; \
1912 # revert to the previously installed version
1914 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1915 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1917 installman
: installdirs
1918 @SMBMOUNT_PROGS
="@SMBMOUNT_PROGS@" $(SHELL
) \
1919 $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
1924 @echo
"Samba will be installed into:"
1925 @echo
" prefix: $(prefix)"
1926 @echo
" bindir: $(BINDIR)"
1927 @echo
" sbindir: $(SBINDIR)"
1928 @echo
" libdir: $(LIBDIR)"
1929 @echo
" vardir: $(VARDIR)"
1930 @echo
" mandir: $(MANDIR)"
1931 @echo
" privatedir: $(PRIVATE_DIR)"
1932 @echo
" configdir: $(CONFIGDIR)"
1933 @echo
" lockdir: $(LOCKDIR)"
1934 @echo
" piddir: $(PIDDIR)"
1935 @echo
" swatdir: $(SWATDIR)"
1938 uninstall: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ @UNINSTALL_LIBNETAPI@
1941 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
1944 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
1947 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
1950 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
1952 uninstallcifsspnego
:
1953 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
1956 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
1957 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
1958 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
1959 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
1960 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
1961 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
1964 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1967 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1970 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
1972 uninstallswat
: uninstallmsg
1973 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
1976 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
1977 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
1978 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1980 uninstalllibsmbsharemodes
:
1981 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
1982 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
1985 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
1986 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
1989 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libnetapi.@SHLIBEXT@
1990 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libnetapi.a
1991 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
1993 uninstallpammodules
:
1994 @for module in
$(PAM_MODULES
); do \
1995 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
1996 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
1999 # Toplevel clean files
2000 TOPFILES
=dynconfig.o
2003 -rm -f
$(PRECOMPILED_HEADER
)
2004 -rm -f core
*/*~
*~ \
2005 */*.o
*/*/*.o
*/*/*/*.o \
2006 ..
/testsuite
/*/*.o \
2007 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2008 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2009 $(MODULES
) $(TORTURE_PROGS
) $(LIBSMBCLIENT
) $(LIBADDNS
) \
2010 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBNETAPI
) \
2011 bin
/libwbclient.so
.0 bin
/timelimit \
2012 .headers.stamp
*/src
/*.o proto_exists
2015 # Making this target will just make sure that the prototype files
2016 # exist, not necessarily that they are up to date. Since they're
2017 # removed by "make clean" this will always be run when you do anything
2019 proto_exists
: include/proto.h
include/build_env.h \
2020 winbindd
/winbindd_proto.h web
/swat_proto.h \
2021 libnet
/libnet_proto.h \
2022 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
2026 @echo Removing prototype headers
2027 @
rm -f
include/proto.h
include/build_env.h \
2028 winbindd
/winbindd_proto.h web
/swat_proto.h \
2029 client
/client_proto.h utils
/net_proto.h \
2030 smbd
/build_options.c utils
/ntlm_auth_proto.h \
2031 utils
/passwd_proto.h libnet
/libnet_proto.h
2033 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
2035 include/proto.h
: smbd
/build_options.c
2036 @echo Building
include/proto.h
2037 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2038 -h _PROTO_H_
$(builddir
)/include/proto.h \
2041 include/build_env.h
: script
/build_env.sh
2042 @echo Building
include/build_env.h
2043 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2044 > $(builddir
)/include/build_env.h
2046 winbindd
/winbindd_proto.h
:
2047 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2048 -h _WINBINDD_PROTO_H_
$(builddir
)/winbindd
/winbindd_proto.h \
2052 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2053 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
2056 client
/client_proto.h
:
2057 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2058 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
2062 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2063 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
2066 utils
/passwd_proto.h
:
2067 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2068 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
2071 utils
/ntlm_auth_proto.h
:
2072 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2073 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
2076 libnet
/libnet_proto.h
:
2077 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2078 -h _LIBNET_PROTO_H_
$(builddir
)/libnet
/libnet_proto.h \
2081 # "make headers" or "make proto" calls a subshell because we need to
2082 # make sure these commands are executed in sequence even for a
2085 $(MAKE
) delheaders
; \
2086 $(MAKE
) smbd
/build_options.c
; \
2087 $(MAKE
) include/proto.h
; \
2088 $(MAKE
) include/build_env.h
; \
2089 $(MAKE
) winbindd
/winbindd_proto.h
; \
2090 $(MAKE
) web
/swat_proto.h
; \
2091 $(MAKE
) client
/client_proto.h
; \
2092 $(MAKE
) utils
/ntlm_auth_proto.h
; \
2093 $(MAKE
) utils
/net_proto.h
; \
2094 $(MAKE
) utils
/passwd_proto.h
; \
2095 $(MAKE
) libnet
/libnet_proto.h
;
2099 .PHONY
: headers proto
2102 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2105 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2107 realclean: clean delheaders
2108 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2109 -rm -f script
/installbin.sh script
/uninstallbin.sh
2111 distclean: realclean
2113 -rm -f
include/config.h Makefile
2114 -rm -f config.status config.cache so_locations
2117 realdistclean
: distclean
2118 -rm -f
include/config.h.in
2119 -rm -f
include/version.h
2122 # this target is really just for my use. It only works on a limited
2123 # range of machines and is used to produce a list of potentially
2124 # dead (ie. unused) functions in the code. (tridge)
2126 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2127 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2128 comm
-13 nmused.txt nmfns.txt
2131 # when configure.in is updated, reconfigure
2132 $(srcdir)/configure
: $(srcdir)/configure.in
2133 @echo
"WARNING: you need to rerun ./autogen.sh"
2135 config.status
: $(srcdir)/configure
2136 @echo
"WARNING: you need to run ./configure"
2138 Makefile
: $(srcdir)/Makefile.in config.status
2139 @echo
"WARNING: you need to run ./config.status"
2141 ######################################################################
2142 # Samba Testing Framework
2144 # Check shared libs for unresolved symbols
2145 test_shlibs
: $(SHLIBS
)
2146 @echo
"Testing $(SHLIBS) "
2147 @for module in
$(SHLIBS
); do \
2148 .
/script
/tests
/dlopen.sh bin
/$${module}.@SHLIBEXT@ \
2152 # Check for NSS module problems.
2153 test_nss_modules
: nss_modules
2154 @echo
"Testing $(NSS_MODULES) "
2155 @for module in
$(NSS_MODULES
); do \
2156 .
/script
/tests
/dlopen.sh
$${module} \
2160 # Check for PAM module problems. Specifically, check that every module we
2161 # built can actually be loaded by a minimal PAM-aware application.
2162 test_pam_modules
: pam_modules
2163 @echo
"Testing $(PAM_MODULES) "
2164 @for module in
$(PAM_MODULES
); do \
2165 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2171 ## Targets for 'make test'
2173 test: all torture timelimit
2174 @echo Running Test suite
2175 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"
2177 valgrindtest
: all torture timelimit
2178 @echo Running Test suite with valgrind
2179 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2180 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2181 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2182 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2183 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/st/valgrind.log" \
2184 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix}/st
all "${smbtorture4_path}"