From 424e315dfa9a78aebf0653c95f83fe6ed452dd8e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 2 May 2017 21:26:58 +0300 Subject: Add hxx extension for headers and libstud prefix for library dir --- libstudxml/Makefile.am | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libstudxml/Makefile.am (limited to 'libstudxml/Makefile.am') diff --git a/libstudxml/Makefile.am b/libstudxml/Makefile.am new file mode 100644 index 0000000..531d456 --- /dev/null +++ b/libstudxml/Makefile.am @@ -0,0 +1,31 @@ +# file : xml/Makefile.am +# copyright : Copyright (c) 2013-2017 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +EXTRA_DIST = __file__(extra_dist) + +studxmlincludedir = $(includedir)/xml + +lib_LTLIBRARIES = libstudxml.la +libstudxml_la_SOURCES = __path__(sources) + +nobase_studxmlinclude_HEADERS = __path__(headers) +nobase_nodist_studxmlinclude_HEADERS = details/config.h + +if !LIBSTUDXML_EXTERNAL_EXPAT +libstudxml_la_SOURCES += __path__(expat_sources) +nobase_studxmlinclude_HEADERS += __path__(expat_headers) +endif + +libstudxml_la_SOURCES += __path__(genx_sources) +nobase_studxmlinclude_HEADERS += __path__(genx_headers) + +nobase_studxmlinclude_HEADERS += __path__(xml_headers) + +# Make sure make doesn't try to build the no-extension headers +# thinking that they are executable. +# +__foreach_w__(__f,__path__(xml_headers),__f $(top_srcdir)/xml/__f ): ; @: + +AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -DLIBSTUDXML_DYNAMIC_LIB +AM_LDFLAGS = -release __value__(interface_version) -no-undefined -- cgit v1.1