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]\+\)\?$$/@SYMSEXT@/'`
29 DSO_EXPORTS
=@DSO_EXPORTS@
30 SONAME_VER
=`grep \^$@ $(builddir)/library-versions | cut -d: -f2`
31 SHLD_DSO
= $(SHLD
) $(LDSHFLAGS
) $(DSO_EXPORTS
) -o
$@
33 # The MODULE_EXPORTS variable contains the platform-specific linker flags
34 # needed to restrict the exports for VFS, IDMAP, RPC and PASSDB modules.
35 MODULE_EXPORTS
=@MODULE_EXPORTS@
37 # Add $(DEVELOPER_CFLAGS) to $(CFLAGS) to enable extra compiler
38 # (GCC) warnings. This is done automtically for --enable-developer
39 # and --enable-krb5developer.
40 DEVELOPER_CFLAGS
=@DEVELOPER_CFLAGS@
42 CPPFLAGS
=-DHAVE_CONFIG_H @CPPFLAGS@
46 LDSHFLAGS
=@LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
47 LDFLAGS
=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@
49 WINBIND_NSS_LDSHFLAGS
=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@
57 TERMLDFLAGS
=@TERMLDFLAGS@
59 PRINT_LIBS
=@PRINT_LIBS@
62 PASSDB_LIBS
=@PASSDB_LIBS@
63 IDMAP_LIBS
=@IDMAP_LIBS@
68 WINBIND_LIBS
=@WINBIND_LIBS@
69 WINBIND_NSS_EXTRA_LIBS
=@WINBIND_NSS_EXTRA_LIBS@
70 WINBIND_NSS_PTHREAD
=@WINBIND_NSS_PTHREAD@
71 PAM_WINBIND_EXTRA_LIBS
=@PAM_WINBIND_EXTRA_LIBS@
72 DNSSD_LIBS
=@DNSSD_LIBS@
74 LIBTALLOC_LIBS
=@LIBTALLOC_LIBS@
75 LIBTDB_LIBS
=@LIBTDB_LIBS@
76 LIBNETAPI_LIBS
=@LIBNETAPI_LIBS@
79 INSTALLLIBCMD_SH
=@INSTALLLIBCMD_SH@
80 INSTALLLIBCMD_A
=@INSTALLLIBCMD_A@
81 UNINSTALLLIBCMD_SH
=@UNINSTALLLIBCMD_SH@
82 UNINSTALLLIBCMD_A
=@UNINSTALLLIBCMD_A@
86 builddir
=@abs_builddir@
90 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
91 # will search for a POSIX-compliant shell, and that might not be
92 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
94 # See the autoconf manual "Installation Directory Variables" for a
95 # discussion of the subtle use of these variables.
99 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
101 ROOTSBINDIR
= @rootsbindir@
103 INCLUDEDIR
=@
includedir@
104 PAMMODULESDIR
= @pammodulesdir@
105 VFSLIBDIR
= $(LIBDIR
)/vfs
106 PDBLIBDIR
= $(LIBDIR
)/pdb
107 RPCLIBDIR
= $(LIBDIR
)/rpc
108 IDMAPLIBDIR
= $(LIBDIR
)/idmap
109 NSSINFOLIBDIR
= $(LIBDIR
)/nss_info
110 CHARSETLIBDIR
= $(LIBDIR
)/charset
111 AUTHLIBDIR
= $(LIBDIR
)/auth
112 CONFIGLIBDIR
= $(LIBDIR
)/config
113 CONFIGDIR
= @configdir@
114 VARDIR
= @localstatedir@
118 # The permissions to give the executables and other data
119 INSTALLPERMS_BIN
= 0755
120 INSTALLPERMS_DATA
= 0644
122 # set these to where to find various files
123 # These can be overridden by command line switches (see smbd(8))
124 # or in smb.conf (see smb.conf(5))
125 LOGFILEBASE
= @logfilebase@
126 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
127 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 # the directory where lock files go
142 # FHS directories; equal to LOCKDIR if not using --with-fhs
143 CACHEDIR
= @cachedir@
144 STATEDIR
= @
statedir@
146 # Where to look for (and install) codepage databases.
147 CODEPAGEDIR
= @codepagedir@
149 # the directory where pid files go
152 LIBSMBCLIENT
=bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
153 LIBSMBSHAREMODES
=bin
/libsmbsharemodes.a @LIBSMBSHAREMODES_SHARED@
154 LIBADDNS
=bin
/libaddns.a @LIBADDNS_SHARED@
156 LIBWBCLIENT_SHARED_TARGET
=@LIBWBCLIENT_SHARED_TARGET@
157 LIBWBCLIENT_STATIC_TARGET
=@LIBWBCLIENT_STATIC_TARGET@
158 LIBWBCLIENT
=@LIBWBCLIENT_STATIC@ @LIBWBCLIENT_SHARED@
159 LIBWBCLIENT_SYMS
=$(srcdir)/exports
/libwbclient.@SYMSEXT@
160 LIBWBCLIENT_HEADERS
=$(srcdir)/nsswitch
/libwbclient
/wbclient.h
162 FLAGS1
= $(CFLAGS
) @FLAGS1@ @SAMBA_CPPFLAGS@
$(CPPFLAGS
)
165 FLAGS4
= -I
$(CTDBDIR
)/include
166 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
167 FLAGS
= $(ISA
) $(FLAGS5
) -I
$(srcdir)/lib
-D_SAMBA_BUILD_
=3
169 PATH_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" \
170 -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\" \
171 -DCONFIGFILE
=\"$(CONFIGFILE
)\" \
172 -DSBINDIR
=\"$(SBINDIR
)\" \
173 -DBINDIR
=\"$(BINDIR
)\" \
174 -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\" \
175 -DSWATDIR
=\"$(SWATDIR
)\" \
176 -DLOCKDIR
=\"$(LOCKDIR
)\" \
177 -DPIDDIR
=\"$(PIDDIR
)\" \
178 -DLIBDIR
=\"$(LIBDIR
)\" \
179 -DLOGFILEBASE
=\"$(LOGFILEBASE
)\" \
180 -DSHLIBEXT
=\"@SHLIBEXT@
\" \
181 -DCTDBDIR
=\"$(CTDBDIR
)\" \
182 -DCONFIGDIR
=\"$(CONFIGDIR
)\" \
183 -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\" \
184 -DCACHEDIR
=\"$(CACHEDIR
)\" \
185 -DSTATEDIR
=\"$(STATEDIR
)\"
187 # Note that all executable programs now provide for an optional executable suffix.
189 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ @SWAT_SBIN_TARGETS@ @EXTRA_SBIN_PROGS@
191 ROOT_SBIN_PROGS
= @CIFSMOUNT_PROGS@ @CIFSSPNEGO_PROGS@
193 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
194 bin
/testparm@EXEEXT@ bin
/smbstatus@EXEEXT@ bin
/smbget@EXEEXT@
195 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
196 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@ bin
/tdbdump@EXEEXT@ \
198 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
199 bin
/profiles@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
200 bin
/smbcquotas@EXEEXT@ bin
/eventlogadm@EXEEXT@
201 BIN_PROGS4
= bin
/ldbedit@EXEEXT@ bin
/ldbsearch@EXEEXT@ bin
/ldbadd@EXEEXT@ \
202 bin
/ldbdel@EXEEXT@ bin
/ldbmodify@EXEEXT@
204 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
205 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
206 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@ \
207 bin
/pdbtest@EXEEXT@ bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
208 bin
/tdbtorture@EXEEXT@ \
209 bin
/smbconftort@EXEEXT@
211 BIN_PROGS
= @EXTRA_BIN_PROGS@ \
212 $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) $(BIN_PROGS4
)
214 EVERYTHING_PROGS
= bin
/debug2html@EXEEXT@ bin
/smbfilter@EXEEXT@ \
215 bin
/talloctort@EXEEXT@ bin
/replacetort@EXEEXT@ \
216 bin
/log2pcap@EXEEXT@ bin
/sharesec@EXEEXT@ bin
/ndrdump@EXEEXT@ \
217 bin
/vlp@EXEEXT@ bin
/smbiconv@EXEEXT@
219 SHLIBS
= libtalloc libtdb @LIBWBCLIENT@ @LIBSMBCLIENT@ @LIBSMBSHAREMODES@ @LIBADDNS@ libnetapi
221 PAM_MODULES
= @PAM_MODULES@
223 NSS_MODULES
= @NSS_MODULES@
225 SCRIPTS
= $(srcdir)/script
/smbtar
$(builddir
)/script
/findsmb
227 VFS_MODULES
= @VFS_MODULES@
228 PDB_MODULES
= @PDB_MODULES@
229 RPC_MODULES
= @RPC_MODULES@
230 IDMAP_MODULES
= @IDMAP_MODULES@
231 CHARSET_MODULES
= @CHARSET_MODULES@
232 AUTH_MODULES
= @AUTH_MODULES@
233 NSS_INFO_MODULES
= @NSS_INFO_MODULES@
234 MODULES
= $(VFS_MODULES
) $(PDB_MODULES
) $(RPC_MODULES
) $(IDMAP_MODULES
) \
235 $(CHARSET_MODULES
) $(AUTH_MODULES
) $(NSS_INFO_MODULES
)
237 ######################################################################
239 ######################################################################
241 TDB_OBJ
= lib
/util_tdb.o \
242 lib
/dbwrap.o lib
/dbwrap_tdb.o \
243 lib
/dbwrap_tdb2.o lib
/dbwrap_ctdb.o \
244 lib
/dbwrap_rbt.o @LIBTDB_STATIC@
246 SMBLDAP_OBJ
= @SMBLDAP@ @SMBLDAPUTIL@
248 VERSION_OBJ
= lib
/version.o
250 WBCOMMON_OBJ
= nsswitch
/wb_common.o
254 AFS_SETTOKEN_OBJ
= lib
/afs_settoken.o
256 SERVER_MUTEX_OBJ
= lib
/server_mutex.o
258 PASSCHANGE_OBJ
= libsmb
/passchange.o
261 LIBNDR_OBJ
= librpc
/ndr
/ndr_basic.o \
263 librpc
/ndr
/ndr_misc.o \
264 librpc
/gen_ndr
/ndr_misc.o \
265 librpc
/gen_ndr
/ndr_security.o \
266 librpc
/ndr
/ndr_sec_helper.o \
267 librpc
/ndr
/ndr_string.o \
271 RPCCLIENT_NDR_OBJ
= rpc_client
/ndr.o
273 LIBNDR_GEN_OBJ0
= librpc
/gen_ndr
/ndr_samr.o \
274 librpc
/gen_ndr
/ndr_lsa.o
276 LIBNDR_GEN_OBJ1
= librpc
/gen_ndr
/ndr_netlogon.o
278 LIBNDR_GEN_OBJ
= librpc
/gen_ndr
/ndr_wkssvc.o \
280 librpc
/gen_ndr
/ndr_dfs.o \
281 librpc
/gen_ndr
/ndr_echo.o \
282 librpc
/gen_ndr
/ndr_winreg.o \
283 librpc
/gen_ndr
/ndr_initshutdown.o \
284 librpc
/gen_ndr
/ndr_srvsvc.o \
285 librpc
/gen_ndr
/ndr_eventlog.o \
287 librpc
/gen_ndr
/ndr_dssetup.o \
288 librpc
/gen_ndr
/ndr_notify.o \
289 librpc
/gen_ndr
/ndr_xattr.o \
290 librpc
/gen_ndr
/ndr_ntsvcs.o
292 RPC_PARSE_OBJ0
= rpc_parse
/parse_prs.o rpc_parse
/parse_misc.o
294 # this includes only the low level parse code, not stuff
295 # that requires knowledge of security contexts
296 RPC_PARSE_OBJ1
= $(RPC_PARSE_OBJ0
) rpc_parse
/parse_sec.o
298 RPC_PARSE_OBJ2
= rpc_parse
/parse_rpc.o \
299 rpc_client
/init_netlogon.o \
300 rpc_client
/init_lsa.o \
301 rpc_client
/init_srvsvc.o
303 LIBREPLACE_OBJ
= @LIBREPLACE_OBJS@
305 SOCKET_WRAPPER_OBJ
= @SOCKET_WRAPPER_OBJS@
306 NSS_WRAPPER_OBJ
= @NSS_WRAPPER_OBJS@
308 LIBSAMBAUTIL_OBJ
= @LIBTALLOC_STATIC@ \
310 $(SOCKET_WRAPPER_OBJ
) \
313 LIB_WITHOUT_PROTO_OBJ
= $(LIBSAMBAUTIL_OBJ
) \
314 lib
/messages.o librpc
/gen_ndr
/ndr_messaging.o lib
/messages_local.o \
315 lib
/messages_ctdbd.o lib
/packet.o lib
/ctdbd_conn.o lib
/talloc_stack.o \
316 lib
/interfaces.o lib
/rbtree.o lib
/memcache.o \
317 lib
/util_transfer_file.o lib
/async_req.o \
320 LIB_WITH_PROTO_OBJ
= $(VERSION_OBJ
) lib
/charcnv.o lib
/debug.o lib
/fault.o \
321 lib
/interface.o lib
/md4.o \
323 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/recvfile.o lib
/time.o \
324 lib
/ufc.o lib
/genrand.o lib
/username.o \
325 lib
/util_pw.o lib
/access.o lib
/smbrun.o \
326 lib
/bitmap.o lib
/crc32.o lib
/dprintf.o \
327 lib
/xfile.o lib
/wins_srv.o
$(UTIL_REG_OBJ
) \
328 lib
/util_str.o lib
/clobber.o lib
/util_sid.o lib
/util_uuid.o \
329 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
330 lib
/util.o lib
/util_sock.o lib
/sock_exec.o lib
/util_sec.o \
331 lib
/substitute.o lib
/fsusage.o lib
/dbwrap_util.o \
332 lib
/ms_fnmatch.o lib
/select.o lib
/errmap_unix.o \
333 lib
/tallocmsg.o lib
/dmallocmsg.o libsmb
/smb_signing.o \
334 lib
/md5.o lib
/hmacmd5.o lib
/arc4.o lib
/iconv.o \
335 lib
/pam_errors.o intl
/lang_tdb.o lib
/conn_tdb.o \
336 lib
/adt_tree.o lib
/gencache.o \
337 lib
/module.o lib
/events.o lib
/ldap_escape.o @CHARSET_STATIC@ \
338 lib
/secdesc.o lib
/util_seaccess.o lib
/secace.o lib
/secacl.o \
339 libads
/krb5_errs.o lib
/system_smbd.o lib
/audit.o
$(LIBNDR_OBJ
) \
342 LIB_OBJ
= $(LIB_WITHOUT_PROTO_OBJ
) $(LIB_WITH_PROTO_OBJ
)
344 LIB_DUMMY_OBJ
= lib
/dummysmbd.o lib
/dummyroot.o
345 LIB_NONSMBD_OBJ
= $(LIB_OBJ
) $(LIB_DUMMY_OBJ
)
347 READLINE_OBJ
= lib
/readline.o
349 # Also depends on $(SECRETS_OBJ) $(LIBSAMBA_OBJ)
350 # Be sure to include them into your application
351 POPT_LIB_OBJ
= lib
/popt_common.o
353 PARAM_WITHOUT_REG_OBJ
= dynconfig.o param
/loadparm.o param
/params.o param
/util.o lib
/sharesec.o lib
/ldap_debug_handler.o
354 PARAM_REG_ADD_OBJ
= $(REG_SMBCONF_OBJ
) $(LIBSMBCONF_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
355 PARAM_OBJ
= $(PARAM_WITHOUT_REG_OBJ
) $(PARAM_REG_ADD_OBJ
)
357 KRBCLIENT_OBJ
= libads
/kerberos.o libads
/ads_status.o
359 LIBADDNS_OBJ0
= libaddns
/dnsrecord.o libaddns
/dnsutils.o libaddns
/dnssock.o \
360 libaddns
/dnsgss.o libaddns
/dnsmarshall.o
361 LIBADDNS_OBJ
= $(LIBADDNS_OBJ0
) $(SOCKET_WRAPPER_OBJ
) @LIBTALLOC_STATIC@
363 LIBWBCLIENT_OBJ0
= nsswitch
/libwbclient
/wbclient.o \
364 nsswitch
/libwbclient
/wbc_util.o \
365 nsswitch
/libwbclient
/wbc_pwd.o \
366 nsswitch
/libwbclient
/wbc_idmap.o \
367 nsswitch
/libwbclient
/wbc_sid.o \
368 nsswitch
/libwbclient
/wbc_pam.o
369 LIBWBCLIENT_OBJ
= $(LIBWBCLIENT_OBJ0
) \
371 @LIBTALLOC_STATIC@
$(LIBREPLACE_OBJ
)
373 LIBGPO_OBJ0
= libgpo
/gpo_ldap.o libgpo
/gpo_ini.o libgpo
/gpo_util.o \
374 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 librpc
/gen_ndr
/ndr_nbt.o \
392 librpc
/gen_ndr
/ndr_svcctl.o
394 LIBNMB_OBJ
= libsmb
/unexpected.o libsmb
/namecache.o libsmb
/nmblib.o \
395 libsmb
/namequery.o libsmb
/conncache.o libads
/dns.o
397 NTERR_OBJ
= libsmb
/nterr.o
398 DOSERR_OBJ
= libsmb
/doserr.o
399 ERRORMAP_OBJ
= libsmb
/errormap.o
400 DCE_RPC_ERR_OBJ
= libsmb
/dcerpc_err.o
402 LIBSMB_ERR_OBJ0
= $(NTERR_OBJ
) $(DOSERR_OBJ
) $(ERRORMAP_OBJ
) $(DCE_RPC_ERR_OBJ
) \
403 libsmb
/smbdes.o libsmb
/smbencrypt.o libsmb
/ntlmssp_parse.o
405 LIBSMB_ERR_OBJ
= $(LIBSMB_ERR_OBJ0
) \
410 libsmb
/ntlm_check.o \
412 libsmb
/ntlmssp_sign.o
414 LIBSAMBA_OBJ
= $(LIBSMB_OBJ0
) \
417 CLDAP_OBJ
= libads
/cldap.o
419 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
420 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
421 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
422 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
423 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
424 libsmb
/clistr.o libsmb
/cliquota.o libsmb
/clifsinfo.o libsmb
/clidfs.o \
425 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
426 libsmb
/clioplock.o libsmb
/clirap2.o \
427 libsmb
/smb_seal.o libsmb
/async_smb.o \
433 RPC_CLIENT_OBJ1
= rpc_client
/cli_netlogon.o
435 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
436 $(RPC_CLIENT_OBJ1
) rpc_client
/cli_reg.o
$(RPC_CLIENT_OBJ
) \
437 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
438 rpc_client
/cli_svcctl.o \
439 rpc_client
/init_samr.o
441 LIBMSRPC_GEN_OBJ
= librpc
/gen_ndr
/cli_lsa.o \
442 librpc
/gen_ndr
/cli_dfs.o \
443 librpc
/gen_ndr
/cli_echo.o \
444 librpc
/gen_ndr
/cli_srvsvc.o \
445 librpc
/gen_ndr
/cli_svcctl.o \
446 librpc
/gen_ndr
/cli_winreg.o \
447 librpc
/gen_ndr
/cli_initshutdown.o \
448 librpc
/gen_ndr
/cli_eventlog.o \
449 librpc
/gen_ndr
/cli_wkssvc.o \
450 librpc
/gen_ndr
/cli_netlogon.o \
451 librpc
/gen_ndr
/cli_samr.o \
452 librpc
/gen_ndr
/cli_dssetup.o \
453 librpc
/gen_ndr
/cli_ntsvcs.o \
458 # registry-related objects
460 UTIL_REG_OBJ
= lib
/util_reg.o
461 UTIL_REG_API_OBJ
= lib
/util_reg_api.o
463 REG_INIT_BASIC_OBJ
= registry
/reg_init_basic.o
464 REG_INIT_SMBCONF_OBJ
= registry
/reg_init_smbconf.o
465 REG_INIT_FULL_OBJ
= registry
/reg_init_full.o
467 REGFIO_OBJ
= registry
/regfio.o
469 REGOBJS_OBJ
= registry
/reg_objects.o
471 REG_BACKENDS_BASE_OBJ
= registry
/reg_backend_db.o
473 REG_BACKENDS_SMBCONF_OBJ
= registry
/reg_backend_smbconf.o
475 REG_BACKENDS_EXTRA_OBJ
= registry
/reg_backend_printing.o \
476 registry
/reg_backend_shares.o \
477 registry
/reg_backend_netlogon_params.o \
478 registry
/reg_backend_prod_options.o \
479 registry
/reg_backend_tcpip_params.o \
480 registry
/reg_backend_hkpt_params.o \
481 registry
/reg_backend_current_version.o \
482 registry
/reg_backend_perflib.o
484 REG_BASE_OBJ
= registry
/reg_api.o \
485 registry
/reg_dispatcher.o \
486 registry
/reg_cachehook.o \
489 registry
/reg_util.o \
490 $(UTIL_REG_API_OBJ
) \
492 $(REG_BACKENDS_BASE_OBJ
) \
493 $(REG_INIT_BASIC_OBJ
)
495 REG_SMBCONF_OBJ
= $(REG_BASE_OBJ
) \
496 $(REG_BACKENDS_SMBCONF_OBJ
) \
497 $(REG_INIT_SMBCONF_OBJ
)
499 REG_FULL_OBJ
= $(REG_SMBCONF_OBJ
) \
500 $(REG_BACKENDS_EXTRA_OBJ
) \
501 $(REG_INIT_FULL_OBJ
) \
502 registry
/reg_eventlog.o \
503 registry
/reg_perfcount.o \
504 registry
/reg_util_legacy.o
507 RPC_LSA_OBJ
= rpc_server
/srv_lsa_nt.o librpc
/gen_ndr
/srv_lsa.o
509 RPC_NETLOG_OBJ
= rpc_server
/srv_netlog_nt.o \
510 librpc
/gen_ndr
/srv_netlogon.o
512 RPC_SAMR_OBJ
= rpc_server
/srv_samr_nt.o \
513 rpc_server
/srv_samr_util.o \
514 librpc
/gen_ndr
/srv_samr.o
516 RPC_INITSHUTDOWN_OBJ
= librpc
/gen_ndr
/srv_initshutdown.o rpc_server
/srv_initshutdown_nt.o
518 RPC_REG_OBJ
= rpc_server
/srv_winreg_nt.o \
519 librpc
/gen_ndr
/srv_winreg.o
521 RPC_DSSETUP_OBJ
= rpc_server
/srv_dssetup_nt.o librpc
/gen_ndr
/srv_dssetup.o
523 RPC_SVC_OBJ
= rpc_server
/srv_srvsvc_nt.o \
524 librpc
/gen_ndr
/srv_srvsvc.o
526 RPC_WKS_OBJ
= librpc
/gen_ndr
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o
528 RPC_SVCCTL_OBJ
= rpc_server
/srv_svcctl.o rpc_server
/srv_svcctl_nt.o \
529 librpc
/gen_ndr
/srv_svcctl.o \
530 services
/svc_spoolss.o services
/svc_rcinit.o services
/services_db.o \
531 services
/svc_netlogon.o services
/svc_winreg.o \
534 RPC_NTSVCS_OBJ
= rpc_server
/srv_ntsvcs.o rpc_server
/srv_ntsvcs_nt.o \
535 librpc
/gen_ndr
/srv_ntsvcs.o
537 RPC_DFS_OBJ
= librpc
/gen_ndr
/srv_dfs.o rpc_server
/srv_dfs_nt.o
539 RPC_SPOOLSS_OBJ
= rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
541 RPC_EVENTLOG_OBJ
= rpc_server
/srv_eventlog.o rpc_server
/srv_eventlog_nt.o \
542 rpc_server
/srv_eventlog_lib.o librpc
/gen_ndr
/srv_eventlog.o
544 RPC_PIPE_OBJ
= rpc_server
/srv_pipe_hnd.o \
545 rpc_server
/srv_pipe.o rpc_server
/srv_lsa_hnd.o
547 RPC_ECHO_OBJ
= rpc_server
/srv_echo_nt.o librpc
/gen_ndr
/srv_echo.o
549 RPC_SERVER_OBJ
= @RPC_STATIC@
$(RPC_PIPE_OBJ
)
551 RPC_PARSE_OBJ
= $(RPC_PARSE_OBJ2
) \
552 rpc_parse
/parse_spoolss.o \
553 rpc_parse
/parse_eventlog.o rpc_parse
/parse_buffer.o \
554 rpc_parse
/parse_ntsvcs.o rpc_parse
/parse_svcctl.o
556 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
558 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
560 PRIVILEGES_BASIC_OBJ
= lib
/privileges_basic.o
562 PRIVILEGES_OBJ
= lib
/privileges.o
564 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
566 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
567 passdb
/util_wellknown.o passdb
/util_builtin.o passdb
/pdb_compat.o \
568 passdb
/util_unixsids.o passdb
/lookup_sid.o \
569 passdb
/login_cache.o @PDB_STATIC@ \
570 lib
/account_pol.o
$(PRIVILEGES_OBJ
) \
571 lib
/util_nscd.o lib
/winbind_util.o
573 DEVEL_HELP_WEIRD_OBJ
= modules
/weird.o
574 CP850_OBJ
= modules
/CP850.o
575 CP437_OBJ
= modules
/CP437.o
576 CHARSET_MACOSXFS_OBJ
= modules
/charset_macosxfs.o
578 GROUPDB_OBJ
= groupdb
/mapping.o groupdb
/mapping_tdb.o groupdb
/mapping_ldb.o
580 PROFILE_OBJ
= profile
/profile.o
581 PROFILES_OBJ
= utils
/profiles.o \
584 $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) \
587 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
589 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_inotify.o smbd
/notify_internal.o
591 VFS_DEFAULT_OBJ
= modules
/vfs_default.o
592 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
593 VFS_EXTD_AUDIT_OBJ
= modules
/vfs_extd_audit.o
594 VFS_FULL_AUDIT_OBJ
= modules
/vfs_full_audit.o
595 VFS_FAKE_PERMS_OBJ
= modules
/vfs_fake_perms.o
596 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
597 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
598 VFS_DEFAULT_QUOTA_OBJ
= modules
/vfs_default_quota.o
599 VFS_READONLY_OBJ
= modules
/vfs_readonly.o modules
/getdate.o
600 VFS_CAP_OBJ
= modules
/vfs_cap.o
601 VFS_EXPAND_MSDFS_OBJ
= modules
/vfs_expand_msdfs.o
602 VFS_SHADOW_COPY_OBJ
= modules
/vfs_shadow_copy.o
603 VFS_SHADOW_COPY2_OBJ
= modules
/vfs_shadow_copy2.o
604 VFS_AFSACL_OBJ
= modules
/vfs_afsacl.o
605 VFS_XATTR_TDB_OBJ
= modules
/vfs_xattr_tdb.o
606 VFS_POSIXACL_OBJ
= modules
/vfs_posixacl.o
607 VFS_AIXACL_OBJ
= modules
/vfs_aixacl.o modules
/vfs_aixacl_util.o
608 VFS_AIXACL2_OBJ
= modules
/vfs_aixacl2.o modules
/vfs_aixacl_util.o modules
/nfs4_acls.o
609 VFS_SOLARISACL_OBJ
= modules
/vfs_solarisacl.o
610 VFS_ZFSACL_OBJ
= modules
/vfs_zfsacl.o modules
/nfs4_acls.o
611 VFS_HPUXACL_OBJ
= modules
/vfs_hpuxacl.o
612 VFS_IRIXACL_OBJ
= modules
/vfs_irixacl.o
613 VFS_TRU64ACL_OBJ
= modules
/vfs_tru64acl.o
614 VFS_CATIA_OBJ
= modules
/vfs_catia.o
615 VFS_STREAMS_XATTR_OBJ
= modules
/vfs_streams_xattr.o
616 VFS_STREAMS_DEPOT_OBJ
= modules
/vfs_streams_depot.o
617 VFS_CACHEPRIME_OBJ
= modules
/vfs_cacheprime.o
618 VFS_PREALLOC_OBJ
= modules
/vfs_prealloc.o
619 VFS_COMMIT_OBJ
= modules
/vfs_commit.o
620 VFS_GPFS_OBJ
= modules
/vfs_gpfs.o modules
/gpfs.o modules
/nfs4_acls.o
621 VFS_NOTIFY_FAM_OBJ
= modules
/vfs_notify_fam.o
622 VFS_READAHEAD_OBJ
= modules
/vfs_readahead.o
623 VFS_TSMSM_OBJ
= modules
/vfs_tsmsm.o
624 VFS_FILEID_OBJ
= modules
/vfs_fileid.o
625 VFS_AIO_FORK_OBJ
= modules
/vfs_aio_fork.o
626 VFS_SYNCOPS_OBJ
= modules
/vfs_syncops.o
628 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
630 SLCACHE_OBJ
= libsmb
/samlogon_cache.o
632 DCUTIL_OBJ
= libsmb
/namequery_dc.o libsmb
/trustdom_cache.o libsmb
/trusts_util.o libsmb
/dsgetdcname.o
634 AUTH_BUILTIN_OBJ
= auth
/auth_builtin.o
635 AUTH_DOMAIN_OBJ
= auth
/auth_domain.o
636 AUTH_SAM_OBJ
= auth
/auth_sam.o
637 AUTH_SERVER_OBJ
= auth
/auth_server.o
638 AUTH_UNIX_OBJ
= auth
/auth_unix.o
639 AUTH_WINBIND_OBJ
= auth
/auth_winbind.o
640 AUTH_SCRIPT_OBJ
= auth
/auth_script.o
642 AUTH_OBJ
= auth
/auth.o @AUTH_STATIC@ auth
/auth_util.o auth
/token_util.o \
643 auth
/auth_compat.o auth
/auth_ntlmssp.o \
644 $(PLAINTEXT_AUTH_OBJ
) $(SLCACHE_OBJ
) $(DCUTIL_OBJ
)
646 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_hash2.o
648 SMBD_OBJ_MAIN
= smbd
/server.o
650 BUILDOPT_OBJ
= smbd
/build_options.o
652 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
653 smbd
/utmp.o smbd
/session.o smbd
/map_username.o \
654 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o \
655 smbd
/share_access.o smbd
/fileio.o \
656 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
657 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
658 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
659 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
660 smbd
/blocking.o smbd
/sec_ctx.o smbd
/srvstr.o \
661 smbd
/vfs.o smbd
/statcache.o smbd
/seal.o \
662 smbd
/posix_acls.o lib
/sysacls.o
$(SERVER_MUTEX_OBJ
) \
663 smbd
/process.o smbd
/service.o smbd
/error.o \
664 printing
/printfsp.o lib
/sysquotas.o lib
/sysquotas_linux.o \
665 lib
/sysquotas_xfs.o lib
/sysquotas_4A.o \
666 smbd
/change_trust_pw.o smbd
/fake_file.o \
667 smbd
/quotas.o smbd
/ntquotas.o
$(AFS_OBJ
) smbd
/msdfs.o \
668 $(AFS_SETTOKEN_OBJ
) smbd
/aio.o smbd
/statvfs.o \
672 $(MANGLE_OBJ
) @VFS_STATIC@
674 SMBD_OBJ_BASE
= $(PARAM_WITHOUT_REG_OBJ
) $(SMBD_OBJ_SRV
) $(LIBSMB_OBJ
) \
675 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
676 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
677 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) \
678 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
679 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
680 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(LIBADS_SERVER_OBJ
) \
681 $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) $(BUILDOPT_OBJ
) \
682 $(SMBLDAP_OBJ
) $(LDB_OBJ
) $(LIBNET_OBJ
) @LIBWBCLIENT_STATIC@ \
684 $(PRIVILEGES_BASIC_OBJ
)
686 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o printing
/print_aix.o \
687 printing
/print_cups.o printing
/print_generic.o \
688 printing
/lpq_parse.o printing
/load.o \
689 printing
/print_iprint.o
691 PRINTBASE_OBJ
= printing
/notify.o printing
/printing_db.o
692 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
$(PRINTBASE_OBJ
)
694 SMBD_OBJ
= $(SMBD_OBJ_BASE
) $(SMBD_OBJ_MAIN
)
696 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
697 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
698 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
699 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
700 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
701 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
702 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
703 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
704 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
705 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
706 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
707 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o smbd
/connection.o
709 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
710 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
713 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
714 web
/swat.o web
/neg_lang.o
716 SWAT_OBJ
= $(SWAT_OBJ1
) $(PARAM_OBJ
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) \
717 $(LOCKING_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(KRBCLIENT_OBJ
) \
718 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
) \
719 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
720 $(PASSCHANGE_OBJ
) $(LDB_OBJ
)
722 STATUS_OBJ
= utils
/status.o utils
/status_profile.o \
723 $(LOCKING_OBJ
) $(PARAM_OBJ
) \
724 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
727 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
728 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
732 SMBTREE_OBJ
= utils
/smbtree.o
$(PARAM_OBJ
) \
733 $(PROFILE_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBSMB_OBJ
) \
734 $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
735 rpc_client
/cli_pipe.o
$(RPC_PARSE_OBJ2
) \
737 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(LDB_OBJ
) $(GROUPDB_OBJ
) \
740 TESTPARM_OBJ
= utils
/testparm.o \
741 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
744 PASSWD_UTIL_OBJ
= utils
/passwd_util.o
746 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PASSWD_UTIL_OBJ
) $(PASSCHANGE_OBJ
) \
747 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
748 $(GROUPDB_OBJ
) $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
749 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) $(RPC_PARSE_OBJ
) \
750 $(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) $(LDB_OBJ
)
752 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PASSWD_UTIL_OBJ
) $(PARAM_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
754 $(LIB_NONSMBD_OBJ
) $(GROUPDB_OBJ
) \
755 $(POPT_LIB_OBJ
) $(SMBLDAP_OBJ
) libsmb
/asn1.o \
758 SMBGET_OBJ
= utils
/smbget.o
$(POPT_LIB_OBJ
) $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
760 DISPLAY_SEC_OBJ
= lib
/display_sec.o
762 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
763 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
764 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
765 rpcclient
/cmd_dfs.o \
766 rpcclient
/cmd_dssetup.o rpcclient
/cmd_echo.o \
767 rpcclient
/cmd_shutdown.o rpcclient
/cmd_test.o \
768 rpcclient
/cmd_wkssvc.o rpcclient
/cmd_ntsvcs.o \
771 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
772 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
773 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(LIBMSRPC_GEN_OBJ
) $(LIBMSRPC_OBJ
) \
774 $(READLINE_OBJ
) $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) \
775 $(LIBADS_OBJ
) $(POPT_LIB_OBJ
) \
776 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(LDB_OBJ
)
778 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.o
$(WBCOMMON_OBJ
) \
779 $(LIBREPLACE_OBJ
) @BUILD_INIPARSER@
781 LIBSMBCLIENT_OBJ0
= \
782 libsmb
/libsmb_cache.o \
783 libsmb
/libsmb_compat.o \
784 libsmb
/libsmb_context.o \
785 libsmb
/libsmb_dir.o \
786 libsmb
/libsmb_file.o \
787 libsmb
/libsmb_misc.o \
788 libsmb
/libsmb_path.o \
789 libsmb
/libsmb_printjob.o \
790 libsmb
/libsmb_server.o \
791 libsmb
/libsmb_stat.o \
792 libsmb
/libsmb_xattr.o \
793 libsmb
/libsmb_setget.o
795 LIBSMBCLIENT_OBJ1
= $(LIBSMBCLIENT_OBJ0
) \
796 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
797 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
798 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
799 $(PASSDB_OBJ
) $(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
801 LIBSMBCLIENT_OBJ
= $(LIBSMBCLIENT_OBJ1
) @LIBWBCLIENT_STATIC@
803 LIBSMBSHAREMODES_OBJ0
= libsmb
/smb_share_modes.o
804 LIBSMBSHAREMODES_OBJ
= $(LIBSMBSHAREMODES_OBJ0
) @LIBTDB_STATIC@
806 # This shared library is intended for linking with unit test programs
807 # to test Samba internals. It's called libbigballofmud.so to
808 # discourage casual usage.
810 LIBBIGBALLOFMUD_MAJOR
= 0
812 LIBBIGBALLOFMUD_OBJ
= $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
813 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@ \
814 $(GROUPDB_OBJ
) $(KRBCLIENT_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
816 CLIENT_OBJ1
= client
/client.o client
/clitar.o rpc_client
/cli_pipe.o \
821 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
822 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
823 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
824 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
827 LIBSMBCONF_OBJ
= lib
/smbconf
/smbconf.o lib
/smbconf
/smbconf_util.o \
828 lib
/smbconf
/smbconf_reg.o \
829 lib
/smbconf
/smbconf_txt.o \
830 lib
/smbconf
/smbconf_init.o
832 SMBCONFTORT_OBJ0
= lib
/smbconf
/testsuite.o
834 SMBCONFTORT_OBJ
= $(SMBCONFTORT_OBJ0
) \
840 LIBNET_OBJ
= libnet
/libnet_join.o \
841 libnet
/libnet_samsync.o \
842 librpc
/gen_ndr
/ndr_libnet_join.o
844 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_help.o \
845 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
846 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
847 utils
/net_cache.o utils
/net_groupmap.o utils
/net_idmap.o \
848 utils
/net_status.o utils
/net_rpc_printer.o utils
/net_rpc_rights.o \
849 utils
/net_rpc_service.o utils
/net_rpc_registry.o utils
/net_usershare.o \
850 utils
/netlookup.o utils
/net_sam.o utils
/net_rpc_shell.o \
851 utils
/net_util.o utils
/net_rpc_sh_acct.o utils
/net_rpc_audit.o \
852 $(PASSWD_UTIL_OBJ
) utils
/net_dns.o utils
/net_ads_gpo.o \
854 utils
/net_registry.o \
855 auth
/token_util.o utils
/net_dom.o
857 # these are not processed by make proto
858 NET_OBJ2
= utils
/net_registry_util.o
860 NET_OBJ
= $(NET_OBJ1
) \
862 $(PARAM_WITHOUT_REG_OBJ
) $(LIBSMB_OBJ
) \
863 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
864 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBADDNS_OBJ0
) \
865 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
866 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
) \
867 $(SMBLDAP_OBJ
) $(DCUTIL_OBJ
) $(SERVER_MUTEX_OBJ
) \
868 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) $(READLINE_OBJ
) \
869 $(LDB_OBJ
) $(LIBGPO_OBJ
) @BUILD_INIPARSER@
$(DISPLAY_SEC_OBJ
) \
870 $(REG_SMBCONF_OBJ
) @LIBNETAPI_STATIC@
$(LIBNET_OBJ
) \
872 @LIBWBCLIENT_STATIC@ \
873 $(PRIVILEGES_BASIC_OBJ
)
875 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
876 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
879 CIFS_MOUNT_OBJ
= client
/mount.cifs.o
881 CIFS_UMOUNT_OBJ
= client
/umount.cifs.o
883 CIFS_SPNEGO_OBJ
= client
/cifs.spnego.o
885 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(LIBNMB_OBJ
) \
886 $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
888 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
889 torture
/denytest.o torture
/mangle_test.o
891 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) $(PARAM_OBJ
) \
892 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
895 MASKTEST_OBJ
= torture
/masktest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
899 MSGTEST_OBJ
= torture
/msgtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
903 LOCKTEST_OBJ
= torture
/locktest.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(KRBCLIENT_OBJ
) \
904 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) \
907 NSSTEST_OBJ
= torture
/nsstest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
911 PDBTEST_OBJ
= torture
/pdbtest.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
912 $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
913 $(SMBLDAP_OBJ
) $(POPT_LIB_OBJ
) $(LDB_OBJ
) \
916 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
918 SMBICONV_OBJ
= $(PARAM_OBJ
) torture
/smbiconv.o
$(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) $(LIBSAMBA_OBJ
)
920 LOG2PCAP_OBJ
= utils
/log2pcaphex.o
922 LOCKTEST2_OBJ
= torture
/locktest2.o
$(PARAM_OBJ
) $(LOCKING_OBJ
) $(LIBSMB_OBJ
) \
923 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) \
926 SMBCACLS_OBJ
= utils
/smbcacls.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
927 $(KRBCLIENT_OBJ
) $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
928 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
929 $(POPT_LIB_OBJ
) $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(SMBLDAP_OBJ
) $(LDB_OBJ
)
931 SMBCQUOTAS_OBJ
= utils
/smbcquotas.o
$(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
933 $(LIB_NONSMBD_OBJ
) $(RPC_PARSE_OBJ
) \
934 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(POPT_LIB_OBJ
) \
935 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
)
937 EVTLOGADM_OBJ0
= utils
/eventlogadm.o
939 EVTLOGADM_OBJ
= $(EVTLOGADM_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
941 registry
/reg_eventlog.o rpc_server
/srv_eventlog_lib.o
943 SHARESEC_OBJ0
= utils
/sharesec.o
944 SHARESEC_OBJ
= $(SHARESEC_OBJ0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
948 TALLOCTORT_OBJ
= @tallocdir@
/testsuite.o
$(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
951 REPLACETORT_OBJ
= lib
/replace
/test/testsuite.o \
952 lib
/replace
/test/getifaddrs.o \
953 lib
/replace
/test/os2_delete.o \
954 lib
/replace
/test/strptime.o \
957 NDRDUMP_OBJ
= librpc
/tools
/ndrdump.o \
958 $(PARAM_OBJ
) $(LIBNDR_GEN_OBJ
) \
959 $(LIBSAMBA_OBJ
) $(LIB_NONSMBD_OBJ
) $(POPT_LIB_OBJ
) \
960 librpc
/gen_ndr
/ndr_svcctl.o
962 DEBUG2HTML_OBJ
= utils
/debug2html.o utils
/debugparse.o
964 SMBFILTER_OBJ
= utils
/smbfilter.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) \
965 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) \
968 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) $(LIBNDR_OBJ
) $(LIBNDR_GEN_OBJ
) \
969 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(LIBSMB_OBJ
) \
970 $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
972 $(LIB_WITH_PROTO_OBJ
) \
973 $(RPC_PIPE_OBJ
) $(RPC_PARSE_OBJ
) $(KRBCLIENT_OBJ
) \
974 $(AUTH_OBJ
) $(PARAM_WITHOUT_REG_OBJ
) $(LOCKING_OBJ
) \
975 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
976 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
977 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
978 $(AUTH_SAM_OBJ
) $(REG_FULL_OBJ
) $(POPT_LIB_OBJ
) \
979 $(RPC_LSA_OBJ
) $(RPC_NETLOG_OBJ
) $(RPC_SAMR_OBJ
) $(RPC_REG_OBJ
) $(RPC_DSSETUP_OBJ
) \
980 $(RPC_SVC_OBJ
) $(RPC_WKS_OBJ
) $(RPC_DFS_OBJ
) $(RPC_SPOOLSS_OBJ
) \
981 $(RPC_ECHO_OBJ
) $(RPC_SVCCTL_OBJ
) $(RPC_EVENTLOG_OBJ
) $(SMBLDAP_OBJ
) \
982 $(IDMAP_OBJ
) libsmb
/spnego.o
$(PASSCHANGE_OBJ
) \
983 $(RPC_NTSVCS_OBJ
) $(RPC_INITSHUTDOWN_OBJ
) \
984 utils
/passwd_util.o
$(LIBGPO_OBJ
) $(NSS_INFO_OBJ
) \
985 $(RPCCLIENT_NDR_OBJ
) \
986 $(PRIVILEGES_BASIC_OBJ
)
988 WINBIND_WINS_NSS_OBJ
= nsswitch
/wins.o
$(PARAM_OBJ
) \
989 $(LIBSMB_OBJ
) $(LIB_NONSMBD_OBJ
) $(NSSWINS_OBJ
) $(KRBCLIENT_OBJ
) \
992 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
993 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o
994 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
995 $(SMBLDAP_OBJ
) $(LIBSAMBA_OBJ
) \
998 IDMAP_OBJ
= winbindd
/idmap.o winbindd
/idmap_cache.o winbindd
/idmap_util.o @IDMAP_STATIC@
1000 NSS_INFO_OBJ
= winbindd
/nss_info.o @NSS_INFO_STATIC@
1003 winbindd
/winbindd.o \
1004 winbindd
/winbindd_user.o \
1005 winbindd
/winbindd_group.o \
1006 winbindd
/winbindd_util.o \
1007 winbindd
/winbindd_cache.o \
1008 winbindd
/winbindd_pam.o \
1009 winbindd
/winbindd_sid.o \
1010 winbindd
/winbindd_misc.o \
1011 winbindd
/winbindd_cm.o \
1012 winbindd
/winbindd_wins.o \
1013 winbindd
/winbindd_rpc.o \
1014 winbindd
/winbindd_reconnect.o \
1015 winbindd
/winbindd_ads.o \
1016 winbindd
/winbindd_passdb.o \
1017 winbindd
/winbindd_dual.o \
1018 winbindd
/winbindd_async.o \
1019 winbindd
/winbindd_creds.o \
1020 winbindd
/winbindd_cred_cache.o \
1021 winbindd
/winbindd_ccache_access.o \
1022 winbindd
/winbindd_domain.o \
1023 winbindd
/winbindd_idmap.o \
1024 winbindd
/winbindd_locator.o \
1025 winbindd
/winbindd_ndr.o \
1030 $(WINBINDD_OBJ1
) $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(GROUPDB_OBJ
) \
1031 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1032 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1033 $(PROFILE_OBJ
) $(SLCACHE_OBJ
) $(SMBLDAP_OBJ
) \
1034 $(LIBADS_OBJ
) $(KRBCLIENT_OBJ
) $(POPT_LIB_OBJ
) \
1035 $(DCUTIL_OBJ
) $(IDMAP_OBJ
) $(NSS_INFO_OBJ
) \
1036 $(AFS_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1037 $(LIBADS_SERVER_OBJ
) $(SERVER_MUTEX_OBJ
) $(LDB_OBJ
)
1039 WBINFO_OBJ
= nsswitch
/wbinfo.o
$(LIBSAMBA_OBJ
) $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) \
1040 $(POPT_LIB_OBJ
) $(AFS_SETTOKEN_OBJ
) \
1041 lib
/winbind_util.o
$(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@
1043 WINBIND_NSS_OBJ
= $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
) @WINBIND_NSS_EXTRA_OBJS@
1045 LDB_COMMON_OBJ
=lib
/ldb
/common
/ldb.o lib
/ldb
/common
/ldb_ldif.o \
1046 lib
/ldb
/common
/ldb_parse.o lib
/ldb
/common
/ldb_msg.o lib
/ldb
/common
/ldb_utf8.o \
1047 lib
/ldb
/common
/ldb_debug.o lib
/ldb
/common
/ldb_modules.o \
1048 lib
/ldb
/common
/ldb_dn.o lib
/ldb
/common
/ldb_match.o lib
/ldb
/common
/ldb_attributes.o \
1049 lib
/ldb
/common
/attrib_handlers.o lib
/ldb
/common
/ldb_controls.o lib
/ldb
/common
/qsort.o
1051 LDB_TDB_OBJ
=lib
/ldb
/ldb_tdb
/ldb_tdb.o \
1052 lib
/ldb
/ldb_tdb
/ldb_pack.o lib
/ldb
/ldb_tdb
/ldb_search.o lib
/ldb
/ldb_tdb
/ldb_index.o \
1053 lib
/ldb
/ldb_tdb
/ldb_cache.o lib
/ldb
/ldb_tdb
/ldb_tdb_wrap.o
1055 LDB_MODULES_OBJ
=lib
/ldb
/modules
/operational.o lib
/ldb
/modules
/rdn_name.o \
1056 lib
/ldb
/modules
/objectclass.o \
1057 lib
/ldb
/modules
/paged_results.o lib
/ldb
/modules
/sort.o lib
/ldb
/modules
/asq.o
1059 # enabled in configure.in
1060 LDB_LDAP_OBJ
=@LDBLDAP@
1062 LDB_OBJ
= ${LDB_COMMON_OBJ} ${LDB_TDB_OBJ} ${LDB_LDAP_OBJ} ${LDB_MODULES_OBJ}
1064 LDB_CMDLINE_OBJ
= $(PARAM_OBJ
) \
1065 $(POPT_LIB_OBJ
) $(LIB_OBJ
) $(LIB_DUMMY_OBJ
) $(LIBSMB_ERR_OBJ0
) \
1066 $(RPC_PARSE_OBJ1
) $(SECRETS_OBJ
) \
1067 $(LDB_OBJ
) lib
/ldb
/tools
/cmdline.o
1070 LDBEDIT_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbedit.o
1071 LDBSEARCH_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbsearch.o
1072 LDBADD_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbadd.o
1073 LDBDEL_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbdel.o
1074 LDBMODIFY_OBJ
= $(LDB_CMDLINE_OBJ
) lib
/ldb
/tools
/ldbmodify.o
1076 WINBIND_KRB5_LOCATOR_OBJ1
= nsswitch
/winbind_krb5_locator.o
1077 WINBIND_KRB5_LOCATOR_OBJ
= $(WINBIND_KRB5_LOCATOR_OBJ1
) $(WBCOMMON_OBJ
) $(LIBREPLACE_OBJ
)
1079 POPT_OBJ
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
1080 popt
/popthelp.o popt
/poptparse.o
1082 INIPARSER_OBJ
= iniparser_build
/iniparser.o iniparser_build
/dictionary.o \
1083 iniparser_build
/strlib.o
1085 TDBBACKUP_OBJ
= @tdbdir@
/tools
/tdbbackup.o
$(LIBREPLACE_OBJ
) \
1086 @LIBTDB_STATIC@
$(SOCKET_WRAPPER_OBJ
)
1088 TDBTOOL_OBJ
= @tdbdir@
/tools
/tdbtool.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1089 $(SOCKET_WRAPPER_OBJ
)
1091 TDBDUMP_OBJ
= @tdbdir@
/tools
/tdbdump.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1092 $(SOCKET_WRAPPER_OBJ
)
1094 TDBTORTURE_OBJ
= @tdbdir@
/tools
/tdbtorture.o @LIBTDB_STATIC@
$(LIBREPLACE_OBJ
) \
1095 $(SOCKET_WRAPPER_OBJ
)
1098 NTLM_AUTH_OBJ1
= utils
/ntlm_auth.o utils
/ntlm_auth_diagnostics.o
1100 NTLM_AUTH_OBJ
= ${NTLM_AUTH_OBJ1} $(LIBSAMBA_OBJ
) $(POPT_LIB_OBJ
) \
1101 libsmb
/asn1.o libsmb
/spnego.o libsmb
/clikrb5.o libads
/kerberos.o \
1102 $(SERVER_MUTEX_OBJ
) $(LIBADS_SERVER_OBJ
) \
1103 $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
1104 $(SMBLDAP_OBJ
) $(LIBNMB_OBJ
) \
1105 $(LDB_OBJ
) $(WBCOMMON_OBJ
) @LIBWBCLIENT_STATIC@ \
1106 $(LIBNDR_GEN_OBJ0
) $(LIBNDR_GEN_OBJ1
)
1109 VLP_OBJ1
= ..
/testsuite
/printing
/vlp.o
$(RPC_CLIENT_OBJ1
) $(RPC_PARSE_OBJ2
) $(RPC_CLIENT_OBJ
)
1111 VLP_OBJ
= $(VLP_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) \
1112 $(LIB_NONSMBD_OBJ
) $(KRBCLIENT_OBJ
) $(LIBMSRPC_GEN_OBJ
) \
1113 $(READLINE_OBJ
) $(POPT_LIB_OBJ
) \
1114 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1117 ######################################################################
1119 ######################################################################
1120 all:: SHOWFLAGS
$(SHLIBS
) $(SBIN_PROGS
) $(BIN_PROGS
) $(ROOT_SBIN_PROGS
) \
1121 $(MODULES
) $(NSS_MODULES
) $(PAM_MODULES
) @EXTRA_ALL_TARGETS@
1123 nss_modules
:: $(NSS_MODULES
)
1125 pam_modules
:: $(PAM_MODULES
)
1127 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
1129 pam_winbind
: SHOWFLAGS bin
/pam_winbind.@SHLIBEXT@
1131 torture
:: SHOWFLAGS
$(TORTURE_PROGS
)
1133 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
1135 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
1137 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
1139 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
1141 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
1143 smbcquotas
: SHOWFLAGS bin
/smbcquotas@EXEEXT@
1145 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
1147 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
1149 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
1151 eventlogadm
: SHOWFLAGS bin
/eventlogadm@EXEEXT@
1153 sharesec
: SHOWFLAGS bin
/sharesec@EXEEXT@
1155 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
1157 replacetort
: SHOWFLAGS bin
/replacetort@EXEEXT@
1159 smbconftort
: SHOWFLAGS bin
/smbconftort@EXEEXT@
1161 timelimit
: SHOWFLAGS bin
/timelimit@EXEEXT@
1163 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ @WINBIND_NSS@ \
1164 @WINBIND_WINS_NSS@ @WINBIND_KRB5_LOCATOR@ \
1165 bin
/pam_winbind.@SHLIBEXT@ bin
/smbcontrol@EXEEXT@
1167 wins
: SHOWFLAGS @WINBIND_WINS_NSS@
1169 modules
:: SHOWFLAGS
$(MODULES
)
1171 #####################################################################
1172 ## Perl IDL Compiler
1173 IDL_FILES
= lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
1174 srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
1175 epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
1176 dssetup.idl krb5pac.idl ntsvcs.idl libnetapi.idl
1179 @IDL_FILES
="$(IDL_FILES)" CPP
="$(CPP)" PERL
="$(PERL)" \
1180 srcdir="$(srcdir)" $(srcdir)/script
/build_idl.sh
$(PIDL_ARGS
)
1183 #####################################################################
1186 everything
:: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
1190 .SUFFIXES
: .c .o .lo
1193 @echo
"Using FLAGS = $(FLAGS)"
1194 @echo
" PICFLAG = $(PICFLAG)"
1195 @echo
" LIBS = $(LIBS)"
1196 @echo
" LDFLAGS = $(LDFLAGS)"
1197 @echo
" DYNEXP = $(DYNEXP)"
1198 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
1199 @echo
" SHLIBEXT = @SHLIBEXT@"
1200 @echo
" SONAMEFLAG = @SONAMEFLAG@"
1202 MAKEDIR
= || exec false
; \
1203 if
test -d
"$$dir"; then
:; else \
1204 echo mkdir
"$$dir"; \
1205 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
1206 test -d
"$$dir" || \
1208 exec false
; fi || exec false
1210 # Run a static checker.
1211 CHECK_CC
= $(CC_CHECKER
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1212 # Compile a source file.
1213 COMPILE_CC
= $(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1214 # Compile a source file with the installation paths defined.
1215 COMPILE_CC_PATH
= $(CC
) -I.
-I
$(srcdir) $(PATH_FLAGS
) $(FLAGS
) $(PICFLAG
) -c
$< -o
$@
1217 COMPILE
= $(COMPILE_CC
)
1220 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
1221 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
1222 @if
test -n
"$(CC_CHECKER)"; then \
1223 echo
"Checking $*.c with '$(CC_CHECKER)'";\
1226 @echo Compiling
$*.c
1227 @
$(COMPILE
) && exit
0;\
1228 echo
"The following command failed:" 1>&2;\
1229 echo
"$(COMPILE_CC)" 1>&2;\
1230 $(COMPILE_CC
) >/dev
/null
2>&1
1231 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
1233 PRECOMPILED_HEADER
= $(builddir
)/include/includes.h.gch
1235 # this adds support for precompiled headers. To use it, install a snapshot
1236 # of gcc-3.4 and run 'make pch' before you do the main build.
1238 rm -f
$(PRECOMPILED_HEADER
)
1239 $(MAKE
) $(PRECOMPILED_HEADER
)
1241 $(PRECOMPILED_HEADER
): $(srcdir)/include/includes.h
1244 BINARY_PREREQS
= proto_exists bin
/.dummy
1246 # These dependencies are only approximately correct: we want to make
1247 # sure Samba's paths are updated if ./configure is re-run. Really it
1248 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
1249 # but since we also require "make install prefix=/opt/samba" *not* to
1250 # rebuild it's a bit hard.
1252 dynconfig.o
: dynconfig.c Makefile
1253 @echo Compiling
$*.c
1254 @
$(COMPILE_CC_PATH
) && exit
0;\
1255 echo
"The following command failed:" 1>&2;\
1256 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1257 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1259 lib
/pidfile.o
: lib
/pidfile.c
1260 @echo Compiling
$*.c
1261 @
$(COMPILE_CC_PATH
) && exit
0;\
1262 echo
"The following command failed:" 1>&2;\
1263 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1264 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1266 lib
/version.o
: lib
/version.c
include/version.h
1267 @echo Compiling
$*.c
1268 @
$(COMPILE_CC_PATH
) && exit
0;\
1269 echo
"The following command failed:" 1>&2;\
1270 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1271 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1273 smbd
/build_options.o
: smbd
/build_options.c Makefile
include/config.h
include/build_env.h
include/proto.h
1274 @echo Compiling
$*.c
1275 @
$(COMPILE_CC_PATH
) && exit
0;\
1276 echo
"The following command failed:" 1>&2;\
1277 echo
"$(COMPILE_CC_PATH)" 1>&2;\
1278 $(COMPILE_CC_PATH
) >/dev
/null
2>&1
1280 smbd
/build_options.c
: include/config.h.in script
/mkbuildoptions.awk
1282 @
dir=smbd
$(MAKEDIR
) && $(AWK
) -f
$(srcdir)/script
/mkbuildoptions.awk
> $(builddir
)/smbd
/build_options.c
< $(srcdir)/include/config.h.in
1285 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
1286 dir=bin
$(MAKEDIR
); fi
1287 @
: >> $@ ||
: > $@
# what a fancy emoticon!
1289 bin
/smbd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBD_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @BUILD_POPT@
1291 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(LDAP_LIBS
) \
1292 $(KRB5LIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1293 $(ACL_LIBS
) $(PASSDB_LIBS
) $(LIBS
) $(DNSSD_LIBS
) \
1294 $(POPT_LIBS
) @SMBD_LIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1297 bin
/nmbd@EXEEXT@
: $(BINARY_PREREQS
) $(NMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1299 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1300 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(POPT_LIBS
) \
1301 $(KRB5LIBS
) $(LDAP_LIBS
)
1303 bin
/swat@EXEEXT@
: $(BINARY_PREREQS
) $(SWAT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1305 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINT_LIBS
) \
1306 $(AUTH_LIBS
) $(LIBS
) $(PASSDB_LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) \
1307 $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1309 bin
/rpcclient@EXEEXT@
: $(BINARY_PREREQS
) $(RPCCLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1311 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(PASSDB_LIBS
) $(RPCCLIENT_OBJ
) \
1312 $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1313 $(KRB5LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1316 bin
/smbclient@EXEEXT@
: $(BINARY_PREREQS
) $(CLIENT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1318 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1319 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1320 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) $(DNSSD_LIBS
) \
1321 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1323 bin
/net@EXEEXT@
: $(BINARY_PREREQS
) $(NET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @LIBNETAPI_SHARED@
1325 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1326 $(POPT_LIBS
) $(KRB5LIBS
) $(UUID_LIBS
) $(LDAP_LIBS
) \
1327 $(PASSDB_LIBS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(NSCD_LIBS
) \
1328 @INIPARSERLIBS@
$(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBNETAPI_LIBS
)
1330 bin
/profiles@EXEEXT@
: $(BINARY_PREREQS
) $(PROFILES_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1332 @
$(CC
) $(FLAGS
) -o
$@
$(PROFILES_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1333 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1335 bin
/smbspool@EXEEXT@
: $(BINARY_PREREQS
) $(CUPS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1337 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1338 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1340 bin
/mount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_MOUNT_OBJ
) @BUILD_POPT@
1342 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_MOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1344 bin
/umount.cifs@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_UMOUNT_OBJ
) @BUILD_POPT@
1346 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_UMOUNT_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(POPT_LIBS
)
1348 bin
/cifs.spnego@EXEEXT@
: $(BINARY_PREREQS
) $(CIFS_SPNEGO_OBJ
) $(LIBSMBCLIENT_OBJ1
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1350 @
$(CC
) $(FLAGS
) -o
$@
$(CIFS_SPNEGO_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1351 -lkeyutils
$(LIBS
) $(LIBSMBCLIENT_OBJ1
) $(KRB5LIBS
) \
1352 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(WINBIND_LIBS
) \
1355 bin
/testparm@EXEEXT@
: $(BINARY_PREREQS
) $(TESTPARM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1357 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1358 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1360 bin
/smbstatus@EXEEXT@
: $(BINARY_PREREQS
) $(STATUS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1362 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1363 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1365 bin
/smbcontrol@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCONTROL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1367 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@ \
1368 $(SMBCONTROL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1369 $(LIBS
) $(LDAP_LIBS
) @LIBUNWIND_PTRACE@
$(POPT_LIBS
) \
1370 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1372 bin
/smbtree@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTREE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1374 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1375 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1376 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1378 bin
/smbpasswd@EXEEXT@
: $(BINARY_PREREQS
) $(SMBPASSWD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1380 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(PASSDB_LIBS
) \
1381 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1382 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1384 bin
/pdbedit@EXEEXT@
: $(BINARY_PREREQS
) $(PDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1386 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1387 $(POPT_LIBS
) $(PASSDB_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) \
1388 $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1390 bin
/smbget@EXEEXT@
: $(BINARY_PREREQS
) $(SMBGET_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1392 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGET_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1393 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1394 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1396 bin
/nmblookup@EXEEXT@
: $(BINARY_PREREQS
) $(NMBLOOKUP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1398 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1399 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1401 bin
/smbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(SMBTORTURE_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1403 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1404 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) \
1407 bin
/talloctort@EXEEXT@
: $(BINARY_PREREQS
) $(TALLOCTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1409 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) \
1410 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1411 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1413 bin
/replacetort@EXEEXT@
: $(REPLACETORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1415 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(REPLACETORT_OBJ
) $(LDFLAGS
) \
1416 $(DYNEXP
) $(LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
)
1418 bin
/smbconftort@EXEEXT@
: $(SMBCONFTORT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1420 @
$(CC
) $(FLAGS
) @PIE_LDFLAGS@
-o
$@
$(SMBCONFTORT_OBJ
) $(LDFLAGS
) \
1421 $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1422 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1424 bin
/masktest@EXEEXT@
: $(BINARY_PREREQS
) $(MASKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1426 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1427 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1428 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1430 bin
/msgtest@EXEEXT@
: $(BINARY_PREREQS
) $(MSGTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1432 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1433 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1434 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1436 bin
/smbcacls@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCACLS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1438 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1439 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1440 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1442 bin
/smbcquotas@EXEEXT@
: $(BINARY_PREREQS
) $(SMBCQUOTAS_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1444 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCQUOTAS_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1445 $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1446 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1448 bin
/eventlogadm@EXEEXT@
: $(BINARY_PREREQS
) $(EVTLOGADM_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1450 @
$(CC
) $(FLAGS
) -o
$@
$(EVTLOGADM_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1451 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1453 bin
/sharesec@EXEEXT@
: $(BINARY_PREREQS
) $(SHARESEC_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1455 @
$(CC
) $(FLAGS
) -o
$@
$(SHARESEC_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1456 $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1458 bin
/locktest@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1460 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1461 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1462 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1464 bin
/nsstest@EXEEXT@
: $(BINARY_PREREQS
) $(NSSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1466 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1467 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1468 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1470 bin
/pdbtest@EXEEXT@
: $(BINARY_PREREQS
) $(PDBTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1472 @
$(CC
) $(FLAGS
) -o
$@
$(PDBTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1473 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(PASSDB_LIBS
) \
1474 $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1476 bin
/vfstest@EXEEXT@
: $(BINARY_PREREQS
) $(VFSTEST_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1478 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1479 $(TERMLIBS
) $(DYNEXP
) $(PRINT_LIBS
) $(AUTH_LIBS
) \
1480 $(ACL_LIBS
) $(LIBS
) $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1481 @SMBD_LIBS@
$(NSCD_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1484 bin
/smbiconv@EXEEXT@
: $(BINARY_PREREQS
) $(SMBICONV_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1486 @
$(CC
) $(FLAGS
) -o
$@
$(SMBICONV_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) \
1487 $(TERMLIBS
) $(DYNEXP
) $(LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1488 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1490 bin
/log2pcap@EXEEXT@
: $(BINARY_PREREQS
) $(LOG2PCAP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1492 @
$(CC
) $(FLAGS
) -o
$@
$(LOG2PCAP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1493 $(POPT_LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
)
1495 bin
/locktest2@EXEEXT@
: $(BINARY_PREREQS
) $(LOCKTEST2_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1497 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1498 $(LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1499 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1501 bin
/ndrdump@EXEEXT@
: $(BINARY_PREREQS
) $(NDRDUMP_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1503 @
$(CC
) $(FLAGS
) -o
$@
$(NDRDUMP_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) \
1504 $(POPT_LIBS
) $(LDAP_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1506 bin
/debug2html@EXEEXT@
: $(BINARY_PREREQS
) $(DEBUG2HTML_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@
1508 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1509 $(LIBS
) $(LIBTALLOC_LIBS
)
1511 bin
/smbfilter@EXEEXT@
: $(BINARY_PREREQS
) $(SMBFILTER_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1513 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
) \
1514 $(KRB5LIBS
) $(LDAP_LIBS
) $(POPT_LIBS
) \
1515 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
1517 bin
/ldbedit
: $(BINARY_PREREQS
) $(LDBEDIT_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1519 @
$(CC
) $(FLAGS
) -o
$@
$(LDBEDIT_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1520 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1521 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1523 bin
/ldbsearch
: $(BINARY_PREREQS
) $(LDBSEARCH_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1525 @
$(CC
) $(FLAGS
) -o
$@
$(LDBSEARCH_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1526 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1527 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1529 bin
/ldbadd
: $(BINARY_PREREQS
) $(LDBADD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1531 @
$(CC
) $(FLAGS
) -o
$@
$(LDBADD_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1532 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1533 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1535 bin
/ldbmodify
: $(BINARY_PREREQS
) $(LDBMODIFY_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1537 @
$(CC
) $(FLAGS
) -o
$@
$(LDBMODIFY_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1538 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1539 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1541 bin
/ldbdel
: $(BINARY_PREREQS
) $(LDBDEL_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1543 @
$(CC
) $(FLAGS
) -o
$@
$(LDBDEL_OBJ
) $(DYNEXP
) $(LDFLAGS
) \
1544 $(LIBS
) $(POPT_LIBS
) $(LDAP_LIBS
) \
1545 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1548 #####################################################################
1552 #####################################################################
1554 MKSYMS_SH
= $(srcdir)/script
/mksyms.sh
1559 #-------------------------------------------------------------------
1563 #-------------------------------------------------------------------
1565 TALLOC_OBJ
= @TALLOC_OBJS@
1567 LIBTALLOC_OBJ0
= $(TALLOC_OBJ
)
1568 LIBTALLOC_OBJ
= $(LIBTALLOC_OBJ0
) $(LIBREPLACE_OBJ
)
1570 LIBTALLOC_SHARED_TARGET
=@LIBTALLOC_SHARED_TARGET@
1571 LIBTALLOC_SOVER
=$(shell grep \^
$(LIBTALLOC_SHARED_TARGET
) $(builddir
)/library-versions | cut
-d
: -f2
)
1572 LIBTALLOC_SHARED_TARGET_SONAME
=$(LIBTALLOC_SHARED_TARGET
).
$(LIBTALLOC_SOVER
)
1573 LIBTALLOC_STATIC_TARGET
=@LIBTALLOC_STATIC_TARGET@
1574 LIBTALLOC
=$(LIBTALLOC_STATIC_TARGET
) @LIBTALLOC_SHARED@
1575 LIBTALLOC_SYMS
=$(srcdir)/exports
/libtalloc.@SYMSEXT@
1576 LIBTALLOC_HEADERS
=$(srcdir)/@tallocdir@
/talloc.h
1578 $(LIBTALLOC_SYMS
): $(LIBTALLOC_HEADERS
)
1579 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTALLOC_HEADERS
)
1581 $(LIBTALLOC_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ
) $(LIBTALLOC_SYMS
)
1582 @echo Linking shared library
$@
1583 @
$(SHLD_DSO
) $(LIBTALLOC_OBJ
) @SONAMEFLAG@
`basename $@`
1585 $(LIBTALLOC_SHARED_TARGET
): $(LIBTALLOC_SHARED_TARGET_SONAME
)
1587 @ln
-s
-f
`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
1589 $(LIBTALLOC_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTALLOC_OBJ0
)
1590 @echo Linking non-shared library
$@
1591 @
-$(AR
) -rc
$@
$(LIBTALLOC_OBJ0
)
1593 libtalloc
: $(LIBTALLOC
)
1598 $(LIBTALLOC_STATIC_TARGET
) \
1599 $(LIBTALLOC_SHARED_TARGET
) \
1600 $(LIBTALLOC_SHARED_TARGET_SONAME
)
1602 installlibtalloc
:: installdirs libtalloc
1603 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1604 -$(INSTALLLIBCMD_SH
) $(LIBTALLOC_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1605 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)`
1606 -if
test -e
$(LIBTALLOC_SHARD_TARGET_SONAME
) ; then \
1607 ln
-s
-f
`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
1608 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \
1610 -$(INSTALLLIBCMD_A
) $(LIBTALLOC_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1611 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1612 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTALLOC_HEADERS
) $(DESTDIR
)${prefix}/include
1614 uninstalllibtalloc
::
1615 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET)`
1616 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
1617 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTALLOC_STATIC_TARGET)`
1618 -rm -f
$(DESTDIR
)${prefix}/include/talloc.h
1621 #-------------------------------------------------------------------
1625 #-------------------------------------------------------------------
1627 LIBTDB_OBJ0
= @TDB_OBJS@
1628 LIBTDB_OBJ
= $(LIBTDB_OBJ0
) $(LIBREPLACE_OBJ
)
1630 LIBTDB_SHARED_TARGET
=@LIBTDB_SHARED_TARGET@
1631 LIBTDB_SOVER
=$(shell grep \^
$(LIBTDB_SHARED_TARGET
) $(builddir
)/library-versions | cut
-d
: -f2
)
1632 LIBTDB_SHARED_TARGET_SONAME
=$(LIBTDB_SHARED_TARGET
).
$(LIBTDB_SOVER
)
1633 LIBTDB_STATIC_TARGET
=@LIBTDB_STATIC_TARGET@
1634 LIBTDB
=$(LIBTDB_STATIC_TARGET
) @LIBTDB_SHARED@
1635 LIBTDB_SYMS
=$(srcdir)/exports
/libtdb.@SYMSEXT@
1636 LIBTDB_HEADERS
=$(srcdir)/@tdbdir@
/include/tdb.h
1640 $(LIBTDB_SYMS
): $(LIBTDB_HEADERS
)
1641 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBTDB_HEADERS
)
1643 $(LIBTDB_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBTDB_OBJ
) $(LIBTDB_SYMS
)
1644 @echo Linking shared library
$@
1645 @
$(SHLD_DSO
) $(LIBTDB_OBJ
) \
1646 @SONAMEFLAG@
`basename $@`
1648 $(LIBTDB_SHARED_TARGET
): $(LIBTDB_SHARED_TARGET_SONAME
)
1650 @ln
-s
-f
`basename $(LIBTDB_SHARED_TARGET_SONAME)` $@
1652 $(LIBTDB_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBTDB_OBJ0
)
1653 @echo Linking non-shared library
$@
1654 @
-$(AR
) -rc
$@
$(LIBTDB_OBJ0
)
1659 $(LIBTDB_STATIC_TARGET
) \
1660 $(LIBTDB_SHARED_TARGET
) \
1661 $(LIBTDB_SHARED_TARGET_SONAME
)
1664 installlibtdb
:: installdirs libtdb
1665 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1666 -$(INSTALLLIBCMD_SH
) $(LIBTDB_SHARED_TARGET_SONAME
) $(DESTDIR
)$(LIBDIR
)
1667 @
rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)`
1668 -if
test -e
$(LIBTDB_SHARED_TARGET_SONAME
) ; then \
1669 ln
-s
-f
`basename $(LIBTDB_SHARED_TARGET_SONAME)` \
1670 $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)` ; \
1672 -$(INSTALLLIBCMD_A
) $(LIBTDB_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1673 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
1674 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(LIBTDB_HEADERS
) $(DESTDIR
)${prefix}/include
1677 -rm -f
$(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET)`
1678 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_SHARED_TARGET_SONAME)`
1679 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/`basename $(LIBTDB_STATIC_TARGET)`
1680 -rm -f
$(DESTDIR
)${prefix}/include/tdb.h
1683 #-------------------------------------------------------------------
1687 #-------------------------------------------------------------------
1689 libwbclient
: $(LIBWBCLIENT
)
1691 $(LIBWBCLIENT_SYMS
): $(LIBWBCLIENT_HEADERS
)
1692 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBWBCLIENT_HEADERS
)
1694 $(LIBWBCLIENT_SHARED_TARGET
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ
) $(LIBWBCLIENT_SYMS
) @LIBTALLOC_SHARED@
1695 @echo Linking shared library
$@
1696 @
$(SHLD_DSO
) $(LIBTALLOC_LIBS
) $(LIBWBCLIENT_OBJ
) \
1697 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1698 @ln
-s
-f
`basename $@` $@.
$(SONAME_VER
)
1700 $(LIBWBCLIENT_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1701 @echo Linking non-shared library
$@
1702 @
-$(AR
) -rc
$@
$(LIBWBCLIENT_OBJ0
) $(WBCOMMON_OBJ
)
1704 #-------------------------------------------------------------------
1708 #-------------------------------------------------------------------
1710 libaddns
: $(LIBADDNS
)
1712 bin
/libaddns.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ
) @LIBTALLOC_SHARED@
1713 @echo Linking shared library
$@
1714 @
$(SHLD_DSO
) $(LIBADDNS_OBJ
) $(LIBS
) \
1715 $(KRB5LIBS
) $(UUID_LIBS
) $(LIBTALLOC_LIBS
) \
1716 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1718 bin
/libaddns.a
: $(BINARY_PREREQS
) $(LIBADDNS_OBJ0
)
1719 @echo Linking non-shared library
$@
1720 @
-$(AR
) -rc
$@
$(LIBADDNS_OBJ0
)
1723 #-------------------------------------------------------------------
1727 #-------------------------------------------------------------------
1729 LIBNETAPI_OBJ1
= lib
/netapi
/netapi.o \
1731 librpc
/gen_ndr
/ndr_libnetapi.o \
1732 lib
/netapi
/libnetapi.o \
1733 lib
/netapi
/joindomain.o \
1734 lib
/netapi
/serverinfo.o \
1735 lib
/netapi
/getdc.o \
1738 LIBNETAPI_OBJ
= $(LIBNETAPI_OBJ1
) $(LIBNET_OBJ
) \
1740 $(REG_SMBCONF_OBJ
) \
1741 $(PARAM_WITHOUT_REG_OBJ
) $(LIB_NONSMBD_OBJ
) \
1742 $(LIBSMB_OBJ
) $(KRBCLIENT_OBJ
) \
1743 $(LIBMSRPC_OBJ
) $(LIBMSRPC_GEN_OBJ
) $(RPC_PARSE_OBJ
) \
1744 $(PASSDB_OBJ
) @LIBWBCLIENT_STATIC@
$(SMBLDAP_OBJ
) $(GROUPDB_OBJ
) $(LDB_OBJ
) \
1745 $(DCUTIL_OBJ
) $(LIBADS_OBJ
) $(PRIVILEGES_BASIC_OBJ
)
1747 LIBNETAPI_SHARED_TARGET
=@LIBNETAPI_SHARED_TARGET@
1748 LIBNETAPI_SOVER
=$(shell grep \^
$(LIBNETAPI_SHARED_TARGET
) $(builddir
)/library-versions | cut
-d
: -f2
)
1749 LIBNETAPI_SHARED_TARGET_SONAME
=$(LIBNETAPI_SHARED_TARGET
).
$(LIBNETAPI_SOVER
)
1750 LIBNETAPI_STATIC_TARGET
=@LIBNETAPI_STATIC_TARGET@
1751 LIBNETAPI
=$(LIBNETAPI_STATIC_TARGET
) @LIBNETAPI_SHARED@
1752 LIBNETAPI_SYMS
=$(srcdir)/exports
/libnetapi.@SYMSEXT@
1753 LIBNETAPI_HEADERS
=$(srcdir)/lib
/netapi
/netapi.h
1755 $(LIBNETAPI_SYMS
): $(LIBNETAPI_HEADERS
)
1756 @
$(MKSYMS_SH
) $(AWK
) $@
$(LIBNETAPI_HEADERS
)
1758 $(LIBNETAPI_SHARED_TARGET_SONAME
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ
) $(LIBNETAPI_SYMS
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1759 @echo Linking shared library
$@
1760 @
$(SHLD_DSO
) $(LIBNETAPI_OBJ
) \
1761 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1762 $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
1763 @SONAMEFLAG@
`basename $@`
1765 $(LIBNETAPI_SHARED_TARGET
): $(LIBNETAPI_SHARED_TARGET_SONAME
)
1767 @ln
-s
-f
`basename $(LIBNETAPI_SHARED_TARGET_SONAME)` $@
1769 $(LIBNETAPI_STATIC_TARGET
): $(BINARY_PREREQS
) $(LIBNETAPI_OBJ1
)
1770 @echo Linking non-shared library
$@
1771 @
-$(AR
) -rc
$@
$(LIBNETAPI_OBJ1
)
1773 libnetapi
: $(LIBNETAPI
)
1775 installlibnetapi
:: installdirs libnetapi
1776 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
1777 -$(INSTALLLIBCMD_SH
) $(LIBNETAPI_SHARED_TARGET
) $(DESTDIR
)$(LIBDIR
)
1778 -$(INSTALLLIBCMD_A
) $(LIBNETAPI_STATIC_TARGET
) $(DESTDIR
)$(LIBDIR
)
1779 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/lib
/netapi
/netapi.h
$(DESTDIR
)${prefix}/include
1782 #-------------------------------------------------------------------
1786 #-------------------------------------------------------------------
1788 libsmbclient
: $(LIBSMBCLIENT
)
1790 bin
/libsmbclient.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1791 @echo Linking shared library
$@
1792 @
$(SHLD_DSO
) $(LIBSMBCLIENT_OBJ
) \
1793 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
) $(LIBS
) \
1794 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1795 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1797 bin
/libsmbclient.a
: $(BINARY_PREREQS
) $(LIBSMBCLIENT_OBJ0
)
1798 @echo Linking non-shared library
$@
1799 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_OBJ0
)
1802 #-------------------------------------------------------------------
1806 #-------------------------------------------------------------------
1808 libsmbsharemodes
: $(LIBSMBSHAREMODES
)
1810 bin
/libsmbsharemodes.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1811 @echo Linking shared library
$@
1812 @
$(SHLD_DSO
) $(LIBSMBSHAREMODES_OBJ
) \
1813 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1814 $(KRB5LIBS
) $(LDAP_LIBS
) \
1815 @SONAMEFLAG@
`basename $@`.
$(SONAME_VER
)
1817 bin
/libsmbsharemodes.a
: $(BINARY_PREREQS
) $(LIBSMBSHAREMODES_OBJ0
)
1818 @echo Linking non-shared library
$@
1819 @
-$(AR
) -rc
$@
$(LIBSMBSHAREMODES_OBJ0
)
1821 # This is probably wrong for anything other than the GNU linker.
1822 bin
/libbigballofmud.@SHLIBEXT@
: $(BINARY_PREREQS
) $(LIBBIGBALLOFMUD_OBJ
) @LIBTALLOC_SHARED@
1823 @echo Linking shared library
$@
1824 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_OBJ
) \
1825 $(LIBS
) $(LIBTALLOC_LIBS
) \
1826 $(PASSDB_LIBS
) $(IDMAP_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1827 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
1828 ln
-snf libbigballofmud.so bin
/libbigballofmud.so
.0
1830 # It would be nice to build a static bigballofmud too, but when I try
1831 # I get linker errors about dl_open and similar things. I'm not sure if
1832 # it can be fixed or if they just can't be called from a static
1837 #####################################################################
1841 #####################################################################
1843 # Linker command to link a RPC, VFS, AUTH, CHARSET or PASSDB module.
1844 SHLD_MODULE
= $(SHLD
) $(LDSHFLAGS
) $(MODULE_EXPORTS
) \
1845 -o
$@ @SONAMEFLAG@
`basename $@`
1847 bin
/librpc_lsarpc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_LSA_OBJ
)
1849 @
$(SHLD_MODULE
) $(RPC_LSA_OBJ
)
1851 bin
/librpc_samr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SAMR_OBJ
)
1853 @
$(SHLD_MODULE
) $(RPC_SAMR_OBJ
)
1855 bin
/librpc_srvsvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVC_OBJ
)
1857 @
$(SHLD_MODULE
) $(RPC_SVC_OBJ
)
1859 bin
/librpc_svcctl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SVCCTL_OBJ
)
1861 @
$(SHLD_MODULE
) $(RPC_SVCCTL_OBJ
)
1863 bin
/librpc_ntsvcs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NTSVCS_OBJ
)
1865 @
$(SHLD_MODULE
) $(RPC_NTSVCS_OBJ
)
1867 bin
/librpc_wkssvc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_WKS_OBJ
)
1869 @
$(SHLD_MODULE
) $(RPC_WKS_OBJ
)
1871 bin
/librpc_NETLOGON.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_NETLOG_OBJ
)
1873 @
$(SHLD_MODULE
) $(RPC_NETLOG_OBJ
)
1875 bin
/librpc_winreg.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_REG_OBJ
)
1877 @
$(SHLD_MODULE
) $(RPC_REG_OBJ
)
1879 bin
/librpc_initshutdown.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_INITSHUTDOWN_OBJ
)
1881 @
$(SHLD_MODULE
) $(RPC_INITSHUTDOWN_OBJ
)
1883 bin
/librpc_dssetup.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DSSETUP_OBJ
)
1885 @
$(SHLD_MODULE
) $(RPC_DSSETUP_OBJ
)
1887 bin
/librpc_spoolss.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_SPOOLSS_OBJ
)
1889 @
$(SHLD_MODULE
) $(RPC_SPOOLSS_OBJ
)
1891 bin
/librpc_eventlog.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_EVENTLOG_OBJ
)
1893 @
$(SHLD_MODULE
) $(RPC_EVENTLOG_OBJ
)
1895 bin
/librpc_netdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_DFS_OBJ
)
1897 @
$(SHLD_MODULE
) $(RPC_DFS_OBJ
)
1899 bin
/librpc_echo.@SHLIBEXT@
: $(BINARY_PREREQS
) $(RPC_ECHO_OBJ
)
1901 @
$(SHLD_MODULE
) $(RPC_ECHO_OBJ
)
1903 bin
/winbindd@EXEEXT@
: $(BINARY_PREREQS
) $(WINBINDD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1905 @
$(CC
) $(FLAGS
) -o
$@
$(WINBINDD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) \
1906 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) \
1907 $(PASSDB_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1909 bin
/vlp@EXEEXT@
: $(BINARY_PREREQS
) $(VLP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
1911 @
$(CC
) $(FLAGS
) -o
$@
$(VLP_OBJ
) $(LDFLAGS
) $(DYNEXP
) \
1912 $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(POPT_LIBS
) \
1913 $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
1914 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
1916 @WINBIND_NSS@
: $(BINARY_PREREQS
) $(WINBIND_NSS_OBJ
)
1918 @
$(SHLD
) $(WINBIND_NSS_LDSHFLAGS
) -o
$@
$(WINBIND_NSS_OBJ
) \
1919 $(WINBIND_NSS_EXTRA_LIBS
) $(WINBIND_NSS_PTHREAD
) \
1920 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1922 @WINBIND_WINS_NSS@
: $(BINARY_PREREQS
) $(WINBIND_WINS_NSS_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
1924 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_WINS_NSS_OBJ
) \
1925 $(LDAP_LIBS
) $(KRB5LIBS
) $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
1926 @SONAMEFLAG@
`basename $@`@NSSSONAMEVERSIONSUFFIX@
1928 bin
/winbind_krb5_locator.@SHLIBEXT@
: $(BINARY_PREREQS
) $(WINBIND_KRB5_LOCATOR_OBJ
)
1930 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_KRB5_LOCATOR_OBJ
) \
1931 @SONAMEFLAG@
`basename $@`
1933 bin
/pam_winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_WINBIND_OBJ
)
1934 @echo
"Linking shared library $@"
1935 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) -lpam @INIPARSERLIBS@ \
1936 $(PAM_WINBIND_EXTRA_LIBS
) @SONAMEFLAG@
`basename $@`
1938 bin
/builtin.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_BUILTIN_OBJ
)
1939 @echo
"Building plugin $@"
1940 @
$(SHLD_MODULE
) $(AUTH_BUILTIN_OBJ
)
1942 bin
/domain.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_DOMAIN_OBJ
)
1943 @echo
"Building plugin $@"
1944 @
$(SHLD_MODULE
) $(AUTH_DOMAIN_OBJ
)
1946 bin
/script.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SCRIPT_OBJ
)
1947 @echo
"Building plugin $@"
1948 @
$(SHLD_MODULE
) $(AUTH_SCRIPT_OBJ
)
1950 bin
/smbserver.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SERVER_OBJ
)
1951 @echo
"Building plugin $@"
1952 @
$(SHLD_MODULE
) $(AUTH_SERVER_OBJ
)
1954 bin
/winbind.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_WINBIND_OBJ
)
1955 @echo
"Building plugin $@"
1956 @
$(SHLD_MODULE
) $(AUTH_WINBIND_OBJ
)
1958 bin
/unix.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_UNIX_OBJ
)
1959 @echo
"Building plugin $@"
1960 @
$(SHLD_MODULE
) $(AUTH_UNIX_OBJ
)
1962 bin
/sam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(AUTH_SAM_OBJ
)
1963 @echo
"Building plugin $@"
1964 @
$(SHLD_MODULE
) $(AUTH_SAM_OBJ
)
1966 bin
/ldapsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
1967 @echo
"Building plugin $@"
1968 @
$(SHLD_MODULE
) passdb
/pdb_ldap.o passdb
/pdb_nds.o
$(LDAP_LIBS
)
1970 bin
/tdbsam.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_tdb.o
1971 @echo
"Building plugin $@"
1972 @
$(SHLD_MODULE
) passdb
/pdb_tdb.o
1974 bin
/smbpasswd.@SHLIBEXT@
: $(BINARY_PREREQS
) passdb
/pdb_smbpasswd.o
1975 @echo
"Building plugin $@"
1976 @
$(SHLD_MODULE
) passdb
/pdb_smbpasswd.o
1978 bin
/rid.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_rid.o
1979 @echo
"Building plugin $@"
1980 @
$(SHLD_MODULE
) winbindd
/idmap_rid.o
1982 bin
/ad.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ad.o
1983 @echo
"Building plugin $@"
1984 @
$(SHLD_MODULE
) winbindd
/idmap_ad.o
1986 bin
/tdb2.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_tdb2.o
1987 @echo
"Building plugin $@"
1988 @
$(SHLD_MODULE
) winbindd
/idmap_tdb2.o
1990 bin
/ldap.@SHLIBEXT@
: $(BINARY_PREREQS
) winbindd
/idmap_ldap.o
1991 @echo
"Building plugin $@"
1992 @
$(SHLD_MODULE
) winbindd
/idmap_ldap.o
1994 bin
/weird.@SHLIBEXT@
: $(BINARY_PREREQS
) $(DEVEL_HELP_WEIRD_OBJ
)
1995 @echo
"Building plugin $@"
1996 @
$(SHLD_MODULE
) $(DEVEL_HELP_WEIRD_OBJ
)
1998 bin
/CP850.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP850_OBJ
)
1999 @echo
"Building plugin $@"
2000 @
$(SHLD_MODULE
) $(CP850_OBJ
)
2002 bin
/CP437.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CP437_OBJ
)
2003 @echo
"Building plugin $@"
2004 @
$(SHLD_MODULE
) $(CP437_OBJ
)
2006 bin
/macosxfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(CHARSET_MACOSXFS_OBJ
)
2007 @echo
"Building plugin $@"
2008 @
$(SHLD_MODULE
) $(CHARSET_MACOSXFS_OBJ
) -framework CoreFoundation
2010 # NOTE, there is no build rule for a dynamic default VFS module because
2011 # this one MUST MUST MUST be built statically.
2013 bin
/audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AUDIT_OBJ
)
2014 @echo
"Building plugin $@"
2015 @
$(SHLD_MODULE
) $(VFS_AUDIT_OBJ
)
2017 bin
/extd_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXTD_AUDIT_OBJ
)
2018 @echo
"Building plugin $@"
2019 @
$(SHLD_MODULE
) $(VFS_EXTD_AUDIT_OBJ
)
2021 bin
/full_audit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FULL_AUDIT_OBJ
)
2022 @echo
"Building plugin $@"
2023 @
$(SHLD_MODULE
) $(VFS_FULL_AUDIT_OBJ
)
2025 bin
/recycle.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_RECYCLE_OBJ
)
2026 @echo
"Building plugin $@"
2027 @
$(SHLD_MODULE
) $(VFS_RECYCLE_OBJ
)
2029 bin
/netatalk.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NETATALK_OBJ
)
2030 @echo
"Building plugin $@"
2031 @
$(SHLD_MODULE
) $(VFS_NETATALK_OBJ
)
2033 bin
/fake_perms.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FAKE_PERMS_OBJ
)
2034 @echo
"Building plugin $@"
2035 @
$(SHLD_MODULE
) $(VFS_FAKE_PERMS_OBJ
)
2037 bin
/default_quota.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_DEFAULT_QUOTA_OBJ
)
2038 @echo
"Building plugin $@"
2039 @
$(SHLD_MODULE
) $(VFS_DEFAULT_QUOTA_OBJ
)
2041 bin
/readonly.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READONLY_OBJ
)
2042 @echo
"Building plugin $@"
2043 @
$(SHLD_MODULE
) $(VFS_READONLY_OBJ
)
2045 bin
/shadow_copy.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY_OBJ
)
2046 @echo
"Building plugin $@"
2047 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY_OBJ
)
2049 bin
/shadow_copy2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SHADOW_COPY2_OBJ
)
2050 @echo
"Building plugin $@"
2051 @
$(SHLD_MODULE
) $(VFS_SHADOW_COPY2_OBJ
)
2053 bin
/syncops.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SYNCOPS_OBJ
)
2054 @echo
"Building plugin $@"
2055 @
$(SHLD_MODULE
) $(VFS_SYNCOPS_OBJ
)
2057 bin
/cap.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CAP_OBJ
)
2058 @echo
"Building plugin $@"
2059 @
$(SHLD_MODULE
) $(VFS_CAP_OBJ
)
2061 bin
/expand_msdfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_EXPAND_MSDFS_OBJ
)
2062 @echo
"Building plugin $@"
2063 @
$(SHLD_MODULE
) $(VFS_EXPAND_MSDFS_OBJ
)
2065 bin
/afsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AFSACL_OBJ
)
2066 @echo
"Building plugin $@"
2067 @
$(SHLD_MODULE
) $(VFS_AFSACL_OBJ
)
2069 bin
/xattr_tdb.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_XATTR_TDB_OBJ
)
2070 @echo
"Building plugin $@"
2071 @
$(SHLD_MODULE
) $(VFS_XATTR_TDB_OBJ
)
2073 bin
/posixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_POSIXACL_OBJ
)
2074 @echo
"Building plugin $@"
2075 @
$(SHLD_MODULE
) $(VFS_POSIXACL_OBJ
)
2077 bin
/aixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL_OBJ
)
2078 @echo
"Building plugin $@"
2079 @
$(SHLD_MODULE
) $(VFS_AIXACL_OBJ
)
2081 bin
/aixacl2.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIXACL2_OBJ
)
2082 @echo
"Building plugin $@"
2083 @
$(SHLD_MODULE
) $(VFS_AIXACL2_OBJ
)
2085 bin
/solarisacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_SOLARISACL_OBJ
)
2086 @echo
"Building plugin $@"
2087 @
$(SHLD_MODULE
) $(VFS_SOLARISACL_OBJ
)
2089 bin
/zfsacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_ZFSACL_OBJ
)
2090 @echo
"Building plugin $@"
2091 @
$(SHLD_MODULE
) $(VFS_ZFSACL_OBJ
)
2093 bin
/irixacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_IRIXACL_OBJ
)
2094 @echo
"Building plugin $@"
2095 @
$(SHLD_MODULE
) $(VFS_IRIXACL_OBJ
)
2097 bin
/hpuxacl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_HPUXACL_OBJ
)
2098 @echo
"Building plugin $@"
2099 @
$(SHLD_MODULE
) $(VFS_HPUXACL_OBJ
)
2101 bin
/tru64acl.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TRU64ACL_OBJ
)
2102 @echo
"Building plugin $@"
2103 @
$(SHLD_MODULE
) $(VFS_TRU64ACL_OBJ
)
2105 bin
/catia.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CATIA_OBJ
)
2106 @echo
"Building plugin $@"
2107 @
$(SHLD_MODULE
) $(VFS_CATIA_OBJ
)
2109 bin
/streams_xattr.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_XATTR_OBJ
)
2110 @echo
"Building plugin $@"
2111 @
$(SHLD_MODULE
) $(VFS_STREAMS_XATTR_OBJ
)
2113 bin
/streams_depot.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_STREAMS_DEPOT_OBJ
)
2114 @echo
"Building plugin $@"
2115 @
$(SHLD_MODULE
) $(VFS_STREAMS_DEPOT_OBJ
)
2117 bin
/cacheprime.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_CACHEPRIME_OBJ
)
2118 @echo
"Building plugin $@"
2119 @
$(SHLD_MODULE
) $(VFS_CACHEPRIME_OBJ
)
2121 bin
/prealloc.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_PREALLOC_OBJ
)
2122 @echo
"Building plugin $@"
2123 @
$(SHLD_MODULE
) $(VFS_PREALLOC_OBJ
)
2125 bin
/commit.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_COMMIT_OBJ
)
2126 @echo
"Building plugin $@"
2127 @
$(SHLD_MODULE
) $(VFS_COMMIT_OBJ
)
2129 bin
/gpfs.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_GPFS_OBJ
)
2130 @echo
"Building plugin $@"
2131 @
$(SHLD_MODULE
) $(VFS_GPFS_OBJ
)
2133 bin
/notify_fam.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_NOTIFY_FAM_OBJ
)
2134 @echo
"Building plugin $@"
2135 @
$(SHLD_MODULE
) $(VFS_NOTIFY_FAM_OBJ
) @SMB_FAM_LIBS@
2137 bin
/readahead.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_READAHEAD_OBJ
)
2138 @echo
"Building plugin $@"
2139 @
$(SHLD_MODULE
) $(VFS_READAHEAD_OBJ
)
2141 bin
/tsmsm.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_TSMSM_OBJ
)
2142 @echo
"Building plugin $@"
2143 @
$(SHLD_MODULE
) $(VFS_TSMSM_OBJ
)
2145 bin
/fileid.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_FILEID_OBJ
)
2146 @echo
"Building plugin $@"
2147 @
$(SHLD_MODULE
) $(VFS_FILEID_OBJ
)
2149 bin
/aio_fork.@SHLIBEXT@
: $(BINARY_PREREQS
) $(VFS_AIO_FORK_OBJ
)
2150 @echo
"Building plugin $@"
2151 @
$(SHLD_MODULE
) $(VFS_AIO_FORK_OBJ
)
2153 #########################################################
2154 ## IdMap NSS plugins
2156 ## None here right now
2157 #########################################################
2159 bin
/wbinfo@EXEEXT@
: $(BINARY_PREREQS
) $(WBINFO_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2161 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(WBINFO_OBJ
) $(DYNEXP
) $(LIBS
) \
2162 $(LDAP_LIBS
) $(POPT_LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) \
2165 bin
/ntlm_auth@EXEEXT@
: $(BINARY_PREREQS
) $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) \
2166 $(LIB_NONSMBD_OBJ
) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@
2168 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(DYNEXP
) $(NTLM_AUTH_OBJ
) \
2169 $(PARAM_OBJ
) $(LIB_NONSMBD_OBJ
) $(LIBS
) \
2170 $(POPT_LIBS
) $(KRB5LIBS
) $(LDAP_LIBS
) $(NSCD_LIBS
) \
2171 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2173 bin
/pam_smbpass.@SHLIBEXT@
: $(BINARY_PREREQS
) $(PAM_SMBPASS_OBJ
) @LIBTALLOC_SHARED@ @LIBWBCLIENT_SHARED@ @LIBTDB_SHARED@
2174 @echo
"Linking shared library $@"
2175 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_OBJ
) -lpam
$(DYNEXP
) \
2176 $(LIBS
) $(LDAP_LIBS
) $(KRB5LIBS
) $(NSCD_LIBS
) \
2177 $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
) $(WINBIND_LIBS
)
2179 bin
/tdbbackup@EXEEXT@
: $(BINARY_PREREQS
) $(TDBBACKUP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2181 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBBACKUP_OBJ
) $(DYNEXP
) \
2182 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2184 bin
/tdbtool@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTOOL_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2186 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTOOL_OBJ
) $(DYNEXP
) \
2187 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2189 bin
/tdbdump@EXEEXT@
: $(BINARY_PREREQS
) $(TDBDUMP_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2191 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBDUMP_OBJ
) $(DYNEXP
) \
2192 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2194 bin
/tdbtorture@EXEEXT@
: $(BINARY_PREREQS
) $(TDBTORTURE_OBJ
) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
2196 @
$(CC
) $(FLAGS
) -o
$@
$(LDFLAGS
) $(TDBTORTURE_OBJ
) $(DYNEXP
) \
2197 $(LIBS
) $(LIBTALLOC_LIBS
) $(LIBTDB_LIBS
)
2199 bin
/t_strcmp@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strcmp.o
2200 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2201 torture
/t_strcmp.o
-L .
/bin
-lbigballofmud
2203 bin
/t_strstr@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strstr.o
2204 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2205 torture
/t_strstr.o
-L .
/bin
-lbigballofmud
2207 bin
/t_strappend@EXEEXT@
: $(BINARY_PREREQS
) @LIBTALLOC_SHARED@ bin
/libbigballofmud.@SHLIBEXT@ torture
/t_strappend.o
2208 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) $(LIBS
) $(LIBTALLOC_LIBS
) \
2209 torture
/t_strappend.o
-L .
/bin
-lbigballofmud
2211 bin
/t_stringoverflow@EXEEXT@
: $(BINARY_PREREQS
) bin
/libbigballofmud.@SHLIBEXT@ torture
/t_stringoverflow.o
2212 $(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) torture
/t_stringoverflow.o \
2213 -L.
/bin
-lbigballofmud
2215 bin
/timelimit@EXEEXT@
: script
/tests
/timelimit.o
2217 @
$(CC
) $(FLAGS
) -o
$@
$(DYNEXP
) script
/tests
/timelimit.o
2219 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSSPNEGO@ installman \
2220 installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
2223 @INSTALL_LIBSMBCLIENT@ @INSTALL_PAM_MODULES@ \
2224 @INSTALL_LIBSMBSHAREMODES@ @INSTALL_LIBWBCLIENT@ installlibnetapi
2226 install-everything
:: install installmodules
2228 # DESTDIR is used here to prevent packagers wasting their time
2229 # duplicating the Makefile. Remove it and you will have the privelege
2230 # of package each samba release for muliple versions of multiple
2231 # distributions and operating systems, or at least supplying patches
2232 # to all the packaging files required for this, prior to committing
2233 # the removal of DESTDIR. Do not remove it even though you think it
2237 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(SBINDIR
) $(LIBDIR
) $(VARDIR
) $(PRIVATEDIR
) $(PIDDIR
) $(LOCKDIR
) $(MANDIR
)
2239 installservers
:: all installdirs
2240 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2242 installbin
:: all installdirs
2243 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2245 installcifsmount
:: @CIFSMOUNT_PROGS@
2246 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2247 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2249 installcifsspnego
:: @CIFSSPNEGO_PROGS@
2250 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(ROOTSBINDIR
)
2251 @
$(SHELL
) script
/installbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2253 # Some symlinks are required for the 'probing' of modules.
2254 # This mechanism should go at some point..
2255 installmodules
:: modules
installdirs
2256 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2257 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2258 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2259 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2260 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(NSSINFOLIBDIR
) $(NSS_INFO_MODULES
)
2261 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2262 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2263 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam.@SHLIBEXT@
2264 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ NDS_ldapsam_compat.@SHLIBEXT@
2265 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(PDBLIBDIR
) ldapsam.@SHLIBEXT@ ldapsam_compat.@SHLIBEXT@
2266 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) rhosts.@SHLIBEXT@ hostsequiv.@SHLIBEXT@
2267 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) sam.@SHLIBEXT@ sam_ignoredomain.@SHLIBEXT@
2268 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) domain.@SHLIBEXT@ trustdomain.@SHLIBEXT@ ntdomain.@SHLIBEXT@
2269 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(AUTHLIBDIR
) builtin.@SHLIBEXT@ guest.@SHLIBEXT@ fixed_challenge.@SHLIBEXT@ name_to_ntstatus.@SHLIBEXT@
2270 @
$(SHELL
) $(srcdir)/script
/linkmodules.sh
$(DESTDIR
)$(NSSINFOLIBDIR
) ..
/idmap
/ad.@SHLIBEXT@ rfc2307.@SHLIBEXT@ sfu.@SHLIBEXT@ sfu20.@SHLIBEXT@
2272 installscripts
:: installdirs
2273 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2275 installdat
:: installdirs
2276 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2278 installmsg
:: installdirs
2279 @
$(SHELL
) $(srcdir)/script
/installmsg.sh
$(DESTDIR
) $(CODEPAGEDIR
) $(srcdir)
2281 installswat
:: installdirs installmsg
2282 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2284 installclientlib
:: installdirs libsmbclient
2285 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2286 -$(INSTALLLIBCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2287 -$(INSTALLLIBCMD_A
) bin
/libsmbclient.a
$(DESTDIR
)$(LIBDIR
)
2288 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2289 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/libsmbclient.h
$(DESTDIR
)${prefix}/include
2291 installlibsmbsharemodes
:: installdirs libsmbsharemodes
2292 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2293 -$(INSTALLLIBCMD_SH
) bin
/libsmbsharemodes.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2294 -$(INSTALLLIBCMD_A
) bin
/libsmbsharemodes.a
$(DESTDIR
)$(LIBDIR
)
2295 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/include/smb_share_modes.h
$(DESTDIR
)${prefix}/include
2297 installlibaddns
:: installdirs libaddns
2298 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2299 -$(INSTALLLIBCMD_SH
) bin
/libaddns.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2300 -$(INSTALLLIBCMD_A
) bin
/libaddns.a
$(DESTDIR
)$(LIBDIR
)
2302 installlibwbclient
:: installdirs libwbclient
2303 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(LIBDIR
)
2304 -$(INSTALLLIBCMD_SH
) bin
/libwbclient.@SHLIBEXT@
$(DESTDIR
)$(LIBDIR
)
2305 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) ${prefix}/include
2306 -$(INSTALLCMD
) -m
$(INSTALLPERMS_DATA
) $(srcdir)/nsswitch
/libwbclient
/wbclient.h
$(DESTDIR
)${prefix}/include
2308 installpammodules
:: $(PAM_MODULES
)
2309 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(PAMMODULESDIR
)
2310 @for module in
$(PAM_MODULES
); do \
2311 echo
"Installing module $${module} as $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2312 $(INSTALLCMD
) -m
$(INSTALLPERMS_BIN
) bin
/$${module}.@SHLIBEXT@ \
2313 "$(DESTDIR)/$(PAMMODULESDIR)"; \
2316 # revert to the previously installed version
2318 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
2319 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
2321 installman
:: installdirs
2322 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
"@ROFF@"
2327 @echo
"Samba will be installed into:"
2328 @echo
" prefix: $(prefix)"
2329 @echo
" bindir: $(BINDIR)"
2330 @echo
" sbindir: $(SBINDIR)"
2331 @echo
" libdir: $(LIBDIR)"
2332 @echo
" vardir: $(VARDIR)"
2333 @echo
" mandir: $(MANDIR)"
2334 @echo
" privatedir: $(PRIVATE_DIR)"
2335 @echo
" configdir: $(CONFIGDIR)"
2336 @echo
" lockdir: $(LOCKDIR)"
2337 @echo
" piddir: $(PIDDIR)"
2338 @echo
" swatdir: $(SWATDIR)"
2341 uninstall:: uninstallman uninstallservers uninstallbin @UNINSTALL_CIFSMOUNT@ @UNINSTALL_CIFSSPNEGO@ uninstallscripts uninstalldat uninstallswat uninstallmodules uninstalllibtalloc uninstalllibtdb @UNINSTALL_LIBSMBCLIENT@ @UNINSTALL_PAM_MODULES@ @UNINSTALL_LIBSMBSHAREMODES@ uninstalllibnetapi
2344 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) C
2347 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(SBINDIR
) $(SBIN_PROGS
)
2350 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(BINDIR
) $(BIN_PROGS
)
2352 uninstallcifsmount
::
2353 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSMOUNT_PROGS@
2355 uninstallcifsspnego
::
2356 @
$(SHELL
) script
/uninstallbin.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(ROOTSBINDIR
) @CIFSSPNEGO_PROGS@
2359 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(VFSLIBDIR
) $(VFS_MODULES
)
2360 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(PDBLIBDIR
) $(PDB_MODULES
)
2361 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(RPCLIBDIR
) $(RPC_MODULES
)
2362 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(IDMAPLIBDIR
) $(IDMAP_MODULES
)
2363 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(CHARSETLIBDIR
) $(CHARSET_MODULES
)
2364 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
) $(prefix) $(AUTHLIBDIR
) $(AUTH_MODULES
)
2367 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS_BIN
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
2370 @
$(SHELL
) $(srcdir)/script
/uninstalldat.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2373 @
$(SHELL
) $(srcdir)/script
/uninstallmsg.sh
$(DESTDIR
) $(LIBDIR
) $(srcdir)
2375 uninstallswat
:: uninstallmsg
2376 @
$(SHELL
) $(srcdir)/script
/uninstallswat.sh
$(DESTDIR
) $(SWATDIR
) $(srcdir)
2378 uninstallclientlib
::
2379 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.@SHLIBEXT@
2380 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbclient.a
2381 -rm -f
$(DESTDIR
)${prefix}/include/libsmbclient.h
2383 uninstalllibsmbsharemodes
::
2384 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.@SHLIBEXT@
2385 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libsmbsharemodes.a
2388 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libaddns.@SHLIBEXT@
2389 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libaddns.a
2391 uninstalllibnetapi
::
2392 -$(UNINSTALLLIBCMD_SH
) $(DESTDIR
)$(LIBDIR
)/libnetapi.@SHLIBEXT@
2393 -$(UNINSTALLLIBCMD_A
) $(DESTDIR
)$(LIBDIR
)/libnetapi.a
2394 -rm -f
$(DESTDIR
)${prefix}/include/netapi.h
2396 uninstallpammodules
::
2397 @for module in
$(PAM_MODULES
); do \
2398 echo
"Removing $(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@ "; \
2399 rm -f
"$(DESTDIR)/$(PAMMODULESDIR)/$${module}.@SHLIBEXT@"; \
2402 # Toplevel clean files
2403 TOPFILES
=dynconfig.o
2405 clean:: delheaders cleanlibtalloc cleanlibtdb
2406 -rm -f
$(PRECOMPILED_HEADER
)
2407 -rm -f core
*/*~
*~ \
2408 */*.o
*/*/*.o
*/*/*/*.o \
2409 ..
/testsuite
/*/*.o \
2410 */*.@SHLIBEXT@
*/*/*.@SHLIBEXT@
*/*/*/*.@SHLIBEXT@ \
2411 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(ROOT_SBIN_PROGS
) \
2412 $(MODULES
) $(TORTURE_PROGS
) \
2413 $(LIBSMBCLIENT
) $(LIBADDNS
) \
2414 $(LIBSMBSHAREMODES
) $(EVERYTHING_PROGS
) $(LIBNETAPI
) \
2415 bin
/libwbclient.so
.0 bin
/timelimit \
2416 .headers.stamp
*/src
/*.o proto_exists \
2417 $(LIBWBCLIENT_SYMS
) $(LIBNETAPI_SYMS
)
2420 # Making this target will just make sure that the prototype files
2421 # exist, not necessarily that they are up to date. Since they're
2422 # removed by "make clean" this will always be run when you do anything
2424 proto_exists
:: include/proto.h
include/build_env.h \
2425 winbindd
/winbindd_proto.h web
/swat_proto.h \
2426 libnet
/libnet_proto.h \
2427 client
/client_proto.h utils
/net_proto.h utils
/ntlm_auth_proto.h smbd
/build_options.c
2431 @echo Removing prototype headers
2432 @
rm -f
include/proto.h
include/build_env.h \
2433 winbindd
/winbindd_proto.h web
/swat_proto.h \
2434 client
/client_proto.h utils
/net_proto.h \
2435 smbd
/build_options.c utils
/ntlm_auth_proto.h \
2436 utils
/passwd_proto.h libnet
/libnet_proto.h
2438 MKPROTO_SH
= $(srcdir)/script
/mkproto.sh
2440 include/proto.h
: smbd
/build_options.c
2441 @echo Building
include/proto.h
2442 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2443 -h _PROTO_H_
$(builddir
)/include/proto.h \
2446 include/build_env.h
: script
/build_env.sh
2447 @echo Building
include/build_env.h
2448 @
$(SHELL
) $(srcdir)/script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) \
2449 > $(builddir
)/include/build_env.h
2451 winbindd
/winbindd_proto.h
:
2452 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2453 -h _WINBINDD_PROTO_H_
$(builddir
)/winbindd
/winbindd_proto.h \
2457 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2458 -h _SWAT_PROTO_H_
$(builddir
)/web
/swat_proto.h \
2461 client
/client_proto.h
:
2462 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2463 -h _CLIENT_PROTO_H_
$(builddir
)/client
/client_proto.h \
2467 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2468 -h _NET_PROTO_H_
$(builddir
)/utils
/net_proto.h \
2471 utils
/passwd_proto.h
:
2472 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2473 -h _PASSWD_PROTO_H_
$(builddir
)/utils
/passwd_proto.h \
2476 utils
/ntlm_auth_proto.h
:
2477 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2478 -h _NTLM_AUTH_PROTO_H_
$(builddir
)/utils
/ntlm_auth_proto.h \
2481 libnet
/libnet_proto.h
:
2482 @cd
$(srcdir) && $(SHELL
) $(MKPROTO_SH
) $(AWK
) \
2483 -h _LIBNET_PROTO_H_
$(builddir
)/libnet
/libnet_proto.h \
2486 # "make headers" or "make proto" calls a subshell because we need to
2487 # make sure these commands are executed in sequence even for a
2490 $(MAKE
) delheaders
; \
2491 $(MAKE
) smbd
/build_options.c
; \
2492 $(MAKE
) include/proto.h
; \
2493 $(MAKE
) include/build_env.h
; \
2494 $(MAKE
) winbindd
/winbindd_proto.h
; \
2495 $(MAKE
) web
/swat_proto.h
; \
2496 $(MAKE
) client
/client_proto.h
; \
2497 $(MAKE
) utils
/ntlm_auth_proto.h
; \
2498 $(MAKE
) utils
/net_proto.h
; \
2499 $(MAKE
) utils
/passwd_proto.h
; \
2500 $(MAKE
) libnet
/libnet_proto.h
;
2504 .PHONY
: headers proto
2507 etags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2510 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /.svn/`
2512 realclean:: clean delheaders
2513 -rm -f config.log bin
/.dummy script
/findsmb script
/gen-8bit-gap.sh
2514 -rm -f script
/installbin.sh script
/uninstallbin.sh
2516 distclean:: realclean
2518 -rm -f
include/config.h Makefile
2519 -rm -f config.status config.cache so_locations
2522 realdistclean
:: distclean
2523 -rm -f
include/config.h.in
2524 -rm -f
include/version.h
2527 # this target is really just for my use. It only works on a limited
2528 # range of machines and is used to produce a list of potentially
2529 # dead (ie. unused) functions in the code. (tridge)
2531 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
2532 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
2533 comm
-13 nmused.txt nmfns.txt
2536 # when configure.in is updated, reconfigure
2537 $(srcdir)/configure
: $(srcdir)/configure.in
2538 @echo
"WARNING: you need to rerun ./autogen.sh"
2540 config.status
: $(srcdir)/configure
2541 @echo
"WARNING: you need to run ./configure"
2543 Makefile
: $(srcdir)/Makefile.in config.status
2544 @echo
"WARNING: you need to run ./config.status"
2546 ######################################################################
2547 # Samba Testing Framework
2549 # Check shared libs for unresolved symbols
2550 test_shlibs
:: $(SHLIBS
)
2551 @echo
"Testing $(SHLIBS) "
2552 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2553 for module in
$(SHLIBS
); do \
2554 .
/script
/tests
/dlopen.sh bin
/$${module}.@SHLIBEXT@ \
2558 # Check for NSS module problems.
2559 test_nss_modules
:: nss_modules
2560 @echo
"Testing $(NSS_MODULES) "
2561 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2562 for module in
$(NSS_MODULES
); do \
2563 .
/script
/tests
/dlopen.sh
$${module} \
2567 # Check for PAM module problems. Specifically, check that every module we
2568 # built can actually be loaded by a minimal PAM-aware application.
2569 test_pam_modules
:: pam_modules
2570 @echo
"Testing $(PAM_MODULES) "
2571 @
export $(LIB_PATH_VAR
)=.
/bin
&& \
2572 for module in
$(PAM_MODULES
); do \
2573 .
/script
/tests
/dlopen.sh
-lpam
-ldl bin
/$${module}.@SHLIBEXT@ \
2579 ## Targets for 'make test'
2581 test:: all torture timelimit
2582 @echo Running Test suite
2583 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"
2585 valgrindtest
:: all torture timelimit
2586 @echo Running Test suite with valgrind
2587 @LIB_PATH_VAR
=$(LIB_PATH_VAR
) \
2588 NMBD_VALGRIND
="xterm -n nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
2589 WINBINDD_VALGRIND
="xterm -n winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
2590 SMBD_VALGRIND
="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
2591 VALGRIND
="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
2592 PERL
="$(PERL)" $(srcdir)/script
/tests
/selftest.sh
${selftest_prefix} all "${smbtorture4_path}"