1
1
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@128 7dcaeef0-15fb-0310-b436-a5af3365683c
Этот коммит содержится в:
Laurent Bigonville 2007-07-31 17:54:25 +00:00
родитель 961ef240ec
Коммит 93af231d14
5 изменённых файлов: 36 добавлений и 7 удалений

Просмотреть файл

@ -2,10 +2,14 @@ SUBDIRS = libssh include
AM_CPPFLAGS = -I$(srcdir)/include
LDADD = -lssh -L$(srcdir)/libssh
LDADD = $(top_builddir)/libssh/libssh.la
noinst_PROGRAMS = samplesshd samplessh
bin_PROGRAMS = samplesshd samplessh samplesftp
noinst_DATA = samplesftp doxygen
libsshdir = $(includedir)/libssh
libssh_HEADERS = config.h
samplessh_SOURCES = sample.c
@ -14,6 +18,26 @@ samplesshd_SOURCES = samplesshd.c
samplesftp: samplessh
$(LN_S) samplessh samplesftp
nodist_samplesftp_SOURCES = samplesftp.c
if HAS_DOXYGEN
install-doc: doxygen
$(INSTALL) -d $(DESTDIR)$(docdir)/html
$(INSTALL) --mode=644 doxygen/html/* $(DESTDIR)$(docdir)/html
$(INSTALL) -d $(DESTDIR)$(docdir)/examples
$(INSTALL) --mode=644 sample.c samplesshd.c $(DESTDIR)$(docdir)/examples
$(INSTALL) -d $(DESTDIR)$(mandir)/man3
$(INSTALL) --mode=644 doxygen/man/man3/* $(DESTDIR)$(mandir)/man3
doxygen:
@echo "Running doxygen..."
doxygen $(srcdir)/Doxyfile
else
doxygen:
install-doc: doxygen
endif
clean-local:
-rm -rf doxygen
EXTRA_DIST = Doxyfile
CLEANFILES = samplesftp

Просмотреть файл

@ -1,7 +1,8 @@
#!/bin/sh -e
libtoolize --force --copy
aclocal
libtoolize --force --copy
autoheader
autoconf
automake --add-missing --copy --gnu
./configure $@

Просмотреть файл

@ -3,10 +3,12 @@
AC_PREREQ(2.57)
AC_INIT([libssh], 0.2, [aris@0xbadc0de.be])
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE(1.9)
AC_CONFIG_SRCDIR([sample.c])
AC_CONFIG_HEADER([config.h])
AM_MAINTAINER_MODE
# LT Version numbers, remember to change them just *before* a release.
# (Interfaces removed: CURRENT++, AGE=0, REVISION=0)
# (Interfaces added: CURRENT++, AGE++, REVISION=0)
@ -65,6 +67,9 @@ AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_C_BIGENDIAN
AC_CHECK_PROG([DOXYGEN], [doxygen], [yes], [no])
AM_CONDITIONAL([HAS_DOXYGEN], [test x"$DOXYGEN" = xyes])
# Checks for libraries.
with_gcrypt=${with_gcrypt:-"no"}
AC_ARG_WITH([libgcrypt],

Просмотреть файл

@ -1,2 +1,2 @@
libsshdir = $(includedir)/libssh
libssh_HEADERS = config.h crypto.h libssh.h priv.h server.h sftp.h ssh1.h ssh2.h
libssh_HEADERS = crypto.h libssh.h priv.h server.h sftp.h ssh1.h ssh2.h

Просмотреть файл

@ -1 +0,0 @@
../../config.h