summaryrefslogtreecommitdiff
path: root/other/ssharp/Makefile.in
diff options
context:
space:
mode:
authorSkyperTHC2026-03-03 06:28:55 +0000
committerSkyperTHC2026-03-03 06:28:55 +0000
commit5d3573ef7a109ee70416fe94db098fe6a769a798 (patch)
treedc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/ssharp/Makefile.in
parentc6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff)
packetstorm sync
Diffstat (limited to 'other/ssharp/Makefile.in')
-rw-r--r--other/ssharp/Makefile.in260
1 files changed, 260 insertions, 0 deletions
diff --git a/other/ssharp/Makefile.in b/other/ssharp/Makefile.in
new file mode 100644
index 0000000..a78895d
--- /dev/null
+++ b/other/ssharp/Makefile.in
@@ -0,0 +1,260 @@
1# $Id: Makefile.in,v 1.4 2002/05/05 12:32:07 stealth Exp $
2
3prefix=@prefix@
4exec_prefix=@exec_prefix@
5bindir=@bindir@
6sbindir=@sbindir@
7libexecdir=@libexecdir@
8mandir=@mandir@
9mansubdir=@mansubdir@
10sysconfdir=@sysconfdir@
11piddir=@piddir@
12srcdir=@srcdir@
13top_srcdir=@top_srcdir@
14
15DESTDIR=
16VPATH=@srcdir@
17SSH_PROGRAM=@bindir@/ssh
18ASKPASS_PROGRAM=$(libexecdir)/ssh-askpass
19SFTP_SERVER=$(libexecdir)/sftp-server
20
21PATHS= -DETCDIR=\"$(sysconfdir)\" \
22 -D_PATH_SSH_PROGRAM=\"$(SSH_PROGRAM)\" \
23 -D_PATH_SSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" \
24 -D_PATH_SFTP_SERVER=\"$(SFTP_SERVER)\" \
25 -D_PATH_SSH_PIDDIR=\"$(piddir)\"
26
27CC=@CC@
28LD=@LD@
29CFLAGS=@CFLAGS@
30CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
31LIBS=@LIBS@
32AR=@AR@
33RANLIB=@RANLIB@
34INSTALL=@INSTALL@
35PERL=@PERL@
36ENT=@ENT@
37XAUTH_PATH=@XAUTH_PATH@
38LDFLAGS=-L. -Lopenbsd-compat/ @LDFLAGS@
39EXEEXT=@EXEEXT@
40SSH_MODE= @SSHMODE@
41
42INSTALL_SSH_PRNG_CMDS=@INSTALL_SSH_PRNG_CMDS@
43
44@NO_SFTP@SFTP_PROGS=sftp-server$(EXEEXT) sftp$(EXEEXT)
45
46TARGETS=ssh$(EXEEXT) sshd$(EXEEXT)
47
48LIBSSH_OBJS=atomicio.o authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o cipher.o cli.o compat.o compress.o crc32.o deattack.o dh.o dispatch.o mac.o hostfile.o key.o kex.o kexdh.o kexgex.o log.o match.o misc.o mpaux.o nchan.o packet.o radix.o rijndael.o entropy.o readpass.o rsa.o ssh-dss.o ssh-rsa.o tildexpand.o ttymodes.o uidswap.o uuencode.o xmalloc.o ssharp.o
49
50SSHOBJS= ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o
51
52SSHDOBJS= sshd.o auth.o auth1.o auth2.o auth-chall.o auth2-chall.o auth-options.o auth-krb4.o auth-pam.o auth2-pam.o auth-passwd.o auth-rsa.o auth-sia.o sshpty.o sshlogin.o loginrec.o servconf.o serverloop.o md5crypt.o session.o groupaccess.o
53
54MANPAGES = scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out
55MANPAGES_IN = scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1
56MANTYPE = @MANTYPE@
57
58CONFIGFILES=sshd_config.out ssh_config.out primes.out
59CONFIGFILES_IN=sshd_config ssh_config primes
60
61PATHSUBS = \
62 -D/etc/ssh_config=$(sysconfdir)/ssh_config \
63 -D/etc/ssh_known_hosts=$(sysconfdir)/ssh_known_hosts \
64 -D/etc/sshd_config=$(sysconfdir)/sshd_config \
65 -D/usr/libexec=$(libexecdir) \
66 -D/etc/shosts.equiv=$(sysconfdir)/shosts.equiv \
67 -D/etc/ssh_host_key=$(sysconfdir)/ssh_host_key \
68 -D/etc/ssh_host_dsa_key=$(sysconfdir)/ssh_host_dsa_key \
69 -D/etc/ssh_host_rsa_key=$(sysconfdir)/ssh_host_rsa_key \
70 -D/var/run/sshd.pid=$(piddir)/sshd.pid \
71 -D/etc/primes=$(sysconfdir)/primes \
72 -D/etc/sshrc=$(sysconfdir)/sshrc \
73 -D/usr/X11R6/bin/xauth=$(XAUTH_PATH) \
74 -D/usr/bin:/bin:/usr/sbin:/sbin=@user_path@
75
76FIXPATHSCMD = $(PERL) $(srcdir)/fixpaths $(PATHSUBS)
77
78all: $(CONFIGFILES) $(MANPAGES) $(TARGETS)
79
80$(LIBSSH_OBJS): config.h
81$(SSHOBJS): config.h
82$(SSHDOBJS): config.h
83
84.c.o:
85 $(CC) $(CFLAGS) $(CPPFLAGS) -c $<
86
87LIBCOMPAT=openbsd-compat/libopenbsd-compat.a
88$(LIBCOMPAT): config.h
89 (cd openbsd-compat; $(MAKE))
90
91libssh.a: $(LIBSSH_OBJS)
92 $(AR) rv $@ $(LIBSSH_OBJS)
93 $(RANLIB) $@
94
95ssh$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHOBJS)
96 $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
97
98sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS)
99 $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
100
101scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o scp-common.o
102 $(LD) -o $@ scp.o scp-common.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
103
104ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-add.o
105 $(LD) -o $@ ssh-add.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
106
107ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o
108 $(LD) -o $@ ssh-agent.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
109
110ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o
111 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
112
113ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o
114 $(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
115
116sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o
117 $(LD) -o $@ sftp-server.o sftp-common.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
118
119sftp$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-client.o sftp-int.o sftp-common.o sftp-glob.o scp-common.o
120 $(LD) -o $@ sftp.o sftp-client.o sftp-common.o sftp-int.o sftp-glob.o scp-common.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
121
122# test driver for the loginrec code - not built by default
123logintest: logintest.o $(LIBCOMPAT) libssh.a loginrec.o
124 $(LD) -o $@ logintest.o $(LDFLAGS) loginrec.o -lopenbsd-compat -lssh $(LIBS)
125
126$(MANPAGES): $(MANPAGES_IN)
127 if test "$(MANTYPE)" = "cat"; then \
128 manpage=$(srcdir)/`echo $@ | sed 's/\.[1-9]\.out$$/\.0/'`; \
129 else \
130 manpage=$(srcdir)/`echo $@ | sed 's/\.out$$//'`; \
131 fi; \
132 if test "$(MANTYPE)" = "man"; then \
133 $(FIXPATHSCMD) $${manpage} | $(PERL) $(srcdir)/mdoc2man.pl > $@; \
134 else \
135 $(FIXPATHSCMD) $${manpage} > $@; \
136 fi
137
138$(CONFIGFILES): $(CONFIGFILES_IN)
139 conffile=`echo $@ | sed 's/.out$$//'`; \
140 $(FIXPATHSCMD) $(srcdir)/$${conffile} > $@
141
142clean:
143 (cd openbsd-compat; $(MAKE) clean)
144 rm -f *.o *.a $(TARGETS) logintest config.cache config.log
145 rm -f *.out core
146
147distclean: clean
148 (cd openbsd-compat; $(MAKE) distclean)
149 rm -f Makefile config.h config.status ssh_prng_cmds *~
150
151mrproper: distclean
152
153veryclean: distclean
154 rm -f configure config.h.in *.0
155
156catman-do:
157 @for f in $(MANPAGES_IN) ; do \
158 base=`echo $$f | sed 's/\..*$$//'` ; \
159 echo "$$f -> $$base.0" ; \
160 nroff -mandoc $$f | cat -v | sed -e 's/.\^H//g' \
161 >$$base.0 ; \
162 done
163
164distprep: catman-do
165 autoreconf
166
167install: $(TARGETS) install-files host-key
168
169install-files:
170 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
171 $(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
172 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
173 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1
174 $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
175 $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
176 $(INSTALL) -m 0755 -s sshd $(DESTDIR)$(sbindir)/sshd
177 if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
178 $(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
179 fi
180 if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config ]; then \
181 $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \
182 else \
183 echo "$(DESTDIR)$(sysconfdir)/ssh_config already exists, install will not overwrite"; \
184 fi
185 if [ ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \
186 $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \
187 else \
188 echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \
189 fi
190 if [ -f ssh_prng_cmds -a ! -z "$(INSTALL_SSH_PRNG_CMDS)" ]; then \
191 $(PERL) $(srcdir)/fixprogs ssh_prng_cmds $(ENT); \
192 if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds ] ; then \
193 $(INSTALL) -m 644 ssh_prng_cmds.out $(DESTDIR)$(sysconfdir)/ssh_prng_cmds; \
194 else \
195 echo "$(DESTDIR)$(sysconfdir)/ssh_prng_cmds already exists, install will not overwrite"; \
196 fi ; \
197 fi
198 if [ ! -f $(DESTDIR)$(sysconfdir)/primes ]; then \
199 $(INSTALL) -m 644 primes.out $(DESTDIR)$(sysconfdir)/primes; \
200 else \
201 echo "$(DESTDIR)$(sysconfdir)/primes already exists, install will not overwrite"; \
202 fi
203
204host-key: ssh-keygen$(EXEEXT)
205 if [ -z "$(DESTDIR)" ] ; then \
206 if [ -f "$(DESTDIR)$(sysconfdir)/ssh_host_key" ] ; then \
207 echo "$(DESTDIR)$(sysconfdir)/ssh_host_key already exists, skipping." ; \
208 else \
209 ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N "" ; \
210 fi ; \
211 if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key ] ; then \
212 echo "$(DESTDIR)$(sysconfdir)/ssh_host_dsa_key already exists, skipping." ; \
213 else \
214 ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N "" ; \
215 fi ; \
216 if [ -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key ] ; then \
217 echo "$(DESTDIR)$(sysconfdir)/ssh_host_rsa_key already exists, skipping." ; \
218 else \
219 ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N "" ; \
220 fi ; \
221 fi ;
222
223host-key-force: ssh-keygen$(EXEEXT)
224 ./ssh-keygen -t rsa1 -f $(DESTDIR)$(sysconfdir)/ssh_host_key -N ""
225 ./ssh-keygen -t dsa -f $(DESTDIR)$(sysconfdir)/ssh_host_dsa_key -N ""
226 ./ssh-keygen -t rsa -f $(DESTDIR)$(sysconfdir)/ssh_host_rsa_key -N ""
227
228uninstallall: uninstall
229 -rm -f $(DESTDIR)$(sysconfdir)/ssh_config
230 -rm -f $(DESTDIR)$(sysconfdir)/sshd_config
231 -rm -f $(DESTDIR)$(sysconfdir)/ssh_prng_cmds
232 -rmdir $(DESTDIR)$(sysconfdir)
233 -rmdir $(DESTDIR)$(bindir)
234 -rmdir $(DESTDIR)$(sbindir)
235 -rmdir $(DESTDIR)$(mandir)/$(mansubdir)1
236 -rmdir $(DESTDIR)$(mandir)/$(mansubdir)8
237 -rmdir $(DESTDIR)$(mandir)
238 -rmdir $(DESTDIR)$(libexecdir)
239
240uninstall:
241 -rm -f $(DESTDIR)$(bindir)/slogin
242 -rm -f $(DESTDIR)$(bindir)/ssh$(EXEEXT)
243 -rm -f $(DESTDIR)$(bindir)/scp$(EXEEXT)
244 -rm -f $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
245 -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
246 -rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
247 -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
248 -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT)
249 -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
250 -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
251 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
252 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
253 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
254 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1
255 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
256 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
257 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
258 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
259 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
260 -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1