mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@83 7dcaeef0-15fb-0310-b436-a5af3365683c
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
|
|
OBJECTS= client.o packet.o dh.o crypt.o connect.o error.o buffer.o \
|
|
string.o kex.o channels.o options.o keys.o auth.o base64.o \
|
|
keyfiles.o misc.o gzip.o wrapper.o sftp.o server.o crc32.o \
|
|
session.o messages.o channels1.o auth1.o sftpserver.o \
|
|
gcrypt_missing.o init.o
|
|
SHELL = /bin/sh
|
|
VPATH = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
top_builddir = @top_builddir@
|
|
srcdir = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = $(exec_prefix)/bin
|
|
incldir= $(prefix)/include
|
|
infodir = $(prefix)/info
|
|
libdir = $(prefix)/lib/
|
|
mandir = $(prefix)/man/man1
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@ -Wall -g -I../include/
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
INSTALL = @INSTALL@
|
|
LIBTOOL = @LIBTOOL@
|
|
LIBSSH_LDFLAGS = @LIBSSH_LDFLAGS@
|
|
LIBSSH_VERS = @LIBSSH_VERS@
|
|
LIBSSH_CURRENT = @LIBSSH_CURRENT@
|
|
LIBSSH_REVISION = @LIBSSH_REVISION@
|
|
LIBSSH_AGE = @LIBSSH_AGE@
|
|
|
|
.c.o:
|
|
$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $<
|
|
|
|
all: libssh.so
|
|
|
|
libssh.la: $(OBJECTS) libssh.vers
|
|
$(LIBTOOL) --mode=link $(CC) -o libssh.la -export-dynamic -version-info $(LIBSSH_CURRENT):$(LIBSSH_REVISION):$(LIBSSH_AGE) -rpath $(libdir) $(OBJECTS:.o=.lo) $(LIBS) $(LIBSSH_LDFLAGS) $(LIBSSH_VERS) $(LDFLAGS)
|
|
|
|
libssh.so: libssh.la
|
|
libssh.a: libssh.la
|
|
|
|
install: all
|
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(incldir)
|
|
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
|
|
$(LIBTOOL) --mode=install $(INSTALL) libssh.la $(DESTDIR)$(libdir)
|
|
clean:
|
|
$(LIBTOOL) --mode=clean rm -f *~ libssh.la *.lo *.o
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|