Skip to content
Permalink
Browse files
Fix out-of-tree builds
  • Loading branch information
bblough committed Jan 17, 2020
1 parent cea6fe8 commit aca29b13d58ca7b08c27a124cf7c22fe922cabf2
Showing 75 changed files with 385 additions and 387 deletions.
@@ -23,13 +23,13 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = axis2c.pc

SUBDIRS = $(GTEST) util $(GUTHTHILA_DIR) axiom neethi src $(TESTDIR) include ides tools/tcpmon tools/md5
include_HEADERS=$(top_builddir)/include/*.h
include_HEADERS=$(top_srcdir)/include/*.h
data_DATA= samples/server/axis2.xml README \
INSTALL CREDITS COPYING NEWS NOTICE AUTHORS
logs_DATA=
docs_DATA=
wsdl2c_DATA=tools/codegen/javatool/WSDL2C.sh tools/codegen/javatool/README
EXTRA_DIST = CREDITS LICENSE build axis2c_build.sh guththila tools AUTHORS NOTICE tools/codegen/javatool/README tools/codegen/javatool/WSDL2C.bat tools/codegen/javatool/WSDL2C.sh docs docs/README
EXTRA_DIST = CREDITS LICENSE build axis2c_build.sh guththila tools AUTHORS NOTICE tools/codegen/javatool/README tools/codegen/javatool/WSDL2C.bat tools/codegen/javatool/WSDL2C.sh docs docs/README samples

dist-hook:
rm -rf `find $(distdir)/ -type d -name .svn`
@@ -42,6 +42,7 @@ dist-hook:
rm -rf `find $(distdir)/ -type f -name Makefile`
rm -rf `find $(distdir)/ -type f -name axis2c-sample-src-${PACKAGE_VERSION}.tar.gz`
rm -rf `find $(distdir)/ -type d -name autom4te.cache`
rm -rf `find $(distdir)/ -type f -name config.status`
rm -rf $(distdir)/tools/tcpmon/src/tcpmon
rm -rf $(distdir)/tools/md5/src/md5
find $(distdir) -name "makefile" | xargs sed -i "s/\/WX//g"
@@ -15,7 +15,7 @@
datadir=$(prefix)
SUBDIRS = src $(GTEST) $(TESTDIR) include
includedir=$(prefix)/include/axis2-${PACKAGE_VERSION}/
include_HEADERS=$(top_builddir)/include/*.h
include_HEADERS=$(top_srcdir)/include/*.h
data_DATA= INSTALL README AUTHORS NEWS CREDITS LICENSE COPYING
EXTRA_DIST = build.sh autogen.sh CREDITS LICENSE
dist-hook:
@@ -19,11 +19,11 @@ libaxis2_attachments_la_SOURCES = mime_part.c \
mime_body_part.c \
mime_parser.c

libaxis2_attachments_la_LIBADD = ../../../util/src/libaxutil.la
libaxis2_attachments_la_LIBADD = $(top_builddir)/../util/src/libaxutil.la

INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/parser \
-I ../../../util/include
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/parser \
-I$(top_srcdir)/../util/include

EXTRA_DIST = axiom_mime_body_part.h

@@ -34,17 +34,17 @@ libaxis2_axiom_la_SOURCES = om_attribute.c \
libaxis2_axiom_la_LIBADD = $(top_builddir)/src/soap/libaxis2_soap.la \
$(top_builddir)/src/attachments/libaxis2_attachments.la \
$(top_builddir)/src/util/libaxis2_axiom_util.la \
../parser/${WRAPPER_DIR}/libaxis2_parser.la \
../../../util/src/libaxutil.la
$(top_builddir)/src/parser/${WRAPPER_DIR}/libaxis2_parser.la \
$(top_builddir)/../util/src/libaxutil.la

libaxis2_axiom_la_LDFLAGS = -version-info $(VERSION_NO)

INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I$(top_builddir)/src/om \
-I$(top_builddir)/src/attachments \
-I$(top_builddir)/src/soap \
-I ../../../util/include
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I$(top_srcdir)/src/om \
-I$(top_srcdir)/src/attachments \
-I$(top_srcdir)/src/soap \
-I$(top_srcdir)/../util/include

EXTRA_DIST = axiom_namespace_internal.h axiom_node_internal.h axiom_stax_builder_internal.h axiom_document_internal.h axiom_element_internal.h

@@ -14,14 +14,14 @@
# limitations under the License.
lib_LTLIBRARIES = libaxis2_parser.la

libaxis2_parser_la_LIBADD = ../../../../guththila/src/libguththila.la \
../../../../util/src/libaxutil.la
libaxis2_parser_la_LIBADD = $(top_builddir)/../guththila/src/libguththila.la \
$(top_builddir)/../util/src/libaxutil.la

libaxis2_parser_la_SOURCES = ../xml_reader.c ../xml_writer.c guththila_xml_writer_wrapper.c \
guththila_xml_reader_wrapper.c

libaxis2_parser_la_LDFLAGS = -version-info $(VERSION_NO)

INCLUDES = -I$(top_builddir)/include \
-I ../../../../util/include \
-I ../../../../guththila/include
INCLUDES = -I$(top_srcdir)/include \
-I $(top_srcdir)/../util/include \
-I $(top_srcdir)/../guththila/include
@@ -19,12 +19,12 @@ libaxis2_parser_la_SOURCES = ../xml_reader.c ../xml_writer.c \
libxml2_reader_wrapper.c libxml2_writer_wrapper.c

libaxis2_parser_la_LIBADD = @LIBXML2_LIBS@ \
../../../../util/src/libaxutil.la
$(top_builddir)/../util/src/libaxutil.la

libaxis2_parser_la_LDFLAGS = -version-info $(VERSION_NO)


INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I ../../../../util/include \
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I$(top_srcdir)/../util/include \
@LIBXML2_CFLAGS@
@@ -31,10 +31,10 @@ libaxis2_soap_la_SOURCES = soap_fault.c \
soap12_builder_helper.c

libaxis2_soap_la_LIBADD =
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I$(top_builddir)/src/om \
-I ../../../util/include
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I$(top_srcdir)/src/om \
-I$(top_srcdir)/../util/include

EXTRA_DIST = axiom_soap11_builder_helper.h axiom_soap_builder_internal.h \
_axiom_soap_fault_code.h _axiom_soap_fault_reason.h \
@@ -16,7 +16,7 @@ noinst_LTLIBRARIES = libaxis2_axiom_util.la
libaxis2_axiom_util_la_SOURCES = om_util.c

libaxis2_axiom_util_la_LIBADD =
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I$(top_builddir)/src/om \
-I ../../../util/include
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I$(top_srcdir)/src/om \
-I$(top_srcdir)/../util/include
@@ -24,11 +24,11 @@ libaxis2_xpath_la_SOURCES = xpath.c \
libaxis2_xpath_la_LDFLAGS = -version-info $(VERSION_NO)

libaxis2_xpath_la_LIBADD =
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I$(top_builddir)/src/om \
-I ../../../util/include \
-I ../../../include
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I$(top_srcdir)/src/om \
-I$(top_srcdir)/../util/include \
-I$(top_srcdir)/../include

EXTRA_DIST = xpath_functions.h xpath_internals_engine.h \
xpath_internals.h xpath_internals_iterators.h \
@@ -19,13 +19,13 @@ SUBDIRS =

test_om_SOURCES = test_om.cc

test_om_LDADD = ../../../util/src/libaxutil.la \
test_om_LDADD = $(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \
$(top_builddir)/src/om/libaxis2_axiom.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

AM_CPPFLAGS = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I ../../../util/include \
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I $(top_srcdir)/../util/include \
-I $(GTEST_DIR)/include
@@ -19,14 +19,14 @@ SUBDIRS =
AM_CFLAGS = -g -O2
test_soap_SOURCES = test_soap.cc

test_soap_LDADD = ../../../util/src/libaxutil.la \
test_soap_LDADD = $(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \
$(top_builddir)/src/om/libaxis2_axiom.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

AM_CPPFLAGS = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I ../../../util/include \
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I $(top_srcdir)/../util/include \
-I $(GTEST_DIR)/include

@@ -23,7 +23,7 @@ test_util_LDADD = \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

AM_CPPFLAGS = -I$(top_builddir)/include \
-I ../../../util/include \
-I ../../../include \
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I $(top_srcdir)/../util/include \
-I $(top_srcdir)/../include \
-I $(GTEST_DIR)/include
@@ -20,22 +20,22 @@ test_xpath_SOURCES = test_xpath.cc

test_xpath_streaming_SOURCES = test_xpath_streaming.cc

test_xpath_LDADD = ../../../util/src/libaxutil.la \
test_xpath_LDADD = $(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/src/om/libaxis2_axiom.la \
$(top_builddir)/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \
$(top_builddir)/src/xpath/libaxis2_xpath.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

test_xpath_streaming_LDADD = ../../../util/src/libaxutil.la \
test_xpath_streaming_LDADD = $(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/src/om/libaxis2_axiom.la \
$(top_builddir)/src/parser/$(WRAPPER_DIR)/libaxis2_parser.la \
$(top_builddir)/src/xpath/libaxis2_xpath.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

AM_CPPFLAGS = -I$(top_builddir)/include \
-I$(top_builddir)/src/parser \
-I ../../../include \
-I ../../../util/include \
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/src/parser \
-I$(top_srcdir)/../include \
-I$(top_srcdir)/../util/include \
-I $(GTEST_DIR)/include
@@ -15,7 +15,7 @@
datadir=$(prefix)
SUBDIRS = src $(GTEST) $(TESTDIR)
includedir=$(prefix)/include/axis2-${PACKAGE_VERSION}/
include_HEADERS=$(top_builddir)/include/*.h
include_HEADERS=$(top_srcdir)/include/*.h
data_DATA= INSTALL README AUTHORS NEWS LICENSE COPYING
#EXTRA_DIST = build.sh autogen.sh CREDITS LICENSE
dist-hook:
@@ -27,6 +27,6 @@ libguththila_la_SOURCES = guththila_buffer.c \

libguththila_la_LIBADD = ../../util/src/libaxutil.la

INCLUDES = -I$(top_builddir)/include \
-I ../../util/include
INCLUDES = -I$(top_srcdir)/include \
-I$(top_srcdir)/../util/include

@@ -19,37 +19,37 @@ SUBDIRS =

test_guththila_SOURCES = test_guththila.cc

AM_CPPFLAGS = -I$(top_builddir)/include \
-I ../../util/include \
-I ../../axiom/include \
-I $(GTEST_DIR)/include
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/../util/include \
-I$(top_srcdir)/../axiom/include \
-I$(GTEST_DIR)/include

test_guththila_LDADD = \
$(top_builddir)/src/libguththila.la \
../../util/src/libaxutil.la \
$(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

test_attribute_SOURCES = test_attribute.cc

test_attribute_LDADD = \
$(top_builddir)/src/libguththila.la \
../../util/src/libaxutil.la \
$(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

test_stack_SOURCES = test_stack.cc

test_stack_LDADD = \
$(top_builddir)/src/libguththila.la \
../../util/src/libaxutil.la \
$(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a

test_token_SOURCES = test_token.cc

test_token_LDADD = \
$(top_builddir)/src/libguththila.la \
../../util/src/libaxutil.la \
$(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/$(GTEST)/libgtest.a \
$(top_builddir)/$(GTEST)/libgtest_main.a
@@ -14,4 +14,4 @@
# limitations under the License.
SUBDIRS = src $(GTEST) $(TESTDIR)
includedir=$(prefix)/include/axis2-${PACKAGE_VERSION}
include_HEADERS=$(top_builddir)/include/*.h
include_HEADERS=$(top_srcdir)/include/*.h
@@ -27,11 +27,11 @@ libneethi_la_SOURCES= all.c \
mtom_assertion_checker.c \
util.c

libneethi_la_LIBADD = ../../axiom/src/om/libaxis2_axiom.la \
../../util/src/libaxutil.la \
secpolicy/builder/librp_builder.la \
secpolicy/model/librp_model.la \
rmpolicy/librm_policy.la
libneethi_la_LIBADD = $(top_builddir)/../axiom/src/om/libaxis2_axiom.la \
$(top_builddir)/../util/src/libaxutil.la \
$(top_builddir)/src/secpolicy/builder/librp_builder.la \
$(top_builddir)/src/secpolicy/model/librp_model.la \
$(top_builddir)/src/rmpolicy/librm_policy.la

#libneethi_LIBADD=$(top_builddir)/src/core/description/libaxis2_description.la \
# $(top_builddir)/src/core/receivers/libaxis2_receivers.la \
@@ -49,10 +49,10 @@ libneethi_la_LIBADD = ../../axiom/src/om/libaxis2_axiom.la \

libneethi_la_LDFLAGS = -version-info $(VERSION_NO)

INCLUDES = -I$(top_builddir)/include \
-I ../../util/include \
-I ../../axiom/include \
-I ../../include
INCLUDES = -I$(top_srcdir)/include \
-I $(top_srcdir)/../util/include \
-I $(top_srcdir)/../axiom/include \
-I $(top_srcdir)/../include

# -I$(top_builddir)/src/wsdl \
# -I$(top_builddir)/src/core/description \
@@ -18,10 +18,9 @@ noinst_LTLIBRARIES = librm_policy.la

librm_policy_la_SOURCES = rm_assertion.c rm_assertion_builder.c

librm_policy_la_LIBADD = ../../../util/src/libaxutil.la
librm_policy_la_LIBADD = $(top_builddir)/../util/src/libaxutil.la

INCLUDES = -I$(top_builddir)/include \
-I ../../include \
-I ../../../util/include \
-I ../../../axiom/include \
-I ../../../include
INCLUDES = -I$(top_srcdir)/include \
-I $(top_srcdir)/../include \
-I $(top_srcdir)/../util/include \
-I $(top_srcdir)/../axiom/include
@@ -29,11 +29,10 @@ librp_builder_la_SOURCES = algorithmsuite_builder.c \
bootstrap_policy_builder.c security_context_token_builder.c \
issued_token_builder.c saml_token_builder.c

librp_builder_la_LIBADD = ../../../../axiom/src/om/libaxis2_axiom.la \
../../../../util/src/libaxutil.la
librp_builder_la_LIBADD = $(top_builddir)/../axiom/src/om/libaxis2_axiom.la \
$(top_builddir)/../util/src/libaxutil.la

INCLUDES = -I$(top_builddir)/include \
-I ../../../include \
-I ../../../../util/include \
-I ../../../../axiom/include \
-I ../../../../include
INCLUDES = -I$(top_srcdir)/include \
-I $(top_srcdir)/../include \
-I $(top_srcdir)/../util/include \
-I $(top_srcdir)/../axiom/include
@@ -28,8 +28,7 @@ librp_model_la_SOURCES = algorithmsuite.c asymmetric_binding.c \
librp_model_la_LIBADD = ../../../../util/src/libaxutil.la


INCLUDES = -I$(top_builddir)/include \
-I ../../../include \
-I ../../../../util/include \
-I ../../../../axiom/include \
-I ../../../../include
INCLUDES = -I$(top_srcdir)/include \
-I $(top_srcdir)/../include \
-I $(top_srcdir)/../util/include \
-I $(top_srcdir)/../axiom/include

0 comments on commit aca29b1

Please sign in to comment.