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
130 # This is where smbpasswd et al go
131 PRIVATEDIR
= @privatedir@
133 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
134 PRIVATE_DIR
= $(PRIVATEDIR
)
136 # This is where SWAT images and help files go
139 # This is where locale(mo) files go
140 LOCALEDIR
= @localedir@
142 # the directory where lock files go
145 # FHS directories; equal to LOCKDIR if not using --with-fhs
146 CACHEDIR
= @cachedir@
147 STATEDIR
= @
statedir@
149 # Where to look for (and install) codepage databases.
150 CODEPAGEDIR
= @codepagedir@
152 # the directory where pid files go
155 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
158 FLAGS4
= -I
$(CTDBDIR
)/include
159 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
160 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
162 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
163 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
164 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
165 -DSBINDIR
=\"$(SBINDIR
)\" \
166 -DBINDIR
=\"$(BINDIR
)\" \
167 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
168 -DSWATDIR
=\"$(SWATDIR
)\" \
169 -DLOCKDIR
=\"$(LOCKDIR
)\" \
170 -DPIDDIR
=\"$(PIDDIR
)\" \
171 -DLIBDIR
=\"$(LIBDIR
)\" \
172 -DMODULESDIR
=\"$(MODULESDIR
)\" \
173 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
174 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
175 -DCTDBDIR
=\"$(CTDBDIR
)\" \
176 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
177 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
178 -DCACHEDIR
=\"$(CACHEDIR
)\" \
179 -DSTATEDIR
=\"$(STATEDIR
)\" \
180 -DLOCALEDIR
=\"$(LOCALEDIR
)\"
182 # Note that all executable programs now provide for an optional executable suffix.
184 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
186 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@
188 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
189 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
190 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
191 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
193 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
194 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ bin
/sharesec@EXEEXT@ \
195 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
196 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
197 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
199 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
200 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
201 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
202 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
203 bin
/tdbtorture@EXEEXT@ \
204 bin
/smbconftort@EXEEXT@
206 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
207 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
209 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
210 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
211 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
212 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
214 PAM_MODULES
= @PAM_MODULES@
216 NSS_MODULES
= @NSS_MODULES@
218 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
220 VFS_MODULES
= @VFS_MODULES@
221 PDB_MODULES
= @PDB_MODULES@
222 RPC_MODULES
= @RPC_MODULES@
223 IDMAP_MODULES
= @IDMAP_MODULES@
224 CHARSET_MODULES
= @CHARSET_MODULES@
225 AUTH_MODULES
= @AUTH_MODULES@
226 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
227 GPEXT_MODULES
= @GPEXT_MODULES@
228 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
229 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
) \
232 EXTRA_ALL_TARGETS
= @EXTRA_ALL_TARGETS@
234 #####################################################################
236 ######################################################################
238 TDB_OBJ
= lib
/util_tdb.o \
239 lib
/dbwrap.o lib
/dbwrap_tdb.o \
241 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
243 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
245 VERSION_OBJ
= lib
/version.o
247 WBCOMMON_OBJ
= nsswitch
/wb_common.o
251 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
253 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
255 PASSCHANGE_OBJ
= libsmb
/passchange.o
257 LIBNDR_DRSUAPI_OBJ
= librpc
/ndr
/ndr_drsuapi.o \
258 librpc
/ndr
/ndr_compression.o \
259 librpc
/gen_ndr
/ndr_drsuapi.o \
260 librpc
/gen_ndr
/ndr_drsblobs.o
262 COMPRESSION_OBJ
= lib
/compression
/mszip.o
264 DRSUAPI_OBJ
= $(LIBNDR_DRSUAPI_OBJ
) \
267 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o \
269 librpc
/ndr
/ndr_misc.o \
270 librpc
/gen_ndr
/ndr_misc.o \
271 librpc
/gen_ndr
/ndr_security.o \
272 librpc
/ndr
/ndr_sec_helper.o \
273 librpc
/ndr
/ndr_string.o \
277 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
279 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
280 librpc
/gen_ndr
/ndr_lsa.o
282 LIBNDR_GEN_OBJ1
= librpc
/gen_ndr
/ndr_netlogon.o \
283 librpc
/ndr
/ndr_netlogon.o
285 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
287 librpc
/gen_ndr
/ndr_dfs.o \
288 librpc
/gen_ndr
/ndr_echo.o \
289 librpc
/gen_ndr
/ndr_winreg.o \
290 librpc
/gen_ndr
/ndr_initshutdown.o \
291 librpc
/gen_ndr
/ndr_srvsvc.o \
292 librpc
/gen_ndr
/ndr_eventlog.o \
294 librpc
/gen_ndr
/ndr_dssetup.o \
295 librpc
/gen_ndr
/ndr_notify.o \
296 librpc
/gen_ndr
/ndr_xattr.o \
297 librpc
/gen_ndr
/ndr_epmapper.o \
298 librpc
/gen_ndr
/ndr_ntsvcs.o
300 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
302 # this includes only the low level parse code, not stuff
303 # that requires knowledge of security contexts
304 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
306 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
307 rpc_client
/init_netlogon.o \
308 rpc_client
/init_lsa.o \
309 rpc_client
/init_srvsvc.o
311 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
313 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
314 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
316 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
318 $(SOCKET_WRAPPER_OBJ
) \
321 LIB_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
322 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
323 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
324 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
325 lib
/util_transfer_file.o lib
/async_req.o \
328 $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
329 lib
/interface.o lib
/md4.o \
331 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
332 lib
/ufc.o lib
/genrand.o lib
/username.o \
333 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
334 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
335 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
336 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
337 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
338 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
339 lib
/substitute.o lib
/fsusage.o lib
/dbwrap_util.o \
340 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
341 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
342 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
343 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
344 lib
/adt_tree.o lib
/gencache.o \
345 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
346 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
347 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
348 lib
/file_id.o lib
/idmap_cache.o
350 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
351 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
353 READLINE_OBJ
= lib
/readline.o
355 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
356 # Be sure to include them into your application
357 POPT_LIB_OBJ
= lib
/popt_common.o
359 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
360 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
361 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
363 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
365 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
366 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
367 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
369 GPEXT_OBJ
= libgpo
/gpext
/gpext.o @GPEXT_STATIC@
371 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
372 libgpo
/gpo_fetch.o libgpo
/gpo_filesync.o libgpo
/gpo_sec.o \
375 LIBGPO_OBJ
= $(LIBGPO_OBJ0
)
377 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o \
378 libads
/sasl.o libads
/sasl_wrapping.o \
379 libads
/krb5_setpw.o libads
/ldap_user.o \
380 libads
/ads_struct.o libads
/kerberos_keytab.o \
381 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
382 libads
/ldap_schema.o libads
/util.o libads
/ndr.o
384 LIBADS_SERVER_OBJ
= libads
/kerberos_verify.o libads
/authdata.o \
385 librpc
/ndr
/ndr_krb5pac.o \
386 librpc
/gen_ndr
/ndr_krb5pac.o
388 SECRETS_OBJ
= passdb
/secrets.o passdb
/machine_sid.o
390 LIBNBT_OBJ
= libcli
/nbt
/nbtname.o \
391 libcli
/ndr_netlogon.o \
393 librpc
/gen_ndr
/ndr_nbt.o \
394 librpc
/gen_ndr
/ndr_svcctl.o
396 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
397 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
399 NTERR_OBJ
= libsmb
/nterr.o
400 DOSERR_OBJ
= libsmb
/doserr.o
401 ERRORMAP_OBJ
= libsmb
/errormap.o
402 DCE_RPC_ERR_OBJ
= libsmb
/dcerpc_err.o
404 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
405 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
407 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
412 libsmb
/ntlm_check.o \
414 libsmb
/ntlmssp_sign.o
416 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
419 CLDAP_OBJ
= libads
/cldap.o
421 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
422 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
423 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
424 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
425 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
426 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
427 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
428 libsmb
/clioplock.o libsmb
/clirap2.o \
429 libsmb
/smb_seal.o libsmb
/async_smb.o \
436 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
438 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
439 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
440 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
441 rpc_client
/cli_svcctl.o \
442 rpc_client
/init_samr.o \
443 librpc
/rpc
/dcerpc.o \
446 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
447 librpc
/gen_ndr
/cli_dfs.o \
448 librpc
/gen_ndr
/cli_echo.o \
449 librpc
/gen_ndr
/cli_srvsvc.o \
450 librpc
/gen_ndr
/cli_svcctl.o \
451 librpc
/gen_ndr
/cli_winreg.o \
452 librpc
/gen_ndr
/cli_initshutdown.o \
453 librpc
/gen_ndr
/cli_eventlog.o \
454 librpc
/gen_ndr
/cli_wkssvc.o \
455 librpc
/gen_ndr
/cli_netlogon.o \
456 librpc
/gen_ndr
/cli_samr.o \
457 librpc
/gen_ndr
/cli_dssetup.o \
458 librpc
/gen_ndr
/cli_ntsvcs.o \
459 librpc
/gen_ndr
/cli_epmapper.o \
460 librpc
/gen_ndr
/cli_drsuapi.o \
465 # registry-related objects
467 UTIL_REG_OBJ
= lib
/util_reg.o
468 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
470 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
471 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
472 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
474 REGFIO_OBJ
= registry
/regfio.o
476 REGOBJS_OBJ
= registry
/reg_objects.o
478 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
480 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
482 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
483 registry
/reg_backend_shares.o \
484 registry
/reg_backend_netlogon_params.o \
485 registry
/reg_backend_prod_options.o \
486 registry
/reg_backend_tcpip_params.o \
487 registry
/reg_backend_hkpt_params.o \
488 registry
/reg_backend_current_version.o \
489 registry
/reg_backend_perflib.o
491 REG_BASE_OBJ
= registry
/reg_api.o \
492 registry
/reg_dispatcher.o \
493 registry
/reg_cachehook.o \
496 registry
/reg_util.o \
497 $(UTIL_REG_API_OBJ
) \
499 $(REG_BACKENDS_BASE_OBJ
) \
500 $(REG_INIT_BASIC_OBJ
)
502 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
503 $(REG_BACKENDS_SMBCONF_OBJ
) \
504 $(REG_INIT_SMBCONF_OBJ
)
506 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
507 $(REG_BACKENDS_EXTRA_OBJ
) \
508 $(REG_INIT_FULL_OBJ
) \
509 registry
/reg_eventlog.o \
510 registry
/reg_perfcount.o \
511 registry
/reg_util_legacy.o
514 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
516 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
517 librpc
/gen_ndr
/srv_netlogon.o
519 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
520 rpc_server
/srv_samr_util.o \
521 librpc
/gen_ndr
/srv_samr.o
523 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
525 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
526 librpc
/gen_ndr
/srv_winreg.o
528 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
530 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
531 librpc
/gen_ndr
/srv_srvsvc.o
533 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
535 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
536 librpc
/gen_ndr
/srv_svcctl.o \
537 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
538 services
/svc_netlogon.o services
/svc_winreg.o \
541 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o \
542 librpc
/gen_ndr
/srv_ntsvcs.o
544 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
546 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
548 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
549 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
551 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
552 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
554 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
556 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
558 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
559 rpc_parse
/parse_spoolss.o \
560 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
561 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
563 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
565 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
567 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
569 PRIVILEGES_OBJ
= lib
/privileges.o
571 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
573 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
574 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
575 passdb
/util_unixsids.o passdb
/lookup_sid.o \
576 passdb
/login_cache.o @PDB_STATIC@ \
577 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
578 lib
/util_nscd.o lib
/winbind_util.o
580 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
581 CP850_OBJ
= modules
/CP850.o
582 CP437_OBJ
= modules
/CP437.o
583 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
585 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
587 PROFILE_OBJ
= profile
/profile.o
588 PROFILES_OBJ
= utils
/profiles.o \
591 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
594 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
596 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
598 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
599 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
600 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
601 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
602 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
603 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
604 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
605 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
606 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
607 VFS_CAP_OBJ
= modules
/vfs_cap.o
608 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
609 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
610 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
611 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
612 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
613 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
614 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
615 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
616 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
617 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
618 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
619 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
620 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
621 VFS_CATIA_OBJ
= modules
/vfs_catia.o
622 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
623 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
624 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
625 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
626 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
627 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
628 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
629 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
630 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
631 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
632 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
633 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
634 VFS_ACL_XATTR_OBJ
= modules
/vfs_acl_xattr.o
635 VFS_ACL_TDB_OBJ
= modules
/vfs_acl_tdb.o
636 VFS_SMB_TRAFFIC_ANALYZER_OBJ
= modules
/vfs_smb_traffic_analyzer.o
638 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
640 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
642 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
644 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
645 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
646 AUTH_SAM_OBJ
= auth
/auth_sam.o
647 AUTH_SERVER_OBJ
= auth
/auth_server.o
648 AUTH_UNIX_OBJ
= auth
/auth_unix.o
649 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
650 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
652 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
653 auth
/auth_compat.o auth
/auth_ntlmssp.o \
654 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
656 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
658 SMBD_OBJ_MAIN
= smbd
/server.o
660 BUILDOPT_OBJ
= smbd
/build_options.o
662 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
663 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
664 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
665 smbd
/share_access.o smbd
/fileio.o \
666 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
667 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
668 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
669 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
670 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
671 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
672 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
673 smbd
/process.o smbd
/service.o smbd
/error.o \
674 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
675 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
676 smbd
/change_trust_pw.o smbd
/fake_file.o \
677 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
678 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
682 $(MANGLE_OBJ
) @VFS_STATIC@
684 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
685 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
686 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
687 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
688 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
689 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
690 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
691 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
692 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
694 $(PRIVILEGES_BASIC_OBJ
)
696 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
697 printing
/print_cups.o printing
/print_generic.o \
698 printing
/lpq_parse.o printing
/load.o \
699 printing
/print_iprint.o
701 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
702 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
704 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
706 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
707 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
708 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
709 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
710 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
711 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
712 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
713 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
714 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
715 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
716 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
717 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
719 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
720 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
723 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
724 web
/swat.o web
/neg_lang.o
726 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(PRINTBASE_OBJ
) $(LIBSMB_OBJ
) \
727 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
728 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
729 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
730 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
732 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
733 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
734 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
737 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
738 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
742 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
743 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
744 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
745 rpc_client
/cli_pipe.o librpc
/rpc
/binding.o
$(RPC_PARSE_OBJ2
) \
747 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
750 TESTPARM_OBJ
= utils
/testparm.o \
751 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
754 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
756 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
757 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
758 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
759 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
760 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
762 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
764 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
765 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
768 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
770 DISPLAY_SEC_OBJ
= lib
/display_sec.o
772 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
773 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
774 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
775 rpcclient
/cmd_dfs.o \
776 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
777 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
778 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
779 rpcclient
/cmd_drsuapi.o \
782 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
783 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
784 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
785 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
786 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
787 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
789 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o localedir.o
$(WBCOMMON_OBJ
) \
790 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
792 LIBSMBCLIENT_OBJ0
= \
793 libsmb
/libsmb_cache.o \
794 libsmb
/libsmb_compat.o \
795 libsmb
/libsmb_context.o \
796 libsmb
/libsmb_dir.o \
797 libsmb
/libsmb_file.o \
798 libsmb
/libsmb_misc.o \
799 libsmb
/libsmb_path.o \
800 libsmb
/libsmb_printjob.o \
801 libsmb
/libsmb_server.o \
802 libsmb
/libsmb_stat.o \
803 libsmb
/libsmb_xattr.o \
804 libsmb
/libsmb_setget.o
806 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
807 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
808 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
809 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
810 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
812 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
814 # This shared library is intended for linking with unit test programs
815 # to test Samba internals. It's called libbigballofmud.so to
816 # discourage casual usage.
818 LIBBIGBALLOFMUD_MAJOR
= 0
820 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
821 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
822 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
824 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
825 librpc
/rpc
/binding.o \
830 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
831 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
832 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
833 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
836 LIBSMBCONF_OBJ
= lib
/smbconf
/smbconf.o lib
/smbconf
/smbconf_util.o \
837 lib
/smbconf
/smbconf_reg.o \
838 lib
/smbconf
/smbconf_txt.o \
839 lib
/smbconf
/smbconf_init.o
841 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
843 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
849 LIBNET_OBJ
= libnet
/libnet_join.o \
850 libnet
/libnet_keytab.o \
851 libnet
/libnet_samsync.o \
852 libnet
/libnet_samsync_ldif.o \
853 libnet
/libnet_samsync_passdb.o \
854 libnet
/libnet_samsync_display.o \
855 libnet
/libnet_samsync_keytab.o \
856 libnet
/libnet_dssync.o \
857 libnet
/libnet_dssync_keytab.o \
858 librpc
/gen_ndr
/ndr_libnet_join.o
860 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
861 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
862 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
863 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
864 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
865 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
866 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
867 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
868 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
869 utils
/net_conf.o utils
/net_join.o utils
/net_user.o \
870 utils
/net_group.o utils
/net_file.o utils
/net_registry.o \
871 auth
/token_util.o utils
/net_dom.o utils
/net_share.o
873 # these are not processed by make proto
874 NET_OBJ2
= utils
/net_registry_util.o utils
/net_help_common.o
876 NET_OBJ
= $(NET_OBJ1
) \
877 $(NET_OBJ2
) @FAKE_KASERVER_OBJ@\
878 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
879 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
880 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
881 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
882 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
883 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
884 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
885 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
886 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
888 @LIBWBCLIENT_STATIC@ \
889 $(PRIVILEGES_BASIC_OBJ
)
891 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
892 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
895 CIFS_MOUNT_OBJ
= client
/mount.cifs.o client
/mtab.o
897 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o client
/mtab.o
899 CIFS_UPCALL_OBJ
= client
/cifs.upcall.o
901 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
902 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
904 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
905 torture
/denytest.o torture
/mangle_test.o
907 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
908 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
911 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
915 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
919 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
920 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
923 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
927 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
928 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
929 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
932 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
934 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
936 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
938 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
939 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
942 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
943 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
944 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
945 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
947 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
949 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
950 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
951 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
953 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
955 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
957 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o
959 SHARESEC_OBJ0
= utils
/sharesec.o
960 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
964 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
967 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
968 lib
/replace
/test/getifaddrs.o \
969 lib
/replace
/test/os2_delete.o \
970 lib
/replace
/test/strptime.o \
973 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
974 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
975 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
976 librpc
/gen_ndr
/ndr_svcctl.o
978 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
980 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
981 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
984 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
985 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
988 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
989 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
990 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
991 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
994 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_util.o @IDMAP_STATIC@
996 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
999 winbindd
/idmap_hash
/idmap_hash.o \
1000 winbindd
/idmap_hash
/mapfile.o
1003 winbindd
/idmap_adex
/idmap_adex.o \
1004 winbindd
/idmap_adex
/cell_util.o \
1005 winbindd
/idmap_adex
/likewise_cell.o \
1006 winbindd
/idmap_adex
/provider_unified.o \
1007 winbindd
/idmap_adex
/gc_util.o \
1008 winbindd
/idmap_adex
/domain_util.o
1011 winbindd
/winbindd.o \
1012 winbindd
/winbindd_user.o \
1013 winbindd
/winbindd_group.o \
1014 winbindd
/winbindd_util.o \
1015 winbindd
/winbindd_cache.o \
1016 winbindd
/winbindd_pam.o \
1017 winbindd
/winbindd_sid.o \
1018 winbindd
/winbindd_misc.o \
1019 winbindd
/winbindd_cm.o \
1020 winbindd
/winbindd_wins.o \
1021 winbindd
/winbindd_rpc.o \
1022 winbindd
/winbindd_reconnect.o \
1023 winbindd
/winbindd_ads.o \
1024 winbindd
/winbindd_passdb.o \
1025 winbindd
/winbindd_dual.o \
1026 winbindd
/winbindd_async.o \
1027 winbindd
/winbindd_creds.o \
1028 winbindd
/winbindd_cred_cache.o \
1029 winbindd
/winbindd_ccache_access.o \
1030 winbindd
/winbindd_domain.o \
1031 winbindd
/winbindd_idmap.o \
1032 winbindd
/winbindd_locator.o \
1033 winbindd
/winbindd_ndr.o \
1038 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1039 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1040 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1041 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1042 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1043 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1044 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1045 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
1047 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1048 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1049 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1051 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1053 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1054 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1055 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1056 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1057 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1059 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1060 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1061 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1063 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1064 lib
/ldb
/modules
/objectclass.o \
1065 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1067 # enabled in configure.in
1068 LDB_LDAP_OBJ
=@LDBLDAP@
1070 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1072 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1073 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1074 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1075 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1078 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1079 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1080 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1081 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1082 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1084 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
1085 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(LIBREPLACE_OBJ
)
1087 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
1088 popt
/popthelp.o popt
/poptparse.o
1090 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1091 iniparser_build
/strlib.o
1093 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1094 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1096 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1097 $(SOCKET_WRAPPER_OBJ
)
1099 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1100 $(SOCKET_WRAPPER_OBJ
)
1102 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1103 $(SOCKET_WRAPPER_OBJ
)
1106 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1108 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1109 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1110 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1111 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1112 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1113 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1114 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1117 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
) librpc
/rpc
/binding.o
1119 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1120 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1121 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1122 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1125 RPC_OPEN_TCP_OBJ
= torture
/rpc_open_tcp.o \
1129 @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
1130 $(LIB_NONSMBD_OBJ
) \
1133 $(RPC_CLIENT_OBJ1
) \
1134 rpc_client
/cli_pipe.o \
1135 librpc
/rpc
/binding.o \
1139 ######################################################################
1141 ######################################################################
1142 all:: SHOWFLAGS libs
$(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1143 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @CIFSUPCALL_PROGS@ \
1144 $(EXTRA_ALL_TARGETS
)
1146 nss_modules
:: $(NSS_MODULES
)
1148 pam_modules
:: $(PAM_MODULES
)
1150 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1152 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1154 gpext_modules
:: $(GPEXT_MODULES
)
1156 torture
:: SHOWFLAGS
$(TORTURE_PROGS
)
1158 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1160 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1162 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1164 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1166 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1168 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1170 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1172 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1174 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1176 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1178 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1180 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1182 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1184 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1186 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1188 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1189 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1190 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1192 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1194 modules
:: SHOWFLAGS
$(MODULES
)
1196 #####################################################################
1197 ## Perl IDL Compiler
1198 IDL_FILES
= lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1199 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1200 epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
1201 dssetup.idl krb5pac.idl ntsvcs.idl libnetapi.idl drsuapi.idl drsblobs.idl \
1205 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1206 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1209 #####################################################################
1212 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1216 .SUFFIXES
: .c .o .lo
1219 @echo
"Using FLAGS = $(FLAGS)"
1220 @echo
" PICFLAG = $(PICFLAG)"
1221 @echo
" LIBS = $(LIBS)"
1222 @echo
" LDFLAGS = $(LDFLAGS)"
1223 @echo
" DYNEXP = $(DYNEXP)"
1224 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1225 @echo
" SHLIBEXT = @SHLIBEXT@"
1226 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1228 MAKEDIR
= || exec false
; \
1229 if
test -d
"$$dir"; then
:; else \
1230 echo mkdir
"$$dir"; \
1231 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1232 test -d
"$$dir" || \
1234 exec false
; fi || exec false
1236 # Run a static checker.
1237 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1238 # Compile a source file.
1239 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1240 # Compile a source file with the installation paths defined.
1241 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1243 COMPILE
= $(COMPILE_CC
)
1246 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1247 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1248 @if
test -n
"$(CC_CHECKER)"; then \
1249 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1252 @echo Compiling
$*.c
1253 @
$(COMPILE
) && exit
0;\
1254 echo
"The following command failed:" 1>&2;\
1255 echo
"$(COMPILE_CC)" 1>&2;\
1256 $(COMPILE_CC
) >/dev
/null
2>&1
1257 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1259 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1261 # this adds support for precompiled headers. To use it, install a snapshot
1262 # of gcc-3.4 and run 'make pch' before you do the main build.
1264 rm -f
$(PRECOMPILED_HEADER
)
1265 $(MAKE
) $(PRECOMPILED_HEADER
)
1267 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1270 BINARY_PREREQS
= bin
/.dummy
1272 # These dependencies are only approximately correct: we want to make
1273 # sure Samba's paths are updated if ./configure is re-run. Really it
1274 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1275 # but since we also require "make install prefix=/opt/samba" *not* to
1276 # rebuild it's a bit hard.
1278 dynconfig.o
: dynconfig.c Makefile
1279 @echo Compiling
$*.c
1280 @
$(COMPILE_CC_PATH
) && exit
0;\
1281 echo
"The following command failed:" 1>&2;\
1282 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1283 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1285 localedir.o
: localedir.c Makefile
1286 @echo Compiling
$*.c
1287 @
$(COMPILE_CC_PATH
) && exit
0;\
1288 echo
"The following command failed:" 1>&2;\
1289 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1290 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1292 lib
/pidfile.o
: lib
/pidfile.c
1293 @echo Compiling
$*.c
1294 @
$(COMPILE_CC_PATH
) && exit
0;\
1295 echo
"The following command failed:" 1>&2;\
1296 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1297 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1299 lib
/version.o
: lib
/version.c
include/version.h
1300 @echo Compiling
$*.c
1301 @
$(COMPILE_CC_PATH
) && exit
0;\
1302 echo
"The following command failed:" 1>&2;\
1303 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1304 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1306 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1307 @echo Compiling
$*.c
1308 @
$(COMPILE_CC_PATH
) && exit
0;\
1309 echo
"The following command failed:" 1>&2;\
1310 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1311 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1313 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1315 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1318 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1319 dir=bin
$(MAKEDIR
); fi
1320 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1322 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1324 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1325 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1326 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1327 $(POPT_LIBS
) @SMBD_LIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1330 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1332 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1333 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(POPT_LIBS
) \
1334 $(KRB5LIBS
) $(LDAP_LIBS
)
1336 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1338 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1339 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) \
1340 $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1342 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1344 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1345 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1346 $(KRB5LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1349 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1351 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1352 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1353 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) \
1354 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1356 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@
1358 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1359 $(POPT_LIBS
) $(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1360 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1361 @INIPARSERLIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBNETAPI_LIBS
)
1363 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1365 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1366 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1368 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1370 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1371 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1373 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1375 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1377 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1379 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1381 bin
/cifs.upcall@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UPCALL_OBJ
) $(LIBSMBCLIENT_OBJ1
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1383 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UPCALL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1384 -lkeyutils
$(LIBS
) $(LIBSMBCLIENT_OBJ1
) $(KRB5LIBS
) \
1385 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(WINBIND_LIBS
) \
1386 $(LIBTDB_LIBS
) $(NSCD_LIBS
)
1388 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1390 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1391 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1393 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1395 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1396 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1398 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1400 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1401 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1402 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@
$(POPT_LIBS
) \
1403 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1405 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1407 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1408 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1409 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1411 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1413 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1414 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1415 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1417 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1419 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1420 $(POPT_LIBS
) $(PASSDB_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) \
1421 $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1423 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1425 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1426 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1427 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1429 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1431 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1432 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1434 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1436 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1437 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) \
1440 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1442 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1443 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1444 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1446 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1448 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1449 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
)
1451 bin
/smbconftort@EXEEXT@
: $(SMBCONFTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1453 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(SMBCONFTORT_OBJ
) $(LDFLAGS
) \
1454 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1455 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1457 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1459 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1460 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1461 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1463 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1465 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1466 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1467 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1469 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1471 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1472 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1473 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1475 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1477 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1478 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1479 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1481 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1483 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1484 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1486 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1488 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1489 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1491 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1493 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1494 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1495 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1497 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1499 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1500 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1501 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1503 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1505 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1506 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1507 $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1509 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1511 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1512 $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) $(DNSSD_LIBS
) \
1513 $(ACL_LIBS
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1514 @SMBD_LIBS@
$(NSCD_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1517 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1519 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1520 $(TERMLIBS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1521 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1523 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1525 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1526 $(POPT_LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
)
1528 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1530 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1531 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1532 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1534 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1536 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1537 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1539 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1541 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1542 $(LIBS
) $(LIBTALLOC_LIBS
)
1544 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1546 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) \
1547 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1548 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1550 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1552 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1553 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1554 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1556 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1558 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1559 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1560 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1562 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1564 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1565 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1566 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1568 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1570 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1571 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1572 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1574 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1576 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1577 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1578 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1581 #####################################################################
1585 #####################################################################
1587 MKSYMS_SH
= $(srcdir)/script
/mksyms.sh
1590 #-------------------------------------------------------------------
1594 #-------------------------------------------------------------------
1596 TALLOC_OBJ
= @TALLOC_OBJS@
1598 LIBTALLOC_OBJ0
= $(TALLOC_OBJ
)
1599 LIBTALLOC_OBJ
= $(LIBTALLOC_OBJ0
) $(LIBREPLACE_OBJ
)
1601 LIBTALLOC_SHARED_TARGET
=@LIBTALLOC_SHARED_TARGET@
1602 LIBTALLOC_SOVER
=@LIBTALLOC_SOVER@
1603 LIBTALLOC_SHARED_TARGET_SONAME
=$(LIBTALLOC_SHARED_TARGET
).
$(LIBTALLOC_SOVER
)
1604 LIBTALLOC_STATIC_TARGET
=@LIBTALLOC_STATIC_TARGET@
1605 LIBTALLOC
=$(LIBTALLOC_STATIC_TARGET
) @LIBTALLOC_SHARED@
1606 LIBTALLOC_SYMS
=$(srcdir)/exports
/libtalloc.@SYMSEXT@
1607 LIBTALLOC_HEADERS
=$(srcdir)/@tallocdir@
/talloc.h
1609 $(LIBTALLOC_SYMS
): $(LIBTALLOC_HEADERS
)
1610 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTALLOC_HEADERS
)
1612 $(LIBTALLOC_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ
) $(LIBTALLOC_SYMS
)
1613 @echo Linking shared library
$@
1614 @
$(SHLD_DSO
) $(LIBTALLOC_OBJ
) @SONAMEFLAG@
`basename $@`
1616 $(LIBTALLOC_SHARED_TARGET
): $(LIBTALLOC_SHARED_TARGET_SONAME
)
1618 @ln
-f
-s
`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1620 $(LIBTALLOC_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ0
)
1621 @echo Linking non-shared library
$@
1622 @
-$(AR
) -rc
$@
$(LIBTALLOC_OBJ0
)
1624 libtalloc
: $(LIBTALLOC
)
1629 $(LIBTALLOC_STATIC_TARGET
) \
1630 $(LIBTALLOC_SHARED_TARGET
) \
1631 $(LIBTALLOC_SHARED_TARGET_SONAME
)
1633 installlibtalloc
:: installdirs libtalloc
1634 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1635 -$(INSTALLLIBCMD_SH
) $(LIBTALLOC_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1636 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)`
1637 -if
test -r
$(LIBTALLOC_SHARED_TARGET_SONAME
) ; then \
1638 ln
-f
-s
`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1639 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1641 -$(INSTALLLIBCMD_A
) $(LIBTALLOC_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1642 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1643 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTALLOC_HEADERS
) $(DESTDIR
)${prefix}/include
1645 uninstalllibtalloc
::
1646 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)`
1647 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1648 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_STATIC_TARGET)`
1649 -rm -f
$(DESTDIR
)${prefix}/include/talloc.h
1652 installlibs
:: @INSTALL_LIBTALLOC@
1653 uninstalllibs
:: @UNINSTALL_LIBTALLOC@
1654 cleanlibs
:: cleanlibtalloc
1655 shlibs test_shlibs
: @LIBTALLOC_SHARED@
1657 #-------------------------------------------------------------------
1661 #-------------------------------------------------------------------
1663 LIBTDB_OBJ0
= @TDB_OBJS@
1664 LIBTDB_OBJ
= $(LIBTDB_OBJ0
) $(LIBREPLACE_OBJ
)
1666 LIBTDB_SHARED_TARGET
=@LIBTDB_SHARED_TARGET@
1667 LIBTDB_SOVER
=@LIBTDB_SOVER@
1668 LIBTDB_SHARED_TARGET_SONAME
=$(LIBTDB_SHARED_TARGET
).
$(LIBTDB_SOVER
)
1669 LIBTDB_STATIC_TARGET
=@LIBTDB_STATIC_TARGET@
1670 LIBTDB
=$(LIBTDB_STATIC_TARGET
) @LIBTDB_SHARED@
1671 LIBTDB_SYMS
=$(srcdir)/exports
/libtdb.@SYMSEXT@
1672 LIBTDB_HEADERS
=$(srcdir)/@tdbdir@
/include/tdb.h
1674 $(LIBTDB_SYMS
): $(LIBTDB_HEADERS
)
1675 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTDB_HEADERS
)
1677 $(LIBTDB_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBTDB_OBJ
) $(LIBTDB_SYMS
)
1678 @echo Linking shared library
$@
1679 @
$(SHLD_DSO
) $(LIBTDB_OBJ
) \
1680 @SONAMEFLAG@
`basename $@`
1682 $(LIBTDB_SHARED_TARGET
): $(LIBTDB_SHARED_TARGET_SONAME
)
1684 @ln
-f
-s
`basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1686 $(LIBTDB_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ0
)
1687 @echo Linking non-shared library
$@
1688 @
-$(AR
) -rc
$@
$(LIBTDB_OBJ0
)
1695 $(LIBTDB_STATIC_TARGET
) \
1696 $(LIBTDB_SHARED_TARGET
) \
1697 $(LIBTDB_SHARED_TARGET_SONAME
)
1700 installlibtdb
:: installdirs libtdb
1701 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1702 -$(INSTALLLIBCMD_SH
) $(LIBTDB_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1703 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)`
1704 -if
test -r
$(LIBTDB_SHARED_TARGET_SONAME
) ; then \
1705 ln
-f
-s
`basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1706 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1708 -$(INSTALLLIBCMD_A
) $(LIBTDB_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1709 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1710 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTDB_HEADERS
) $(DESTDIR
)${prefix}/include
1713 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)`
1714 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1715 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_STATIC_TARGET)`
1716 -rm -f
$(DESTDIR
)${prefix}/include/tdb.h
1719 installlibs
:: @INSTALL_LIBTDB@
1720 uninstalllibs
:: @UNINSTALL_LIBTDB@
1721 cleanlibs
:: cleanlibtdb
1722 shlibs test_shlibs
: @LIBTDB_SHARED@
1724 #-------------------------------------------------------------------
1728 #-------------------------------------------------------------------
1730 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
1731 nsswitch
/libwbclient
/wbc_util.o \
1732 nsswitch
/libwbclient
/wbc_pwd.o \
1733 nsswitch
/libwbclient
/wbc_idmap.o \
1734 nsswitch
/libwbclient
/wbc_sid.o \
1735 nsswitch
/libwbclient
/wbc_guid.o \
1736 nsswitch
/libwbclient
/wbc_pam.o
1737 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) \
1739 @LIBTALLOC_STATIC@
$(LIBREPLACE_OBJ
)
1741 LIBWBCLIENT_SHARED_TARGET
=@LIBWBCLIENT_SHARED_TARGET@
1742 LIBWBCLIENT_SOVER
=@LIBWBCLIENT_SOVER@
1743 LIBWBCLIENT_SHARED_TARGET_SONAME
=$(LIBWBCLIENT_SHARED_TARGET
).
$(LIBWBCLIENT_SOVER
)
1744 LIBWBCLIENT_STATIC_TARGET
=@LIBWBCLIENT_STATIC_TARGET@
1745 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
1746 LIBWBCLIENT_SYMS
=$(srcdir)/exports
/libwbclient.@SYMSEXT@
1747 LIBWBCLIENT_HEADERS
=$(srcdir)/nsswitch
/libwbclient
/wbclient.h
1749 $(LIBWBCLIENT_SYMS
): $(LIBWBCLIENT_HEADERS
)
1750 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBWBCLIENT_HEADERS
)
1752 $(LIBWBCLIENT_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
) $(LIBWBCLIENT_SYMS
) @LIBTALLOC_SHARED@
1753 @echo Linking shared library
$@
1754 @
$(SHLD_DSO
) $(LIBTALLOC_LIBS
) $(LIBWBCLIENT_OBJ
) \
1755 @SONAMEFLAG@
`basename $@`
1757 $(LIBWBCLIENT_SHARED_TARGET
): $(LIBWBCLIENT_SHARED_TARGET_SONAME
)
1759 @ln
-f
-s
`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` $@
1761 $(LIBWBCLIENT_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1762 @echo Linking non-shared library
$@
1763 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1765 libwbclient
: $(LIBWBCLIENT
)
1769 $(LIBWBCLIENT_SYMS
) \
1770 $(LIBWBCLIENT_STATIC_TARGET
) \
1771 $(LIBWBCLIENT_SHARED_TARGET
) \
1772 $(LIBWBCLIENT_SHARED_TARGET_SONAME
)
1774 installlibwbclient
:: installdirs libwbclient
1775 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1776 -$(INSTALLLIBCMD_SH
) $(LIBWBCLIENT_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1777 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1778 -if
test -r
$(LIBWBCLIENT_SHARED_TARGET_SONAME
) ; then \
1779 ln
-f
-s
`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)` \
1780 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET)` ; \
1782 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1783 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBWBCLIENT_HEADERS
) $(DESTDIR
)${prefix}/include
1785 uninstalllibwbclient
::
1786 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET)`
1787 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
1788 -rm -f
$(DESTDIR
)${prefix}/include/wbclient.h
1791 installlibs
:: @INSTALL_LIBWBCLIENT@
1792 uninstalllibs
:: uninstalllibwbclient
1793 cleanlibs
:: cleanlibwbclient
1794 shlibs test_shlibs
: @LIBWBCLIENT_SHARED@
1797 #-------------------------------------------------------------------
1801 #-------------------------------------------------------------------
1804 LIBADDNS_SHARED_TARGET
=@LIBADDNS_SHARED_TARGET@
1805 LIBADDNS_SOVER
=@LIBADDNS_SOVER@
1806 LIBADDNS_SHARED_TARGET_SONAME
=$(LIBADDNS_SHARED_TARGET
).
$(LIBADDNS_SOVER
)
1807 LIBADDNS_STATIC_TARGET
=@LIBADDNS_STATIC_TARGET@
1808 LIBADDNS
=$(LIBADDNS_STATIC_TARGET
) @LIBADDNS_SHARED@
1809 #LIBADDNS_SYMS=$(srcdir)/exports/libaddns.@SYMSEXT@
1810 LIBADDNS_HEADERS
=$(srcdir)/libaddns
/addns.h
1812 $(LIBADDNS_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBADDNS_OBJ
) @LIBTALLOC_SHARED@
1813 @echo Linking shared library
$@
1814 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1815 $(KRB5LIBS
) $(UUID_LIBS
) $(LIBTALLOC_LIBS
) \
1816 @SONAMEFLAG@
`basename $@`
1818 $(LIBADDNS_SHARED_TARGET
): $(LIBADDNS_SHARED_TARGET_SONAME
)
1820 @ln
-f
-s
`basename $(LIBADDNS_SHARED_TARGET_SONAME)` $@
1822 $(LIBADDNS_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBADDNS_OBJ0
)
1823 @echo Linking non-shared library
$@
1824 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ0
)
1826 libaddns
: $(LIBADDNS
)
1830 $(LIBADDNS_SHARED_TARGET
) \
1831 $(LIBADDNS_SHARED_TARGET_SONAME
) \
1832 $(LIBADDNS_STATIC_TARGET
)
1834 installlibaddns
:: installdirs libaddns
1835 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1836 -$(INSTALLLIBCMD_SH
) $(LIBADDNS_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1837 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET)`
1838 -if
test -r
$(LIBADDNS_SHARED_TARGET_SONAME
) ; then \
1839 ln
-f
-s
`basename $(LIBADDNS_SHARED_TARGET_SONAME)` \
1840 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET)` ; \
1842 -$(INSTALLLIBCMD_A
) $(LIBADDNS_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1845 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET_SONAME)`
1846 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_SHARED_TARGET)`
1847 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBADDNS_STATIC_TARGET)`
1850 installlibs
:: @INSTALL_LIBADDNS@
1851 uninstalllibs
:: @UNINSTALL_LIBADDNS@
1852 cleanlibs
:: cleanlibaddns
1853 shlibs test_shlibs
: @LIBADDNS_SHARED@
1855 #-------------------------------------------------------------------
1859 #-------------------------------------------------------------------
1861 LIBNETAPI_OBJ0
= lib
/netapi
/netapi.o \
1863 librpc
/gen_ndr
/ndr_libnetapi.o \
1864 lib
/netapi
/libnetapi.o \
1865 lib
/netapi
/joindomain.o \
1866 lib
/netapi
/serverinfo.o \
1867 lib
/netapi
/getdc.o \
1869 lib
/netapi
/group.o \
1870 lib
/netapi
/localgroup.o \
1873 lib
/netapi
/share.o \
1876 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ0
) $(LIBNET_OBJ
) \
1878 $(REG_SMBCONF_OBJ
) \
1879 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
1880 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1881 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1882 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1883 $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(PRIVILEGES_BASIC_OBJ
) \
1886 LIBNETAPI_SHARED_TARGET
=@LIBNETAPI_SHARED_TARGET@
1887 LIBNETAPI_SOVER
=@LIBNETAPI_SOVER@
1888 LIBNETAPI_SHARED_TARGET_SONAME
=$(LIBNETAPI_SHARED_TARGET
).
$(LIBNETAPI_SOVER
)
1889 LIBNETAPI_STATIC_TARGET
=@LIBNETAPI_STATIC_TARGET@
1890 LIBNETAPI
=$(LIBNETAPI_STATIC_TARGET
) @LIBNETAPI_SHARED@
1891 LIBNETAPI_SYMS
=$(srcdir)/exports
/libnetapi.@SYMSEXT@
1892 LIBNETAPI_HEADERS
=$(srcdir)/lib
/netapi
/netapi.h
1894 $(LIBNETAPI_SYMS
): $(LIBNETAPI_HEADERS
)
1895 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBNETAPI_HEADERS
)
1897 $(LIBNETAPI_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
) $(LIBNETAPI_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1898 @echo Linking shared library
$@
1899 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) \
1900 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1901 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1902 @SONAMEFLAG@
`basename $@`
1904 $(LIBNETAPI_SHARED_TARGET
): $(LIBNETAPI_SHARED_TARGET_SONAME
)
1906 @ln
-f
-s
`basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
1908 $(LIBNETAPI_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ0
)
1909 @echo Linking non-shared library
$@
1910 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ0
)
1912 libnetapi
: $(LIBNETAPI
)
1917 $(LIBNETAPI_STATIC_TARGET
) \
1918 $(LIBNETAPI_SHARED_TARGET
) \
1919 $(LIBNETAPI_SHARED_TARGET_SONAME
)
1921 installlibnetapi
:: installdirs libnetapi
1922 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1923 -$(INSTALLLIBCMD_SH
) $(LIBNETAPI_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1924 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET)`
1925 -if
test -r
$(LIBNETAPI_SHARED_TARGET_SONAME
) ; then \
1926 ln
-f
-s
`basename $(LIBNETAPI_SHARED_TARGET_SONAME)` \
1927 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET)` ; \
1929 -$(INSTALLLIBCMD_A
) $(LIBNETAPI_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1930 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1931 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
1933 uninstalllibnetapi
::
1934 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET)`
1935 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_SHARED_TARGET_SONAME)`
1936 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBNETAPI_STATIC_TARGET)`
1937 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
1940 installlibs
:: @INSTALL_LIBNETAPI@
1941 uninstalllibs
:: @UNINSTALL_LIBNETAPI@
1942 cleanlibs
:: cleanlibnetapi
1943 shlibs test_shlibs
: @LIBNETAPI_SHARED@
1945 #-------------------------------------------------------------------
1949 #-------------------------------------------------------------------
1951 LIBSMBCLIENT_SHARED_TARGET
=@LIBSMBCLIENT_SHARED_TARGET@
1952 LIBSMBCLIENT_SOVER
=@LIBSMBCLIENT_SOVER@
1953 LIBSMBCLIENT_SHARED_TARGET_SONAME
=$(LIBSMBCLIENT_SHARED_TARGET
).
$(LIBSMBCLIENT_SOVER
)
1954 LIBSMBCLIENT_STATIC_TARGET
=@LIBSMBCLIENT_STATIC_TARGET@
1955 LIBSMBCLIENT
=$(LIBSMBCLIENT_STATIC_TARGET
) @LIBSMBCLIENT_SHARED@
1956 LIBSMBCLIENT_SYMS
=$(srcdir)/exports
/libsmbclient.@SYMSEXT@
1957 LIBSMBCLIENT_HEADERS
=$(srcdir)/include/libsmbclient.h
1959 $(LIBSMBCLIENT_SYMS
): $(LIBSMBCLIENT_HEADERS
)
1960 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBSMBCLIENT_HEADERS
)
1962 $(LIBSMBCLIENT_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
) $(LIBSMBCLIENT_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1963 @echo Linking shared library
$@
1964 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) \
1965 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1966 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1967 @SONAMEFLAG@
`basename $@`
1969 $(LIBSMBCLIENT_SHARED_TARGET
): $(LIBSMBCLIENT_SHARED_TARGET_SONAME
)
1971 @ln
-s
`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` $@
1973 $(LIBSMBCLIENT_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ1
)
1974 @echo Linking non-shared library
$@
1975 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ1
)
1977 libsmbclient
: $(LIBSMBCLIENT
)
1981 $(LIBSMBCLIENT_SHARED_TARGET
) \
1982 $(LIBSMBCLIENT_SHARED_TARGET_SONAME
) \
1983 $(LIBSMBCLIENT_STATIC_TARGET
)
1985 installlibsmbclient
:: installdirs libsmbclient
1986 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1987 -$(INSTALLLIBCMD_SH
) $(LIBSMBCLIENT_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1988 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
1989 -if
test -r
$(LIBSMBCLIENT_SHARED_TARGET_SONAME
) ; then \
1990 ln
-f
-s
`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)` \
1991 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET)` ; \
1993 -$(INSTALLLIBCMD_A
) $(LIBSMBCLIENT_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1994 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1995 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBSMBCLIENT_HEADERS
) $(DESTDIR
)${prefix}/include
1997 installclientlib
:: installlibsmbclient
1999 uninstalllibsmbclient
::
2000 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET)`
2001 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_SHARED_TARGET_SONAME)`
2002 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBCLIENT_STATIC_TARGET)`
2003 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
2005 uninstallclientlib
:: uninstalllibsmbclient
2008 installlibs
:: @INSTALL_LIBSMBCLIENT@
2009 uninstalllibs
:: @UNINSTALL_LIBSMBCLIENT@
2010 cleanlibs
:: cleanlibsmbclient
2011 shlibs test_shlibs
: @LIBSMBCLIENT_SHARED@
2013 #-------------------------------------------------------------------
2017 #-------------------------------------------------------------------
2019 LIBSMBSHAREMODES_OBJ0
= libsmb
/smb_share_modes.o
2021 LIBSMBSHAREMODES_OBJ
= $(LIBSMBSHAREMODES_OBJ0
) @LIBTDB_STATIC@
2023 LIBSMBSHAREMODES_SHARED_TARGET
=@LIBSMBSHAREMODES_SHARED_TARGET@
2024 LIBSMBSHAREMODES_SOVER
=@LIBSMBSHAREMODES_SOVER@
2025 LIBSMBSHAREMODES_SHARED_TARGET_SONAME
=$(LIBSMBSHAREMODES_SHARED_TARGET
).
$(LIBSMBSHAREMODES_SOVER
)
2026 LIBSMBSHAREMODES_STATIC_TARGET
=@LIBSMBSHAREMODES_STATIC_TARGET@
2027 LIBSMBSHAREMODES
=$(LIBSMBSHAREMODES_STATIC_TARGET
) @LIBSMBSHAREMODES_SHARED@
2028 LIBSMBSHAREMODES_SYMS
=$(srcdir)/exports
/libsmbsharemodes.@SYMSEXT@
2029 LIBSMBSHAREMODES_HEADERS
=$(srcdir)/include/smb_share_modes.h
2031 $(LIBSMBSHAREMODES_SYMS
): $(LIBSMBSHAREMODES_HEADERS
)
2032 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBSMBSHAREMODES_HEADERS
)
2034 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
) $(LIBSMBSHAREMODES_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2035 @echo Linking shared library
$@
2036 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) \
2037 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2038 $(KRB5LIBS
) $(LDAP_LIBS
) \
2039 @SONAMEFLAG@
`basename $@`
2041 $(LIBSMBSHAREMODES_SHARED_TARGET
): $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
)
2043 @ln
-f
-s
`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` $@
2045 $(LIBSMBSHAREMODES_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ0
)
2046 @echo Linking non-shared library
$@
2047 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ0
)
2049 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
2051 cleanlibsmbsharemodes
::
2053 $(LIBSMBSHAREMODES_SHARED_TARGET
) \
2054 $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
) \
2055 $(LIBSMBSHAREMODES_STATIC_TARGET
)
2057 installlibsmbsharemodes
:: installdirs libsmbsharemodes
2058 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2059 -$(INSTALLLIBCMD_SH
) $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
2060 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2061 -if
test -r
$(LIBSMBSHAREMODES_SHARED_TARGET_SONAME
) ; then \
2062 ln
-f
-s
`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)` \
2063 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)` ; \
2065 -$(INSTALLLIBCMD_A
) $(LIBSMBSHAREMODES_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
2066 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2067 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBSMBSHAREMODES_HEADERS
) $(DESTDIR
)${prefix}/include
2069 uninstalllibsmbsharemodes
::
2070 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET)`
2071 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_SHARED_TARGET_SONAME)`
2072 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
2073 -rm -f
$(DESTDIR
)${prefix}/include/smb_share_modes.h
2075 libs
:: libsmbsharemodes
2076 installlibs
:: @INSTALL_LIBSMBSHAREMODES@
2077 uninstalllibs
:: @UNINSTALL_LIBSMBSHAREMODES@
2078 cleanlibs
:: cleanlibsmbsharemodes
2079 shlibs test_shlibs
: @LIBSMBSHAREMODES_SHARED@
2081 #-------------------------------------------------------------------
2085 #-------------------------------------------------------------------
2087 # This is probably wrong for anything other than the GNU linker.
2088 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
) @LIBTALLOC_SHARED@
2089 @echo Linking shared library
$@
2090 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) \
2091 $(LIBS
) $(LIBTALLOC_LIBS
) \
2092 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
2093 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
2094 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
2096 # It would be nice to build a static bigballofmud too, but when I try
2097 # I get linker errors about dl_open and similar things. I'm not sure if
2098 # it can be fixed or if they just can't be called from a static
2103 #####################################################################
2107 #####################################################################
2109 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
2110 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
2111 -o
$@ @SONAMEFLAG@
`basename $@`
2113 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
2115 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
2117 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
2119 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
2121 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
2123 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
2125 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
2127 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
2129 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
2131 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
2133 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
2135 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
2137 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
2139 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
2141 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
2143 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
2145 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
2147 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
2149 bin
/librpc_dssetup.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DSSETUP_OBJ
)
2151 @
$(SHLD_MODULE
) $(RPC_DSSETUP_OBJ
)
2153 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
2155 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
2157 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
2159 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
2161 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
2163 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
2165 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
2167 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
2169 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2171 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
2172 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
2173 $(PASSDB_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2175 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2177 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
2178 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
2179 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
2180 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2182 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
2184 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
2185 $(WINBIND_NSS_EXTRA_LIBS
) $(WINBIND_NSS_PTHREAD
) \
2186 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
2188 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2190 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
2191 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2192 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
2194 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
) @LIBWBCLIENT_SHARED@
2196 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) $(WINBIND_LIBS
) \
2197 @SONAMEFLAG@
`basename $@`
2199 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@
2200 @echo
"Linking shared library $@"
2201 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
2202 $(PAM_WINBIND_EXTRA_LIBS
) $(LIBTALLOC_LIBS
) $(WINBIND_LIBS
) @SONAMEFLAG@
`basename $@`
2204 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
2205 @echo
"Building plugin $@"
2206 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
2208 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
2209 @echo
"Building plugin $@"
2210 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
2212 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
2213 @echo
"Building plugin $@"
2214 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
2216 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
2217 @echo
"Building plugin $@"
2218 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
2220 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
2221 @echo
"Building plugin $@"
2222 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
2224 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
2225 @echo
"Building plugin $@"
2226 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
2228 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
2229 @echo
"Building plugin $@"
2230 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
2232 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
2233 @echo
"Building plugin $@"
2234 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
2236 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
2237 @echo
"Building plugin $@"
2238 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
2240 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
2241 @echo
"Building plugin $@"
2242 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
2244 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
2245 @echo
"Building plugin $@"
2246 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
2248 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
2249 @echo
"Building plugin $@"
2250 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
2252 bin
/hash.@SHLIBEXT@
: $(BINARY_PREREQS
) $(IDMAP_HASH_OBJ
)
2253 @echo
"Building plugin $@"
2254 @
$(SHLD_MODULE
) $(IDMAP_HASH_OBJ
)
2256 bin
/adex.@SHLIBEXT@
: $(BINARY_PREREQS
) $(IDMAP_ADEX_OBJ
)
2257 @echo
"Building plugin $@"
2258 @
$(SHLD_MODULE
) $(IDMAP_ADEX_OBJ
)
2260 bin
/tdb2.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_tdb2.o
2261 @echo
"Building plugin $@"
2262 @
$(SHLD_MODULE
) winbindd
/idmap_tdb2.o
2264 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
2265 @echo
"Building plugin $@"
2266 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
2268 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
2269 @echo
"Building plugin $@"
2270 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
2272 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
2273 @echo
"Building plugin $@"
2274 @
$(SHLD_MODULE
) $(CP850_OBJ
)
2276 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
2277 @echo
"Building plugin $@"
2278 @
$(SHLD_MODULE
) $(CP437_OBJ
)
2280 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
2281 @echo
"Building plugin $@"
2282 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
2284 # NOTE, there is no build rule for a dynamic default VFS module because
2285 # this one MUST MUST MUST be built statically.
2287 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
2288 @echo
"Building plugin $@"
2289 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
2291 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
2292 @echo
"Building plugin $@"
2293 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
2295 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
2296 @echo
"Building plugin $@"
2297 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
2299 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
2300 @echo
"Building plugin $@"
2301 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
2303 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
2304 @echo
"Building plugin $@"
2305 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
2307 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
2308 @echo
"Building plugin $@"
2309 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
2311 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
2312 @echo
"Building plugin $@"
2313 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
2315 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
2316 @echo
"Building plugin $@"
2317 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
2319 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
2320 @echo
"Building plugin $@"
2321 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
2323 bin
/shadow_copy2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY2_OBJ
)
2324 @echo
"Building plugin $@"
2325 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY2_OBJ
)
2327 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
2328 @echo
"Building plugin $@"
2329 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
2331 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
2332 @echo
"Building plugin $@"
2333 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
2335 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
2336 @echo
"Building plugin $@"
2337 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
2339 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
2340 @echo
"Building plugin $@"
2341 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
2343 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
2344 @echo
"Building plugin $@"
2345 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
2347 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
2348 @echo
"Building plugin $@"
2349 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
2351 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
2352 @echo
"Building plugin $@"
2353 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
2355 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
2356 @echo
"Building plugin $@"
2357 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
2359 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
2360 @echo
"Building plugin $@"
2361 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
2363 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
2364 @echo
"Building plugin $@"
2365 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
2367 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
2368 @echo
"Building plugin $@"
2369 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
2371 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
2372 @echo
"Building plugin $@"
2373 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
2375 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
2376 @echo
"Building plugin $@"
2377 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
2379 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
2380 @echo
"Building plugin $@"
2381 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
2383 bin
/streams_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_XATTR_OBJ
)
2384 @echo
"Building plugin $@"
2385 @
$(SHLD_MODULE
) $(VFS_STREAMS_XATTR_OBJ
)
2387 bin
/streams_depot.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_DEPOT_OBJ
)
2388 @echo
"Building plugin $@"
2389 @
$(SHLD_MODULE
) $(VFS_STREAMS_DEPOT_OBJ
)
2391 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
2392 @echo
"Building plugin $@"
2393 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
2395 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
2396 @echo
"Building plugin $@"
2397 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
2399 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
2400 @echo
"Building plugin $@"
2401 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
2403 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
2404 @echo
"Building plugin $@"
2405 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
2407 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
2408 @echo
"Building plugin $@"
2409 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
2411 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
2412 @echo
"Building plugin $@"
2413 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
2415 bin
/tsmsm.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TSMSM_OBJ
)
2416 @echo
"Building plugin $@"
2417 @
$(SHLD_MODULE
) $(VFS_TSMSM_OBJ
)
2419 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
2420 @echo
"Building plugin $@"
2421 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
2423 bin
/aio_fork.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIO_FORK_OBJ
)
2424 @echo
"Building plugin $@"
2425 @
$(SHLD_MODULE
) $(VFS_AIO_FORK_OBJ
)
2427 bin
/acl_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ACL_XATTR_OBJ
)
2428 @echo
"Building plugin $@"
2429 @
$(SHLD_MODULE
) $(VFS_ACL_XATTR_OBJ
)
2431 bin
/acl_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ACL_TDB_OBJ
)
2432 @echo
"Building plugin $@"
2433 @
$(SHLD_MODULE
) $(VFS_ACL_TDB_OBJ
)
2435 bin
/registry.@SHLIBEXT@
: $(BINARY_PREREQS
) libgpo
/gpext
/registry.o
2436 @echo
"Building plugin $@"
2437 @
$(SHLD_MODULE
) libgpo
/gpext
/registry.o
2439 bin
/scripts.@SHLIBEXT@
: $(BINARY_PREREQS
) libgpo
/gpext
/scripts.o
2440 @echo
"Building plugin $@"
2441 @
$(SHLD_MODULE
) libgpo
/gpext
/scripts.o
2443 bin
/smb_traffic_analyzer.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ
)
2444 @echo
"Building plugin $@"
2445 @
$(SHLD_MODULE
) $(VFS_SMB_TRAFFIC_ANALYZER_OBJ
)
2447 bin
/security.@SHLIBEXT@
: $(BINARY_PREREQS
) libgpo
/gpext
/security.o
2448 @echo
"Building plugin $@"
2449 @
$(SHLD_MODULE
) libgpo
/gpext
/security.o
2451 #########################################################
2452 ## IdMap NSS plugins
2454 ## None here right now
2455 #########################################################
2457 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2459 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
2460 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2463 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
2464 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2466 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
2467 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
2468 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
2469 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2471 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2472 @echo
"Linking shared library $@"
2473 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) \
2474 $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
2475 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2477 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2479 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBBACKUP_OBJ
) $(DYNEXP
) \
2480 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2482 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2484 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTOOL_OBJ
) $(DYNEXP
) \
2485 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2487 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2489 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBDUMP_OBJ
) $(DYNEXP
) \
2490 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2492 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2494 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTORTURE_OBJ
) $(DYNEXP
) \
2495 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2497 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
2498 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2499 torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
2501 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
2502 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2503 torture
/t_strstr.o
-L .
/bin
-lbigballofmud
2505 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
2506 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2507 torture
/t_strappend.o
-L .
/bin
-lbigballofmud
2509 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
2510 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o \
2511 -L.
/bin
-lbigballofmud
2513 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
2515 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
2517 bin
/rpc_open_tcp@EXEEXT@
: $(BINARY_PREREQS
) $(RPC_OPEN_TCP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2519 @
$(CC
) $(FLAGS
) -o
$@
$(RPC_OPEN_TCP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
2520 $(LIBS
) $(LIBTALLOC_LIBS
) @LIBTDB_SHARED@
$(WINBIND_LIBS
) \
2521 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
)
2523 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSUPCALL@ installman \
2524 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2525 @INSTALL_PAM_MODULES@ installlibs installmo
2527 install-everything
:: install installmodules
2529 # DESTDIR is used here to prevent packagers wasting their time
2530 # duplicating the Makefile. Remove it and you will have the privelege
2531 # of package each samba release for muliple versions of multiple
2532 # distributions and operating systems, or at least supplying patches
2533 # to all the packaging files required for this, prior to committing
2534 # the removal of DESTDIR. Do not remove it even though you think it
2538 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
) $(CODEPAGEDIR
) $(MODULESDIR
) $(LOCALEDIR
)
2540 installservers
:: all installdirs
2541 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2543 installbin
:: all installdirs
2544 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2546 installcifsmount
:: @CIFSMOUNT_PROGS@
2547 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2548 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2550 installcifsupcall
:: @CIFSUPCALL_PROGS@
2551 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(SBINDIR
)
2552 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) @CIFSUPCALL_PROGS@
2554 # Some symlinks are required for the 'probing' of modules.
2555 # This mechanism should go at some point..
2556 installmodules
:: modules
installdirs
2557 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2558 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2559 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2560 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2561 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
2562 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2563 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2564 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(GPEXTLIBDIR
) $(GPEXT_MODULES
)
2565 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2566 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2567 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2568 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2569 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2570 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2571 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2572 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2573 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/adex.@SHLIBEXT@ adex.@SHLIBEXT@
2574 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/hash.@SHLIBEXT@ hash.@SHLIBEXT@
2576 installscripts
:: installdirs
2577 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2579 installdat
:: installdirs
2580 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2582 installmsg
:: installdirs
2583 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2585 installswat
:: installdirs installmsg
2586 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2588 installpammodules
:: $(PAM_MODULES
)
2589 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
2590 @for module in
$(PAM_MODULES
); do \
2591 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2592 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
2593 "$(DESTDIR)/$(PAMMODULESDIR)"; \
2596 # revert to the previously installed version
2598 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
2599 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
2601 installman
:: installdirs
2602 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
2604 installmo
:: all installdirs
2605 @
$(SHELL
) $(srcdir)/script
/installmo.sh
$(DESTDIR
) $(LOCALEDIR
) $(srcdir)
2610 @echo
"Samba will be installed into:"
2611 @echo
" prefix: $(prefix)"
2612 @echo
" bindir: $(BINDIR)"
2613 @echo
" sbindir: $(SBINDIR)"
2614 @echo
" libdir: $(LIBDIR)"
2615 @echo
" modulesdir: $(MODULESDIR)"
2616 @echo
" vardir: $(VARDIR)"
2617 @echo
" mandir: $(MANDIR)"
2618 @echo
" privatedir: $(PRIVATE_DIR)"
2619 @echo
" configdir: $(CONFIGDIR)"
2620 @echo
" lockdir: $(LOCKDIR)"
2621 @echo
" piddir: $(PIDDIR)"
2622 @echo
" swatdir: $(SWATDIR)"
2623 @echo
" codepagedir: $(CODEPAGEDIR)"
2626 uninstall:: uninstallmo uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSUPCALL@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibs @UNINSTALL_PAM_MODULES@
2629 @
$(SHELL
) $(srcdir)/script
/uninstallmo.sh
$(DESTDIR
) $(LOCALEDIR
) $(srcdir)
2632 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
2635 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2638 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2640 uninstallcifsmount
::
2641 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2643 uninstallcifsupcall
::
2644 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSUPCALL_PROGS@
2647 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2648 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2649 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2650 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2651 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2652 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2653 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(GPEXTLIBDIR
) $(GPEXT_MODULES
)
2656 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2659 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2662 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2664 uninstallswat
:: uninstallmsg
2665 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2667 uninstallpammodules
::
2668 @for module in
$(PAM_MODULES
); do \
2669 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2670 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
2673 # Toplevel clean files
2674 TOPFILES
=dynconfig.o localedir.o
2677 -rm -f
include/build_env.h
2678 -rm -f smbd
/build_options.c
2679 -rm -f
$(PRECOMPILED_HEADER
)
2680 -rm -f core
*/*~
*~ \
2681 */*.o
*/*/*.o
*/*/*/*.o \
2682 ..
/testsuite
/*/*.o \
2683 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2684 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2685 $(MODULES
) $(TORTURE_PROGS
) \
2686 $(EVERYTHING_PROGS
) \
2688 .headers.stamp
*/src
/*.o
2691 include/build_env.h
: script
/build_env.sh
2692 @echo Building
include/build_env.h
2693 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2694 > $(builddir
)/include/build_env.h
2698 @echo
"NOTE: 'proto' is no longer a valid make target as proto.h"
2699 @echo
"and other prototype headers are not generated anymore."
2705 etags
`find $(srcdir) -name "*.[ch]" | grep -v include/proto\.h`
2708 ctags
`find $(srcdir) -name "*.[ch]" | grep -v include/proto\.h`
2711 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2712 -rm -f script
/installbin.sh script
/uninstallbin.sh
2714 distclean:: realclean
2716 -rm -f
include/config.h Makefile
2717 -rm -f config.status config.cache so_locations
2720 realdistclean
:: distclean
2721 -rm -f
include/config.h.in
2722 -rm -f
include/version.h
2725 # this target is really just for my use. It only works on a limited
2726 # range of machines and is used to produce a list of potentially
2727 # dead (ie. unused) functions in the code. (tridge)
2729 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2730 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2731 comm
-13 nmused.txt nmfns.txt
2734 # when configure.in is updated, reconfigure
2735 $(srcdir)/configure
: $(srcdir)/configure.in
2736 @echo
"WARNING: you need to rerun ./autogen.sh"
2738 config.status
: $(srcdir)/configure
2739 @echo
"WARNING: you need to run ./configure"
2741 Makefile
: $(srcdir)/Makefile.in config.status
2742 @echo
"WARNING: you need to run ./config.status"
2744 ######################################################################
2745 # Samba Testing Framework
2747 # Check shared libs for unresolved symbols
2750 @
$(LIB_PATH_VAR
)=.
/bin
&& \
2751 export $(LIB_PATH_VAR
) && \
2752 for module in
$?
; do \
2753 .
/script
/tests
/dlopen.sh
$${module} \
2757 # Check for NSS module problems.
2758 test_nss_modules
:: nss_modules
2759 @echo
"Testing $(NSS_MODULES) "
2760 @
$(LIB_PATH_VAR
)=.
/bin
&& \
2761 export $(LIB_PATH_VAR
) && \
2762 for module in
$(NSS_MODULES
); do \
2763 .
/script
/tests
/dlopen.sh
$${module} \
2767 # Check for PAM module problems. Specifically, check that every module we
2768 # built can actually be loaded by a minimal PAM-aware application.
2769 test_pam_modules
:: pam_modules
2770 @echo
"Testing $(PAM_MODULES) "
2771 @
$(LIB_PATH_VAR
)=.
/bin
&& \
2772 export $(LIB_PATH_VAR
) && \
2773 for module in
$(PAM_MODULES
); do \
2774 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2780 ## Targets for 'make test'
2782 test:: all torture timelimit
2783 @echo Running Test suite
2784 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2786 valgrindtest
:: all torture timelimit
2787 @echo Running Test suite with valgrind
2788 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2789 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2790 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2791 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2792 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
2793 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2795 # Check for Winbind struct 32/64bit padding
2797 @echo
"Testing winbind request/response structure for 32/64bit padding"
2798 @.
/script
/tests
/wb_pad.sh || exit
1;
2804 libsmbclient_examples
:
2805 $(MAKE
) -C ..
/examples
/libsmbclient
-f Makefile.internal
2807 clean_libsmbclient_examples
:
2808 $(MAKE
) -C ..
/examples
/libsmbclient
-f Makefile.internal
clean