diff options
| author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-10-25 23:11:41 +0000 |
|---|---|---|
| committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-10-25 23:11:41 +0000 |
| commit | 9a2683f183338da7c82261d502cdeff0855c210c (patch) | |
| tree | 7a3f8ba8b1b754a1dd49c28bd175403d96d6ec2d /libssh/Makefile.in | |
| parent | d86f0017545f0076a1136b5c6f8b0a7a58366342 (diff) | |
| download | libssh-9a2683f183338da7c82261d502cdeff0855c210c.tar.gz libssh-9a2683f183338da7c82261d502cdeff0855c210c.tar.xz libssh-9a2683f183338da7c82261d502cdeff0855c210c.zip | |
added Jean-Philippe's patch for libtools. it doesn't compile on my computer.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@40 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/Makefile.in')
| -rw-r--r-- | libssh/Makefile.in | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/libssh/Makefile.in b/libssh/Makefile.in index ecd25a92..ae6b20b1 100644 --- a/libssh/Makefile.in +++ b/libssh/Makefile.in @@ -6,8 +6,8 @@ OBJECTS= client.o packet.o dh.o crypt.o connect.o error.o buffer.o \ SHELL = /bin/sh VPATH = @srcdir@ -subdirs = @subdirs@ top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ srcdir = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -18,27 +18,34 @@ libdir = $(prefix)/lib/ mandir = $(prefix)/man/man1 CC = @CC@ -CFLAGS = @CFLAGS@ -Wall -g -I../include/ -fPIC +CFLAGS = @CFLAGS@ -Wall -g -I../include/ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ INSTALL = @INSTALL@ -DYLIB_EXTENSION = @DYLIB_EXTENSION@ +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.so: $(OBJECTS) - $(CC) -o libssh.$(DYLIB_EXTENSION) $(LIBSSH_LDFLAGS) $(OBJECTS) $(LIBS) $(LDFLAGS) -libssh.a: $(OBJECTS) - rm -f libssh.a - ar q libssh.a $(OBJECTS) - @RANLIB@ libssh.a +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 $(incldir) $(top_srcdir)/mkinstalldirs $(libdir) - $(INSTALL) libssh.$(DYLIB_EXTENSION) $(libdir) + $(LIBTOOL) --mode=install $(INSTALL) libssh.la $(libdir) clean: - rm -f *~ libssh.a libssh.so *.o + $(LIBTOOL) --mode=clean rm -f *~ libssh.la *.lo distclean: clean rm -f Makefile |
