Makefile.am 772 Bytes
Newer Older
1
SUBDIRS = . tests
2

Michal Vaner's avatar
Michal Vaner committed
3 4 5 6 7 8 9 10 11 12
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib

AM_CXXFLAGS = $(B10_CXXFLAGS)

if USE_STATIC_LINK
AM_LDFLAGS = -static
endif

pkglibexecdir = $(libexecdir)/@PACKAGE@

13 14
CLEANFILES = *.gcno *.gcda

15 16 17 18 19 20 21 22 23 24
man_MANS = b10-sockcreator.8
EXTRA_DIST = $(man_MANS) b10-sockcreator.xml

if ENABLE_MAN

b10-sockcreator.8: b10-sockcreator.xml
        xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-sockcreator.xml

endif

25 26
pkglibexec_PROGRAMS = b10-sockcreator

27
b10_sockcreator_SOURCES = sockcreator.cc sockcreator.h main.cc
28 29
b10_sockcreator_LDADD  = $(top_builddir)/src/lib/util/io/libutil_io.la
b10_sockcreator_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la