diff options
author | Damien Miller <djm@mindrot.org> | 1999-10-28 13:25:17 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-10-28 13:25:17 +1000 |
commit | 7f6ea0264d01aa40b20df8dc75141631479da054 (patch) | |
tree | a30aa324db2b41c64e1216ce73b7b7468e5ff706 /Makefile.in | |
parent | 3d112efc672b877c74893229d3fd30f99489b9ff (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.in | 73 |
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 @@ | |||
1 | prefix=@prefix@ | ||
2 | exec_prefix=@exec_prefix@ | ||
3 | bindir=@bindir@ | ||
4 | sbindir=@sbindir@ | ||
5 | libdir=@libdir@ | ||
6 | |||
7 | CC=@CC@ | ||
8 | CFLAGS=-g -Wall -DETCDIR=\"/etc/ssh\" @DEFS@ | ||
9 | TARGETS=bin/libopenssh.a bin/openssh bin/opensshd bin/openssh-add bin/openssh-keygen bin/openssh-agent bin/openscp | ||
10 | LFLAGS=-L./bin | ||
11 | LIBS=-lopenssh @LIBS@ | ||
12 | AR=@AR@ | ||
13 | RANLIB=@RANLIB@ | ||
14 | |||
15 | OBJS= 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 | |||
23 | all: $(OBJS) $(TARGETS) | ||
24 | |||
25 | bin/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 | |||
30 | bin/openssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o | ||
31 | [ -d bin ] || mkdir bin | ||
32 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
33 | |||
34 | bin/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 | |||
38 | bin/openscp: scp.o | ||
39 | [ -d bin ] || mkdir bin | ||
40 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
41 | |||
42 | bin/openssh-add: ssh-add.o log-client.o | ||
43 | [ -d bin ] || mkdir bin | ||
44 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
45 | |||
46 | bin/openssh-agent: ssh-agent.o log-client.o | ||
47 | [ -d bin ] || mkdir bin | ||
48 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
49 | |||
50 | bin/openssh-keygen: ssh-keygen.o log-client.o | ||
51 | [ -d bin ] || mkdir bin | ||
52 | $(CC) -o $@ $^ $(LFLAGS) $(LIBS) | ||
53 | |||
54 | clean: | ||
55 | rm -f *.o core bin/* config.status config.cache config.log | ||
56 | |||
57 | install: | ||
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 | |||
69 | distclean: clean | ||
70 | rm -f Makefile config.h *~ | ||
71 | rm -rf bin | ||
72 | |||
73 | mrproper: distclean | ||