diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 83 |
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. | ||
2 | prefix=/usr/local | ||
3 | exec_prefix=${prefix} | ||
4 | bindir=${exec_prefix}/bin | ||
5 | sbindir=${exec_prefix}/sbin | ||
6 | libdir=${exec_prefix}/lib | ||
7 | mandir=${prefix}/man | ||
8 | |||
9 | CC=gcc | ||
10 | OPT_FLAGS=-g | ||
11 | CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"${prefix}/etc\" -DHAVE_CONFIG_H | ||
12 | TARGETS=bin/libssh.a bin/ssh bin/sshd bin/ssh-add bin/ssh-keygen bin/ssh-agent bin/scp | ||
13 | LFLAGS=-L./bin | ||
14 | LIBS=-lssh -lpam -ldl -lpwdb -lz -lutil -lcrypto | ||
15 | AR=ar | ||
16 | RANLIB=ranlib | ||
17 | |||
18 | OBJS= 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 | |||
26 | all: $(OBJS) $(TARGETS) | ||
27 | |||
28 | bin/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 | |||
33 | bin/ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o | ||
34 | [ -d bin ] || mkdir bin | ||
35 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
36 | |||
37 | bin/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 | |||
41 | bin/scp: scp.o | ||
42 | [ -d bin ] || mkdir bin | ||
43 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
44 | |||
45 | bin/ssh-add: ssh-add.o log-client.o | ||
46 | [ -d bin ] || mkdir bin | ||
47 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
48 | |||
49 | bin/ssh-agent: ssh-agent.o log-client.o | ||
50 | [ -d bin ] || mkdir bin | ||
51 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
52 | |||
53 | bin/ssh-keygen: ssh-keygen.o log-client.o | ||
54 | [ -d bin ] || mkdir bin | ||
55 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
56 | |||
57 | clean: | ||
58 | rm -f *.o core bin/* config.status config.cache config.log | ||
59 | |||
60 | install: | ||
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 | |||
79 | distclean: clean | ||
80 | rm -f Makefile config.h *~ | ||
81 | rm -rf bin | ||
82 | |||
83 | mrproper: distclean | ||