1 ##########################################################################
2 # Makefile.in for Samba - rewritten for autoconf support
3 # Copyright Andrew Tridgell 1992-1998
4 ###########################################################################
7 exec_prefix=@
exec_prefix@
9 sysconfdir
=@sysconfdir@
22 TERMLDFLAGS
=@TERMLDFLAGS@
25 LINK
=$(CC
) $(FLAGS
) $(LDFLAGS
)
28 INSTALLCLIENTCMD_SH
=@INSTALLCLIENTCMD_SH@
29 INSTALLCLIENTCMD_A
=@INSTALLCLIENTCMD_A@
40 # sbindir is mapped to bindir when compiling SAMBA in 2.0.x compatibility mode.
43 VARDIR
= @localstatedir@
44 CONFIGDIR
= @configdir@
46 INCLUDEDIR
= @
includedir@
48 # The permissions to give the executables
51 # set these to where to find various files
52 # These can be overridden by command line switches (see smbd(8))
53 # or in smb.conf (see smb.conf(5))
54 LOGFILEBASE
= @logfilebase@
55 CONFIGFILE
= $(CONFIGDIR
)/smb.conf
56 LMHOSTSFILE
= $(CONFIGDIR
)/lmhosts
57 DRIVERFILE
= $(CONFIGDIR
)/printers.def
58 PASSWD_PROGRAM
= @passwd_program@
59 # This is where smbpasswd et al go
60 PRIVATEDIR
= @privatedir@
62 SMB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd
63 TDB_PASSWD_FILE
= $(PRIVATEDIR
)/smbpasswd.tdb
65 # This is where SWAT images and help files go
68 # the directory where lock files go
71 # the directorty where pid files go
74 # libsmbclient support here
75 BLDSHARED
= @BLDSHARED@
79 # The directory where code page definition files go
80 CODEPAGEDIR
= @codepagedir@
82 # The current codepage definition list.
83 CODEPAGELIST
= 437 737 775 850 852 861 932 866 949 950 936 1251 ISO8859-1 ISO8859-2 ISO8859-5 ISO8859-7 KOI8-R
857 ISO8859-9 \
84 ISO8859-13 ISO8859-15
1125 KOI8-U
86 PASSWD_FLAGS
= -DPASSWD_PROGRAM
=\"$(PASSWD_PROGRAM
)\" -DSMB_PASSWD_FILE
=\"$(SMB_PASSWD_FILE
)\" -DTDB_PASSWD_FILE
=\"$(TDB_PASSWD_FILE
)\"
87 FLAGS1
= $(CFLAGS
) @FLAGS1@
-Iinclude
-I
$(srcdir)/include -I
$(srcdir)/ubiqx
-I
$(srcdir)/smbwrapper
$(CPPFLAGS
) -DLOGFILEBASE
=\"$(LOGFILEBASE
)\"
88 FLAGS2
= -DCONFIGFILE
=\"$(CONFIGFILE
)\" -DLMHOSTSFILE
=\"$(LMHOSTSFILE
)\"
89 FLAGS3
= -DSWATDIR
=\"$(SWATDIR
)\" -DSBINDIR
=\"$(SBINDIR
)\" -DLOCKDIR
=\"$(LOCKDIR
)\" -DCODEPAGEDIR
=\"$(CODEPAGEDIR
)\"
90 FLAGS4
= -DDRIVERFILE
=\"$(DRIVERFILE
)\" -DBINDIR
=\"$(BINDIR
)\" -DPIDDIR
=\"$(PIDDIR
)\" -DLIBDIR
=\"$(LIBDIR
)\"
91 FLAGS5
= $(FLAGS1
) $(FLAGS2
) $(FLAGS3
) $(FLAGS4
) -DHAVE_INCLUDES_H
92 FLAGS
= $(ISA
) $(FLAGS5
) $(PASSWD_FLAGS
)
93 FLAGS32
= $(ISA32
) $(FLAGS5
) $(PASSWD_FLAGS
)
95 WINBIND_PROGS
= @WINBIND_TARGETS@
96 WINBIND_SPROGS
= @WINBIND_STARGETS@
97 WINBIND_PAM_PROGS
= @WINBIND_PAM_TARGETS@
98 WINBIND_LPROGS
= @WINBIND_LTARGETS@
100 SPROGS
= bin
/smbd
$(EXEEXT
) bin
/nmbd
$(EXEEXT
) bin
/swat
$(EXEEXT
)
101 PROGS1
= bin
/smbclient
$(EXEEXT
) bin
/smbspool
$(EXEEXT
) bin
/testparm
$(EXEEXT
) bin
/testprns
$(EXEEXT
) bin
/smbstatus
$(EXEEXT
) \
102 bin
/smbcontrol
$(EXEEXT
) bin
/tdbbackup
$(EXEEXT
) bin
/make_printerdef
$(EXEEXT
) @RUNPROG@
103 PROGS2
= bin
/smbpasswd
$(EXEEXT
) bin
/make_smbcodepage
$(EXEEXT
) bin
/rpcclient
$(EXEEXT
) bin
/make_unicodemap
$(EXEEXT
) \
104 bin
/smbcacls
$(EXEEXT
) @WRAPPROG@ @WRAP@ @WRAP32@ @PAM_MOD@ @PDBEDIT@ @LIBSMBCLIENT@
106 LPROGS
= $(WINBIND_PAM_PROGS
) $(WINBIND_LPROGS
)
107 PROGS
= $(PROGS1
) $(PROGS2
) $(MPROGS
) bin
/nmblookup
$(EXEEXT
)
108 TORTURE_PROGS
= bin
/smbtorture
$(EXEEXT
) bin
/msgtest
$(EXEEXT
) bin
/masktest
$(EXEEXT
) bin
/locktest
$(EXEEXT
) bin
/locktest2
$(EXEEXT
)
109 SHLIBS
= @LIBSMBCLIENT@
111 SCRIPTS
= $(srcdir)/script
/smbtar
$(srcdir)/script
/findsmb
113 QUOTAOBJS
=@QUOTAOBJS@
115 ######################################################################
117 ######################################################################
119 TDBBASE_OBJ
= tdb
/tdb.o tdb
/spinlock.o
120 TDB_OBJ
= $(TDBBASE_OBJ
) tdb
/tdbutil.o
122 LIB_OBJ
= lib
/charcnv.o lib
/charset.o lib
/debug.o lib
/fault.o \
123 lib
/getsmbpass.o lib
/interface.o lib
/kanji.o lib
/md4.o \
124 lib
/interfaces.o lib
/pidfile.o lib
/replace.o \
125 lib
/signal.o lib
/system.o lib
/sendfile.o lib
/time.o \
126 lib
/ufc.o lib
/genrand.o lib
/username.o lib
/util_getent.o lib
/access.o lib
/smbrun.o \
127 lib
/bitmap.o lib
/crc32.o lib
/snprintf.o lib
/wins_srv.o \
128 lib
/util_str.o lib
/util_sid.o \
129 lib
/util_unistr.o lib
/util_file.o \
130 lib
/util.o lib
/util_sock.o lib
/util_sec.o smbd
/ssl.o \
131 lib
/talloc.o lib
/hash.o lib
/substitute.o lib
/fsusage.o \
132 lib
/ms_fnmatch.o lib
/select.o lib
/error.o lib
/messages.o \
133 lib
/pam_errors.o nsswitch
/wb_client.o nsswitch
/wb_common.o
$(TDB_OBJ
)
135 READLINE_OBJ
= lib
/readline.o
137 UBIQX_OBJ
= ubiqx
/ubi_BinTree.o ubiqx
/ubi_Cache.o ubiqx
/ubi_SplayTree.o \
138 ubiqx
/ubi_dLinkList.o ubiqx
/ubi_sLinkList.o ubiqx
/debugparse.o
140 PARAM_OBJ
= param
/loadparm.o param
/params.o
142 LIBSMB_OBJ
= libsmb
/clientgen.o libsmb
/cliconnect.o libsmb
/clifile.o \
143 libsmb
/clirap.o libsmb
/clierror.o libsmb
/climessage.o \
144 libsmb
/clireadwrite.o libsmb
/clilist.o libsmb
/cliprint.o \
145 libsmb
/clitrans.o libsmb
/clisecdesc.o libsmb
/clidgram.o \
146 libsmb
/namequery.o libsmb
/nmblib.o libsmb
/clistr.o \
147 libsmb
/nterr.o libsmb
/smbdes.o libsmb
/smbencrypt.o \
148 libsmb
/smberr.o libsmb
/credentials.o libsmb
/pwd_cache.o \
149 libsmb
/clioplock.o libsmb
/errormap.o libsmb
/doserr.o \
150 libsmb
/passchange.o libsmb
/unexpected.o
$(RPC_PARSE_OBJ1
) \
153 LIBMSRPC_OBJ
= libsmb
/cli_lsarpc.o libsmb
/cli_samr.o libsmb
/cli_spoolss.o \
154 libsmb
/cli_netlogon.o libsmb
/cli_srvsvc.o libsmb
/cli_dfs.o \
156 rpc_client
/cli_pipe.o libsmb
/cli_pipe_util.o
158 RPC_SERVER_OBJ
= rpc_server
/srv_lsa.o rpc_server
/srv_lsa_nt.o \
159 rpc_server
/srv_lsa_hnd.o rpc_server
/srv_netlog.o rpc_server
/srv_netlog_nt.o \
160 rpc_server
/srv_pipe_hnd.o rpc_server
/srv_reg.o rpc_server
/srv_reg_nt.o \
161 rpc_server
/srv_samr.o rpc_server
/srv_samr_nt.o rpc_server
/srv_srvsvc.o rpc_server
/srv_srvsvc_nt.o \
162 rpc_server
/srv_util.o rpc_server
/srv_wkssvc.o rpc_server
/srv_wkssvc_nt.o \
163 rpc_server
/srv_pipe.o rpc_server
/srv_dfs.o rpc_server
/srv_dfs_nt.o \
164 rpc_server
/srv_spoolss.o rpc_server
/srv_spoolss_nt.o rpc_client
/cli_spoolss_notify.o
166 # this includes only the low level parse code, not stuff
167 # that requires knowledge of security contexts
168 RPC_PARSE_OBJ1
= rpc_parse
/parse_prs.o rpc_parse
/parse_sec.o \
169 rpc_parse
/parse_misc.o
171 RPC_PARSE_OBJ
= rpc_parse
/parse_lsa.o rpc_parse
/parse_net.o \
172 rpc_parse
/parse_reg.o rpc_parse
/parse_rpc.o \
173 rpc_parse
/parse_samr.o rpc_parse
/parse_srv.o \
174 rpc_parse
/parse_wks.o \
175 rpc_parse
/parse_spoolss.o rpc_parse
/parse_dfs.o
177 RPC_CLIENT_OBJ
= rpc_client
/cli_netlogon.o rpc_client
/cli_pipe.o \
178 rpc_client
/cli_login.o \
179 rpc_client
/cli_trust.o
181 LOCKING_OBJ
= locking
/locking.o locking
/brlock.o locking
/posix.o
183 PASSDB_OBJ
= passdb
/passdb.o passdb
/secrets.o \
184 passdb
/pass_check.o passdb
/smbpassfile.o \
185 passdb
/machine_sid.o passdb
/pdb_smbpasswd.o \
186 passdb
/pampass.o passdb
/pdb_tdb.o passdb
/pdb_ldap.o \
189 PROFILE_OBJ
= profile
/profile.o
191 OPLOCK_OBJ
= smbd
/oplock.o smbd
/oplock_irix.o smbd
/oplock_linux.o
193 NOTIFY_OBJ
= smbd
/notify.o smbd
/notify_hash.o smbd
/notify_kernel.o
195 SMBD_OBJ1
= smbd
/server.o smbd
/files.o smbd
/chgpasswd.o smbd
/connection.o \
196 smbd
/utmp.o smbd
/session.o \
197 smbd
/dfree.o smbd
/dir.o smbd
/password.o smbd
/conn.o smbd
/fileio.o \
198 smbd
/ipc.o smbd
/lanman.o smbd
/mangle.o smbd
/mangle_hash2.o smbd
/mangle_hash.o \
199 smbd
/mangle_map.o smbd
/negprot.o smbd
/message.o smbd
/nttrans.o smbd
/pipes.o \
200 smbd
/reply.o smbd
/trans2.o smbd
/uid.o \
201 smbd
/dosmode.o smbd
/filename.o smbd
/open.o smbd
/close.o \
202 smbd
/blocking.o smbd
/sec_ctx.o \
203 smbd
/vfs.o smbd
/vfs-wrap.o smbd
/statcache.o \
204 smbd
/posix_acls.o lib
/sysacls.o \
205 smbd
/process.o smbd
/service.o smbd
/error.o \
206 printing
/printfsp.o lib
/util_seaccess.o \
207 libsmb
/cli_pipe_util.o
209 PRINTING_OBJ
= printing
/pcap.o printing
/print_svid.o \
210 printing
/print_cups.o printing
/print_generic.o \
211 printing
/lpq_parse.o printing
/load.o
213 PRINTBACKEND_OBJ
= printing
/printing.o printing
/nt_printing.o
215 MSDFS_OBJ
= msdfs
/msdfs.o
217 SMBD_OBJ
= $(SMBD_OBJ1
) $(MSDFS_OBJ
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) \
218 $(RPC_SERVER_OBJ
) $(RPC_PARSE_OBJ
) $(RPC_CLIENT_OBJ
) \
219 $(LOCKING_OBJ
) $(PASSDB_OBJ
) $(PRINTING_OBJ
) $(PROFILE_OBJ
) $(LIB_OBJ
) \
220 $(PRINTBACKEND_OBJ
) $(QUOTAOBJS
) $(OPLOCK_OBJ
) $(NOTIFY_OBJ
)
223 NMBD_OBJ1
= nmbd
/asyncdns.o nmbd
/nmbd.o nmbd
/nmbd_become_dmb.o \
224 nmbd
/nmbd_become_lmb.o nmbd
/nmbd_browserdb.o \
225 nmbd
/nmbd_browsesync.o nmbd
/nmbd_elections.o \
226 nmbd
/nmbd_incomingdgrams.o nmbd
/nmbd_incomingrequests.o \
227 nmbd
/nmbd_lmhosts.o nmbd
/nmbd_logonnames.o nmbd
/nmbd_mynames.o \
228 nmbd
/nmbd_namelistdb.o nmbd
/nmbd_namequery.o \
229 nmbd
/nmbd_nameregister.o nmbd
/nmbd_namerelease.o \
230 nmbd
/nmbd_nodestatus.o nmbd
/nmbd_packets.o \
231 nmbd
/nmbd_processlogon.o nmbd
/nmbd_responserecordsdb.o \
232 nmbd
/nmbd_sendannounce.o nmbd
/nmbd_serverlistdb.o \
233 nmbd
/nmbd_subnetdb.o nmbd
/nmbd_winsproxy.o nmbd
/nmbd_winsserver.o \
234 nmbd
/nmbd_workgroupdb.o nmbd
/nmbd_synclists.o
236 NMBD_OBJ
= $(NMBD_OBJ1
) $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) \
237 $(PROFILE_OBJ
) $(LIB_OBJ
)
239 SWAT_OBJ
= web
/cgi.o web
/diagnose.o web
/startstop.o web
/statuspage.o \
240 web
/swat.o
$(PRINTING_OBJ
) $(LIBSMB_OBJ
) $(LOCKING_OBJ
) \
241 $(PARAM_OBJ
) $(PASSDB_OBJ
) $(RPC_PARSE_OBJ
) \
242 $(UBIQX_OBJ
) $(LIB_OBJ
)
244 SMBSH_OBJ
= smbwrapper
/smbsh.o smbwrapper
/shared.o \
245 $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
247 MAKE_SMBCODEPAGE_OBJ
= utils
/make_smbcodepage.o
$(PARAM_OBJ
) \
248 $(UBIQX_OBJ
) $(LIB_OBJ
)
250 MAKE_UNICODEMAP_OBJ
= utils
/make_unicodemap.o
$(PARAM_OBJ
) \
251 $(UBIQX_OBJ
) $(LIB_OBJ
)
253 MAKE_PRINTERDEF_OBJ
= utils
/make_printerdef.o
$(PARAM_OBJ
) \
254 $(UBIQX_OBJ
) $(LIB_OBJ
)
256 STATUS_OBJ
= utils
/status.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
257 $(UBIQX_OBJ
) $(PROFILE_OBJ
) $(LIB_OBJ
)
259 SMBCONTROL_OBJ
= utils
/smbcontrol.o
$(LOCKING_OBJ
) $(PARAM_OBJ
) \
260 $(UBIQX_OBJ
) $(PROFILE_OBJ
) $(LIB_OBJ
)
262 TESTPARM_OBJ
= utils
/testparm.o \
263 $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
265 TESTPRNS_OBJ
= utils
/testprns.o
$(PARAM_OBJ
) $(PRINTING_OBJ
) $(UBIQX_OBJ
) \
268 SMBPASSWD_OBJ
= utils
/smbpasswd.o
$(PARAM_OBJ
) \
269 $(LIBSMB_OBJ
) $(PASSDB_OBJ
) $(GROUPDB_OBJ
)\
270 $(UBIQX_OBJ
) $(RPC_CLIENT_OBJ
) $(RPC_PARSE_OBJ
) $(LIB_OBJ
) \
271 libsmb
/cli_lsarpc.o libsmb
/cli_samr.o libsmb
/cli_pipe_util.o
273 PDBEDIT_OBJ
= utils
/pdbedit.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(PASSDB_OBJ
) \
274 $(UBIQX_OBJ
) $(LIB_OBJ
) $(GROUPDB_OBJ
)
276 RPCCLIENT_OBJ1
= rpcclient
/rpcclient.o rpcclient
/cmd_lsarpc.o \
277 rpcclient
/cmd_samr.o rpcclient
/cmd_spoolss.o \
278 rpcclient
/cmd_netlogon.o rpcclient
/cmd_srvsvc.o \
279 rpcclient
/cmd_dfs.o rpcclient
/cmd_reg.o \
280 rpc_client
/cli_login.o rpc_client
/cli_netlogon.o \
281 rpcclient
/display_sec.o
283 RPCCLIENT_OBJ
= $(RPCCLIENT_OBJ1
) \
284 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
285 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) $(LIBMSRPC_OBJ
) \
288 PAM_WINBIND_OBJ
= nsswitch
/pam_winbind.po nsswitch
/wb_common.po lib
/snprintf.po
290 SMBW_OBJ
= smbwrapper
/smbw.o \
291 smbwrapper
/smbw_dir.o smbwrapper
/smbw_stat.o \
292 smbwrapper
/realcalls.o smbwrapper
/shared.o \
293 $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
294 $(UBIQX_OBJ
) $(LIB_OBJ
)
296 SMBWRAPPER_OBJ
= $(SMBW_OBJ
) smbwrapper
/wrapped.o
298 LIBSMBCLIENT_OBJ
= libsmb
/libsmbclient.o
$(LIB_OBJ
) $(LIBSMB_OBJ
) \
299 $(PARAM_OBJ
) $(UBIQX_OBJ
)
301 CLIENT_OBJ
= client
/client.o client
/clitar.o \
302 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
305 CUPS_OBJ
= client
/smbspool.o
$(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
307 MOUNT_OBJ
= client
/smbmount.o \
308 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
310 MNT_OBJ
= client
/smbmnt.o \
311 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
313 UMOUNT_OBJ
= client
/smbumount.o \
314 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
)
316 NMBLOOKUP_OBJ
= utils
/nmblookup.o
$(PARAM_OBJ
) $(UBIQX_OBJ
) \
317 $(LIBSMB_OBJ
) $(LIB_OBJ
)
319 SMBTORTURE_OBJ
= utils
/torture.o utils
/nbio.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
320 $(UBIQX_OBJ
) $(LIB_OBJ
)
322 MASKTEST_OBJ
= utils
/masktest.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
323 $(UBIQX_OBJ
) $(LIB_OBJ
)
325 MSGTEST_OBJ
= utils
/msgtest.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
326 $(UBIQX_OBJ
) $(LIB_OBJ
)
328 LOCKTEST_OBJ
= utils
/locktest.o
$(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
329 $(UBIQX_OBJ
) $(LIB_OBJ
)
331 NSSTEST_OBJ
= utils
/nsstest.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
332 $(UBIQX_OBJ
) $(LIB_OBJ
)
334 SMBCACLS_OBJ
= utils
/smbcacls.o
$(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
335 $(UBIQX_OBJ
) $(LIB_OBJ
) $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
) \
339 LOCKTEST2_OBJ
= utils
/locktest2.o
$(LOCKING_OBJ
) $(LIBSMB_OBJ
) $(PARAM_OBJ
) \
340 $(UBIQX_OBJ
) $(LIB_OBJ
)
342 RPCTORTURE_OBJ
= utils
/rpctorture.o \
343 rpcclient
/display.o \
344 rpcclient
/cmd_lsarpc.o \
345 rpcclient
/cmd_wkssvc.o \
346 rpcclient
/cmd_samr.o \
347 rpcclient
/cmd_srvsvc.o \
348 rpcclient
/cmd_netlogon.o \
349 $(PARAM_OBJ
) $(LIBSMB_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
350 $(RPC_PARSE_OBJ
) $(PASSDB_OBJ
)
352 RPCCHECK_OBJ
= utils
/rpccheck.o \
353 $(LIB_OBJ
) $(RPC_PARSE_OBJ
) \
354 $(UBIQX_OBJ
) $(PARAM_OBJ
) $(LIBSMB_OBJ
)
356 DEBUG2HTML_OBJ
= utils
/debug2html.o ubiqx
/debugparse.o
358 SMBFILTER_OBJ
= utils
/smbfilter.o
$(LIBSMB_OBJ
) $(PARAM_OBJ
) \
359 $(UBIQX_OBJ
) $(LIB_OBJ
)
361 PROTO_OBJ
= $(SMBD_OBJ
) $(NMBD_OBJ
) $(SWAT_OBJ
) $(CLIENT_OBJ
) \
362 $(SMBWRAPPER_OBJ
) $(SMBTORTURE_OBJ
) $(RPCCLIENT_OBJ1
) \
363 $(RPC_CLIENT_OBJ
) $(LIBMSRPC_OBJ
)
365 NSS_OBJ_0
= nsswitch
/wins.o
$(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIBSMB_OBJ
) $(LIB_OBJ
)
366 NSS_OBJ
= $(NSS_OBJ_0
:.o
=.po
)
368 PICOBJS
= $(SMBWRAPPER_OBJ
:.o
=.po
)
369 PICOBJS32
= $(SMBWRAPPER_OBJ
:.o
=.po32
)
371 PAM_SMBPASS_OBJ_0
= pam_smbpass
/pam_smb_auth.o pam_smbpass
/pam_smb_passwd.o \
372 pam_smbpass
/pam_smb_acct.o pam_smbpass
/support.o \
373 lib
/debug.o lib
/util_sid.o lib
/messages.o lib
/util_str.o \
374 lib
/wins_srv.o lib
/substitute.o lib
/select.o lib
/util.o \
375 nsswitch
/wb_client.o nsswitch
/wb_common.o lib
/system.o \
376 lib
/charset.o lib
/util_file.o lib
/kanji.o lib
/genrand.o \
377 lib
/username.o lib
/util_getent.o lib
/charcnv.o lib
/time.o lib
/md4.o \
378 lib
/util_unistr.o lib
/signal.o lib
/talloc.o lib
/ms_fnmatch.o \
379 lib
/util_sock.o lib
/smbrun.o lib
/util_sec.o lib
/snprintf.o \
380 ubiqx
/ubi_sLinkList.o libsmb
/smbencrypt.o libsmb
/smbdes.o \
381 smbd
/ssl.o lib
/access.o \
382 lib
/interfaces.o
$(PARAM_OBJ
) $(TDB_OBJ
) $(PASSDB_OBJ
)
384 PAM_SMBPASS_OBJ
= $(PAM_SMBPASS_OBJ_0
:.o
=.po
)
385 LIBSMBCLIENT_PICOBJS
= $(LIBSMBCLIENT_OBJ
:.o
=.po
)
388 nsswitch
/winbindd.o \
389 nsswitch
/winbindd_user.o \
390 nsswitch
/winbindd_group.o \
391 nsswitch
/winbindd_idmap.o \
392 nsswitch
/winbindd_util.o \
393 nsswitch
/winbindd_cache.o \
394 nsswitch
/winbindd_pam.o \
395 nsswitch
/winbindd_sid.o \
396 nsswitch
/winbindd_misc.o \
397 nsswitch
/winbindd_cm.o \
398 nsswitch
/winbindd_wins.o \
399 nsswitch
/winbindd_rpc.o
401 NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
= \
402 smbd
/password.o smbd
/utmp.o smbd
/session.o smbd
/uid.o smbd
/sec_ctx.o \
403 rpc_client
/cli_netlogon.o rpc_client
/cli_login.o \
407 $(WINBINDD_OBJ1
) $(NOPROTO_OBJ
) $(PASSDB_OBJ
) \
408 $(PARAM_OBJ
) $(UBIQX_OBJ
) $(LIB_OBJ
) \
409 $(LIBSMB_OBJ
) $(LIBMSRPC_OBJ
) $(RPC_PARSE_OBJ
) \
410 $(GROUPDB_OBJ
) $(PROFILE_OBJ
) \
411 $(NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
)
413 WBINFO_OBJ
= nsswitch
/wbinfo.o libsmb
/smbencrypt.o libsmb
/smbdes.o \
416 WINBIND_NSS_OBJ
= nsswitch
/winbind_nss.o nsswitch
/wb_common.o @WINBIND_NSS_EXTRA_OBJS@
418 WINBIND_NSS_PICOBJS
= $(WINBIND_NSS_OBJ
:.o
=.po
)
420 POPT_OBJS
=popt
/findme.o popt
/popt.o popt
/poptconfig.o \
421 popt
/popthelp.o popt
/poptparse.o
423 TDBBACKUP_OBJ
= tdb
/tdbbackup.o
$(TDBBASE_OBJ
)
425 TDBDUMP_OBJ
= tdb
/tdbdump.o
$(TDBBASE_OBJ
)
427 ######################################################################
429 ######################################################################
431 all : CHECK
$(SPROGS
) $(PROGS
) $(WINBIND_PROGS
) $(WINBIND_SPROGS
) $(LPROGS
)
433 # The following "everything" is NOT needed except by Samba developers - so do not use this!
434 everything
: CHECK
$(SPROGS
) $(PROGS
) $(SHLIBS
) nsswitch smbwrapper smbtorture debug2html smbfilter
436 pam_smbpass
: CHECK bin
/pam_smbpass.@SHLIBEXT@
438 smbwrapper
: CHECK @WRAPPROG@ @WRAP@ @WRAP32@
440 libsmbclient
: CHECK bin
/libsmbclient.a @LIBSMBCLIENT_SHARED@
442 torture
: CHECK
$(TORTURE_PROGS
)
444 smbtorture
: CHECK bin
/smbtorture
$(EXEEXT
)
445 bin
/smbtorture
: CHECK bin
/smbtorture
$(EXEEXT
)
447 masktest
: CHECK bin
/masktest
$(EXEEXT
)
449 msgtest
: CHECK bin
/msgtest
$(EXEEXT
)
451 locktest
: CHECK bin
/locktest
$(EXEEXT
)
453 smbcacls
: CHECK bin
/smbcacls
$(EXEEXT
)
455 locktest2
: CHECK bin
/locktest2
$(EXEEXT
)
457 rpctorture
: CHECK bin
/rpctorture
$(EXEEXT
)
459 bin
/rpccheck
$(EXEEXT
): $(RPCCHECK_OBJ
) bin
/.dummy
461 @
$(CC
) $(FLAGS
) -o
$@
$(RPCCHECK_OBJ
) $(LDFLAGS
) $(LIBS
)
463 debug2html
: CHECK bin
/debug2html
$(EXEEXT
)
465 smbfilter
: CHECK bin
/smbfilter
$(EXEEXT
)
467 nsswitch
: CHECK
$(WINBIND_PROGS
) $(WINBIND_SPROGS
) $(LPROGS
)
469 wins
: CHECK nsswitch
/libnss_wins.@SHLIBEXT@
472 .SUFFIXES
: .c .o .po .po32 .lo
475 @echo
"Using FLAGS = $(FLAGS)"
476 @echo
"Using FLAGS32 = $(FLAGS32)"
477 @echo
"Using LIBS = $(LIBS)"
479 MAKEDIR
= || exec false
; \
480 if
test -d
"$$dir"; then
:; else \
481 echo mkdir
"$$dir"; \
482 mkdir
-p
"$$dir" >/dev
/null
2>&1 || \
485 exec false
; fi || exec false
488 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
489 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
491 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) -c
$< \
493 @BROKEN_CC@
-mv
`echo $@ | sed 's%^.*/%%g'` $@
496 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
497 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
498 @echo Compiling
$*.c with @PICFLAG@
499 @
$(CC
) -I.
-I
$(srcdir) $(FLAGS
) @PICFLAG@
-c
$< \
501 @BROKEN_CC@
-mv
`echo $@ | sed -e 's%^.*/%%g' -e 's%\.po$$%.o%'` $@.o
506 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
rm -f
$@
; else \
507 dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR
); fi
508 @echo Compiling
$*.c with @PICFLAG@ and
-32
509 @
$(CC
) -32 -I.
-I
$(srcdir) $(FLAGS32
) @PICFLAG@
-c
$< \
511 @BROKEN_CC@
-mv
`echo $@ | sed -e 's%^.*/%%g' -e 's%\.po32$$%.o%'` $@.o
515 @if
(: >> $@ ||
: > $@
) >/dev
/null
2>&1; then
:; else \
516 dir=bin
$(MAKEDIR
); fi
517 @
: >> $@ ||
: > $@
# what a fancy emoticon!
519 bin
/smbd
$(EXEEXT
): $(SMBD_OBJ
) bin
/.dummy
521 @
$(CC
) $(FLAGS
) -o
$@
$(SMBD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAPLIBS
)
523 bin
/nmbd
$(EXEEXT
): $(NMBD_OBJ
) bin
/.dummy
525 @
$(CC
) $(FLAGS
) -o
$@
$(NMBD_OBJ
) $(LDFLAGS
) $(LIBS
)
527 bin
/swat
$(EXEEXT
): $(SWAT_OBJ
) bin
/.dummy
529 @
$(CC
) $(FLAGS
) -o
$@
$(SWAT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAPLIBS
)
531 bin
/rpcclient
$(EXEEXT
): $(RPCCLIENT_OBJ
) bin
/.dummy
533 @
$(CC
) $(FLAGS
) -o
$@
$(RPCCLIENT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
) $(LDAPLIBS
)
535 bin
/smbclient
$(EXEEXT
): $(CLIENT_OBJ
) bin
/.dummy
537 @
$(CC
) $(FLAGS
) -o
$@
$(CLIENT_OBJ
) $(LDFLAGS
) $(TERMLDFLAGS
) $(TERMLIBS
) $(LIBS
)
539 bin
/smbspool
$(EXEEXT
): $(CUPS_OBJ
) bin
/.dummy
541 @
$(CC
) $(FLAGS
) -o
$@
$(CUPS_OBJ
) $(LDFLAGS
) $(LIBS
)
543 bin
/smbmount
$(EXEEXT
): $(MOUNT_OBJ
) bin
/.dummy
545 @
$(CC
) $(FLAGS
) -o
$@
$(MOUNT_OBJ
) $(LDFLAGS
) $(LIBS
)
547 bin
/smbmnt
$(EXEEXT
): $(MNT_OBJ
) bin
/.dummy
549 @
$(CC
) $(FLAGS
) -o
$@
$(MNT_OBJ
) $(LDFLAGS
) $(LIBS
)
551 bin
/smbumount
$(EXEEXT
): $(UMOUNT_OBJ
) bin
/.dummy
553 @
$(CC
) $(FLAGS
) -o
$@
$(UMOUNT_OBJ
) $(LDFLAGS
) $(LIBS
)
555 bin
/testparm
$(EXEEXT
): $(TESTPARM_OBJ
) bin
/.dummy
557 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPARM_OBJ
) $(LDFLAGS
) $(LIBS
)
559 bin
/testprns
$(EXEEXT
): $(TESTPRNS_OBJ
) bin
/.dummy
561 @
$(CC
) $(FLAGS
) -o
$@
$(TESTPRNS_OBJ
) $(LDFLAGS
) $(LIBS
)
563 bin
/smbstatus
$(EXEEXT
): $(STATUS_OBJ
) bin
/.dummy
565 @
$(CC
) $(FLAGS
) -o
$@
$(STATUS_OBJ
) $(LDFLAGS
) $(LIBS
)
567 bin
/smbcontrol
$(EXEEXT
): $(SMBCONTROL_OBJ
) bin
/.dummy
569 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCONTROL_OBJ
) $(LDFLAGS
) $(LIBS
)
571 bin
/smbpasswd
$(EXEEXT
): $(SMBPASSWD_OBJ
) bin
/.dummy
573 @
$(CC
) $(FLAGS
) -o
$@
$(SMBPASSWD_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAPLIBS
)
575 bin
/pdbedit
$(EXEEXT
): $(PDBEDIT_OBJ
) bin
/.dummy
577 @
$(CC
) $(FLAGS
) -o
$@
$(PDBEDIT_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAPLIBS
)
579 bin
/make_smbcodepage
$(EXEEXT
): $(MAKE_SMBCODEPAGE_OBJ
) bin
/.dummy
581 @
$(CC
) $(FLAGS
) -o
$@
$(MAKE_SMBCODEPAGE_OBJ
) $(LDFLAGS
) $(LIBS
)
583 bin
/make_unicodemap
$(EXEEXT
): $(MAKE_UNICODEMAP_OBJ
) bin
/.dummy
585 @
$(CC
) $(FLAGS
) -o
$@
$(MAKE_UNICODEMAP_OBJ
) $(LDFLAGS
) $(LIBS
)
587 bin
/nmblookup
$(EXEEXT
): $(NMBLOOKUP_OBJ
) bin
/.dummy
589 @
$(CC
) $(FLAGS
) -o
$@
$(NMBLOOKUP_OBJ
) $(LDFLAGS
) $(LIBS
)
591 bin
/make_printerdef
$(EXEEXT
): $(MAKE_PRINTERDEF_OBJ
) bin
/.dummy
593 @
$(CC
) $(FLAGS
) -o
$@
$(MAKE_PRINTERDEF_OBJ
) $(LDFLAGS
) $(LIBS
)
595 bin
/smbtorture
$(EXEEXT
): $(SMBTORTURE_OBJ
) bin
/.dummy
597 @
$(CC
) $(FLAGS
) -o
$@
$(SMBTORTURE_OBJ
) $(LDFLAGS
) $(LIBS
)
599 bin
/masktest
$(EXEEXT
): $(MASKTEST_OBJ
) bin
/.dummy
601 @
$(CC
) $(FLAGS
) -o
$@
$(MASKTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
603 bin
/msgtest
$(EXEEXT
): $(MSGTEST_OBJ
) bin
/.dummy
605 @
$(CC
) $(FLAGS
) -o
$@
$(MSGTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
607 bin
/smbcacls
$(EXEEXT
): $(SMBCACLS_OBJ
) bin
/.dummy
609 @
$(CC
) $(FLAGS
) -o
$@
$(SMBCACLS_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
) $(LDAPLIBS
)
611 bin
/locktest
$(EXEEXT
): $(LOCKTEST_OBJ
) bin
/.dummy
613 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
615 bin
/locktest2
$(EXEEXT
): $(LOCKTEST2_OBJ
) bin
/.dummy
617 @
$(CC
) $(FLAGS
) -o
$@
$(LOCKTEST2_OBJ
) $(LDFLAGS
) $(LIBS
)
619 bin
/nsstest
$(EXEEXT
): $(NSSTEST_OBJ
) bin
/.dummy
621 @
$(CC
) $(FLAGS
) -o
$@
$(NSSTEST_OBJ
) $(LDFLAGS
) $(LIBS
)
623 bin
/rpctorture
$(EXEEXT
): $(RPCTORTURE_OBJ
) bin
/.dummy
625 @
$(CC
) $(FLAGS
) -o
$@
$(RPCTORTURE_OBJ
) $(LDFLAGS
) $(DYNEXP
) $(LIBS
)
627 bin
/debug2html
$(EXEEXT
): $(DEBUG2HTML_OBJ
) bin
/.dummy
629 @
$(CC
) $(FLAGS
) -o
$@
$(DEBUG2HTML_OBJ
) $(LDFLAGS
) $(LIBS
)
631 bin
/smbfilter
$(EXEEXT
): $(SMBFILTER_OBJ
) bin
/.dummy
633 @
$(CC
) $(FLAGS
) -o
$@
$(SMBFILTER_OBJ
) $(LDFLAGS
) $(LIBS
)
635 bin
/smbw_sample
$(EXEEXT
): $(SMBW_OBJ
) utils
/smbw_sample.o bin
/.dummy
637 @
$(CC
) $(FLAGS
) -o
$@
$(SMBW_OBJ
) utils
/smbw_sample.o
$(LDFLAGS
) $(LIBS
)
639 bin
/smbsh
$(EXEEXT
): $(SMBSH_OBJ
) bin
/.dummy
641 @
$(CC
) $(FLAGS
) -o
$@
$(SMBSH_OBJ
) $(LDFLAGS
) $(LIBS
)
643 bin
/smbwrapper.@SHLIBEXT@
: $(PICOBJS
) bin
/.dummy
644 @echo Linking shared library
$@
645 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(PICOBJS
) $(LDFLAGS
) $(LIBS
) \
646 @SONAMEFLAG@
`basename $@`
648 bin
/smbwrapper
.32.@SHLIBEXT@
: $(PICOBJS32
) bin
/.dummy
649 @echo Linking shared library
$@
650 @
$(SHLD
) -32 @LDSHFLAGS@
-o
$@
$(PICOBJS32
) $(LDFLAGS
) $(LIBS
) \
651 @SONAMEFLAG@
`basename $@`
653 bin
/libsmbclient.@SHLIBEXT@
: $(LIBSMBCLIENT_PICOBJS
) bin
/.dummy
654 @echo Linking libsmbclient shared library
$@
655 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(LIBSMBCLIENT_PICOBJS
) $(LDFLAGS
) $(LIBS
) \
656 @SONAMEFLAG@
`basename $@`.
$(LIBSMBCLIENT_MAJOR
)
658 bin
/libsmbclient.a
: $(LIBSMBCLIENT_PICOBJS
) bin
/.dummy
659 @echo Linking libsmbclient non-shared library
$@
660 @
-$(AR
) -rc
$@
$(LIBSMBCLIENT_PICOBJS
)
662 bin
/pam_smbpass.@SHLIBEXT@
: $(PAM_SMBPASS_OBJ
) bin
/.dummy
663 @echo Linking shared library
$@
664 $(SHLD
) @LDSHFLAGS@
-o
$@
$(PAM_SMBPASS_OBJ
) $(LDFLAGS
) -lpam
$(DYNEXP
) $(LIBS
) $(LDAPLIBS
) -lc \
665 @SONAMEFLAG@
`basename $@`
667 nsswitch
/libnss_wins.so
: $(NSS_OBJ
)
669 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(NSS_OBJ
) -lc \
670 @SONAMEFLAG@
`basename $@`
672 bin
/winbindd
$(EXEEXT
): $(WINBINDD_OBJ
) bin
/.dummy
674 @
$(LINK
) -o
$@
$(WINBINDD_OBJ
) $(DYNEXP
) $(LIBS
) $(LDAPLIBS
)
676 nsswitch
/libns_winbind.so
: $(WINBIND_NSS_PICOBJS
)
678 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(WINBIND_NSS_PICOBJS
) @WINBIND_NSS_EXTRA_LIBS@ \
679 @SONAMEFLAG@
`basename $@`
681 nsswitch
/libnss_winbind.so
: $(WINBIND_NSS_PICOBJS
)
683 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(WINBIND_NSS_PICOBJS
) @WINBIND_NSS_EXTRA_LIBS@ \
684 @SONAMEFLAG@
`basename $@`
686 nsswitch
/pam_winbind.so
: $(PAM_WINBIND_OBJ
)
688 @
$(SHLD
) @LDSHFLAGS@
-o
$@
$(PAM_WINBIND_OBJ
) \
689 @SONAMEFLAG@
`basename $@`
691 bin
/wbinfo
$(EXEEXT
): $(WBINFO_OBJ
) $(PARAM_OBJ
) $(LIB_OBJ
) $(NOPROTO_OBJ
) \
692 $(UBIQX_OBJ
) @BUILD_POPT@ bin
/.dummy
694 @
$(LINK
) -o
$@
$(WBINFO_OBJ
) $(PARAM_OBJ
) $(LIB_OBJ
) $(NOPROTO_OBJ
) \
695 $(UBIQX_OBJ
) $(LIBS
) @BUILD_POPT@
697 bin
/tdbbackup
$(EXEEXT
): $(TDBBACKUP_OBJ
) bin
/.dummy
699 @
$(CC
) $(FLAGS
) -o
$@
$(TDBBACKUP_OBJ
)
701 bin
/tdbdump
$(EXEEXT
): $(TDBDUMP_OBJ
) bin
/.dummy
703 @
$(CC
) $(FLAGS
) -o
$@
$(TDBDUMP_OBJ
)
705 install: installbin installman installscripts installcp installswat
708 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
)
709 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(SBINDIR
)
710 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
)
711 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(LIBDIR
)
712 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(VARDIR
)
713 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(PIDDIR
)
714 $(SHELL
) $(srcdir)/install-sh
-d
-m
$(INSTALLPERMS
) $(DESTDIR
)$(CODEPAGEDIR
)
716 installservers
: all installdirs
717 @
$(SHELL
) $(srcdir)/script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(SPROGS
)
719 installbin
: all installdirs
720 @
$(SHELL
) $(srcdir)/script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(SPROGS
) $(WINBIND_SPROGS
)
721 @
$(SHELL
) $(srcdir)/script
/installbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(BINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(PROGS
) $(WINBIND_PROGS
)
723 installscripts
: installdirs
724 @
$(SHELL
) $(srcdir)/script
/installscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
726 installcp
: installdirs installbin
727 @
$(SHELL
) $(srcdir)/script
/installcp.sh
$(srcdir) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(CODEPAGEDIR
) $(DESTDIR
)$(BINDIR
) $(CODEPAGELIST
)
729 installswat
: installdirs
730 @
$(SHELL
) $(srcdir)/script
/installswat.sh
$(DESTDIR
)$(SWATDIR
) $(srcdir)
733 -$(INSTALLCLIENTCMD_SH
) bin
/libsmbclient.@SHLIBEXT@
734 -$(INSTALLCLIENTCMD_A
) bin
/libsmbclient.a
735 -$(INSTALLCMD
) -d
${prefix}/include
736 -$(INSTALLCMD
) include/libsmbclient.h
${prefix}/include
738 # revert to the previously installed version
740 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(DESTDIR
)$(SBINDIR
) $(SPROGS
) ${WINBIND_SPROGS}
741 @
$(SHELL
) $(srcdir)/script
/revert.sh
$(DESTDIR
)$(BINDIR
) $(PROGS
) $(SCRIPTS
) ${WINBIND_PROGS}
744 @
$(SHELL
) $(srcdir)/script
/installman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir) "@ROFF@"
746 uninstall: uninstallman uninstallbin uninstallscripts uninstallcp
749 @
$(SHELL
) $(srcdir)/script
/uninstallman.sh
$(DESTDIR
)$(MANDIR
) $(srcdir)
752 @
$(SHELL
) $(srcdir)/script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(SBINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(SPROGS
) $(WINBIND_SPROGS
)
753 @
$(SHELL
) $(srcdir)/script
/uninstallbin.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BASEDIR
) $(DESTDIR
)$(BINDIR
) $(DESTDIR
)$(LIBDIR
) $(DESTDIR
)$(VARDIR
) $(PROGS
) $(WINBIND_PROGS
)
756 @
$(SHELL
) $(srcdir)/script
/uninstallscripts.sh
$(INSTALLPERMS
) $(DESTDIR
)$(BINDIR
) $(SCRIPTS
)
759 @
$(SHELL
) $(srcdir)/script
/uninstallcp.sh
$(DESTDIR
)$(CODEPAGEDIR
) $(CODEPAGELIST
)
762 -rm -f core
*/*~
*~
*/*.o
*/*.po
*/*.po32
*/*.@SHLIBEXT@
* */*.a
765 @cd
$(srcdir) && $(SHELL
) script
/mkproto.sh
$(AWK
) \
766 -h _WINBINDD_PROTO_H_ nsswitch
/winbindd_proto.h \
770 @echo rebuilding
include/proto.h
771 @cd
$(srcdir) && $(AWK
) -f script
/mkproto.awk
`echo $(PROTO_OBJ) | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort -u | egrep -v 'ubiqx/|wrapped'` > include/proto.h
774 etags
`find $(srcdir) -name "*.[ch]" | grep -v /CVS/`
777 ctags
`find $(srcdir) -name "*.[ch]" | grep -v /CVS/`
780 -rm -f config.log
$(PROGS
) $(SPROGS
) $(WINBIND_PROGS
) $(WINBIND_SPROGS
) $(LPROGS
) bin
/.dummy
785 -rm -f
include/config.h Makefile
786 -rm -f config.status config.cache so_locations
789 # this target is really just for my use. It only works on a limited
790 # range of machines and is used to produce a list of potentially
791 # dead (ie. unused) functions in the code. (tridge)
793 nm
*/*.o |grep
'U ' | awk
'{print $$2}' |
sort -u
> nmused.txt
794 nm
*/*.o |grep
'T ' | awk
'{print $$3}' |
sort -u
> nmfns.txt
795 comm
-13 nmused.txt nmfns.txt
798 # when configure.in is updated, reconfigure
799 $(srcdir)/configure
: $(srcdir)/configure.in
800 @echo
"WARNING: you need to rerun autoconf"
802 config.status
: $(srcdir)/configure
803 @echo
"WARNING: you need to run configure"
805 Makefile
: $(srcdir)/Makefile.in config.status
806 @echo
"WARNING: you need to run ./config.status"