summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorGravatar gmcdonald2010-02-13 01:32:03 +0000
committerGravatar gmcdonald2010-02-13 01:32:03 +0000
commit0425aadc78680e53000fd0108b540d6eca048516 (patch)
tree8ec7ab8e015d454c5ec586dfc91e05a2dce1cfc0 /Makefile.am
downloadaxis2c-0425aadc78680e53000fd0108b540d6eca048516.tar.gz
axis2c-0425aadc78680e53000fd0108b540d6eca048516.tar.bz2
Moving axis svn, part of TLP move INFRA-2441
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@909681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am53
1 files changed, 53 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..5395db2
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,53 @@
+datadir=$(prefix)
+logsdir=$(prefix)/logs
+docsdir=$(prefix)
+includedir=$(prefix)/include/axis2-1.6.0
+wsdl2cdir=$(prefix)/bin/tools/wsdl2c
+
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = axis2c.pc
+
+SUBDIRS = util $(GUTHTHILA_DIR) axiom neethi src $(TESTDIR) include ides tools/tcpmon tools/md5
+include_HEADERS=$(top_builddir)/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
+
+dist-hook:
+ rm -rf `find $(distdir)/ -type d -name .svn`
+ rm -rf `find $(distdir)/ -type f -name *.la`
+ rm -rf `find $(distdir)/ -type f -name *.o`
+ rm -rf `find $(distdir)/ -type f -name *.lo`
+ rm -rf `find $(distdir)/ -type f -name *.loT`
+ rm -rf `find $(distdir)/ -type d -name .deps`
+ rm -rf `find $(distdir)/ -type d -name .libs`
+ 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 $(distdir)/tools/tcpmon/src/tcpmon
+ rm -rf $(distdir)/tools/md5/src/md5
+ find $(distdir) -name "makefile" | xargs sed -i "s/\/WX//g"
+ sh dist.sh
+
+bindist: $(bin_PROGRAMS)
+ rm -rf axis2c-bin-${PACKAGE_VERSION}-linux
+ sh bindist.sh
+ mkdir axis2c-bin-${PACKAGE_VERSION}-linux
+ cp -r `pwd`/deploy/* axis2c-bin-${PACKAGE_VERSION}-linux
+ cp AUTHORS axis2c-bin-${PACKAGE_VERSION}-linux
+ cp README axis2c-bin-${PACKAGE_VERSION}-linux
+ cp ChangeLog axis2c-bin-${PACKAGE_VERSION}-linux
+ tar -cf - axis2c-bin-${PACKAGE_VERSION}-linux | gzip -c > axis2c-bin-${PACKAGE_VERSION}-linux.tar.gz
+ rm -rf axis2c-bin-${PACKAGE_VERSION}-linux
+
+install-data-hook:
+ mkdir -p $(DESTDIR)$(docsdir)
+ cp -r docs $(DESTDIR)$(docsdir)
+ rm -rf `find $(DESTDIR)$(docsdir)/ -type d -name .svn`
+ rm $(DESTDIR)$(docsdir)/README
+
+