]> andersk Git - openssh.git/blame - Makefile
- Make distclean now removed configure script
[openssh.git] / Makefile
CommitLineData
5aecb327 1# Generated automatically from Makefile.in by configure.
2prefix=/usr/local
3exec_prefix=${prefix}
4bindir=${exec_prefix}/bin
5sbindir=${exec_prefix}/sbin
6libdir=${exec_prefix}/lib
50da1126 7mandir=${prefix}/man
8efc0c15 8
5aecb327 9CC=gcc
10OPT_FLAGS=-g
11CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"${prefix}/etc\" -DHAVE_CONFIG_H
50da1126 12TARGETS=bin/libssh.a bin/ssh bin/sshd bin/ssh-add bin/ssh-keygen bin/ssh-agent bin/scp
5aecb327 13LFLAGS=-L./bin
50da1126 14LIBS=-lssh -lpam -ldl -lpwdb -lz -lutil -lcrypto
5aecb327 15AR=ar
16RANLIB=ranlib
8efc0c15 17
5aecb327 18OBJS= authfd.o authfile.o auth-passwd.o auth-rhosts.o auth-rh-rsa.o \
19 auth-rsa.o bufaux.o buffer.o canohost.o channels.o cipher.o \
20 clientloop.o compress.o crc32.o deattack.o helper.o hostfile.o \
21 log-client.o login.o log-server.o match.o mpaux.o packet.o pty.o \
22 readconf.o readpass.o rsa.o servconf.o serverloop.o \
23 sshconnect.o tildexpand.o ttymodes.o uidswap.o xmalloc.o \
24 helper.o mktemp.o strlcpy.o rc4.o
8efc0c15 25
5aecb327 26all: $(OBJS) $(TARGETS)
8efc0c15 27
50da1126 28bin/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
5aecb327 29 [ -d bin ] || mkdir bin
30 $(AR) rv $@ $^
31 $(RANLIB) $@
32
50da1126 33bin/ssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o
5aecb327 34 [ -d bin ] || mkdir bin
35 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
36
50da1126 37bin/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
5aecb327 38 [ -d bin ] || mkdir bin
39 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
40
50da1126 41bin/scp: scp.o
5aecb327 42 [ -d bin ] || mkdir bin
43 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
44
50da1126 45bin/ssh-add: ssh-add.o log-client.o
5aecb327 46 [ -d bin ] || mkdir bin
47 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
48
50da1126 49bin/ssh-agent: ssh-agent.o log-client.o
5aecb327 50 [ -d bin ] || mkdir bin
51 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
52
50da1126 53bin/ssh-keygen: ssh-keygen.o log-client.o
5aecb327 54 [ -d bin ] || mkdir bin
55 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
56
57clean:
58 rm -f *.o core bin/* config.status config.cache config.log
59
60install:
61 install -d $(bindir)
62 install -d $(sbindir)
50da1126 63 install -d $(mandir)
64 install -d $(mandir)/man1
65 install -d $(mandir)/man8
66 install -s -c bin/ssh $(bindir)/ssh
67 install -s -c bin/scp $(bindir)/scp
68 install -s -c bin/ssh-add $(bindir)/ssh-add
69 install -s -c bin/ssh-agent $(bindir)/ssh-agent
70 install -s -c bin/ssh-keygen $(bindir)/ssh-keygen
71 install -s -c bin/sshd $(sbindir)/sshd
72 install -m644 -c ssh.1 $(mandir)/man1/ssh.1
73 install -m644 -c scp.1 $(mandir)/man1/scp.1
74 install -m644 -c ssh-add.1 $(mandir)/man1/ssh-add.1
75 install -m644 -c ssh-agent.1 $(mandir)/man1/ssh-agent.1
76 install -m644 -c ssh-keygen.1 $(mandir)/man1/ssh-keygen.1
77 install -m644 -c sshd.8 $(mandir)/man8/sshd.8
5aecb327 78
79distclean: clean
80 rm -f Makefile config.h *~
81 rm -rf bin
82
83mrproper: distclean
This page took 0.158129 seconds and 5 git commands to generate.