summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-28 13:25:17 +1000
committerDamien Miller <djm@mindrot.org>1999-10-28 13:25:17 +1000
commit7f6ea0264d01aa40b20df8dc75141631479da054 (patch)
treea30aa324db2b41c64e1216ce73b7b7468e5ff706 /Makefile.in
parent3d112efc672b877c74893229d3fd30f99489b9ff (diff)
- Integrated patch from Dan Brosemer <odin@linuxfreak.com>
- Build fixes - Autoconf - Change binary names to open* - Fixed autoconf script to detect PAM on RH6.1 - Added tests for libpwdb, and OpenBSD functions to autoconf (not used yet)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in73
1 files changed, 73 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
new file mode 100644
index 000000000..8e1d2f1a1
--- /dev/null
+++ b/Makefile.in
@@ -0,0 +1,73 @@
1prefix=@prefix@
2exec_prefix=@exec_prefix@
3bindir=@bindir@
4sbindir=@sbindir@
5libdir=@libdir@
6
7CC=@CC@
8CFLAGS=-g -Wall -DETCDIR=\"/etc/ssh\" @DEFS@
9TARGETS=bin/libopenssh.a bin/openssh bin/opensshd bin/openssh-add bin/openssh-keygen bin/openssh-agent bin/openscp
10LFLAGS=-L./bin
11LIBS=-lopenssh @LIBS@
12AR=@AR@
13RANLIB=@RANLIB@
14
15OBJS= authfd.o authfile.o auth-passwd.o auth-rhosts.o auth-rh-rsa.o \
16 auth-rsa.o bufaux.o buffer.o canohost.o channels.o cipher.o \
17 clientloop.o compress.o crc32.o deattack.o helper.o hostfile.o \
18 log-client.o login.o log-server.o match.o mpaux.o packet.o pty.o \
19 readconf.o readpass.o rsa.o servconf.o serverloop.o \
20 sshconnect.o tildexpand.o ttymodes.o uidswap.o xmalloc.o \
21 helper.o mktemp.o strlcpy.o rc4.o
22
23all: $(OBJS) $(TARGETS)
24
25bin/libopenssh.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
26 [ -d bin ] || mkdir bin
27 $(AR) rv $@ $^
28 $(RANLIB) $@
29
30bin/openssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o
31 [ -d bin ] || mkdir bin
32 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
33
34bin/opensshd: 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
35 [ -d bin ] || mkdir bin
36 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
37
38bin/openscp: scp.o
39 [ -d bin ] || mkdir bin
40 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
41
42bin/openssh-add: ssh-add.o log-client.o
43 [ -d bin ] || mkdir bin
44 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
45
46bin/openssh-agent: ssh-agent.o log-client.o
47 [ -d bin ] || mkdir bin
48 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
49
50bin/openssh-keygen: ssh-keygen.o log-client.o
51 [ -d bin ] || mkdir bin
52 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
53
54clean:
55 rm -f *.o core bin/* config.status config.cache config.log
56
57install:
58 install -d $(bindir)
59 install -d $(sbindir)
60 install -d $(libdir)
61 install -c bin/openssh $(bindir)/openssh
62 install -c bin/openscp $(bindir)/openscp
63 install -c bin/openssh-add $(bindir)/openssh-add
64 install -c bin/openssh-agent $(bindir)/openssh-agent
65 install -c bin/openssh-keygen $(bindir)/openssh-keygen
66 install -c bin/opensshd $(sbindir)/opensshd
67 install -c bin/libopenssh.a $(libdir)/libopenssh.a
68
69distclean: clean
70 rm -f Makefile config.h *~
71 rm -rf bin
72
73mrproper: distclean