export OSRF_JAVA_DEPSDIR = @OSRF_JAVA_DEPSDIR@
etcdir = $(ETCDIR)
+DISTCLEANFILES = Makefile.in Makefile
AM_LDFLAGS = $(DEF_LDFLAGS)
AM_CFLAGS = $(DEF_CFLAGS)
AM_CFLAGS = $(DEF_CFLAGS) -DORSF_LOG_PARAMS
AM_LDFLAGS = $(DEF_LDFLAGS) -L@top_builddir@/src/libopensrf
+DISTCLEANFILES = Makefile.in Makefile
+
noinst_PROGRAMS = timejson
lib_LTLIBRARIES = osrf_dbmath.la osrf_math.la osrf_version.la
AM_CFLAGS = -D_LARGEFILE64_SOURCE -Wall -I@abs_top_srcdir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS)
AM_LDFLAGS = -L$(LIBDIR) -L@top_builddir@/src/libopensrf
+DISTCLEANFILES = Makefile.in Makefile
+
install-exec-local:
if [ ! "$$(grep mod_placeholder `apxs2 -q SYSCONFDIR`/httpd.conf)" ]; \
then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \
+DISTCLEANFILES = Makefile.in Makefile
+
JAVAC=javac -J-Xmx256m
JAVA=java -Xmx256m
JAVA_LIBDIR = .lib
dep_clean:
rm -rf deps
-
-
AM_CFLAGS = $(DEF_CFLAGS) -D_GNU_SOURCE -L@top_builddir@/src/libopensrf
AM_LDFLAGS = $(DEF_LDFLAGS)
+DISTCLEANFILES = Makefile.in Makefile
+
bin_PROGRAMS = chopchop
chopchop_SOURCES = osrf_chat.c osrf_chat.h osrf_chat_main.c
AM_LDFLAGS = $(DEF_LDFLAGS) -R $(libdir)
LDADD = -lxml2 -ldl -lmemcache -lopensrf
+DISTCLEANFILES = Makefile.in Makefile
+
OSRF_INC = @top_srcdir@/include/opensrf
TARGS = osrf_message.c \
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
+DISTCLEANFILES = Makefile.in Makefile
+
all:
perl Build.PL || make -s install-perl-fail
echo ">>> See the messages above this one for more information."
echo
exit 1
+
+distclean-local:
+ rm -rf ./_build
+ rm -rf ./blib
\ No newline at end of file
# makefile for OpenSRF Python modules and scripts
+DISTCLEANFILES = Makefile.in Makefile
+
all-local:
@echo $@
python @srcdir@/setup.py build
python @srcdir@/setup.py install
distclean-local:
- rm @builddir@/OpenSRF.egg-info/PKG-INFO
- rm @builddir@/OpenSRF.egg-info/requires.txt
- rm @builddir@/OpenSRF.egg-info/top_level.txt
- rm @builddir@/OpenSRF.egg-info/SOURCES.txt
- rm @builddir@/OpenSRF.egg-info/dependency_links.txt
- rm @builddir@/build/scripts-2.5/srfsh.py
- rm @builddir@/dist/OpenSRF-1.0.0-py2.5.egg
+ rm -f @builddir@/OpenSRF.egg-info/PKG-INFO
+ rm -f @builddir@/OpenSRF.egg-info/requires.txt
+ rm -f @builddir@/OpenSRF.egg-info/top_level.txt
+ rm -f @builddir@/OpenSRF.egg-info/SOURCES.txt
+ rm -f @builddir@/OpenSRF.egg-info/dependency_links.txt
+ rm -f @builddir@/build/scripts-2.5/srfsh.py
+ rm -f @builddir@/dist/OpenSRF-1.0.0-py2.5.egg
AM_CFLAGS = $(DEF_CFLAGS) -D_ROUTER -L@top_builddir@/src/libopensrf
AM_LDFLAGS = $(DEF_LDFLAGS)
+DISTCLEANFILES = Makefile.in Makefile
+
bin_PROGRAMS = opensrf_router
opensrf_router_SOURCES = osrf_router.c osrf_router_main.c osrf_router.h
AM_CFLAGS = $(DEF_CFLAGS) -DEXEC_DEFAULT -L@top_builddir@/src/libopensrf
AM_LDFLAGS = $(DEF_LDFLAGS)
+DISTCLEANFILES = Makefile.in Makefile
+
bin_PROGRAMS = srfsh
srfsh_SOURCES = srfsh.c