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 # Copyright (C) 2008 Michael Adam <obnox@samba.org>
11 ###########################################################################
14 exec_prefix=@
exec_prefix@
15 sysconfdir
=@sysconfdir@
16 localstatedir
=@localstatedir@
17 datarootdir
=@datarootdir@
19 selftest_prefix
=@selftest_prefix@
20 smbtorture4_path
=@smbtorture4_path@
25 LIB_PATH_VAR
=@LIB_PATH_VAR@
27 ## Dynamic shared libraries build settings
28 DSO_EXPORTS_CMD
=-Wl
,--version-script
,$(srcdir)/exports
/`basename $@ | sed 's/@SHLIBEXT@\(.[0-9]\{1,\}\)\{0,1\}$$/@SYMSEXT@/'`
29 DSO_EXPORTS
=@DSO_EXPORTS@
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 # --enable-picky-developer and --enable-krb5developer.
39 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
41 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
45 LDSHFLAGS
=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
46 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_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 WINBIND_NSS_EXTRA_LIBS
=@WINBIND_NSS_EXTRA_LIBS@
69 WINBIND_NSS_PTHREAD
=@WINBIND_NSS_PTHREAD@
70 PAM_WINBIND_EXTRA_LIBS
=@PAM_WINBIND_EXTRA_LIBS@
71 DNSSD_LIBS
=@DNSSD_LIBS@
73 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
74 LIBTDB_LIBS
=@LIBTDB_LIBS@
75 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
78 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
79 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
80 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
81 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
85 builddir
=@abs_builddir@
89 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
90 # will search for a POSIX-compliant shell, and that might not be
91 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
93 # See the autoconf manual "Installation Directory Variables" for a
94 # discussion of the subtle use of these variables.
98 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
100 ROOTSBINDIR
= @rootsbindir@
102 MODULESDIR
= @modulesdir@
103 INCLUDEDIR
=@
includedir@
104 PAMMODULESDIR
= @pammodulesdir@
105 VFSLIBDIR
= $(MODULESDIR
)/vfs
106 PDBLIBDIR
= $(MODULESDIR
)/pdb
107 RPCLIBDIR
= $(MODULESDIR
)/rpc
108 IDMAPLIBDIR
= $(MODULESDIR
)/idmap
109 NSSINFOLIBDIR
= $(MODULESDIR
)/nss_info
110 CHARSETLIBDIR
= $(MODULESDIR
)/charset
111 AUTHLIBDIR
= $(MODULESDIR
)/auth
112 CONFIGLIBDIR
= $(MODULESDIR
)/config
113 GPEXTLIBDIR
= $(MODULESDIR
)/gpext
114 CONFIGDIR
= @configdir@
115 VARDIR
= @localstatedir@
119 # The permissions to give the executables and other data
120 INSTALLPERMS_BIN
= 0755
121 INSTALLPERMS_DATA
= 0644
123 # set these to where to find various files
124 # These can be overridden by command line switches (see smbd(8))
125 # or in smb.conf (see smb.conf(5))
126 LOGFILEBASE
= @logfilebase@
127 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
128 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
131 # This is where smbpasswd et al go
132 PRIVATEDIR
= @privatedir@
134 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
135 PRIVATE_DIR
= $(PRIVATEDIR
)
137 # This is where SWAT images and help files go
140 # the directory where lock files go
143 # FHS directories; equal to LOCKDIR if not using --with-fhs
144 CACHEDIR
= @cachedir@
145 STATEDIR
= @
statedir@
147 # Where to look for (and install) codepage databases.
148 CODEPAGEDIR
= @codepagedir@
150 # the directory where pid files go
153 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
156 FLAGS4
= -I
$(CTDBDIR
)/include
157 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
158 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
160 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
161 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
162 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
163 -DSBINDIR
=\"$(SBINDIR
)\" \
164 -DBINDIR
=\"$(BINDIR
)\" \
165 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
166 -DSWATDIR
=\"$(SWATDIR
)\" \
167 -DLOCKDIR
=\"$(LOCKDIR
)\" \
168 -DPIDDIR
=\"$(PIDDIR
)\" \
169 -DLIBDIR
=\"$(LIBDIR
)\" \
170 -DMODULESDIR
=\"$(MODULESDIR
)\" \
171 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
172 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
173 -DCTDBDIR
=\"$(CTDBDIR
)\" \
174 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
175 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
176 -DCACHEDIR
=\"$(CACHEDIR
)\" \
177 -DSTATEDIR
=\"$(STATEDIR
)\"
179 # Note that all executable programs now provide for an optional executable suffix.
181 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
183 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
185 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
186 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
187 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
188 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
190 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
191 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
192 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
193 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
194 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
196 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
197 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
198 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
199 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
200 bin
/tdbtorture@EXEEXT@ \
201 bin
/smbconftort@EXEEXT@
203 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
204 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
206 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
207 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
208 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
209 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
211 PAM_MODULES
= @PAM_MODULES@
213 NSS_MODULES
= @NSS_MODULES@
215 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
217 VFS_MODULES
= @VFS_MODULES@
218 PDB_MODULES
= @PDB_MODULES@
219 RPC_MODULES
= @RPC_MODULES@
220 IDMAP_MODULES
= @IDMAP_MODULES@
221 CHARSET_MODULES
= @CHARSET_MODULES@
222 AUTH_MODULES
= @AUTH_MODULES@
223 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
224 GPEXT_MODULES
= @GPEXT_MODULES@
225 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
226 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
229 ######################################################################
231 ######################################################################
233 TDB_OBJ
= lib
/util_tdb.o \
234 lib
/dbwrap.o lib
/dbwrap_tdb.o \
236 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
238 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
240 VERSION_OBJ
= lib
/version.o
242 WBCOMMON_OBJ
= nsswitch
/wb_common.o
246 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
248 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
250 PASSCHANGE_OBJ
= libsmb
/passchange.o
252 LIBNDR_DRSUAPI_OBJ
= librpc
/ndr
/ndr_drsuapi.o \
253 librpc
/ndr
/ndr_compression.o \
254 librpc
/gen_ndr
/ndr_drsuapi.o \
255 librpc
/gen_ndr
/ndr_drsblobs.o
257 COMPRESSION_OBJ
= lib
/compression
/mszip.o
259 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
262 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o \
264 librpc
/ndr
/ndr_misc.o \
265 librpc
/gen_ndr
/ndr_misc.o \
266 librpc
/gen_ndr
/ndr_security.o \
267 librpc
/ndr
/ndr_sec_helper.o \
268 librpc
/ndr
/ndr_string.o \
272 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
274 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
275 librpc
/gen_ndr
/ndr_lsa.o
277 LIBNDR_GEN_OBJ1
= librpc
/gen_ndr
/ndr_netlogon.o
279 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
281 librpc
/gen_ndr
/ndr_dfs.o \
282 librpc
/gen_ndr
/ndr_echo.o \
283 librpc
/gen_ndr
/ndr_winreg.o \
284 librpc
/gen_ndr
/ndr_initshutdown.o \
285 librpc
/gen_ndr
/ndr_srvsvc.o \
286 librpc
/gen_ndr
/ndr_eventlog.o \
288 librpc
/gen_ndr
/ndr_dssetup.o \
289 librpc
/gen_ndr
/ndr_notify.o \
290 librpc
/gen_ndr
/ndr_xattr.o \
291 librpc
/gen_ndr
/ndr_epmapper.o \
292 librpc
/gen_ndr
/ndr_ntsvcs.o
294 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
296 # this includes only the low level parse code, not stuff
297 # that requires knowledge of security contexts
298 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
300 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
301 rpc_client
/init_netlogon.o \
302 rpc_client
/init_lsa.o \
303 rpc_client
/init_srvsvc.o
305 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
307 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
308 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
310 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
312 $(SOCKET_WRAPPER_OBJ
) \
315 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
316 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
317 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
318 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
319 lib
/util_transfer_file.o lib
/async_req.o \
322 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
323 lib
/interface.o lib
/md4.o \
325 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
326 lib
/ufc.o lib
/genrand.o lib
/username.o \
327 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
328 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
329 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
330 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
331 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
332 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
333 lib
/substitute.o lib
/fsusage.o lib
/dbwrap_util.o \
334 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
335 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
336 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
337 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
338 lib
/adt_tree.o lib
/gencache.o \
339 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
340 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
341 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
342 lib
/file_id.o lib
/idmap_cache.o
344 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
345 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
347 READLINE_OBJ
= lib
/readline.o
349 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
350 # Be sure to include them into your application
351 POPT_LIB_OBJ
= lib
/popt_common.o
353 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
354 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
355 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
357 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
359 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
360 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
361 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
363 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
365 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
366 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
369 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
371 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
372 libads
/sasl.o libads
/sasl_wrapping.o \
373 libads
/krb5_setpw.o libads
/ldap_user.o \
374 libads
/ads_struct.o libads
/kerberos_keytab.o \
375 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
376 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
378 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
379 librpc
/ndr
/ndr_krb5pac.o \
380 librpc
/gen_ndr
/ndr_krb5pac.o
382 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
384 LIBNBT_OBJ
= libcli
/nbt
/nbtname.o \
385 librpc
/gen_ndr
/ndr_nbt.o \
386 librpc
/gen_ndr
/ndr_svcctl.o
388 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
389 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
391 NTERR_OBJ
= libsmb
/nterr.o
392 DOSERR_OBJ
= libsmb
/doserr.o
393 ERRORMAP_OBJ
= libsmb
/errormap.o
394 DCE_RPC_ERR_OBJ
= libsmb
/dcerpc_err.o
396 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
397 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
399 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
404 libsmb
/ntlm_check.o \
406 libsmb
/ntlmssp_sign.o
408 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
411 CLDAP_OBJ
= libads
/cldap.o
413 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
414 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
415 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
416 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
417 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
418 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
419 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
420 libsmb
/clioplock.o libsmb
/clirap2.o \
421 libsmb
/smb_seal.o libsmb
/async_smb.o \
428 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
430 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
431 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
432 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
433 rpc_client
/cli_svcctl.o \
434 rpc_client
/init_samr.o \
435 librpc
/rpc
/dcerpc.o \
438 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
439 librpc
/gen_ndr
/cli_dfs.o \
440 librpc
/gen_ndr
/cli_echo.o \
441 librpc
/gen_ndr
/cli_srvsvc.o \
442 librpc
/gen_ndr
/cli_svcctl.o \
443 librpc
/gen_ndr
/cli_winreg.o \
444 librpc
/gen_ndr
/cli_initshutdown.o \
445 librpc
/gen_ndr
/cli_eventlog.o \
446 librpc
/gen_ndr
/cli_wkssvc.o \
447 librpc
/gen_ndr
/cli_netlogon.o \
448 librpc
/gen_ndr
/cli_samr.o \
449 librpc
/gen_ndr
/cli_dssetup.o \
450 librpc
/gen_ndr
/cli_ntsvcs.o \
451 librpc
/gen_ndr
/cli_epmapper.o \
452 librpc
/gen_ndr
/cli_drsuapi.o \
457 # registry-related objects
459 UTIL_REG_OBJ
= lib
/util_reg.o
460 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
462 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
463 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
464 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
466 REGFIO_OBJ
= registry
/regfio.o
468 REGOBJS_OBJ
= registry
/reg_objects.o
470 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
472 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
474 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
475 registry
/reg_backend_shares.o \
476 registry
/reg_backend_netlogon_params.o \
477 registry
/reg_backend_prod_options.o \
478 registry
/reg_backend_tcpip_params.o \
479 registry
/reg_backend_hkpt_params.o \
480 registry
/reg_backend_current_version.o \
481 registry
/reg_backend_perflib.o
483 REG_BASE_OBJ
= registry
/reg_api.o \
484 registry
/reg_dispatcher.o \
485 registry
/reg_cachehook.o \
488 registry
/reg_util.o \
489 $(UTIL_REG_API_OBJ
) \
491 $(REG_BACKENDS_BASE_OBJ
) \
492 $(REG_INIT_BASIC_OBJ
)
494 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
495 $(REG_BACKENDS_SMBCONF_OBJ
) \
496 $(REG_INIT_SMBCONF_OBJ
)
498 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
499 $(REG_BACKENDS_EXTRA_OBJ
) \
500 $(REG_INIT_FULL_OBJ
) \
501 registry
/reg_eventlog.o \
502 registry
/reg_perfcount.o \
503 registry
/reg_util_legacy.o
506 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
508 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
509 librpc
/gen_ndr
/srv_netlogon.o
511 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
512 rpc_server
/srv_samr_util.o \
513 librpc
/gen_ndr
/srv_samr.o
515 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
517 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
518 librpc
/gen_ndr
/srv_winreg.o
520 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
522 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
523 librpc
/gen_ndr
/srv_srvsvc.o
525 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
527 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
528 librpc
/gen_ndr
/srv_svcctl.o \
529 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
530 services
/svc_netlogon.o services
/svc_winreg.o \
533 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o \
534 librpc
/gen_ndr
/srv_ntsvcs.o
536 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
538 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
540 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
541 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
543 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
544 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
546 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
548 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
550 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
551 rpc_parse
/parse_spoolss.o \
552 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
553 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
555 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
557 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
559 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
561 PRIVILEGES_OBJ
= lib
/privileges.o
563 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
565 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
566 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
567 passdb
/util_unixsids.o passdb
/lookup_sid.o \
568 passdb
/login_cache.o @PDB_STATIC@ \
569 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
570 lib
/util_nscd.o lib
/winbind_util.o
572 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
573 CP850_OBJ
= modules
/CP850.o
574 CP437_OBJ
= modules
/CP437.o
575 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
577 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
579 PROFILE_OBJ
= profile
/profile.o
580 PROFILES_OBJ
= utils
/profiles.o \
583 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
586 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
588 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
590 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
591 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
592 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
593 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
594 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
595 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
596 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
597 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
598 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
599 VFS_CAP_OBJ
= modules
/vfs_cap.o
600 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
601 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
602 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
603 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
604 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
605 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
606 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
607 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
608 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
609 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
610 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
611 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
612 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
613 VFS_CATIA_OBJ
= modules
/vfs_catia.o
614 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
615 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
616 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
617 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
618 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
619 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
620 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
621 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
622 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
623 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
624 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
625 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
626 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
627 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
629 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
631 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
633 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
635 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
636 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
637 AUTH_SAM_OBJ
= auth
/auth_sam.o
638 AUTH_SERVER_OBJ
= auth
/auth_server.o
639 AUTH_UNIX_OBJ
= auth
/auth_unix.o
640 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
641 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
643 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
644 auth
/auth_compat.o auth
/auth_ntlmssp.o \
645 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
647 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
649 SMBD_OBJ_MAIN
= smbd
/server.o
651 BUILDOPT_OBJ
= smbd
/build_options.o
653 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
654 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
655 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
656 smbd
/share_access.o smbd
/fileio.o \
657 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
658 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
659 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
660 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
661 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
662 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
663 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
664 smbd
/process.o smbd
/service.o smbd
/error.o \
665 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
666 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
667 smbd
/change_trust_pw.o smbd
/fake_file.o \
668 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
669 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
673 $(MANGLE_OBJ
) @VFS_STATIC@
675 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
676 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
677 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
678 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
679 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
680 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
681 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
682 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
683 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
685 $(PRIVILEGES_BASIC_OBJ
)
687 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
688 printing
/print_cups.o printing
/print_generic.o \
689 printing
/lpq_parse.o printing
/load.o \
690 printing
/print_iprint.o
692 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
693 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
695 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
697 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
698 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
699 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
700 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
701 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
702 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
703 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
704 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
705 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
706 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
707 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
708 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
710 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
711 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
714 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
715 web
/swat.o web
/neg_lang.o
717 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
718 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
719 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
720 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
721 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
723 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
724 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
725 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
728 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
729 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
733 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
734 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
735 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
736 rpc_client
/cli_pipe.o librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
738 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
741 TESTPARM_OBJ
= utils
/testparm.o \
742 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
745 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
747 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
748 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
749 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
750 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
751 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
753 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
755 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
756 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
759 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
761 DISPLAY_SEC_OBJ
= lib
/display_sec.o
763 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
764 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
765 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
766 rpcclient
/cmd_dfs.o \
767 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
768 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
769 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
770 rpcclient
/cmd_drsuapi.o \
773 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
774 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
775 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
776 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
777 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
778 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
780 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
781 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
783 LIBSMBCLIENT_OBJ0
= \
784 libsmb
/libsmb_cache.o \
785 libsmb
/libsmb_compat.o \
786 libsmb
/libsmb_context.o \
787 libsmb
/libsmb_dir.o \
788 libsmb
/libsmb_file.o \
789 libsmb
/libsmb_misc.o \
790 libsmb
/libsmb_path.o \
791 libsmb
/libsmb_printjob.o \
792 libsmb
/libsmb_server.o \
793 libsmb
/libsmb_stat.o \
794 libsmb
/libsmb_xattr.o \
795 libsmb
/libsmb_setget.o
797 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
798 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
799 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
800 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
801 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
803 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
805 # This shared library is intended for linking with unit test programs
806 # to test Samba internals. It's called libbigballofmud.so to
807 # discourage casual usage.
809 LIBBIGBALLOFMUD_MAJOR
= 0
811 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
812 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
813 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
815 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
816 librpc
/rpc
/binding.o \
821 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
822 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
823 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
824 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
827 LIBSMBCONF_OBJ
= lib
/smbconf
/smbconf.o lib
/smbconf
/smbconf_util.o \
828 lib
/smbconf
/smbconf_reg.o \
829 lib
/smbconf
/smbconf_txt.o \
830 lib
/smbconf
/smbconf_init.o
832 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
834 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
840 LIBNET_OBJ
= libnet
/libnet_join.o \
841 libnet
/libnet_keytab.o \
842 libnet
/libnet_samsync.o \
843 libnet
/libnet_samsync_ldif.o \
844 libnet
/libnet_samsync_passdb.o \
845 libnet
/libnet_samsync_display.o \
846 libnet
/libnet_samsync_keytab.o \
847 libnet
/libnet_dssync.o \
848 libnet
/libnet_dssync_keytab.o \
849 librpc
/gen_ndr
/ndr_libnet_join.o
851 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
852 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
853 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
854 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
855 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
856 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
857 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
858 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
859 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
860 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
861 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
862 auth
/token_util.o utils
/net_dom.o utils
/net_share.o
864 # these are not processed by make proto
865 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
867 NET_OBJ
= $(NET_OBJ1
) \
868 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
869 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
870 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
871 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
872 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
873 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
874 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
875 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
876 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
877 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
879 @LIBWBCLIENT_STATIC@ \
880 $(PRIVILEGES_BASIC_OBJ
)
882 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
883 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
886 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
888 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
890 CIFS_UPCALL_OBJ
= client
/cifs.upcall.o
892 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
893 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
895 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
896 torture
/denytest.o torture
/mangle_test.o
898 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
899 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
902 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
906 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
910 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
911 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
914 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
918 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
919 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
920 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
923 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
925 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
927 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
929 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
930 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
933 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
934 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
935 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
936 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
938 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
940 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
941 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
942 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
944 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
946 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
948 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o
950 SHARESEC_OBJ0
= utils
/sharesec.o
951 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
955 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
958 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
959 lib
/replace
/test/getifaddrs.o \
960 lib
/replace
/test/os2_delete.o \
961 lib
/replace
/test/strptime.o \
964 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
965 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
966 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
967 librpc
/gen_ndr
/ndr_svcctl.o
969 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
971 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
972 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
975 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
976 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
979 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
980 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
981 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
982 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
985 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
987 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
990 winbindd
/idmap_hash
/idmap_hash.o \
991 winbindd
/idmap_hash
/mapfile.o
994 winbindd
/idmap_adex
/idmap_adex.o \
995 winbindd
/idmap_adex
/cell_util.o \
996 winbindd
/idmap_adex
/likewise_cell.o \
997 winbindd
/idmap_adex
/provider_unified.o \
998 winbindd
/idmap_adex
/gc_util.o \
999 winbindd
/idmap_adex
/domain_util.o
1002 winbindd
/winbindd.o \
1003 winbindd
/winbindd_user.o \
1004 winbindd
/winbindd_group.o \
1005 winbindd
/winbindd_util.o \
1006 winbindd
/winbindd_cache.o \
1007 winbindd
/winbindd_pam.o \
1008 winbindd
/winbindd_sid.o \
1009 winbindd
/winbindd_misc.o \
1010 winbindd
/winbindd_cm.o \
1011 winbindd
/winbindd_wins.o \
1012 winbindd
/winbindd_rpc.o \
1013 winbindd
/winbindd_reconnect.o \
1014 winbindd
/winbindd_ads.o \
1015 winbindd
/winbindd_passdb.o \
1016 winbindd
/winbindd_dual.o \
1017 winbindd
/winbindd_async.o \
1018 winbindd
/winbindd_creds.o \
1019 winbindd
/winbindd_cred_cache.o \
1020 winbindd
/winbindd_ccache_access.o \
1021 winbindd
/winbindd_domain.o \
1022 winbindd
/winbindd_idmap.o \
1023 winbindd
/winbindd_locator.o \
1024 winbindd
/winbindd_ndr.o \
1029 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1030 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1031 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1032 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1033 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1034 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1035 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1036 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
1038 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1039 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1040 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1042 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1044 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1045 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1046 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1047 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1048 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1050 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1051 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1052 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1054 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1055 lib
/ldb
/modules
/objectclass.o \
1056 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1058 # enabled in configure.in
1059 LDB_LDAP_OBJ
=@LDBLDAP@
1061 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1063 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1064 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1065 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1066 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1069 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1070 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1071 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1072 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1073 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1075 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
1076 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
)
1078 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
1079 popt
/popthelp.o popt
/poptparse.o
1081 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1082 iniparser_build
/strlib.o
1084 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1085 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1087 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1088 $(SOCKET_WRAPPER_OBJ
)
1090 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1091 $(SOCKET_WRAPPER_OBJ
)
1093 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1094 $(SOCKET_WRAPPER_OBJ
)
1097 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1099 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1100 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1101 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1102 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1103 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1104 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1105 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1108 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) librpc
/rpc
/binding.o
1110 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1111 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1112 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1113 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1116 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1120 @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1121 $(LIB_NONSMBD_OBJ
) \
1124 $(RPC_CLIENT_OBJ1
) \
1125 rpc_client
/cli_pipe.o \
1126 librpc
/rpc
/binding.o \
1130 ######################################################################
1132 ######################################################################
1133 all:: SHOWFLAGS libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1134 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
1136 nss_modules
:: $(NSS_MODULES
)
1138 pam_modules
:: $(PAM_MODULES
)
1140 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1142 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1144 torture
:: SHOWFLAGS
$(TORTURE_PROGS
)
1146 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1148 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1150 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1152 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1154 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1156 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1158 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1160 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1162 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1164 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1166 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1168 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1170 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1172 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1174 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1176 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1177 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1178 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1180 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1182 modules
:: SHOWFLAGS
$(MODULES
)
1184 #####################################################################
1185 ## Perl IDL Compiler
1186 IDL_FILES
= lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1187 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1188 epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
1189 dssetup.idl krb5pac.idl ntsvcs.idl libnetapi.idl drsuapi.idl drsblobs.idl \
1193 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1194 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1197 #####################################################################
1200 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1204 .SUFFIXES
: .c .o .lo
1207 @echo
"Using FLAGS = $(FLAGS)"
1208 @echo
" PICFLAG = $(PICFLAG)"
1209 @echo
" LIBS = $(LIBS)"
1210 @echo
" LDFLAGS = $(LDFLAGS)"
1211 @echo
" DYNEXP = $(DYNEXP)"
1212 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1213 @echo
" SHLIBEXT = @SHLIBEXT@"
1214 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1216 MAKEDIR
= || exec false
; \
1217 if
test -d
"$$dir"; then
:; else \
1218 echo mkdir
"$$dir"; \
1219 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1220 test -d
"$$dir" || \
1222 exec false
; fi || exec false
1224 # Run a static checker.
1225 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1226 # Compile a source file.
1227 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1228 # Compile a source file with the installation paths defined.
1229 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1231 COMPILE
= $(COMPILE_CC
)
1234 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1235 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1236 @if
test -n
"$(CC_CHECKER)"; then \
1237 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1240 @echo Compiling
$*.c
1241 @
$(COMPILE
) && exit
0;\
1242 echo
"The following command failed:" 1>&2;\
1243 echo
"$(COMPILE_CC)" 1>&2;\
1244 $(COMPILE_CC
) >/dev
/null
2>&1
1245 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1247 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1249 # this adds support for precompiled headers. To use it, install a snapshot
1250 # of gcc-3.4 and run 'make pch' before you do the main build.
1252 rm -f
$(PRECOMPILED_HEADER
)
1253 $(MAKE
) $(PRECOMPILED_HEADER
)
1255 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1258 BINARY_PREREQS
= bin
/.dummy
1260 # These dependencies are only approximately correct: we want to make
1261 # sure Samba's paths are updated if ./configure is re-run. Really it
1262 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1263 # but since we also require "make install prefix=/opt/samba" *not* to
1264 # rebuild it's a bit hard.
1266 dynconfig.o
: dynconfig.c Makefile
1267 @echo Compiling
$*.c
1268 @
$(COMPILE_CC_PATH
) && exit
0;\
1269 echo
"The following command failed:" 1>&2;\
1270 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1271 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1273 lib
/pidfile.o
: lib
/pidfile.c
1274 @echo Compiling
$*.c
1275 @
$(COMPILE_CC_PATH
) && exit
0;\
1276 echo
"The following command failed:" 1>&2;\
1277 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1278 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1280 lib
/version.o
: lib
/version.c
include/version.h
1281 @echo Compiling
$*.c
1282 @
$(COMPILE_CC_PATH
) && exit
0;\
1283 echo
"The following command failed:" 1>&2;\
1284 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1285 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1287 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1288 @echo Compiling
$*.c
1289 @
$(COMPILE_CC_PATH
) && exit
0;\
1290 echo
"The following command failed:" 1>&2;\
1291 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1292 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1294 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1296 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1299 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1300 dir=bin
$(MAKEDIR
); fi
1301 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1303 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1305 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1306 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1307 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1308 $(POPT_LIBS
) @SMBD_LIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1311 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1313 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1314 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(POPT_LIBS
) \
1315 $(KRB5LIBS
) $(LDAP_LIBS
)
1317 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1319 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1320 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) \
1321 $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1323 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1325 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1326 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1327 $(KRB5LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1330 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1332 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1333 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1334 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) \
1335 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1337 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@
1339 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1340 $(POPT_LIBS
) $(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1341 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1342 @INIPARSERLIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBNETAPI_LIBS
)
1344 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1346 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1347 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1349 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1351 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1352 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1354 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1356 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1358 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1360 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1362 bin
/cifs.upcall@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UPCALL_OBJ
) $(LIBSMBCLIENT_OBJ1
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1364 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UPCALL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1365 -lkeyutils
$(LIBS
) $(LIBSMBCLIENT_OBJ1
) $(KRB5LIBS
) \
1366 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(WINBIND_LIBS
) \
1367 $(LIBTDB_LIBS
) $(NSCD_LIBS
)
1369 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1371 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1372 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1374 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1376 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1377 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1379 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1381 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1382 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1383 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@
$(POPT_LIBS
) \
1384 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1386 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1388 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1389 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1390 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1392 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1394 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1395 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1396 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1398 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1400 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1401 $(POPT_LIBS
) $(PASSDB_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) \
1402 $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1404 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1406 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1407 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1408 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1410 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1412 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1413 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1415 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1417 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1418 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) \
1421 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1423 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1424 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1425 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1427 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1429 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1430 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
)
1432 bin
/smbconftort@EXEEXT@
: $(SMBCONFTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1434 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(SMBCONFTORT_OBJ
) $(LDFLAGS
) \
1435 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1436 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1438 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1440 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1441 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1442 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1444 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1446 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1447 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1448 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1450 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1452 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1453 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1454 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1456 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1458 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1459 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1460 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1462 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1464 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1465 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1467 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1469 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1470 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1472 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1474 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1475 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1476 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1478 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1480 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1481 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1482 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1484 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1486 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1487 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1488 $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1490 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1492 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1493 $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1494 $(ACL_LIBS
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1495 @SMBD_LIBS@
$(NSCD_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1498 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1500 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1501 $(TERMLIBS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1502 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1504 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1506 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1507 $(POPT_LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
)
1509 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1511 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1512 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1513 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1515 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1517 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1518 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1520 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1522 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1523 $(LIBS
) $(LIBTALLOC_LIBS
)
1525 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1527 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) \
1528 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1529 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1531 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1533 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1534 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1535 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1537 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1539 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1540 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1541 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1543 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1545 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1546 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1547 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1549 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1551 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1552 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1553 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1555 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1557 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1558 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1559 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1562 #####################################################################
1566 #####################################################################
1568 MKSYMS_SH
= $(srcdir)/script
/mksyms.sh
1571 #-------------------------------------------------------------------
1575 #-------------------------------------------------------------------
1577 TALLOC_OBJ
= @TALLOC_OBJS@
1579 LIBTALLOC_OBJ0
= $(TALLOC_OBJ
)
1580 LIBTALLOC_OBJ
= $(LIBTALLOC_OBJ0
) $(LIBREPLACE_OBJ
)
1582 LIBTALLOC_SHARED_TARGET
=@LIBTALLOC_SHARED_TARGET@
1583 LIBTALLOC_SOVER
=@LIBTALLOC_SOVER@
1584 LIBTALLOC_SHARED_TARGET_SONAME
=$(LIBTALLOC_SHARED_TARGET
).
$(LIBTALLOC_SOVER
)
1585 LIBTALLOC_STATIC_TARGET
=@LIBTALLOC_STATIC_TARGET@
1586 LIBTALLOC
=$(LIBTALLOC_STATIC_TARGET
) @LIBTALLOC_SHARED@
1587 LIBTALLOC_SYMS
=$(srcdir)/exports
/libtalloc.@SYMSEXT@
1588 LIBTALLOC_HEADERS
=$(srcdir)/@tallocdir@
/talloc.h
1590 $(LIBTALLOC_SYMS
): $(LIBTALLOC_HEADERS
)
1591 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTALLOC_HEADERS
)
1593 $(LIBTALLOC_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ
) $(LIBTALLOC_SYMS
)
1594 @echo Linking shared library
$@
1595 @
$(SHLD_DSO
) $(LIBTALLOC_OBJ
) @SONAMEFLAG@
`basename $@`
1597 $(LIBTALLOC_SHARED_TARGET
): $(LIBTALLOC_SHARED_TARGET_SONAME
)
1599 @ln
-s
-f
`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1601 $(LIBTALLOC_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ0
)
1602 @echo Linking non-shared library
$@
1603 @
-$(AR
) -rc
$@
$(LIBTALLOC_OBJ0
)
1605 libtalloc
: $(LIBTALLOC
)
1610 $(LIBTALLOC_STATIC_TARGET
) \
1611 $(LIBTALLOC_SHARED_TARGET
) \
1612 $(LIBTALLOC_SHARED_TARGET_SONAME
)
1614 installlibtalloc
:: installdirs libtalloc
1615 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1616 -$(INSTALLLIBCMD_SH
) $(LIBTALLOC_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1617 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)`
1618 -if
test -e
$(LIBTALLOC_SHARED_TARGET_SONAME
) ; then \
1619 ln
-s
-f
`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1620 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1622 -$(INSTALLLIBCMD_A
) $(LIBTALLOC_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1623 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1624 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTALLOC_HEADERS
) $(DESTDIR
)${prefix}/include
1626 uninstalllibtalloc
::
1627 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)`
1628 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1629 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_STATIC_TARGET)`
1630 -rm -f
$(DESTDIR
)${prefix}/include/talloc.h
1633 installlibs
:: @INSTALL_LIBTALLOC@
1634 uninstalllibs
:: @UNINSTALL_LIBTALLOC@
1635 cleanlibs
:: cleanlibtalloc
1636 shlibs test_shlibs
: @LIBTALLOC_SHARED@
1638 #-------------------------------------------------------------------
1642 #-------------------------------------------------------------------
1644 LIBTDB_OBJ0
= @TDB_OBJS@
1645 LIBTDB_OBJ
= $(LIBTDB_OBJ0
) $(LIBREPLACE_OBJ
)
1647 LIBTDB_SHARED_TARGET
=@LIBTDB_SHARED_TARGET@
1648 LIBTDB_SOVER
=@LIBTDB_SOVER@
1649 LIBTDB_SHARED_TARGET_SONAME
=$(LIBTDB_SHARED_TARGET
).
$(LIBTDB_SOVER
)
1650 LIBTDB_STATIC_TARGET
=@LIBTDB_STATIC_TARGET@
1651 LIBTDB
=$(LIBTDB_STATIC_TARGET
) @LIBTDB_SHARED@
1652 LIBTDB_SYMS
=$(srcdir)/exports
/libtdb.@SYMSEXT@
1653 LIBTDB_HEADERS
=$(srcdir)/@tdbdir@
/include/tdb.h
1655 $(LIBTDB_SYMS
): $(LIBTDB_HEADERS
)
1656 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTDB_HEADERS
)
1658 $(LIBTDB_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBTDB_OBJ
) $(LIBTDB_SYMS
)
1659 @echo Linking shared library
$@
1660 @
$(SHLD_DSO
) $(LIBTDB_OBJ
) \
1661 @SONAMEFLAG@
`basename $@`
1663 $(LIBTDB_SHARED_TARGET
): $(LIBTDB_SHARED_TARGET_SONAME
)
1665 @ln
-s
-f
`basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1667 $(LIBTDB_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ0
)
1668 @echo Linking non-shared library
$@
1669 @
-$(AR
) -rc
$@
$(LIBTDB_OBJ0
)
1676 $(LIBTDB_STATIC_TARGET
) \
1677 $(LIBTDB_SHARED_TARGET
) \
1678 $(LIBTDB_SHARED_TARGET_SONAME
)
1681 installlibtdb
:: installdirs libtdb
1682 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1683 -$(INSTALLLIBCMD_SH
) $(LIBTDB_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1684 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)`
1685 -if
test -e
$(LIBTDB_SHARED_TARGET_SONAME
) ; then \
1686 ln
-s
-f
`basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1687 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1689 -$(INSTALLLIBCMD_A
) $(LIBTDB_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1690 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1691 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTDB_HEADERS
) $(DESTDIR
)${prefix}/include
1694 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)`
1695 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1696 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_STATIC_TARGET)`
1697 -rm -f
$(DESTDIR
)${prefix}/include/tdb.h
1700 installlibs
:: @INSTALL_LIBTDB@
1701 uninstalllibs
:: @UNINSTALL_LIBTDB@
1702 cleanlibs
:: cleanlibtdb
1703 shlibs test_shlibs
: @LIBTDB_SHARED@
1705 #-------------------------------------------------------------------
1709 #-------------------------------------------------------------------
1711 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
1712 nsswitch
/libwbclient
/wbc_util.o \
1713 nsswitch
/libwbclient
/wbc_pwd.o \
1714 nsswitch
/libwbclient
/wbc_idmap.o \
1715 nsswitch
/libwbclient
/wbc_sid.o \
1716 nsswitch
/libwbclient
/wbc_pam.o
1717 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) \
1719 @LIBTALLOC_STATIC@
$(LIBREPLACE_OBJ
)
1721 LIBWBCLIENT_SHARED_TARGET
=@LIBWBCLIENT_SHARED_TARGET@
1722 LIBWBCLIENT_SOVER
=@LIBWBCLIENT_SOVER@
1723 LIBWBCLIENT_SHARED_TARGET_SONAME
=$(LIBWBCLIENT_SHARED_TARGET
).
$(LIBWBCLIENT_SOVER
)
1724 LIBWBCLIENT_STATIC_TARGET
=@LIBWBCLIENT_STATIC_TARGET@
1725 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1726 LIBWBCLIENT_SYMS
=$(srcdir)/exports
/libwbclient.@SYMSEXT@
1727 LIBWBCLIENT_HEADERS
=$(srcdir)/nsswitch
/libwbclient
/wbclient.h
1729 $(LIBWBCLIENT_SYMS
): $(LIBWBCLIENT_HEADERS
)
1730 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBWBCLIENT_HEADERS
)
1732 $(LIBWBCLIENT_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
) $(LIBWBCLIENT_SYMS
) @LIBTALLOC_SHARED@
1733 @echo Linking shared library
$@
1734 @
$(SHLD_DSO
) $(LIBTALLOC_LIBS
) $(LIBWBCLIENT_OBJ
) \
1735 @SONAMEFLAG@
`basename $@`
1737 $(LIBWBCLIENT_SHARED_TARGET
): $(LIBWBCLIENT_SHARED_TARGET_SONAME
)
1739 @ln
-s
-f
`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1741 $(LIBWBCLIENT_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1742 @echo Linking non-shared library
$@
1743 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1745 libwbclient
: $(LIBWBCLIENT
)
1749 $(LIBWBCLIENT_SYMS
) \
1750 $(LIBWBCLIENT_STATIC_TARGET
) \
1751 $(LIBWBCLIENT_SHARED_TARGET
) \
1752 $(LIBWBCLIENT_SHARED_TARGET_SONAME
)
1754 installlibwbclient
:: installdirs libwbclient
1755 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1756 -$(INSTALLLIBCMD_SH
) $(LIBWBCLIENT_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1757 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1758 -if
test -e
$(LIBWBCLIENT_SHARED_TARGET_SONAME
) ; then \
1759 ln
-s
-f
`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1760 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1762 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1763 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBWBCLIENT_HEADERS
) $(DESTDIR
)${prefix}/include
1765 uninstalllibwbclient
::
1766 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1767 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1768 -rm -f
$(DESTDIR
)${prefix}/include/wbclient.h
1771 installlibs
:: @INSTALL_LIBWBCLIENT@
1772 uninstalllibs
:: uninstalllibwbclient
1773 cleanlibs
:: cleanlibwbclient
1774 shlibs test_shlibs
: @LIBWBCLIENT_SHARED@
1777 #-------------------------------------------------------------------
1781 #-------------------------------------------------------------------
1784 LIBADDNS_SHARED_TARGET
=@LIBADDNS_SHARED_TARGET@
1785 LIBADDNS_SOVER
=@LIBADDNS_SOVER@
1786 LIBADDNS_SHARED_TARGET_SONAME
=$(LIBADDNS_SHARED_TARGET
).
$(LIBADDNS_SOVER
)
1787 LIBADDNS_STATIC_TARGET
=@LIBADDNS_STATIC_TARGET@
1788 LIBADDNS
=$(LIBADDNS_STATIC_TARGET
) @LIBADDNS_SHARED@
1789 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1790 LIBADDNS_HEADERS
=$(srcdir)/libaddns
/addns.h
1792 $(LIBADDNS_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBADDNS_OBJ
) @LIBTALLOC_SHARED@
1793 @echo Linking shared library
$@
1794 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1795 $(KRB5LIBS
) $(UUID_LIBS
) $(LIBTALLOC_LIBS
) \
1796 @SONAMEFLAG@
`basename $@`
1798 $(LIBADDNS_SHARED_TARGET
): $(LIBADDNS_SHARED_TARGET_SONAME
)
1800 @ln
-s
-f
`basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1802 $(LIBADDNS_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBADDNS_OBJ0
)
1803 @echo Linking non-shared library
$@
1804 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ0
)
1806 libaddns
: $(LIBADDNS
)
1810 $(LIBADDNS_SHARED_TARGET
) \
1811 $(LIBADDNS_SHARED_TARGET_SONAME
) \
1812 $(LIBADDNS_STATIC_TARGET
)
1814 installlibaddns
:: installdirs libaddns
1815 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1816 -$(INSTALLLIBCMD_SH
) $(LIBADDNS_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1817 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET)`
1818 -if
test -e
$(LIBADDNS_SHARED_TARGET_SONAME
) ; then \
1819 ln
-s
-f
`basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
1820 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
1822 -$(INSTALLLIBCMD_A
) $(LIBADDNS_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1825 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
1826 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET)`
1827 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_STATIC_TARGET)`
1830 installlibs
:: @INSTALL_LIBADDNS@
1831 uninstalllibs
:: @UNINSTALL_LIBADDNS@
1832 cleanlibs
:: cleanlibaddns
1833 shlibs test_shlibs
: @LIBADDNS_SHARED@
1835 #-------------------------------------------------------------------
1839 #-------------------------------------------------------------------
1841 LIBNETAPI_OBJ0
= lib
/netapi
/netapi.o \
1843 librpc
/gen_ndr
/ndr_libnetapi.o \
1844 lib
/netapi
/libnetapi.o \
1845 lib
/netapi
/joindomain.o \
1846 lib
/netapi
/serverinfo.o \
1847 lib
/netapi
/getdc.o \
1849 lib
/netapi
/group.o \
1850 lib
/netapi
/localgroup.o \
1853 lib
/netapi
/share.o \
1856 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ0
) $(LIBNET_OBJ
) \
1858 $(REG_SMBCONF_OBJ
) \
1859 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
1860 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1861 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1862 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1863 $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(PRIVILEGES_BASIC_OBJ
) \
1866 LIBNETAPI_SHARED_TARGET
=@LIBNETAPI_SHARED_TARGET@
1867 LIBNETAPI_SOVER
=@LIBNETAPI_SOVER@
1868 LIBNETAPI_SHARED_TARGET_SONAME
=$(LIBNETAPI_SHARED_TARGET
).
$(LIBNETAPI_SOVER
)
1869 LIBNETAPI_STATIC_TARGET
=@LIBNETAPI_STATIC_TARGET@
1870 LIBNETAPI
=$(LIBNETAPI_STATIC_TARGET
) @LIBNETAPI_SHARED@
1871 LIBNETAPI_SYMS
=$(srcdir)/exports
/libnetapi.@SYMSEXT@
1872 LIBNETAPI_HEADERS
=$(srcdir)/lib
/netapi
/netapi.h
1874 $(LIBNETAPI_SYMS
): $(LIBNETAPI_HEADERS
)
1875 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBNETAPI_HEADERS
)
1877 $(LIBNETAPI_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
) $(LIBNETAPI_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1878 @echo Linking shared library
$@
1879 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) \
1880 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1881 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1882 @SONAMEFLAG@
`basename $@`
1884 $(LIBNETAPI_SHARED_TARGET
): $(LIBNETAPI_SHARED_TARGET_SONAME
)
1886 @ln
-s
-f
`basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
1888 $(LIBNETAPI_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ0
)
1889 @echo Linking non-shared library
$@
1890 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ0
)
1892 libnetapi
: $(LIBNETAPI
)
1897 $(LIBNETAPI_STATIC_TARGET
) \
1898 $(LIBNETAPI_SHARED_TARGET
) \
1899 $(LIBNETAPI_SHARED_TARGET_SONAME
)
1901 installlibnetapi
:: installdirs libnetapi
1902 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1903 -$(INSTALLLIBCMD_SH
) $(LIBNETAPI_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1904 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET)`
1905 -if
test -e
$(LIBNETAPI_SHARED_TARGET_SONAME
) ; then \
1906 ln
-s
-f
`basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
1907 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
1909 -$(INSTALLLIBCMD_A
) $(LIBNETAPI_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1910 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1911 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
1913 uninstalllibnetapi
::
1914 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET)`
1915 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
1916 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_STATIC_TARGET)`
1917 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
1920 installlibs
:: @INSTALL_LIBNETAPI@
1921 uninstalllibs
:: @UNINSTALL_LIBNETAPI@
1922 cleanlibs
:: cleanlibnetapi
1923 shlibs test_shlibs
: @LIBNETAPI_SHARED@
1925 #-------------------------------------------------------------------
1929 #-------------------------------------------------------------------
1931 LIBSMBCLIENT_SHARED_TARGET
=@LIBSMBCLIENT_SHARED_TARGET@
1932 LIBSMBCLIENT_SOVER
=@LIBSMBCLIENT_SOVER@
1933 LIBSMBCLIENT_SHARED_TARGET_SONAME
=$(LIBSMBCLIENT_SHARED_TARGET
).
$(LIBSMBCLIENT_SOVER
)
1934 LIBSMBCLIENT_STATIC_TARGET
=@LIBSMBCLIENT_STATIC_TARGET@
1935 LIBSMBCLIENT
=$(LIBSMBCLIENT_STATIC_TARGET
) @LIBSMBCLIENT_SHARED@
1936 LIBSMBCLIENT_SYMS
=$(srcdir)/exports
/libsmbclient.@SYMSEXT@
1937 LIBSMBCLIENT_HEADERS
=$(srcdir)/include/libsmbclient.h
1939 $(LIBSMBCLIENT_SYMS
): $(LIBSMBCLIENT_HEADERS
)
1940 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBSMBCLIENT_HEADERS
)
1942 $(LIBSMBCLIENT_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
) $(LIBSMBCLIENT_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1943 @echo Linking shared library
$@
1944 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) \
1945 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1946 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1947 @SONAMEFLAG@
`basename $@`
1949 $(LIBSMBCLIENT_SHARED_TARGET
): $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)
1951 @ln
-s
`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
1953 $(LIBSMBCLIENT_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ1
)
1954 @echo Linking non-shared library
$@
1955 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ1
)
1957 libsmbclient
: $(LIBSMBCLIENT
)
1961 $(LIBSMBCLIENT_SHARED_TARGET
) \
1962 $(LIBSMBCLIENT_SHARED_TARGET_SONAME
) \
1963 $(LIBSMBCLIENT_STATIC_TARGET
)
1965 installlibsmbclient
:: installdirs libsmbclient
1966 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1967 -$(INSTALLLIBCMD_SH
) $(LIBSMBCLIENT_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1968 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
1969 -if
test -e
$(LIBSMBCLIENT_SHARED_TARGET_SONAME
) ; then \
1970 ln
-s
-f
`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
1971 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
1973 -$(INSTALLLIBCMD_A
) $(LIBSMBCLIENT_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1974 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1975 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBSMBCLIENT_HEADERS
) $(DESTDIR
)${prefix}/include
1977 installclientlib
:: installlibsmbclient
1979 uninstalllibsmbclient
::
1980 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
1981 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
1982 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
1983 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
1985 uninstallclientlib
:: uninstalllibsmbclient
1988 installlibs
:: @INSTALL_LIBSMBCLIENT@
1989 uninstalllibs
:: @UNINSTALL_LIBSMBCLIENT@
1990 cleanlibs
:: cleanlibsmbclient
1991 shlibs test_shlibs
: @LIBSMBCLIENT_SHARED@
1993 #-------------------------------------------------------------------
1997 #-------------------------------------------------------------------
1999 LIBSMBSHAREMODES_OBJ0
= libsmb
/smb_share_modes.o
2001 LIBSMBSHAREMODES_OBJ
= $(LIBSMBSHAREMODES_OBJ0
) @LIBTDB_STATIC@
2003 LIBSMBSHAREMODES_SHARED_TARGET
=@LIBSMBSHAREMODES_SHARED_TARGET@
2004 LIBSMBSHAREMODES_SOVER
=@LIBSMBSHAREMODES_SOVER@
2005 LIBSMBSHAREMODES_SHARED_TARGET_SONAME
=$(LIBSMBSHAREMODES_SHARED_TARGET
).
$(LIBSMBSHAREMODES_SOVER
)
2006 LIBSMBSHAREMODES_STATIC_TARGET
=@LIBSMBSHAREMODES_STATIC_TARGET@
2007 LIBSMBSHAREMODES
=$(LIBSMBSHAREMODES_STATIC_TARGET
) @LIBSMBSHAREMODES_SHARED@
2008 LIBSMBSHAREMODES_SYMS
=$(srcdir)/exports
/libsmbsharemodes.@SYMSEXT@
2009 LIBSMBSHAREMODES_HEADERS
=$(srcdir)/include/smb_share_modes.h
2011 $(LIBSMBSHAREMODES_SYMS
): $(LIBSMBSHAREMODES_HEADERS
)
2012 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBSMBSHAREMODES_HEADERS
)
2014 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
) $(LIBSMBSHAREMODES_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2015 @echo Linking shared library
$@
2016 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) \
2017 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2018 $(KRB5LIBS
) $(LDAP_LIBS
) \
2019 @SONAMEFLAG@
`basename $@`
2021 $(LIBSMBSHAREMODES_SHARED_TARGET
): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)
2023 @ln
-s
-f
`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2025 $(LIBSMBSHAREMODES_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ0
)
2026 @echo Linking non-shared library
$@
2027 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ0
)
2029 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
2031 cleanlibsmbsharemodes
::
2033 $(LIBSMBSHAREMODES_SHARED_TARGET
) \
2034 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
) \
2035 $(LIBSMBSHAREMODES_STATIC_TARGET
)
2037 installlibsmbsharemodes
:: installdirs libsmbsharemodes
2038 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2039 -$(INSTALLLIBCMD_SH
) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
2040 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2041 -if
test -e
$(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
) ; then \
2042 ln
-s
-f
`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2043 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2045 -$(INSTALLLIBCMD_A
) $(LIBSMBSHAREMODES_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2046 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2047 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBSMBSHAREMODES_HEADERS
) $(DESTDIR
)${prefix}/include
2049 uninstalllibsmbsharemodes
::
2050 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2051 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2052 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2053 -rm -f
$(DESTDIR
)${prefix}/include/smb_share_modes.h
2055 libs
:: libsmbsharemodes
2056 installlibs
:: @INSTALL_LIBSMBSHAREMODES@
2057 uninstalllibs
:: @UNINSTALL_LIBSMBSHAREMODES@
2058 cleanlibs
:: cleanlibsmbsharemodes
2059 shlibs test_shlibs
: @LIBSMBSHAREMODES_SHARED@
2061 #-------------------------------------------------------------------
2065 #-------------------------------------------------------------------
2067 # This is probably wrong for anything other than the GNU linker.
2068 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
) @LIBTALLOC_SHARED@
2069 @echo Linking shared library
$@
2070 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) \
2071 $(LIBS
) $(LIBTALLOC_LIBS
) \
2072 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
2073 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
2074 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
2076 # It would be nice to build a static bigballofmud too, but when I try
2077 # I get linker errors about dl_open and similar things. I'm not sure if
2078 # it can be fixed or if they just can't be called from a static
2083 #####################################################################
2087 #####################################################################
2089 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2090 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
2091 -o
$@ @SONAMEFLAG@
`basename $@`
2093 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
2095 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
2097 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
2099 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
2101 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
2103 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
2105 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
2107 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
2109 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
2111 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
2113 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
2115 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
2117 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
2119 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
2121 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
2123 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
2125 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
2127 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
2129 bin
/librpc_dssetup.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DSSETUP_OBJ
)
2131 @
$(SHLD_MODULE
) $(RPC_DSSETUP_OBJ
)
2133 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
2135 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
2137 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
2139 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
2141 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
2143 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
2145 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
2147 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
2149 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2151 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
2152 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
2153 $(PASSDB_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2155 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2157 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
2158 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
2159 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
2160 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2162 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
2164 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
2165 $(WINBIND_NSS_EXTRA_LIBS
) $(WINBIND_NSS_PTHREAD
) \
2166 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
2168 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2170 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
2171 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2172 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
2174 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
)
2176 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) \
2177 @SONAMEFLAG@
`basename $@`
2179 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
)
2180 @echo
"Linking shared library $@"
2181 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
2182 $(PAM_WINBIND_EXTRA_LIBS
) @SONAMEFLAG@
`basename $@`
2184 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
2185 @echo
"Building plugin $@"
2186 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
2188 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
2189 @echo
"Building plugin $@"
2190 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
2192 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
2193 @echo
"Building plugin $@"
2194 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
2196 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
2197 @echo
"Building plugin $@"
2198 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
2200 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
2201 @echo
"Building plugin $@"
2202 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
2204 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
2205 @echo
"Building plugin $@"
2206 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
2208 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
2209 @echo
"Building plugin $@"
2210 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
2212 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
2213 @echo
"Building plugin $@"
2214 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
2216 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
2217 @echo
"Building plugin $@"
2218 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
2220 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
2221 @echo
"Building plugin $@"
2222 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
2224 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
2225 @echo
"Building plugin $@"
2226 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
2228 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
2229 @echo
"Building plugin $@"
2230 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
2232 bin
/hash.@SHLIBEXT@
: $(BINARY_PREREQS
) $(IDMAP_HASH_OBJ
)
2233 @echo
"Building plugin $@"
2234 @
$(SHLD_MODULE
) $(IDMAP_HASH_OBJ
)
2236 bin
/adex.@SHLIBEXT@
: $(BINARY_PREREQS
) $(IDMAP_ADEX_OBJ
)
2237 @echo
"Building plugin $@"
2238 @
$(SHLD_MODULE
) $(IDMAP_ADEX_OBJ
)
2240 bin
/tdb2.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_tdb2.o
2241 @echo
"Building plugin $@"
2242 @
$(SHLD_MODULE
) winbindd
/idmap_tdb2.o
2244 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
2245 @echo
"Building plugin $@"
2246 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
2248 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
2249 @echo
"Building plugin $@"
2250 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
2252 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
2253 @echo
"Building plugin $@"
2254 @
$(SHLD_MODULE
) $(CP850_OBJ
)
2256 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
2257 @echo
"Building plugin $@"
2258 @
$(SHLD_MODULE
) $(CP437_OBJ
)
2260 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
2261 @echo
"Building plugin $@"
2262 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
2264 # NOTE, there is no build rule for a dynamic default VFS module because
2265 # this one MUST MUST MUST be built statically.
2267 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
2268 @echo
"Building plugin $@"
2269 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
2271 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
2272 @echo
"Building plugin $@"
2273 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
2275 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
2276 @echo
"Building plugin $@"
2277 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
2279 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
2280 @echo
"Building plugin $@"
2281 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
2283 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
2284 @echo
"Building plugin $@"
2285 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
2287 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
2288 @echo
"Building plugin $@"
2289 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
2291 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
2292 @echo
"Building plugin $@"
2293 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
2295 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
2296 @echo
"Building plugin $@"
2297 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
2299 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
2300 @echo
"Building plugin $@"
2301 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
2303 bin
/shadow_copy2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY2_OBJ
)
2304 @echo
"Building plugin $@"
2305 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY2_OBJ
)
2307 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
2308 @echo
"Building plugin $@"
2309 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
2311 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
2312 @echo
"Building plugin $@"
2313 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
2315 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
2316 @echo
"Building plugin $@"
2317 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
2319 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
2320 @echo
"Building plugin $@"
2321 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
2323 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
2324 @echo
"Building plugin $@"
2325 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
2327 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
2328 @echo
"Building plugin $@"
2329 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
2331 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
2332 @echo
"Building plugin $@"
2333 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
2335 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
2336 @echo
"Building plugin $@"
2337 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
2339 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
2340 @echo
"Building plugin $@"
2341 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
2343 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
2344 @echo
"Building plugin $@"
2345 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
2347 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
2348 @echo
"Building plugin $@"
2349 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
2351 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
2352 @echo
"Building plugin $@"
2353 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
2355 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
2356 @echo
"Building plugin $@"
2357 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
2359 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
2360 @echo
"Building plugin $@"
2361 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
2363 bin
/streams_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_XATTR_OBJ
)
2364 @echo
"Building plugin $@"
2365 @
$(SHLD_MODULE
) $(VFS_STREAMS_XATTR_OBJ
)
2367 bin
/streams_depot.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_DEPOT_OBJ
)
2368 @echo
"Building plugin $@"
2369 @
$(SHLD_MODULE
) $(VFS_STREAMS_DEPOT_OBJ
)
2371 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
2372 @echo
"Building plugin $@"
2373 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
2375 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
2376 @echo
"Building plugin $@"
2377 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
2379 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
2380 @echo
"Building plugin $@"
2381 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
2383 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
2384 @echo
"Building plugin $@"
2385 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
2387 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
2388 @echo
"Building plugin $@"
2389 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
2391 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
2392 @echo
"Building plugin $@"
2393 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
2395 bin
/tsmsm.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TSMSM_OBJ
)
2396 @echo
"Building plugin $@"
2397 @
$(SHLD_MODULE
) $(VFS_TSMSM_OBJ
)
2399 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
2400 @echo
"Building plugin $@"
2401 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
2403 bin
/aio_fork.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIO_FORK_OBJ
)
2404 @echo
"Building plugin $@"
2405 @
$(SHLD_MODULE
) $(VFS_AIO_FORK_OBJ
)
2407 bin
/acl_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ACL_XATTR_OBJ
)
2408 @echo
"Building plugin $@"
2409 @
$(SHLD_MODULE
) $(VFS_ACL_XATTR_OBJ
)
2411 bin
/registry.@SHLIBEXT@
: $(BINARY_PREREQS
) libgpo
/gpext
/registry.o
2412 @echo
"Building plugin $@"
2413 @
$(SHLD_MODULE
) libgpo
/gpext
/registry.o
2415 bin
/scripts.@SHLIBEXT@
: $(BINARY_PREREQS
) libgpo
/gpext
/scripts.o
2416 @echo
"Building plugin $@"
2417 @
$(SHLD_MODULE
) libgpo
/gpext
/scripts.o
2419 bin
/smb_traffic_analyzer.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ
)
2420 @echo
"Building plugin $@"
2421 @
$(SHLD_MODULE
) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ
)
2423 #########################################################
2424 ## IdMap NSS plugins
2426 ## None here right now
2427 #########################################################
2429 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2431 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
2432 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2435 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
2436 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2438 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
2439 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
2440 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
2441 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2443 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2444 @echo
"Linking shared library $@"
2445 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) \
2446 $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
2447 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2449 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2451 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBBACKUP_OBJ
) $(DYNEXP
) \
2452 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2454 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2456 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTOOL_OBJ
) $(DYNEXP
) \
2457 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2459 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2461 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBDUMP_OBJ
) $(DYNEXP
) \
2462 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2464 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2466 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTORTURE_OBJ
) $(DYNEXP
) \
2467 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2469 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
2470 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2471 torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
2473 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
2474 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2475 torture
/t_strstr.o
-L .
/bin
-lbigballofmud
2477 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
2478 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2479 torture
/t_strappend.o
-L .
/bin
-lbigballofmud
2481 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
2482 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o \
2483 -L.
/bin
-lbigballofmud
2485 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
2487 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
2489 bin
/rpc_open_tcp@EXEEXT@
: $(BINARY_PREREQS
) $(RPC_OPEN_TCP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2491 @
$(CC
) $(FLAGS
) -o
$@
$(RPC_OPEN_TCP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
2492 $(LIBS
) $(LIBTALLOC_LIBS
) @LIBTDB_SHARED@
$(WINBIND_LIBS
) \
2493 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
2495 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2496 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2497 @INSTALL_PAM_MODULES@ installlibs
2499 install-everything
:: install installmodules
2501 # DESTDIR is used here to prevent packagers wasting their time
2502 # duplicating the Makefile. Remove it and you will have the privelege
2503 # of package each samba release for muliple versions of multiple
2504 # distributions and operating systems, or at least supplying patches
2505 # to all the packaging files required for this, prior to committing
2506 # the removal of DESTDIR. Do not remove it even though you think it
2510 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
) $(CODEPAGEDIR
) $(MODULESDIR
)
2512 installservers
:: all installdirs
2513 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2515 installbin
:: all installdirs
2516 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2518 installcifsmount
:: @CIFSMOUNT_PROGS@
2519 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2520 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2522 installcifsupcall
:: @CIFSUPCALL_PROGS@
2523 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(SBINDIR
)
2524 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) @CIFSUPCALL_PROGS@
2526 # Some symlinks are required for the 'probing' of modules.
2527 # This mechanism should go at some point..
2528 installmodules
:: modules
installdirs
2529 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2530 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2531 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2532 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2533 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
2534 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2535 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2536 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(GPEXTLIBDIR
) $(GPEXT_MODULES
)
2537 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2538 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2539 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2540 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2541 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2542 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2543 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2544 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2546 installscripts
:: installdirs
2547 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2549 installdat
:: installdirs
2550 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2552 installmsg
:: installdirs
2553 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2555 installswat
:: installdirs installmsg
2556 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2558 installpammodules
:: $(PAM_MODULES
)
2559 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
2560 @for module in
$(PAM_MODULES
); do \
2561 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2562 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
2563 "$(DESTDIR)/$(PAMMODULESDIR)"; \
2566 # revert to the previously installed version
2568 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
2569 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
2571 installman
:: installdirs
2572 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
2577 @echo
"Samba will be installed into:"
2578 @echo
" prefix: $(prefix)"
2579 @echo
" bindir: $(BINDIR)"
2580 @echo
" sbindir: $(SBINDIR)"
2581 @echo
" libdir: $(LIBDIR)"
2582 @echo
" modulesdir: $(MODULESDIR)"
2583 @echo
" vardir: $(VARDIR)"
2584 @echo
" mandir: $(MANDIR)"
2585 @echo
" privatedir: $(PRIVATE_DIR)"
2586 @echo
" configdir: $(CONFIGDIR)"
2587 @echo
" lockdir: $(LOCKDIR)"
2588 @echo
" piddir: $(PIDDIR)"
2589 @echo
" swatdir: $(SWATDIR)"
2590 @echo
" codepagedir: $(CODEPAGEDIR)"
2593 uninstall:: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
2596 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
2599 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2602 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2604 uninstallcifsmount
::
2605 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2607 uninstallcifsupcall
::
2608 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSUPCALL_PROGS@
2611 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2612 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2613 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2614 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2615 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2616 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2617 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(GPEXTLIBDIR
) $(GPEXT_MODULES
)
2620 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2623 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2626 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2628 uninstallswat
:: uninstallmsg
2629 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2631 uninstallpammodules
::
2632 @for module in
$(PAM_MODULES
); do \
2633 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2634 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
2637 # Toplevel clean files
2638 TOPFILES
=dynconfig.o
2641 -rm -f
include/build_env.h
2642 -rm -f smbd
/build_options.c
2643 -rm -f
$(PRECOMPILED_HEADER
)
2644 -rm -f core
*/*~
*~ \
2645 */*.o
*/*/*.o
*/*/*/*.o \
2646 ..
/testsuite
/*/*.o \
2647 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2648 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2649 $(MODULES
) $(TORTURE_PROGS
) \
2650 $(EVERYTHING_PROGS
) \
2652 .headers.stamp
*/src
/*.o
2655 include/build_env.h
: script
/build_env.sh
2656 @echo Building
include/build_env.h
2657 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2658 > $(builddir
)/include/build_env.h
2662 @echo
"NOTE: 'proto' is no longer a valid make target as proto.h"
2663 @echo
"and other prototype headers are not generated anymore."
2669 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2672 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2675 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2676 -rm -f script
/installbin.sh script
/uninstallbin.sh
2678 distclean:: realclean
2680 -rm -f
include/config.h Makefile
2681 -rm -f config.status config.cache so_locations
2684 realdistclean
:: distclean
2685 -rm -f
include/config.h.in
2686 -rm -f
include/version.h
2689 # this target is really just for my use. It only works on a limited
2690 # range of machines and is used to produce a list of potentially
2691 # dead (ie. unused) functions in the code. (tridge)
2693 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2694 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2695 comm
-13 nmused.txt nmfns.txt
2698 # when configure.in is updated, reconfigure
2699 $(srcdir)/configure
: $(srcdir)/configure.in
2700 @echo
"WARNING: you need to rerun ./autogen.sh"
2702 config.status
: $(srcdir)/configure
2703 @echo
"WARNING: you need to run ./configure"
2705 Makefile
: $(srcdir)/Makefile.in config.status
2706 @echo
"WARNING: you need to run ./config.status"
2708 ######################################################################
2709 # Samba Testing Framework
2711 # Check shared libs for unresolved symbols
2714 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2715 for module in
$?
; do \
2716 .
/script
/tests
/dlopen.sh
$${module} \
2720 # Check for NSS module problems.
2721 test_nss_modules
:: nss_modules
2722 @echo
"Testing $(NSS_MODULES) "
2723 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2724 for module in
$(NSS_MODULES
); do \
2725 .
/script
/tests
/dlopen.sh
$${module} \
2729 # Check for PAM module problems. Specifically, check that every module we
2730 # built can actually be loaded by a minimal PAM-aware application.
2731 test_pam_modules
:: pam_modules
2732 @echo
"Testing $(PAM_MODULES) "
2733 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2734 for module in
$(PAM_MODULES
); do \
2735 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2741 ## Targets for 'make test'
2743 test:: all torture timelimit
2744 @echo Running Test suite
2745 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2747 valgrindtest
:: all torture timelimit
2748 @echo Running Test suite with valgrind
2749 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2750 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2751 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2752 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2753 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
2754 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2761 libsmbclient_examples
:
2762 $(MAKE
) -C ..
/examples
/libsmbclient
-f Makefile.internal
2764 clean_libsmbclient_examples
:
2765 $(MAKE
) -C ..
/examples
/libsmbclient
-f Makefile.internal
clean