moved doc/examples to examples according to new build process

This commit is contained in:
Marc Wäckerlin
2015-03-17 12:58:27 +00:00
parent a729670ba7
commit 6d91c244c2
11 changed files with 139 additions and 10 deletions

29
examples/makefile.am Normal file
View File

@@ -0,0 +1,29 @@
## @id $Id$
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
exampledir = ${docdir}/examples
example_PROGRAMS = smartpointer arguments shared
if HAVE_STACKTRACE
example_PROGRAMS += exceptionhandling
endif
example_DATA = ${smartpointer_SOURCES} ${exceptionhandling_SOURCES} \
${arguments_SOURCES}
CPPFLAGS = -I${top_srcdir}/src
LDFLAGS = -L${top_builddir}/src
if HAVE_STACKTRACE
exceptionhandling_SOURCES = exceptionhandling.cxx
exceptionhandling_LDADD = ${top_builddir}/src/.libs/libmrw.la
endif
smartpointer_SOURCES = smartpointer.cxx
smartpointer_LDADD = ${top_builddir}/src/.libs/libmrw.la
arguments_SOURCES = arguments.cxx
shared_SOURCES = shared.cxx
MAINTAINERCLEANFILES = makefile.in