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 Barteltt 2002
6 ###########################################################################
9 exec_prefix=@
exec_prefix@
19 LDSHFLAGS
=@LDSHFLAGS@ @LDFLAGS@ @CFLAGS@
24 TERMLDFLAGS
=@TERMLDFLAGS@
29 LINK
=$(CC
) $(FLAGS
) $(LDFLAGS
)
38 # XXX: Perhaps this should be @SHELL@ instead -- apparently autoconf
39 # will search for a POSIX-compliant shell, and that might not be
40 # /bin/sh on some platforms. I guess it's not a big problem -- mbp
42 # See the autoconf manual "Installation Directory Variables" for a
43 # discussion of thesubtle use of these variables.
47 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
50 VFSLIBDIR
= $(LIBDIR
)/vfs
51 PDBLIBDIR
= $(LIBDIR
)/pdb
52 CONFIGDIR
= @configdir@
53 VARDIR
= @localstatedir@
56 # The permissions to give the executables
59 # set these to where to find various files
60 # These can be overridden by command line switches (see smbd(8))
61 # or in smb.conf (see smb.conf(5))
62 LOGFILEBASE
= @logfilebase@
63 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
64 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
66 # This is where smbpasswd et al go
67 PRIVATEDIR
= @privatedir@
69 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
70 PRIVATE_DIR
= $(PRIVATEDIR
)
72 # This is where SWAT images and help files go
75 # the directory where lock files go
78 # the directory where pid files go
80 # man pages language(s)
81 man_langs
= "@manlangs@"
87 FLAGS1
= $(CFLAGS
) @FLAGS1@
-Iinclude
-I
$(srcdir)/include -I
$(srcdir)/ubiqx
-I
$(srcdir)/smbwrapper
-I.
$(CPPFLAGS
) -I
$(srcdir)
91 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
)
92 FLAGS
= $(ISA
) $(FLAGS5
)
93 FLAGS32
= $(ISA32
) $(FLAGS5
)
95 PASSWD_FLAGS
= -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" -DPRIVATE_DIR
=\"$(PRIVATE_DIR
)\"
96 PATH_FLAGS1
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" -DSBINDIR
=\"$(SBINDIR
)\"
97 PATH_FLAGS2
= $(PATH_FLAGS1
) -DBINDIR
=\"$(BINDIR
)\" -DDRIVERFILE
=\"$(DRIVERFILE
)\"
98 PATH_FLAGS3
= $(PATH_FLAGS2
) -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\"
99 PATH_FLAGS4
= $(PATH_FLAGS3
) -DSWATDIR
=\"$(SWATDIR
)\" -DLOCKDIR
=\"$(LOCKDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\"
100 PATH_FLAGS5
= $(PATH_FLAGS4
) -DLIBDIR
=\"$(LIBDIR
)\" -DLOGFILEBASE
=\"$(LOGFILEBASE
)\"
101 PATH_FLAGS6
= $(PATH_FLAGS5
) -DCONFIGDIR
=\"$(CONFIGDIR
)\"
102 PATH_FLAGS
= $(PATH_FLAGS6
) $(PASSWD_FLAGS
)
104 # Note that all executable programs now provide for an optional executable suffix.
106 SBIN_PROGS
= bin
/smbd@EXEEXT@ bin
/nmbd@EXEEXT@ bin
/swat@EXEEXT@ \
107 bin
/wrepld@EXEEXT@ @EXTRA_SBIN_PROGS@
109 BIN_PROGS1
= bin
/smbclient@EXEEXT@ bin
/net@EXEEXT@ bin
/smbspool@EXEEXT@ \
110 bin
/testparm@EXEEXT@ bin
/testprns@EXEEXT@ bin
/smbstatus@EXEEXT@
111 BIN_PROGS2
= bin
/smbcontrol@EXEEXT@ bin
/smbtree@EXEEXT@ bin
/tdbbackup@EXEEXT@ \
112 bin
/nmblookup@EXEEXT@ bin
/pdbedit@EXEEXT@
113 BIN_PROGS3
= bin
/smbpasswd@EXEEXT@ bin
/rpcclient@EXEEXT@ bin
/smbcacls@EXEEXT@ \
114 bin
/profiles@EXEEXT@ bin
/smbgroupedit@EXEEXT@ bin
/ntlm_auth@EXEEXT@ \
117 TORTURE_PROGS
= bin
/smbtorture@EXEEXT@ bin
/msgtest@EXEEXT@ \
118 bin
/masktest@EXEEXT@ bin
/locktest@EXEEXT@ \
119 bin
/locktest2@EXEEXT@ bin
/nsstest@EXEEXT@ bin
/vfstest@EXEEXT@
121 BIN_PROGS
= $(BIN_PROGS1
) $(BIN_PROGS2
) $(BIN_PROGS3
) @EXTRA_BIN_PROGS@
123 SHLIBS
= @SHLIB_PROGS@ @LIBSMBCLIENT@
125 SCRIPTS
= $(srcdir)/script
/smbtar
$(srcdir)/script
/addtosmbpass
$(srcdir)/script
/convert_smbpasswd \
126 $(builddir
)/script
/findsmb
128 QUOTAOBJS
=@QUOTAOBJS@
130 VFS_MODULES
= bin
/vfs_audit.@SHLIBEXT@ bin
/vfs_recycle.@SHLIBEXT@ bin
/vfs_netatalk.@SHLIBEXT@
131 PDB_MODULES
= @MODULE_MYSQL@ @MODULE_XML@
132 MODULES
= bin
/developer.@SHLIBEXT@
134 ######################################################################
136 ######################################################################
138 TDBBASE_OBJ
= tdb
/tdb.o tdb
/spinlock.o
139 TDB_OBJ
= $(TDBBASE_OBJ
) tdb
/tdbutil.o
141 LIB_OBJ
= lib
/charcnv.o lib
/debug.o lib
/fault.o \
142 lib
/getsmbpass.o lib
/interface.o lib
/md4.o \
143 lib
/interfaces.o lib
/pidfile.o lib
/replace.o \
144 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
145 lib
/ufc.o lib
/genrand.o lib
/username.o \
146 lib
/util_getent.o lib
/util_pw.o lib
/access.o lib
/smbrun.o \
147 lib
/bitmap.o lib
/crc32.o lib
/snprintf.o lib
/dprintf.o \
148 lib
/xfile.o lib
/wins_srv.o \
149 lib
/util_str.o lib
/util_sid.o lib
/util_uuid.o \
150 lib
/util_unistr.o lib
/util_file.o lib
/data_blob.o \
151 lib
/util.o lib
/util_sock.o lib
/util_sec.o \
152 lib
/talloc.o lib
/hash.o lib
/substitute.o lib
/fsusage.o \
153 lib
/ms_fnmatch.o lib
/select.o lib
/messages.o \
154 lib
/tallocmsg.o lib
/dmallocmsg.o \
155 lib
/md5.o lib
/hmacmd5.o lib
/iconv.o lib
/smbpasswd.o \
156 nsswitch
/wb_client.o nsswitch
/wb_common.o \
157 lib
/pam_errors.o intl
/lang_tdb.o lib
/account_pol.o \
158 lib
/adt_tree.o lib
/gencache.o
$(TDB_OBJ
) \
159 lib
/module.o lib
/genparser.o lib
/genparser_samba.o
161 LIB_SMBD_OBJ
= lib
/system_smbd.o lib
/util_smbd.o
163 READLINE_OBJ
= lib
/readline.o
165 POPT_LIB_OBJ
= lib
/popt_common.o
167 UBIQX_OBJ
= ubiqx
/ubi_BinTree.o ubiqx
/ubi_Cache.o ubiqx
/ubi_SplayTree.o \
168 ubiqx
/ubi_dLinkList.o ubiqx
/ubi_sLinkList.o ubiqx
/debugparse.o
170 PARAM_OBJ
= param
/loadparm.o param
/params.o dynconfig.o
172 LIBADS_OBJ
= libads
/ldap.o libads
/ldap_printer.o libads
/sasl.o \
173 libads
/krb5_setpw.o libads
/kerberos.o libads
/ldap_user.o \
174 libads
/ads_struct.o libads
/ads_status.o \
175 libads
/disp_sec.o libads
/ads_utils.o libads
/ldap_utils.o \
178 LIBADS_SERVER_OBJ
= libads
/util.o libads
/kerberos_verify.o
180 SECRETS_OBJ
= passdb
/secrets.o
182 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
183 libsmb
/clikrb5.o libsmb
/clispnego.o libsmb
/asn1.o \
184 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
185 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
186 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
187 libsmb
/namequery.o libsmb
/nmblib.o libsmb
/clistr.o \
188 libsmb
/nterr.o libsmb
/smbdes.o libsmb
/smbencrypt.o \
189 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
190 libsmb
/clioplock.o libsmb
/errormap.o libsmb
/clirap2.o \
191 libsmb
/passchange.o libsmb
/unexpected.o libsmb
/doserr.o \
192 libsmb
/namecache.o libsmb
/trustdom_cache.o
$(RPC_PARSE_OBJ1
)
194 LIBMSRPC_OBJ
= rpc_client
/cli_lsarpc.o rpc_client
/cli_samr.o \
195 rpc_client
/cli_netlogon.o rpc_client
/cli_srvsvc.o \
196 rpc_client
/cli_wkssvc.o rpc_client
/cli_dfs.o \
197 rpc_client
/cli_reg.o rpc_client
/cli_pipe.o \
198 rpc_client
/cli_spoolss.o rpc_client
/cli_spoolss_notify.o \
199 rpc_client
/cli_ds.o libsmb
/namequery_dc.o
201 LIBMSRPC_SERVER_OBJ
= libsmb
/trust_passwd.o
203 LIBMSRPC_PICOBJ
= $(LIBMSRPC_OBJ
:.o
=.po
)
205 REGOBJS_OBJ
= registry
/reg_objects.o
206 REGISTRY_OBJ
= registry
/reg_frontend.o registry
/reg_cachehook.o registry
/reg_printing.o \
209 RPC_SERVER_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o \
210 rpc_server
/srv_lsa_hnd.o rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o \
211 rpc_server
/srv_pipe_hnd.o rpc_server
/srv_reg.o rpc_server
/srv_reg_nt.o \
212 rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o rpc_server
/srv_samr_util.o \
213 rpc_server
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o \
214 rpc_server
/srv_util.o rpc_server
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o \
215 rpc_server
/srv_pipe.o rpc_server
/srv_dfs.o rpc_server
/srv_dfs_nt.o \
216 rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o
218 # this includes only the low level parse code, not stuff
219 # that requires knowledge of security contexts
220 RPC_PARSE_OBJ1
= rpc_parse
/parse_prs.o rpc_parse
/parse_sec.o \
221 rpc_parse
/parse_misc.o
223 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o rpc_parse
/parse_net.o \
224 rpc_parse
/parse_reg.o rpc_parse
/parse_rpc.o \
225 rpc_parse
/parse_samr.o rpc_parse
/parse_srv.o \
226 rpc_parse
/parse_wks.o rpc_parse
/parse_ds.o \
227 rpc_parse
/parse_spoolss.o rpc_parse
/parse_dfs.o \
231 RPC_CLIENT_OBJ
= rpc_client
/cli_pipe.o
233 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
235 PASSDB_GET_SET_OBJ
= passdb
/pdb_get_set.o
237 PASSDB_OBJ
= $(PASSDB_GET_SET_OBJ
) passdb
/passdb.o passdb
/pdb_interface.o \
238 passdb
/machine_sid.o passdb
/pdb_smbpasswd.o \
239 passdb
/pdb_tdb.o passdb
/pdb_ldap.o \
240 passdb
/pdb_unix.o passdb
/util_sam_sid.o \
241 passdb
/pdb_compat.o passdb
/pdb_nisplus.o
243 XML_OBJ
= modules
/xml.o
244 MYSQL_OBJ
= modules
/mysql.o
245 DEVEL_HELP_OBJ
= modules
/developer.o
247 SAM_STATIC_MODULES
= sam
/sam_plugin.o sam
/sam_skel.o sam
/sam_ads.o
249 SAM_OBJ
= sam
/account.o sam
/get_set_account.o sam
/get_set_group.o \
250 sam
/get_set_domain.o sam
/interface.o
$(SAM_STATIC_MODULES
)
252 SAMTEST_OBJ
= torture
/samtest.o torture
/cmd_sam.o
$(SAM_OBJ
) $(LIB_OBJ
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(READLINE_OBJ
) lib
/util_seaccess.o
$(LIBADS_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(GROUPDB_OBJ
)
254 GROUPDB_OBJ
= groupdb
/mapping.o
256 # passdb/smbpass.o passdb/ldap.o passdb/nispass.o
258 PROFILE_OBJ
= profile
/profile.o
260 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
262 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_hash.o smbd
/notify_kernel.o
264 PLAINTEXT_AUTH_OBJ
= auth
/pampass.o auth
/pass_check.o
266 UNIGRP_OBJ
= libsmb
/netlogon_unigrp.o
268 AUTH_OBJ
= auth
/auth.o auth
/auth_sam.o auth
/auth_server.o auth
/auth_domain.o \
269 auth
/auth_rhosts.o auth
/auth_unix.o auth
/auth_util.o auth
/auth_winbind.o \
270 auth
/auth_builtin.o auth
/auth_compat.o \
271 $(PLAINTEXT_AUTH_OBJ
) $(UNIGRP_OBJ
)
273 MANGLE_OBJ
= smbd
/mangle.o smbd
/mangle_hash.o smbd
/mangle_map.o smbd
/mangle_hash2.o
275 SMBD_OBJ_MAIN
= smbd
/server.o
277 SMBD_OBJ_SRV
= smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
278 smbd
/utmp.o smbd
/session.o \
279 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/fileio.o \
280 smbd
/ipc.o smbd
/lanman.o smbd
/negprot.o \
281 smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
282 smbd
/reply.o smbd
/sesssetup.o smbd
/trans2.o smbd
/uid.o \
283 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
284 smbd
/blocking.o smbd
/sec_ctx.o \
285 smbd
/vfs.o smbd
/vfs-wrap.o smbd
/statcache.o \
286 smbd
/posix_acls.o lib
/sysacls.o lib
/server_mutex.o \
287 smbd
/process.o smbd
/service.o smbd
/error.o \
288 printing
/printfsp.o lib
/util_seaccess.o smbd
/srvstr.o \
289 smbd
/build_options.o \
290 smbd
/change_trust_pw.o \
293 SMBD_OBJ_BASE
= $(SMBD_OBJ_SRV
) $(MSDFS_OBJ
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) \
294 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(SECRETS_OBJ
) \
295 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) \
296 $(LIB_OBJ
) $(PRINTBACKEND_OBJ
) $(QUOTAOBJS
) $(OPLOCK_OBJ
) \
297 $(NOTIFY_OBJ
) $(GROUPDB_OBJ
) $(AUTH_OBJ
) \
298 $(LIBMSRPC_OBJ
) $(LIBMSRPC_SERVER_OBJ
) \
299 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
300 $(LIB_SMBD_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
)
303 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o \
304 printing
/print_cups.o printing
/print_generic.o \
305 printing
/lpq_parse.o printing
/load.o
307 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o printing
/notify.o \
308 printing
/printing_db.o
310 MSDFS_OBJ
= msdfs
/msdfs.o
312 SMBD_OBJ
= $(SMBD_OBJ_MAIN
) $(SMBD_OBJ_BASE
)
314 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
315 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
316 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
317 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
318 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
319 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
320 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
321 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
322 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
323 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
324 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
325 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
327 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) \
328 $(PROFILE_OBJ
) $(LIB_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
330 WREPL_OBJ1
= wrepld
/server.o wrepld
/process.o wrepld
/parser.o wrepld
/socket.o \
333 WREPL_OBJ
= $(WREPL_OBJ1
) $(PARAM_OBJ
) $(UBIQX_OBJ
) \
334 $(PROFILE_OBJ
) $(LIB_OBJ
)
336 SWAT_OBJ1
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
337 web
/swat.o web
/neg_lang.o
339 SWAT_OBJ
= $(SWAT_OBJ1
) $(PRINTING_OBJ
) $(LIBSMB_OBJ
) $(LOCKING_OBJ
) \
340 $(PARAM_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) \
341 $(UBIQX_OBJ
) $(LIB_OBJ
) $(GROUPDB_OBJ
) $(PLAINTEXT_AUTH_OBJ
)
343 SMBSH_OBJ
= smbwrapper
/smbsh.o smbwrapper
/shared.o \
344 $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
346 STATUS_OBJ
= utils
/status.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
347 $(UBIQX_OBJ
) $(PROFILE_OBJ
) $(LIB_OBJ
) $(POPT_LIB_OBJ
)
349 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
350 $(UBIQX_OBJ
) $(PROFILE_OBJ
) $(LIB_OBJ
) printing
/notify.o \
351 printing
/printing_db.o
353 SMBTREE_OBJ
= utils
/smbtree.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
354 $(UBIQX_OBJ
) $(PROFILE_OBJ
) $(LIB_OBJ
) $(LIBSMB_OBJ
)
356 TESTPARM_OBJ
= utils
/testparm.o \
357 $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) $(POPT_LIB_OBJ
)
359 TESTPRNS_OBJ
= utils
/testprns.o
$(PARAM_OBJ
) $(PRINTING_OBJ
) $(UBIQX_OBJ
) \
362 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PARAM_OBJ
) $(SECRETS_OBJ
) \
363 $(LIBSMB_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
)\
364 $(UBIQX_OBJ
) $(LIB_OBJ
)
366 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
367 $(UBIQX_OBJ
) $(LIB_OBJ
) $(GROUPDB_OBJ
) $(SECRETS_OBJ
) \
370 SMBGROUPEDIT_OBJ
= utils
/smbgroupedit.o
$(GROUPDB_OBJ
) $(PARAM_OBJ
) \
371 $(LIBSMB_OBJ
) $(PASSDB_OBJ
) $(SECRETS_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
373 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
374 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
375 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
376 rpcclient
/cmd_dfs.o rpcclient
/cmd_reg.o \
377 rpcclient
/display_sec.o rpcclient
/cmd_ds.o
379 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
380 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
381 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_OBJ
) \
382 $(READLINE_OBJ
) $(GROUPDB_OBJ
) \
383 $(LIBADS_OBJ
) $(SECRETS_OBJ
) $(POPT_LIB_OBJ
)
385 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.po nsswitch
/wb_common.po lib
/snprintf.po
387 SMBW_OBJ1
= smbwrapper
/smbw.o \
388 smbwrapper
/smbw_dir.o smbwrapper
/smbw_stat.o \
389 smbwrapper
/realcalls.o smbwrapper
/shared.o \
390 smbwrapper
/smbw_cache.o
392 SMBW_OBJ
= $(SMBW_OBJ1
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
393 $(UBIQX_OBJ
) $(LIB_OBJ
)
395 SMBWRAPPER_OBJ1
= smbwrapper
/wrapped.o
397 SMBWRAPPER_OBJ
= $(SMBW_OBJ
) $(SMBWRAPPER_OBJ1
)
399 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o libsmb
/libsmb_compat.o \
400 libsmb
/libsmb_cache.o
$(LIB_OBJ
) \
401 $(LIBSMB_OBJ
) $(PARAM_OBJ
) $(UBIQX_OBJ
)
403 # This shared library is intended for linking with unit test programs
404 # to test Samba internals. It's called libbigballofmud.so to
405 # discourage casual usage.
407 LIBBIGBALLOFMUD_MAJOR
= 0
409 LIBBIGBALLOFMUD_OBJ
= $(LIB_OBJ
) $(UBIQX_OBJ
) $(PARAM_OBJ
) $(SECRETS_OBJ
) \
410 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
413 LIBBIGBALLOFMUD_PICOBJS
= $(LIBBIGBALLOFMUD_OBJ
:.o
=.po
)
415 CLIENT_OBJ1
= client
/client.o client
/clitar.o
417 CLIENT_OBJ
= $(CLIENT_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
418 $(READLINE_OBJ
) $(POPT_LIB_OBJ
)
420 NET_OBJ1
= utils
/net.o utils
/net_ads.o utils
/net_ads_cldap.o utils
/net_help.o \
421 utils
/net_rap.o utils
/net_rpc.o utils
/net_rpc_samsync.o \
422 utils
/net_rpc_join.o utils
/net_time.o utils
/net_lookup.o \
425 NET_OBJ
= $(NET_OBJ1
) $(SECRETS_OBJ
) $(LIBSMB_OBJ
) \
426 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
427 $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
428 $(LIBMSRPC_OBJ
) $(LIBMSRPC_SERVER_OBJ
) \
429 $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) $(POPT_LIB_OBJ
)
431 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
433 MOUNT_OBJ
= client
/smbmount.o \
434 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
436 MNT_OBJ
= client
/smbmnt.o
438 UMOUNT_OBJ
= client
/smbumount.o
440 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(UBIQX_OBJ
) \
441 $(LIBSMB_OBJ
) $(LIB_OBJ
)
443 SMBTORTURE_OBJ1
= torture
/torture.o torture
/nbio.o torture
/scanner.o torture
/utable.o \
444 torture
/denytest.o torture
/mangle_test.o
446 SMBTORTURE_OBJ
= $(SMBTORTURE_OBJ1
) \
447 $(LIBSMB_OBJ
) $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
449 MASKTEST_OBJ
= torture
/masktest.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
450 $(UBIQX_OBJ
) $(LIB_OBJ
)
452 MSGTEST_OBJ
= torture
/msgtest.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
453 $(UBIQX_OBJ
) $(LIB_OBJ
)
455 LOCKTEST_OBJ
= torture
/locktest.o
$(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
456 $(UBIQX_OBJ
) $(LIB_OBJ
)
458 NSSTEST_OBJ
= torture
/nsstest.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
459 $(UBIQX_OBJ
) $(LIB_OBJ
)
461 VFSTEST_OBJ
= torture
/cmd_vfs.o torture
/vfstest.o
$(SMBD_OBJ_BASE
) $(READLINE_OBJ
)
463 VFS_AUDIT_OBJ
= modules
/vfs_audit.o
464 VFS_RECYCLE_OBJ
= modules
/vfs_recycle.o
465 VFS_NETATALK_OBJ
= modules
/vfs_netatalk.o
467 LOCKTEST2_OBJ
= torture
/locktest2.o
$(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
468 $(UBIQX_OBJ
) $(LIB_OBJ
)
470 SMBCACLS_OBJ
= utils
/smbcacls.o
$(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
471 $(UBIQX_OBJ
) $(LIB_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
) \
472 $(LIBMSRPC_OBJ
) $(SECRETS_OBJ
)
474 TALLOCTORT_OBJ
= lib
/talloctort.o
$(LIB_OBJ
) $(PARAM_OBJ
) $(UBIQX_OBJ
)
476 RPCTORTURE_OBJ
= torture
/rpctorture.o \
477 rpcclient
/display.o \
478 rpcclient
/cmd_lsarpc.o \
479 rpcclient
/cmd_wkssvc.o \
480 rpcclient
/cmd_samr.o \
481 rpcclient
/cmd_srvsvc.o \
482 rpcclient
/cmd_netlogon.o \
483 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
484 $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_GET_SET_OBJ
)
486 DEBUG2HTML_OBJ
= utils
/debug2html.o ubiqx
/debugparse.o
488 SMBFILTER_OBJ
= utils
/smbfilter.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
489 $(UBIQX_OBJ
) $(LIB_OBJ
)
491 PROTO_OBJ
= $(SMBD_OBJ_MAIN
) \
492 $(SMBD_OBJ_SRV
) $(NMBD_OBJ1
) $(SWAT_OBJ1
) $(LIB_OBJ
) $(LIBSMB_OBJ
) \
493 $(SMBW_OBJ1
) $(SMBWRAPPER_OBJ1
) $(SMBTORTURE_OBJ1
) $(RPCCLIENT_OBJ1
) \
494 $(LIBMSRPC_OBJ
) $(LIBMSRPC_SERVER_OBJ
) $(RPC_CLIENT_OBJ
) \
495 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) \
496 $(AUTH_OBJ
) $(PARAM_OBJ
) $(LOCKING_OBJ
) $(SECRETS_OBJ
) \
497 $(PRINTING_OBJ
) $(PRINTBACKEND_OBJ
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
) \
498 $(QUOTAOBJS
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(MSDFS_OBJ
) \
499 $(READLINE_OBJ
) $(PROFILE_OBJ
) $(LIBADS_OBJ
) $(LIBADS_SERVER_OBJ
) \
500 $(LIB_SMBD_OBJ
) $(SAM_OBJ
) $(REGISTRY_OBJ
) $(POPT_LIB_OBJ
)
502 NSS_OBJ_0
= nsswitch
/wins.o
$(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIBSMB_OBJ
) \
503 $(LIB_OBJ
) $(NSSWINS_OBJ
)
505 NSS_OBJ
= $(NSS_OBJ_0
:.o
=.po
)
507 PICOBJS
= $(SMBWRAPPER_OBJ
:.o
=.po
)
508 PICOBJS32
= $(SMBWRAPPER_OBJ
:.o
=.po32
)
509 LIBSMBCLIENT_PICOBJS
= $(LIBSMBCLIENT_OBJ
:.o
=.po
)
511 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
512 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o \
513 libsmb
/smbencrypt.o libsmb
/smbdes.o libsmb
/nterr.o \
514 $(PARAM_OBJ
) $(LIB_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) \
515 $(SECRETS_OBJ
) $(UBIQX_OBJ
)
517 PAM_SMBPASS_PICOOBJ
= $(PAM_SMBPASS_OBJ_0
:.o
=.po
)
520 nsswitch
/winbindd.o \
521 nsswitch
/winbindd_user.o \
522 nsswitch
/winbindd_group.o \
523 nsswitch
/winbindd_idmap.o \
524 nsswitch
/winbindd_util.o \
525 nsswitch
/winbindd_cache.o \
526 nsswitch
/winbindd_pam.o \
527 nsswitch
/winbindd_sid.o \
528 nsswitch
/winbindd_misc.o \
529 nsswitch
/winbindd_cm.o \
530 nsswitch
/winbindd_wins.o \
531 nsswitch
/winbindd_rpc.o \
532 nsswitch
/winbindd_ads.o \
533 nsswitch
/winbindd_dual.o
536 $(WINBINDD_OBJ1
) $(PASSDB_GET_SET_OBJ
) \
537 $(LIBNMB_OBJ
) $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
538 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(RPC_PARSE_OBJ
) \
539 $(PROFILE_OBJ
) $(UNIGRP_OBJ
) \
540 $(SECRETS_OBJ
) $(LIBADS_OBJ
)
542 WBINFO_OBJ
= nsswitch
/wbinfo.o libsmb
/smbencrypt.o libsmb
/smbdes.o
544 WINBIND_NSS_OBJ
= nsswitch
/winbind_nss.o nsswitch
/wb_common.o @WINBIND_NSS_EXTRA_OBJS@
546 WINBIND_NSS_PICOBJS
= $(WINBIND_NSS_OBJ
:.o
=.po
)
548 POPT_OBJS
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
549 popt
/popthelp.o popt
/poptparse.o
551 TDBBACKUP_OBJ
= tdb
/tdbbackup.o
$(TDBBASE_OBJ
)
553 NTLM_AUTH_OBJ
= utils
/ntlm_auth.o
$(POPT_LIB_OBJ
)
555 ######################################################################
557 ######################################################################
558 all : SHOWFLAGS proto_exists
$(SBIN_PROGS
) $(BIN_PROGS
) $(SHLIBS
) \
559 $(TORTURE_PROGS
) @EXTRA_ALL_TARGETS@
561 pam_smbpass
: SHOWFLAGS bin
/pam_smbpass.@SHLIBEXT@
563 smbwrapper
: SHOWFLAGS @SMBWRAPPER@
565 torture
: SHOWFLAGS
$(TORTURE_PROGS
)
567 smbtorture
: SHOWFLAGS bin
/smbtorture@EXEEXT@
569 masktest
: SHOWFLAGS bin
/masktest@EXEEXT@
571 msgtest
: SHOWFLAGS bin
/msgtest@EXEEXT@
573 locktest
: SHOWFLAGS bin
/locktest@EXEEXT@
575 smbcacls
: SHOWFLAGS bin
/smbcacls@EXEEXT@
577 locktest2
: SHOWFLAGS bin
/locktest2@EXEEXT@
579 rpctorture
: SHOWFLAGS bin
/rpctorture@EXEEXT@
581 debug2html
: SHOWFLAGS bin
/debug2html@EXEEXT@
583 smbfilter
: SHOWFLAGS bin
/smbfilter@EXEEXT@
585 talloctort
: SHOWFLAGS bin
/talloctort@EXEEXT@
587 nsswitch
: SHOWFLAGS bin
/winbindd@EXEEXT@ bin
/wbinfo@EXEEXT@ nsswitch
/libnss_winbind.so nsswitch
/pam_winbind.so
589 wins
: SHOWFLAGS nsswitch
/libnss_wins.@SHLIBEXT@
591 modules
: SHOWFLAGS proto_exists
$(VFS_MODULES
) $(PDB_MODULES
) $(MODULES
)
593 everything
: all libsmbclient debug2html smbfilter talloctort
596 .SUFFIXES
: .c .o .po .po32 .lo
599 @echo
"Using FLAGS = $(FLAGS)"
600 @echo
" FLAGS32 = $(FLAGS32)"
601 @echo
" LIBS = $(LIBS)"
602 @echo
" LDSHFLAGS = $(LDSHFLAGS)"
603 @echo
" LDFLAGS = $(LDFLAGS)"
605 MAKEDIR
= || exec false
; \
606 if
test -d
"$$dir"; then
:; else \
607 echo mkdir
"$$dir"; \
608 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
611 exec false
; fi || exec false
614 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
615 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
617 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) -c
$< \
619 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
621 # These dependencies are only approximately correct: we want to make
622 # sure Samba's paths are updated if ./configure is re-run. Really it
623 # would be nice if "make prefix=/opt/samba all" also rebuilt things,
624 # but since we also require "make install prefix=/opt/samba" *not* to
625 # rebuild it's a bit hard.
627 dynconfig.o
: dynconfig.c Makefile
629 @
$(CC
) $(FLAGS
) $(PATH_FLAGS
) -c
$< -o
$@
631 dynconfig.po
: dynconfig.c Makefile
632 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
633 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
634 @echo Compiling
$*.c with @PICFLAG@
635 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) $(PATH_FLAGS
) @PICFLAG@
-c
$< -o
$*.@PICSUFFIX@
636 @BROKEN_CC@
-mv
`echo $@ | sed -e 's%^.*/%%g' -e 's%\.po$$%.o%'` $@
637 @POBAD_CC@ @mv
$*.po.o
$@
640 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
641 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
642 @echo Compiling
$*.c with @PICFLAG@
643 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) @PICFLAG@
-c
$< -o
$*.@PICSUFFIX@
644 @BROKEN_CC@
-mv
`echo $@ | sed -e 's%^.*/%%g' -e 's%\.po$$%.o%'` $@
645 @POBAD_CC@ @mv
$*.po.o
$@
649 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
650 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
651 @echo Compiling
$*.c with @PICFLAG@ and
-32
652 @
$(CC
) -32 -I.
-I
$(srcdir) $(FLAGS32
) $(PATH_FLAGS
) @PICFLAG@
-c
$< \
654 @BROKEN_CC@
-mv
`echo $@ | sed -e 's%^.*/%%g' -e 's%\.po32$$%.o%'` $@.o
658 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
659 dir=bin
$(MAKEDIR
); fi
660 @
: >> $@ ||
: > $@
# what a fancy emoticon!
662 bin
/smbd@EXEEXT@
: $(SMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
664 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINTLIBS
) \
665 $(AUTHLIBS
) $(LIBS
) @BUILD_POPT@
667 bin
/nmbd@EXEEXT@
: $(NMBD_OBJ
) @BUILD_POPT@ bin
/.dummy
669 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(LIBS
) @BUILD_POPT@
671 bin
/wrepld@EXEEXT@
: $(WREPL_OBJ
) bin
/.dummy
673 @
$(CC
) $(FLAGS
) -o
$@
$(WREPL_OBJ
) $(LDFLAGS
) $(LIBS
)
675 bin
/swat@EXEEXT@
: $(SWAT_OBJ
) bin
/.dummy
677 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(PRINTLIBS
) \
680 bin
/rpcclient@EXEEXT@
: $(RPCCLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
682 @
$(CC
) $(FLAGS
) -o
$@
$(RPCCLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @BUILD_POPT@
684 bin
/smbclient@EXEEXT@
: $(CLIENT_OBJ
) @BUILD_POPT@ bin
/.dummy
686 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) @BUILD_POPT@
688 bin
/net@EXEEXT@
: $(NET_OBJ
) @BUILD_POPT@ bin
/.dummy
690 @
$(CC
) $(FLAGS
) -o
$@
$(NET_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
) @BUILD_POPT@
692 bin
/profiles@EXEEXT@
: utils
/profiles.o bin
/.dummy
694 @
$(CC
) $(FLAGS
) -o
$@ utils
/profiles.o
$(LDFLAGS
) $(LIBS
)
696 bin
/editreg@EXEEXT@
: utils
/editreg.o bin
/.dummy
698 @
$(CC
) $(FLAGS
) -o
$@ utils
/editreg.o
$(LDFLAGS
) $(LIBS
)
700 bin
/smbspool@EXEEXT@
: $(CUPS_OBJ
) bin
/.dummy
702 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(LDFLAGS
) $(LIBS
)
704 bin
/smbmount@EXEEXT@
: $(MOUNT_OBJ
) bin
/.dummy
706 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(LDFLAGS
) $(LIBS
)
708 bin
/smbmnt@EXEEXT@
: $(MNT_OBJ
) bin
/.dummy
710 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(LDFLAGS
)
712 bin
/smbumount@EXEEXT@
: $(UMOUNT_OBJ
) bin
/.dummy
714 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(LDFLAGS
)
716 bin
/testparm@EXEEXT@
: $(TESTPARM_OBJ
) @BUILD_POPT@ bin
/.dummy
718 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(LIBS
) @BUILD_POPT@
720 bin
/testprns@EXEEXT@
: $(TESTPRNS_OBJ
) bin
/.dummy
722 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPRNS_OBJ
) $(LDFLAGS
) $(PRINTLIBS
) $(LIBS
)
724 bin
/smbstatus@EXEEXT@
: $(STATUS_OBJ
) @BUILD_POPT@ bin
/.dummy
726 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(LIBS
) @BUILD_POPT@
728 bin
/smbcontrol@EXEEXT@
: $(SMBCONTROL_OBJ
) bin
/.dummy
730 @
$(CC
) -DUSING_SMBCONTROL
$(FLAGS
) -o
$@
$(SMBCONTROL_OBJ
) $(LDFLAGS
) $(LIBS
)
732 bin
/smbtree@EXEEXT@
: $(SMBTREE_OBJ
) bin
/.dummy
734 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTREE_OBJ
) $(LDFLAGS
) $(LIBS
)
736 bin
/smbpasswd@EXEEXT@
: $(SMBPASSWD_OBJ
) bin
/.dummy
738 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
740 bin
/pdbedit@EXEEXT@
: $(PDBEDIT_OBJ
) @BUILD_POPT@ bin
/.dummy
742 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) @BUILD_POPT@
744 bin
/samtest@EXEEXT@
: $(SAMTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
746 @
$(CC
) $(FLAGS
) -o
$@
$(SAMTEST_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(LIBS
) @BUILD_POPT@
748 bin
/smbgroupedit@EXEEXT@
: $(SMBGROUPEDIT_OBJ
) bin
/.dummy
750 @
$(CC
) $(FLAGS
) -o
$@
$(SMBGROUPEDIT_OBJ
) $(LDFLAGS
) $(LIBS
)
752 bin
/nmblookup@EXEEXT@
: $(NMBLOOKUP_OBJ
) bin
/.dummy
754 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(LIBS
)
756 bin
/smbtorture@EXEEXT@
: $(SMBTORTURE_OBJ
) bin
/.dummy
758 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(LIBS
)
760 bin
/talloctort@EXEEXT@
: $(TALLOCTORT_OBJ
) bin
/.dummy
762 @
$(CC
) $(FLAGS
) -o
$@
$(TALLOCTORT_OBJ
) $(LDFLAGS
) $(LIBS
)
764 bin
/masktest@EXEEXT@
: $(MASKTEST_OBJ
) bin
/.dummy
766 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
768 bin
/msgtest@EXEEXT@
: $(MSGTEST_OBJ
) bin
/.dummy
770 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
772 bin
/smbcacls@EXEEXT@
: $(SMBCACLS_OBJ
) bin
/.dummy
774 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
)
776 bin
/locktest@EXEEXT@
: $(LOCKTEST_OBJ
) bin
/.dummy
778 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
780 bin
/nsstest@EXEEXT@
: $(NSSTEST_OBJ
) bin
/.dummy
782 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
784 bin
/vfstest@EXEEXT@
: $(VFSTEST_OBJ
) @BUILD_POPT@ bin
/.dummy
786 @
$(CC
) $(FLAGS
) -o
$@
$(VFSTEST_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(DYNEXP
) $(PRINTLIBS
) $(AUTHLIBS
) $(LIBS
) @BUILD_POPT@
788 bin
/locktest2@EXEEXT@
: $(LOCKTEST2_OBJ
) bin
/.dummy
790 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(LIBS
)
792 bin
/rpctorture@EXEEXT@
: $(RPCTORTURE_OBJ
) bin
/.dummy
794 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(DYNEXP
) $(LDFLAGS
) $(LIBS
)
796 bin
/debug2html@EXEEXT@
: $(DEBUG2HTML_OBJ
) bin
/.dummy
798 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(LIBS
)
800 bin
/smbfilter@EXEEXT@
: $(SMBFILTER_OBJ
) bin
/.dummy
802 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
)
804 bin
/smbw_sample@EXEEXT@
: $(SMBW_OBJ
) utils
/smbw_sample.o bin
/.dummy
806 @
$(CC
) $(FLAGS
) -o
$@
$(SMBW_OBJ
) utils
/smbw_sample.o
$(LDFLAGS
) $(LIBS
)
808 bin
/smbsh@EXEEXT@
: $(SMBSH_OBJ
) bin
/.dummy
810 @
$(CC
) $(FLAGS
) -o
$@
$(SMBSH_OBJ
) $(LDFLAGS
) $(LIBS
)
812 bin
/smbwrapper.@SHLIBEXT@
: $(PICOBJS
) bin
/.dummy
813 @echo Linking shared library
$@
814 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PICOBJS
) $(LIBS
) \
815 @SONAMEFLAG@
`basename $@`
817 bin
/smbwrapper
.32.@SHLIBEXT@
: $(PICOBJS32
)
818 @echo Linking shared library
$@
819 @
$(SHLD
) -32 $(LDSHFLAGS
) -o
$@
$(PICOBJS32
) $(LIBS
) \
820 @SONAMEFLAG@
`basename $@`
822 bin
/libsmbclient.@SHLIBEXT@
: $(LIBSMBCLIENT_PICOBJS
)
823 @echo Linking libsmbclient shared library
$@
824 $(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBSMBCLIENT_PICOBJS
) $(LIBS
) \
825 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
827 bin
/libsmbclient.a
: $(LIBSMBCLIENT_PICOBJS
)
828 @echo Linking libsmbclient non-shared library
$@
829 -$(AR
) -rc
$@
$(LIBSMBCLIENT_PICOBJS
)
831 bin
/libbigballofmud.@SHLIBEXT@
: $(LIBBIGBALLOFMUD_PICOBJS
)
832 @echo Linking bigballofmud shared library
$@
833 $(SHLD
) $(LDSHFLAGS
) -o
$@
$(LIBBIGBALLOFMUD_PICOBJS
) $(LIBS
) \
834 @SONAMEFLAG@
`basename $@`.
$(LIBBIGBALLOFMUD_MAJOR
)
836 libsmbclient
: bin
/libsmbclient.a bin
/libsmbclient.@SHLIBEXT@
838 nsswitch
/libnss_wins.@SHLIBEXT@
: $(NSS_OBJ
)
840 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(NSS_OBJ
) -lc \
841 @SONAMEFLAG@
`basename $@`
843 bin
/winbindd@EXEEXT@
: $(WINBINDD_OBJ
) bin
/.dummy
845 @
$(LINK
) -o
$@
$(WINBINDD_OBJ
) $(DYNEXP
) $(LIBS
)
847 nsswitch
/libns_winbind.@SHLIBEXT@
: $(WINBIND_NSS_PICOBJS
)
849 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(WINBIND_NSS_PICOBJS
) @WINBIND_NSS_EXTRA_LIBS@ \
850 @SONAMEFLAG@
`basename $@`
852 nsswitch
/libnss_winbind.@SHLIBEXT@
: $(WINBIND_NSS_PICOBJS
)
854 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(WINBIND_NSS_PICOBJS
) @WINBIND_NSS_EXTRA_LIBS@ \
855 @SONAMEFLAG@
`basename $@`
857 nsswitch
/pam_winbind.@SHLIBEXT@
: $(PAM_WINBIND_OBJ
) bin
/.dummy
859 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_WINBIND_OBJ
) \
860 @SONAMEFLAG@
`basename $@` -lpam
862 bin
/mysql.@SHLIBEXT@
: $(MYSQL_OBJ
)
863 @echo
"Building plugin $@"
864 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(MYSQL_OBJ
) @MYSQL_LIBS@ \
865 @SONAMEFLAG@
`basename $@`
867 bin
/developer.@SHLIBEXT@
: $(DEVEL_HELP_OBJ
)
868 @echo
"Building plugin $@"
869 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(DEVEL_HELP_OBJ
) \
870 @SONAMEFLAG@
`basename $@`
872 bin
/xml.@SHLIBEXT@
: $(XML_OBJ
)
873 @echo
"Building plugin $@"
874 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(XML_OBJ
) @XML_LIBS@ \
875 @SONAMEFLAG@
`basename $@`
877 bin
/vfs_audit.@SHLIBEXT@
: $(VFS_AUDIT_OBJ
)
878 @echo
"Building plugin $@"
879 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_AUDIT_OBJ
) \
880 @SONAMEFLAG@
`basename $@`
882 bin
/vfs_recycle.@SHLIBEXT@
: $(VFS_RECYCLE_OBJ
)
883 @echo
"Building plugin $@"
884 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_RECYCLE_OBJ
) \
885 @SONAMEFLAG@
`basename $@`
887 bin
/vfs_netatalk.@SHLIBEXT@
: $(VFS_NETATALK_OBJ
)
888 @echo
"Building plugin $@"
889 @
$(SHLD
) $(LDSHFLAGS
) -o
$@
$(VFS_NETATALK_OBJ
) \
890 @SONAMEFLAG@
`basename $@`
892 bin
/wbinfo@EXEEXT@
: $(WBINFO_OBJ
) $(PARAM_OBJ
) $(LIB_OBJ
) \
893 $(UBIQX_OBJ
) $(SECRETS_OBJ
) @BUILD_POPT@ bin
/.dummy
895 @
$(LINK
) -o
$@
$(WBINFO_OBJ
) $(PARAM_OBJ
) $(LIB_OBJ
) \
896 $(UBIQX_OBJ
) $(SECRETS_OBJ
) $(LIBS
) @BUILD_POPT@
898 bin
/ntlm_auth@EXEEXT@
: $(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_OBJ
) \
899 $(UBIQX_OBJ
) @BUILD_POPT@ bin
/.dummy
901 @
$(LINK
) -o
$@
$(NTLM_AUTH_OBJ
) $(PARAM_OBJ
) $(LIB_OBJ
) \
902 $(UBIQX_OBJ
) $(LIBS
) @BUILD_POPT@
904 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_PICOOBJ
)
905 @echo
"Linking shared library $@"
906 $(SHLD
) $(LDSHFLAGS
) -o
$@
$(PAM_SMBPASS_PICOOBJ
) -lpam
$(DYNEXP
) $(LIBS
) -lc
908 bin
/libmsrpc.a
: $(LIBMSRPC_PICOBJ
)
909 -$(AR
) -rc
$@
$(LIBMSRPC_PICOBJ
)
911 bin
/tdbbackup@EXEEXT@
: $(TDBBACKUP_OBJ
) bin
/.dummy
913 @
$(CC
) $(FLAGS
) -o
$@
$(TDBBACKUP_OBJ
)
915 install: installbin installman installscripts installdat installswat
917 # DESTDIR is used here to prevent packagers wasting their time
918 # duplicating the Makefile. Remove it and you will have the privelege
919 # of package each samba release for muliple versions of multiple
920 # distributions and operating systems, or at least supplying patches
921 # to all the packaging files required for this, prior to committing
922 # the removal of DESTDIR. Do not remove it even though you think it
926 @
$(SHELL
) $(srcdir)/script
/installdirs.sh
$(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(BINDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(DESTDIR
)$(PRIVATEDIR
) $(DESTDIR
)$(VFSLIBDIR
) $(DESTDIR
)$(PDBLIBDIR
)
928 installservers
: all installdirs
929 @
$(SHELL
) $(srcdir)/script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(SBIN_PROGS
)
931 installbin
: all installdirs
932 @
$(SHELL
) $(srcdir)/script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(SBIN_PROGS
)
933 @
$(SHELL
) $(srcdir)/script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(BINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(BIN_PROGS
)
935 installmodules
: all installdirs
936 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(VFSLIBDIR
) $(VFS_MODULES
)
937 @
$(SHELL
) $(srcdir)/script
/installmodules.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(PDBLIBDIR
) $(PDB_MODULES
)
939 installscripts
: installdirs
940 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
942 installdat
: installdirs
943 @
$(SHELL
) $(srcdir)/script
/installdat.sh
$(DESTDIR
)$(LIBDIR
) $(srcdir)
945 installswat
: installdirs
946 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
)$(SWATDIR
) $(srcdir)
949 -$(INSTALLCMD
) bin
/libsmbclient.@SHLIBEXT@
$(DESTDIR
)${prefix}/lib
950 -$(INSTALLCMD
) -d
$(DESTDIR
)${prefix}/include
951 -$(INSTALLCMD
) include/libsmbclient.h
$(DESTDIR
)${prefix}/include
955 PYTHON_OBJS
= $(LIB_OBJ
) $(LIBSMB_OBJ
) $(RPC_PARSE_OBJ
) $(UBIQX_OBJ
) \
956 $(PARAM_OBJ
) $(LIBMSRPC_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
) $(SECRETS_OBJ
)
958 PY_SPOOLSS_PROTO_OBJ
= python
/py_spoolss.o \
959 python
/py_spoolss_printers.o python
/py_spoolss_printers_conv.o\
960 python
/py_spoolss_forms.o python
/py_spoolss_forms_conv.o \
961 python
/py_spoolss_ports.o python
/py_spoolss_ports_conv.o \
962 python
/py_spoolss_drivers.o python
/py_spoolss_drivers_conv.o \
963 python
/py_spoolss_jobs.o python
/py_spoolss_jobs_conv.o \
964 python
/py_spoolss_printerdata.o
966 PY_LSA_PROTO_OBJ
= python
/py_lsa.o
968 PY_COMMON_PROTO_OBJ
= python
/py_common.c python
/py_ntsec.c
970 python_proto
: python_spoolss_proto python_lsa_proto python_common_proto
972 python_spoolss_proto
:
973 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
974 -h _PY_SPOOLSS_PROTO_H python
/py_spoolss_proto.h \
975 $(PY_SPOOLSS_PROTO_OBJ
)
978 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
979 -h _PY_LSA_PROTO_H python
/py_lsa_proto.h \
983 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
984 -h _PY_COMMON_PROTO_H python
/py_common_proto.h \
985 $(PY_COMMON_PROTO_OBJ
)
987 python_ext
: $(PYTHON_OBJS
)
988 @if
test -z
"$(PYTHON)"; then \
989 echo Use the option
--with-python to configure python
; \
991 PYTHON_OBJS
="$(PYTHON_OBJS)" PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS) $(FLAGS)" \
993 $(PYTHON
) python
/setup.py build
995 python_install
: $(PYTHON_OBJS
)
996 @if
test -z
"$(PYTHON)"; then \
997 echo Use the option
--with-python to configure python
; \
999 PYTHON_OBJS
="$(PYTHON_OBJS)" PYTHON_CFLAGS
="$(CFLAGS) $(CPPFLAGS)" \
1001 $(PYTHON
) python
/setup.py
install
1004 @if
test -n
"$(PYTHON)"; then
$(PYTHON
) python
/setup.py
clean; fi
1006 # revert to the previously installed version
1008 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(SBINDIR
) $(SBIN_PROGS
)
1009 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(BINDIR
) $(BIN_PROGS
) $(SCRIPTS
)
1012 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) $(man_langs
) "@ROFF@"
1017 @echo
"Samba will be installed into:"
1018 @echo
" basedir: $(BASEDIR)"
1019 @echo
" bindir: $(BINDIR)"
1020 @echo
" sbindir: $(SBINDIR)"
1021 @echo
" libdir: $(LIBDIR)"
1022 @echo
" vardir: $(VARDIR)"
1023 @echo
" mandir: $(MANDIR)"
1026 uninstall: uninstallman uninstallbin uninstallscripts
1029 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) $(man_langs
)
1032 @
$(SHELL
) $(srcdir)/script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(DESTDIR
)$(SBIN_PROGS
)
1033 @
$(SHELL
) $(srcdir)/script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(BINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(DESTDIR
)$(BIN_PROGS
)
1036 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(VFSLIBDIR
) $(DESTDIR
)$(VFS_MODULES
)
1037 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(PDBLIBDIR
) $(DESTDIR
)$(PDB_MODULES
)
1038 @
$(SHELL
) $(srcdir)/script
/uninstallmodules.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(MODULES
)
1041 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
1043 # Toplevel clean files
1044 TOPFILES
=dynconfig.o dynconfig.po
1046 clean: delheaders python_clean
1047 -rm -f core
*/*~
*~
*/*.o
*/*.po
*/*.po32
*/*.@SHLIBEXT@ \
1048 $(TOPFILES
) $(BIN_PROGS
) $(SBIN_PROGS
) $(MODULES
) .headers.stamp
1050 # Making this target will just make sure that the prototype files
1051 # exist, not necessarily that they are up to date. Since they're
1052 # removed by "make clean" this will always be run when you do anything
1054 proto_exists
: include/proto.h
include/wrepld_proto.h
include/build_env.h \
1055 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1056 client
/client_proto.h utils
/net_proto.h \
1057 include/tdbsam2_parse_info.h
1060 @echo Removing prototype headers
1061 @
/bin
/rm -f
$(srcdir)/include/proto.h
$(srcdir)/include/build_env.h
1062 @
/bin
/rm -f
$(srcdir)/include/wrepld_proto.h
$(srcdir)/nsswitch
/winbindd_proto.h
1063 @
/bin
/rm -f
$(srcdir)/web
/swat_proto.h
1064 @
/bin
/rm -f
$(srcdir)/client
/client_proto.h
$(srcdir)/utils
/net_proto.h
1065 @
/bin
/rm -f
$(srcdir)/include/tdbsam2_parse_info.h
1067 @
/bin
/rm -f
include/proto.h
include/build_env.h
include/wrepld_proto.h \
1068 nsswitch
/winbindd_proto.h web
/swat_proto.h \
1069 client
/client_proto.h utils
/net_proto.h \
1070 include/tdbsam2_parse_info.h
1073 @echo Building
include/proto.h
1074 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
1075 -h _PROTO_H_
$(builddir
)/include/proto.h \
1078 include/build_env.h
:
1079 @echo Building
include/build_env.h
1080 @cd
$(srcdir) && $(SHELL
) script
/build_env.sh
$(srcdir) $(builddir
) $(CC
) > $(builddir
)/include/build_env.h
1082 include/wrepld_proto.h
:
1083 @echo Building
include/wrepld_proto.h
1084 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
1085 -h _WREPLD_PROTO_H_
$(builddir
)/include/wrepld_proto.h \
1088 nsswitch
/winbindd_proto.h
:
1089 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
1090 -h _WINBINDD_PROTO_H_ nsswitch
/winbindd_proto.h \
1094 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
1095 -h _SWAT_PROTO_H_ web
/swat_proto.h \
1098 client
/client_proto.h
:
1099 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
1100 -h _CLIENT_PROTO_H_ client
/client_proto.h \
1104 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
1105 -h _CLIENT_PROTO_H_ utils
/net_proto.h \
1108 include/tdbsam2_parse_info.h
:
1109 @cd
$(srcdir) && script
/genstruct.pl \
1110 -o
include/tdbsam2_parse_info.h
$(CC
) -E
-O2
-g \
1113 # "make headers" or "make proto" calls a subshell because we need to
1114 # make sure these commands are executed in sequence even for a
1117 $(MAKE
) delheaders
; \
1118 $(MAKE
) include/proto.h
; \
1119 $(MAKE
) include/build_env.h
; \
1120 $(MAKE
) include/wrepld_proto.h
; \
1121 $(MAKE
) nsswitch
/winbindd_proto.h
; \
1122 $(MAKE
) web
/swat_proto.h
; \
1123 $(MAKE
) client
/client_proto.h
; \
1124 $(MAKE
) utils
/net_proto.h
; \
1125 $(MAKE
) include/tdbsam2_parse_info.h
1129 .PHONY
: headers proto
1132 etags
`find $(srcdir) -name "*.[ch]" | grep -v /CVS/`
1135 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /CVS/`
1137 realclean: clean delheaders
1138 -rm -f config.log
$(BIN_PROGS
) $(MODULES
) $(SBIN_PROGS
) bin
/.dummy script
/findsmb
1140 distclean: realclean
1141 -rm -f
include/stamp-h
1142 -rm -f
include/config.h Makefile
1143 -rm -f config.status config.cache so_locations
1146 # this target is really just for my use. It only works on a limited
1147 # range of machines and is used to produce a list of potentially
1148 # dead (ie. unused) functions in the code. (tridge)
1150 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
1151 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
1152 comm
-13 nmused.txt nmfns.txt
1155 # when configure.in is updated, reconfigure
1156 $(srcdir)/configure
: $(srcdir)/configure.in
1157 @echo
"WARNING: you need to rerun autoconf"
1159 config.status
: $(srcdir)/configure
1160 @echo
"WARNING: you need to run configure"
1162 Makefile
: $(srcdir)/Makefile.in config.status
1163 @echo
"WARNING: you need to run ./config.status"
1165 test_prefix
=/tmp
/test-samba
1166 # Run regression suite using the external "satyr" framework
1168 @echo
"** Sorry, samba self-test without installation does not work "
1169 @echo
"** yet. Please try specifying a scratch directory to"
1170 @echo
"** ./configure --prefix DIR"
1171 @echo
"** then run \"make install installcheck\""
1174 # -rm -rf $(test_prefix)/lib
1175 # mkdir $(test_prefix)/lib -p ./testdir
1176 # PATH=$(builddir)/bin:$(PATH) \
1177 # SATYR_SUITEDIR=../testsuite/build_farm/ prefix=$(test_prefix) \
1178 # testdir=./testdir $(SHELL) satyr
1180 # Run regression suite on the installed version.
1183 # Perform installation tests (if any). The user must build and
1184 # install the program before running the tests. You should not
1185 # assume that `$(bindir)' is in the search path.
1187 dangerous-installcheck
:
1188 mkdir
-p
$(BASEDIR
)/lib
1189 mkdir
-p
$(BASEDIR
)/var
1190 PATH
=$(BINDIR
):$(SBINDIR
):$(PATH
) \
1191 SATYR_DISCOURAGE
=1 \
1192 SATYR_SUITEDIR
=..
/testsuite
/satyr
/ prefix=$(BASEDIR
) \
1193 LIBSMB_PROG
=$(SBINDIR
)/smbd \
1194 testdir
=.
/testdir
$(SHELL
) satyr