]> andersk Git - openssh.git/blame - Makefile
Big rename ssh* -> openssh*
[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
8efc0c15 7
5aecb327 8CC=gcc
9OPT_FLAGS=-g
10CFLAGS=$(OPT_FLAGS) -Wall -DETCDIR=\"${prefix}/etc\" -DHAVE_CONFIG_H
11TARGETS=bin/libopenssh.a bin/openssh bin/opensshd bin/openssh-add bin/openssh-keygen bin/openssh-agent bin/openscp
12LFLAGS=-L./bin
13LIBS=-lopenssh -lpam -ldl -lpwdb -lz -lutil -lcrypto
14AR=ar
15RANLIB=ranlib
8efc0c15 16
5aecb327 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
8efc0c15 24
5aecb327 25all: $(OBJS) $(TARGETS)
8efc0c15 26
5aecb327 27bin/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
28 [ -d bin ] || mkdir bin
29 $(AR) rv $@ $^
30 $(RANLIB) $@
31
32bin/openssh: ssh.o sshconnect.o log-client.o readconf.o clientloop.o
33 [ -d bin ] || mkdir bin
34 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
35
36bin/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
37 [ -d bin ] || mkdir bin
38 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
39
40bin/openscp: scp.o
41 [ -d bin ] || mkdir bin
42 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
43
44bin/openssh-add: ssh-add.o log-client.o
45 [ -d bin ] || mkdir bin
46 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
47
48bin/openssh-agent: ssh-agent.o log-client.o
49 [ -d bin ] || mkdir bin
50 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
51
52bin/openssh-keygen: ssh-keygen.o log-client.o
53 [ -d bin ] || mkdir bin
54 $(CC) -o $@ $^ $(LFLAGS) $(LIBS)
55
56clean:
57 rm -f *.o core bin/* config.status config.cache config.log
58
59install:
60 install -d $(bindir)
61 install -d $(sbindir)
62 install -d $(libdir)
63 install -c bin/openssh $(bindir)/openssh
64 install -c bin/openscp $(bindir)/openscp
65 install -c bin/openssh-add $(bindir)/openssh-add
66 install -c bin/openssh-agent $(bindir)/openssh-agent
67 install -c bin/openssh-keygen $(bindir)/openssh-keygen
68 install -c bin/opensshd $(sbindir)/opensshd
69 install -c bin/libopenssh.a $(libdir)/libopenssh.a
70
71distclean: clean
72 rm -f Makefile config.h *~
73 rm -rf bin
74
75mrproper: distclean
This page took 0.061905 seconds and 5 git commands to generate.