diff options
author | Damien Miller <djm@mindrot.org> | 1999-10-29 12:06:53 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-10-29 12:06:53 +1000 |
commit | 3c5cb3857b8c20da189c5a23fc72d3db0d34c6cd (patch) | |
tree | aee2179a7900fcc8cdecc4d0b82220f60cd4b95d /Makefile.in | |
parent | 07a826d85456d2194fb0030cde8e2b7cbb7d061b (diff) |
- Remove autoconf generated Makefile from CVS
- Stripped subdirectories from CVS server
- Fixed makefile to suit
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/Makefile.in b/Makefile.in index d1aec1330..6217c5848 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -8,8 +8,8 @@ mandir=@mandir@ | |||
8 | CC=@CC@ | 8 | CC=@CC@ |
9 | OPT_FLAGS=-g | 9 | OPT_FLAGS=-g |
10 | CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"@sysconfdir@\" @DEFS@ | 10 | CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"@sysconfdir@\" @DEFS@ |
11 | TARGETS=bin/libssh.a bin/ssh bin/sshd bin/ssh-add bin/ssh-keygen bin/ssh-agent bin/scp | 11 | TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp |
12 | LFLAGS=-L./bin | 12 | LFLAGS=-L. |
13 | LIBS=-lssh @LIBS@ | 13 | LIBS=-lssh @LIBS@ |
14 | AR=@AR@ | 14 | AR=@AR@ |
15 | RANLIB=@RANLIB@ | 15 | RANLIB=@RANLIB@ |
@@ -24,37 +24,30 @@ OBJS= authfd.o authfile.o auth-passwd.o auth-rhosts.o auth-rh-rsa.o \ | |||
24 | 24 | ||
25 | all: $(OBJS) $(TARGETS) | 25 | all: $(OBJS) $(TARGETS) |
26 | 26 | ||
27 | 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 | 27 | 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 |
28 | [ -d bin ] || mkdir bin | ||
29 | $(AR) rv $@ $^ | 28 | $(AR) rv $@ $^ |
30 | $(RANLIB) $@ | 29 | $(RANLIB) $@ |
31 | 30 | ||
32 | bin/ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o | 31 | ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o |
33 | [ -d bin ] || mkdir bin | ||
34 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 32 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
35 | 33 | ||
36 | 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 | 34 | 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 |
37 | [ -d bin ] || mkdir bin | ||
38 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 35 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
39 | 36 | ||
40 | bin/scp: scp.o | 37 | scp: scp.o |
41 | [ -d bin ] || mkdir bin | ||
42 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 38 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
43 | 39 | ||
44 | bin/ssh-add: ssh-add.o log-client.o | 40 | ssh-add: ssh-add.o log-client.o |
45 | [ -d bin ] || mkdir bin | ||
46 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 41 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
47 | 42 | ||
48 | bin/ssh-agent: ssh-agent.o log-client.o | 43 | ssh-agent: ssh-agent.o log-client.o |
49 | [ -d bin ] || mkdir bin | ||
50 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 44 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
51 | 45 | ||
52 | bin/ssh-keygen: ssh-keygen.o log-client.o | 46 | ssh-keygen: ssh-keygen.o log-client.o |
53 | [ -d bin ] || mkdir bin | ||
54 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | 47 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) |
55 | 48 | ||
56 | clean: | 49 | clean: |
57 | rm -f *.o core bin/* config.status config.cache config.log | 50 | rm -f *.o core $(TARGETS) config.status config.cache config.log |
58 | 51 | ||
59 | install: | 52 | install: |
60 | install -d $(bindir) | 53 | install -d $(bindir) |
@@ -62,12 +55,12 @@ install: | |||
62 | install -d $(mandir) | 55 | install -d $(mandir) |
63 | install -d $(mandir)/man1 | 56 | install -d $(mandir)/man1 |
64 | install -d $(mandir)/man8 | 57 | install -d $(mandir)/man8 |
65 | install -s -c bin/ssh $(bindir)/ssh | 58 | install -s -c ssh $(bindir)/ssh |
66 | install -s -c bin/scp $(bindir)/scp | 59 | install -s -c scp $(bindir)/scp |
67 | install -s -c bin/ssh-add $(bindir)/ssh-add | 60 | install -s -c ssh-add $(bindir)/ssh-add |
68 | install -s -c bin/ssh-agent $(bindir)/ssh-agent | 61 | install -s -c ssh-agent $(bindir)/ssh-agent |
69 | install -s -c bin/ssh-keygen $(bindir)/ssh-keygen | 62 | install -s -c ssh-keygen $(bindir)/ssh-keygen |
70 | install -s -c bin/sshd $(sbindir)/sshd | 63 | install -s -c sshd $(sbindir)/sshd |
71 | install -m644 -c ssh.1 $(mandir)/man1/ssh.1 | 64 | install -m644 -c ssh.1 $(mandir)/man1/ssh.1 |
72 | install -m644 -c scp.1 $(mandir)/man1/scp.1 | 65 | install -m644 -c scp.1 $(mandir)/man1/scp.1 |
73 | install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1 | 66 | install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1 |
@@ -77,6 +70,5 @@ install: | |||
77 | 70 | ||
78 | distclean: clean | 71 | distclean: clean |
79 | rm -f Makefile config.h core configure *~ | 72 | rm -f Makefile config.h core configure *~ |
80 | rm -rf bin | ||
81 | 73 | ||
82 | mrproper: distclean | 74 | mrproper: distclean |