]> andersk Git - openssh.git/blob - Makefile.in
Lots of changes:
[openssh.git] / Makefile.in
1 prefix=@prefix@
2 exec_prefix=@exec_prefix@
3 bindir=@bindir@
4 sbindir=@sbindir@
5 libdir=@libdir@
6 mandir=@mandir@
7
8 CC=@CC@
9 OPT_FLAGS=-g
10 CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"@sysconfdir@\" -DSSH_PROGRAM=\"@bindir@/ssh\" @DEFS@
11 TARGETS=libssh.a ssh sshd ssh-add ssh-keygen ssh-agent scp
12 LFLAGS=-L.
13 LIBS=-lssh @LIBS@
14 AR=@AR@
15 RANLIB=@RANLIB@
16
17 OBJS=   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
25 all: $(OBJS) $(TARGETS)
26
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         $(AR) rv $@ $^
29         $(RANLIB) $@
30
31 ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o
32         $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 
33
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
35         $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 
36
37 scp:    scp.o
38         $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 
39
40 ssh-add: ssh-add.o log-client.o
41         $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 
42
43 ssh-agent: ssh-agent.o log-client.o
44         $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 
45
46 ssh-keygen: ssh-keygen.o log-client.o
47         $(CC) -o $@ $^ $(LFLAGS) $(LIBS) 
48
49 clean:
50         rm -f *.o core $(TARGETS) config.status config.cache config.log
51
52 install:
53         install -d $(bindir)
54         install -d $(sbindir)
55         install -d $(mandir)
56         install -d $(mandir)/man1
57         install -d $(mandir)/man8
58         install -s -c ssh $(bindir)/ssh
59         ln -s ssh $(bindir)/slogin
60         install -s -c scp $(bindir)/scp
61         install -s -c ssh-add $(bindir)/ssh-add
62         install -m755 -c ssh-askpass $(libdir)/ssh/ssh-askpass
63         install -s -c ssh-agent $(bindir)/ssh-agent
64         install -s -c ssh-keygen $(bindir)/ssh-keygen
65         install -s -c sshd $(sbindir)/sshd
66         install -m644 -c ssh.1 $(mandir)/man1/ssh.1
67         ln -s ssh.1 $(mandir)/man1/slogin.1
68         install -m644 -c scp.1 $(mandir)/man1/scp.1
69         install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1
70         install -m644 -c ssh-agent.1 $(mandir)/man1/ssh-agent.1
71         install -m644 -c ssh-keygen.1 $(mandir)/man1/ssh-keygen.1
72         install -m644 -c sshd.8 $(mandir)/man8/sshd.8
73
74 distclean: clean
75         rm -f Makefile config.h core *~
76
77 mrproper: distclean
78
79 veryclean: distclean
80         rm -f configure
This page took 1.128108 seconds and 5 git commands to generate.