]> andersk Git - openssh.git/blame - Makefile.in
Merged one line cleanup from OBSD CVS
[openssh.git] / Makefile.in
CommitLineData
5881cd60 1prefix=@prefix@
2exec_prefix=@exec_prefix@
3bindir=@bindir@
4sbindir=@sbindir@
5libdir=@libdir@
bb0dd7f6 6mandir=@mandir@
5881cd60 7
8CC=@CC@
5aecb327 9OPT_FLAGS=-g
10CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"@sysconfdir@\" @DEFS@
e8162ec0 11TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp
12LFLAGS=-L.
f1bcacf9 13LIBS=-lssh @LIBS@
5881cd60 14AR=@AR@
15RANLIB=@RANLIB@
16
17OBJS= authfd.o authfile.o auth-passwd.o auth-rhosts.o auth-rh-rsa.o \
18 auth-rsa.o bufaux.o buffer.o canohost.o channels.o cipher.o \
19 clientloop.o compress.o crc32.o deattack.o helper.o hostfile.o \
20 log-client.o login.o log-server.o match.o mpaux.o packet.o pty.o \
21 readconf.o readpass.o rsa.o servconf.o serverloop.o \
22 sshconnect.o tildexpand.o ttymodes.o uidswap.o xmalloc.o \
23 helper.o mktemp.o strlcpy.o rc4.o
24
25all: $(OBJS) $(TARGETS)
26
e8162ec0 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
5881cd60 28 $(AR) rv $@ $^
29 $(RANLIB) $@
30
e8162ec0 31ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o
5881cd60 32 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
33
e8162ec0 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
5881cd60 35 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
36
e8162ec0 37scp: scp.o
5881cd60 38 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
39
e8162ec0 40ssh-add: ssh-add.o log-client.o
5881cd60 41 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
42
e8162ec0 43ssh-agent: ssh-agent.o log-client.o
5881cd60 44 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
45
e8162ec0 46ssh-keygen: ssh-keygen.o log-client.o
5881cd60 47 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
48
49clean:
e8162ec0 50 rm -f *.o core $(TARGETS) config.status config.cache config.log
5881cd60 51
52install:
53 install -d $(bindir)
54 install -d $(sbindir)
bb0dd7f6 55 install -d $(mandir)
56 install -d $(mandir)/man1
57 install -d $(mandir)/man8
e8162ec0 58 install -s -c ssh $(bindir)/ssh
59 install -s -c scp $(bindir)/scp
60 install -s -c ssh-add $(bindir)/ssh-add
61 install -s -c ssh-agent $(bindir)/ssh-agent
62 install -s -c ssh-keygen $(bindir)/ssh-keygen
63 install -s -c sshd $(sbindir)/sshd
bb0dd7f6 64 install -m644 -c ssh.1 $(mandir)/man1/ssh.1
65 install -m644 -c scp.1 $(mandir)/man1/scp.1
66 install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1
67 install -m644 -c ssh-agent.1 $(mandir)/man1/ssh-agent.1
68 install -m644 -c ssh-keygen.1 $(mandir)/man1/ssh-keygen.1
69 install -m644 -c sshd.8 $(mandir)/man8/sshd.8
5881cd60 70
71distclean: clean
549b3eed 72 rm -f Makefile config.h core configure *~
5881cd60 73
74mrproper: distclean
This page took 0.181309 seconds and 5 git commands to generate.