Commit c30a9739 authored by Daniel Pocock's avatar Daniel Pocock

Imported Upstream version 2.2.2.1

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

This diff is collapsed.
# $Id$
#
# OpenMAMA: The open middleware agnostic messaging API
# Copyright (C) 2011 NYSE Technologies, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
#
# Pick up the install directory as set by configure
PREFIX :=$(shell cat prefix.txt)
.PHONY: all docs mama mama-install mama-clean mamajni mamajni-install mamajni-clean\
mamda mamda-install mamda-clean mamdajni mamdajni-install mamdajni-clean\
common common-install common-clean test
all: common mama mamajni mamda mamdajni docs
install: common-install mama-install mamajni-install mamda-install mamdajni-install
clean: common-clean mama-clean mamajni-clean mamda-clean mamdajni-clean
#####################################################
# COMMON
#####################################################
common:
cd common/c_cpp ; make ; cd -
common-install:
cd common/c_cpp ; make install -j1 -l80 ; cd -
common-clean:
cd common/c_cpp ; make clean -j1 -l80 ; cd -
#####################################################
# MAMA
#####################################################
mama: common
cd mama/c_cpp ; make ; cd -
mama-install: common-install
cd mama/c_cpp ; make install -j1 -l80 ; cd -
mama-clean:
cd mama/c_cpp ; make clean; cd -
#####################################################
# MAMAJNI
#####################################################
mamajni: mama
cd mama/jni ; ant -f build.xml ; make ; cd -
mamajni-install: mama-install mamajni
cd mama/jni ; ant -f build.xml ; make install -j1 -l80 ; cd -
$(eval MAMAJNI_BUILD := mama/jni/$(shell ls -1 mama/jni | grep mamajni))
cp $(MAMAJNI_BUILD)/lib/*.jar $(PREFIX)/lib
mkdir -p $(PREFIX)/examples/mamajni
cp $(MAMAJNI_BUILD)/examples/*.java $(PREFIX)/examples/mamajni
mamajni-clean: mama-clean
cd mama/jni ; ant -f build.xml clean ; make clean ; cd -
$(eval MAMAJNI_BUILD := mama/jni/$(shell ls -1 mama/jni | grep mamajni))
rm -r $(MAMAJNI_BUILD)
#####################################################
# MAMDA
#####################################################
mamda: mama
cd mamda/c_cpp ; make ; cd -
mamda-install: mama-install
cd mamda/c_cpp ; make install -j1 -l80 ; cd -
mamda-clean: mama-clean
cd mamda/c_cpp ; make clean; cd -
#####################################################
# MAMDAJAVA
#####################################################
mamdajni: mamajni
cd mamda/java ; ant -f build.xml dist; cd -
mamdajni-install: mamajni-install
cd mamda/java ; ant -f build.xml dist ; cd -
$(eval MAMDAJNI_BUILD := mamda/java/mamda)
cp $(MAMDAJNI_BUILD)/bin/* $(PREFIX)/bin
cp $(MAMDAJNI_BUILD)/lib/*.jar $(PREFIX)/lib
mkdir -p $(PREFIX)/examples/mamdajni
cp -r $(MAMDAJNI_BUILD)/examples/com/wombat/mamda/examples/*.java $(PREFIX)/examples/mamdajni
mamdajni-clean: mamajni-clean
cd mamda/java ; ant -f build.xml clean ; cd -
$(eval MAMDAJNI_BUILD := mamda/java/mamda)
rm -r $(MAMDAJNI_BUILD)
#####################################################
# DOCS
#####################################################
docs:
echo "Building API Docs in mama"
cd mama/c_cpp ; doxygen doxyconfig-c ; cd -
cd mama/c_cpp ; doxygen doxyconfig-cpp ; cd -
cd mama/jni ; ant -f build.xml -DwithDocs=true javadoc ; cd -
echo "Building API Docs in mamda"
cd mamda/c_cpp ; doxygen doxyconfig-cpp ; cd -
cd mamda/java ; ant -f build.xml -DwithDocs=true javadoc ; cd -
This source diff could not be displayed because it is too large. You can view the blob instead.
File added
This diff is collapsed.
# $Id$
#
# OpenMAMA: The open middleware agnostic messaging API
# Copyright (C) 2011 NYSE Technologies, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
#
## Process this file with automake to produce Makefile.in
#srcdir = @srcdir@
#VPATH = @srcdir@
SUBDIRS = src
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#undef HAVE_MALLOC
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `socket' function. */
#undef HAVE_SOCKET
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `strdup' function. */
#undef HAVE_STRDUP
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Version number of package */
#undef VERSION
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */
#undef YYTEXT_POINTER
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define to rpl_malloc if the replacement function should be used. */
#undef malloc
This diff is collapsed.