diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index a55af98db..f517144de 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -19,6 +19,7 @@ ASKPASS_LOCATION=@libexecdir@/ssh | |||
19 | ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass | 19 | ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass |
20 | 20 | ||
21 | CC=@CC@ | 21 | CC=@CC@ |
22 | LD=@LD@ | ||
22 | PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" | 23 | PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\" |
23 | CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ | 24 | CFLAGS=@CFLAGS@ $(PATHS) @DEFS@ |
24 | LIBS=@LIBS@ | 25 | LIBS=@LIBS@ |
@@ -55,22 +56,22 @@ libssh.a: $(LIBOBJS) | |||
55 | $(RANLIB) $@ | 56 | $(RANLIB) $@ |
56 | 57 | ||
57 | ssh: libssh.a $(SSHOBJS) | 58 | ssh: libssh.a $(SSHOBJS) |
58 | $(CC) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh $(LIBS) | 59 | $(LD) -o $@ $(SSHOBJS) $(LDFLAGS) -lssh $(LIBS) |
59 | 60 | ||
60 | sshd: libssh.a $(SSHDOBJS) | 61 | sshd: libssh.a $(SSHDOBJS) |
61 | $(CC) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh $(LIBS) | 62 | $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh $(LIBS) |
62 | 63 | ||
63 | scp: libssh.a scp.o | 64 | scp: libssh.a scp.o |
64 | $(CC) -o $@ scp.o $(LDFLAGS) -lssh $(LIBS) | 65 | $(LD) -o $@ scp.o $(LDFLAGS) -lssh $(LIBS) |
65 | 66 | ||
66 | ssh-add: libssh.a ssh-add.o log-client.o | 67 | ssh-add: libssh.a ssh-add.o log-client.o |
67 | $(CC) -o $@ ssh-add.o log-client.o $(LDFLAGS) -lssh $(LIBS) | 68 | $(LD) -o $@ ssh-add.o log-client.o $(LDFLAGS) -lssh $(LIBS) |
68 | 69 | ||
69 | ssh-agent: libssh.a ssh-agent.o log-client.o | 70 | ssh-agent: libssh.a ssh-agent.o log-client.o |
70 | $(CC) -o $@ ssh-agent.o log-client.o $(LDFLAGS) -lssh $(LIBS) | 71 | $(LD) -o $@ ssh-agent.o log-client.o $(LDFLAGS) -lssh $(LIBS) |
71 | 72 | ||
72 | ssh-keygen: libssh.a ssh-keygen.o log-client.o | 73 | ssh-keygen: libssh.a ssh-keygen.o log-client.o |
73 | $(CC) -o $@ ssh-keygen.o log-client.o $(LDFLAGS) -lssh $(LIBS) | 74 | $(LD) -o $@ ssh-keygen.o log-client.o $(LDFLAGS) -lssh $(LIBS) |
74 | 75 | ||
75 | $(MANPAGES) $(CONFIGFILES):: | 76 | $(MANPAGES) $(CONFIGFILES):: |
76 | $(FIXPATHSCMD) $(srcdir)/$@ | 77 | $(FIXPATHSCMD) $(srcdir)/$@ |