summaryrefslogtreecommitdiff
path: root/Makefile.in
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.in
parent07a826d85456d2194fb0030cde8e2b7cbb7d061b (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.in40
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@
8CC=@CC@ 8CC=@CC@
9OPT_FLAGS=-g 9OPT_FLAGS=-g
10CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"@sysconfdir@\" @DEFS@ 10CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"@sysconfdir@\" @DEFS@
11TARGETS=bin/libssh.a bin/ssh bin/sshd bin/ssh-add bin/ssh-keygen bin/ssh-agent bin/scp 11TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp
12LFLAGS=-L./bin 12LFLAGS=-L.
13LIBS=-lssh @LIBS@ 13LIBS=-lssh @LIBS@
14AR=@AR@ 14AR=@AR@
15RANLIB=@RANLIB@ 15RANLIB=@RANLIB@
@@ -24,37 +24,30 @@ OBJS= authfd.o authfile.o auth-passwd.o auth-rhosts.o auth-rh-rsa.o \
24 24
25all: $(OBJS) $(TARGETS) 25all: $(OBJS) $(TARGETS)
26 26
27bin/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 27libssh.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
32bin/ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o 31ssh: 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
36bin/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 34sshd: 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
40bin/scp: scp.o 37scp: scp.o
41 [ -d bin ] || mkdir bin
42 $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 38 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
43 39
44bin/ssh-add: ssh-add.o log-client.o 40ssh-add: ssh-add.o log-client.o
45 [ -d bin ] || mkdir bin
46 $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 41 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
47 42
48bin/ssh-agent: ssh-agent.o log-client.o 43ssh-agent: ssh-agent.o log-client.o
49 [ -d bin ] || mkdir bin
50 $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 44 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
51 45
52bin/ssh-keygen: ssh-keygen.o log-client.o 46ssh-keygen: ssh-keygen.o log-client.o
53 [ -d bin ] || mkdir bin
54 $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 47 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
55 48
56clean: 49clean:
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
59install: 52install:
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
78distclean: clean 71distclean: clean
79 rm -f Makefile config.h core configure *~ 72 rm -f Makefile config.h core configure *~
80 rm -rf bin
81 73
82mrproper: distclean 74mrproper: distclean