2007-07-27 07:54:32 +04:00
|
|
|
SUBDIRS = libssh include
|
|
|
|
|
|
|
|
AM_CPPFLAGS = -I$(srcdir)/include
|
|
|
|
|
2007-07-31 21:54:25 +04:00
|
|
|
LDADD = $(top_builddir)/libssh/libssh.la
|
2007-07-27 07:54:32 +04:00
|
|
|
|
2007-07-31 21:54:25 +04:00
|
|
|
noinst_PROGRAMS = samplesshd samplessh
|
2007-07-27 07:54:32 +04:00
|
|
|
|
2007-07-31 21:54:25 +04:00
|
|
|
noinst_DATA = samplesftp doxygen
|
|
|
|
|
2007-07-27 07:54:32 +04:00
|
|
|
samplessh_SOURCES = sample.c
|
|
|
|
|
|
|
|
samplesshd_SOURCES = samplesshd.c
|
|
|
|
|
|
|
|
samplesftp: samplessh
|
2008-05-13 01:51:13 +04:00
|
|
|
$(LN_S) -f samplessh samplesftp
|
2007-07-27 07:54:32 +04:00
|
|
|
|
2007-07-31 21:54:25 +04:00
|
|
|
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
|
2007-07-27 07:54:32 +04:00
|
|
|
|
|
|
|
EXTRA_DIST = Doxyfile
|
2007-07-31 21:54:25 +04:00
|
|
|
|
|
|
|
CLEANFILES = samplesftp
|