summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-29 12:06:53 +1000
committerDamien Miller <djm@mindrot.org>1999-10-29 12:06:53 +1000
commit3c5cb3857b8c20da189c5a23fc72d3db0d34c6cd (patch)
treeaee2179a7900fcc8cdecc4d0b82220f60cd4b95d /Makefile
parent07a826d85456d2194fb0030cde8e2b7cbb7d061b (diff)
- Remove autoconf generated Makefile from CVS
- Stripped subdirectories from CVS server - Fixed makefile to suit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile83
1 files changed, 0 insertions, 83 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 64f389f62..000000000
--- a/Makefile
+++ /dev/null
@@ -1,83 +0,0 @@
1# Generated automatically from Makefile.in by configure.
2prefix=/usr/local
3exec_prefix=${prefix}
4bindir=${exec_prefix}/bin
5sbindir=${exec_prefix}/sbin
6libdir=${exec_prefix}/lib
7mandir=${prefix}/man
8
9CC=gcc
10OPT_FLAGS=-g
11CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"${prefix}/etc\" -DHAVE_CONFIG_H
12TARGETS=bin/libssh.a bin/ssh bin/sshd bin/ssh-add bin/ssh-keygen bin/ssh-agent bin/scp
13LFLAGS=-L./bin
14LIBS=-lssh -lpam -ldl -lpwdb -lz -lutil -lcrypto
15AR=ar
16RANLIB=ranlib
17
18OBJS= authfd.o authfile.o auth-passwd.o auth-rhosts.o auth-rh-rsa.o \
19 auth-rsa.o bufaux.o buffer.o canohost.o channels.o cipher.o \
20 clientloop.o compress.o crc32.o deattack.o helper.o hostfile.o \
21 log-client.o login.o log-server.o match.o mpaux.o packet.o pty.o \
22 readconf.o readpass.o rsa.o servconf.o serverloop.o \
23 sshconnect.o tildexpand.o ttymodes.o uidswap.o xmalloc.o \
24 helper.o mktemp.o strlcpy.o rc4.o
25
26all: $(OBJS) $(TARGETS)
27
28bin/libssh.a: authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o cipher.o compat.o compress.o crc32.o deattack.o hostfile.o match.o mpaux.o nchan.o packet.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o xmalloc.o helper.o rc4.o mktemp.o strlcpy.o
29 [ -d bin ] || mkdir bin
30 $(AR) rv $@ $^
31 $(RANLIB) $@
32
33bin/ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o
34 [ -d bin ] || mkdir bin
35 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
36
37bin/sshd: sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o pty.o log-server.o login.o servconf.o serverloop.o
38 [ -d bin ] || mkdir bin
39 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
40
41bin/scp: scp.o
42 [ -d bin ] || mkdir bin
43 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
44
45bin/ssh-add: ssh-add.o log-client.o
46 [ -d bin ] || mkdir bin
47 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
48
49bin/ssh-agent: ssh-agent.o log-client.o
50 [ -d bin ] || mkdir bin
51 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
52
53bin/ssh-keygen: ssh-keygen.o log-client.o
54 [ -d bin ] || mkdir bin
55 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
56
57clean:
58 rm -f *.o core bin/* config.status config.cache config.log
59
60install:
61 install -d $(bindir)
62 install -d $(sbindir)
63 install -d $(mandir)
64 install -d $(mandir)/man1
65 install -d $(mandir)/man8
66 install -s -c bin/ssh $(bindir)/ssh
67 install -s -c bin/scp $(bindir)/scp
68 install -s -c bin/ssh-add $(bindir)/ssh-add
69 install -s -c bin/ssh-agent $(bindir)/ssh-agent
70 install -s -c bin/ssh-keygen $(bindir)/ssh-keygen
71 install -s -c bin/sshd $(sbindir)/sshd
72 install -m644 -c ssh.1 $(mandir)/man1/ssh.1
73 install -m644 -c scp.1 $(mandir)/man1/scp.1
74 install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1
75 install -m644 -c ssh-agent.1 $(mandir)/man1/ssh-agent.1
76 install -m644 -c ssh-keygen.1 $(mandir)/man1/ssh-keygen.1
77 install -m644 -c sshd.8 $(mandir)/man8/sshd.8
78
79distclean: clean
80 rm -f Makefile config.h *~
81 rm -rf bin
82
83mrproper: distclean