* automake automatically figures out many linking directories;
remove explicit linking options for . / .libs
TMP files:
* automake automatically creates a unique directory within TMPDIR;
remove intermediate /opensrf/ directory (which causes problems for make clean)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1355
9efc2488-bf62-4759-914b-
345cdb29e865
export APXS2 = @APXS2@
export APACHE2_HEADERS = @APACHE2_HEADERS@
export DEF_CFLAGS = -D_LARGEFILE64_SOURCE $(MAYBE_DEBUG) -pipe -g -Wall -O2 -fPIC -I@abs_top_builddir@/include/ -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) -I$(APR_HEADERS) @INCLUDES@
-export DEF_LDFLAGS = -L$(TMPDIR) @LIBDIRS@
export DEF_LDLIBS = -lobjson -lopensrf
export VAR = @localstatedir@
export PID = @localstatedir@/run/opensrf
export LOG = @localstatedir@/log/opensrf
AM_CFLAGS = $(DEF_CFLAGS)
-LDFLAGS = $(DEF_LDFLAGS) -L./src/
SUBDIRS = src
# Declare some directory variables
-export TMPDIR = $(TMP)/opensrf
+export TMPDIR = $(TMP)
export OPENSRF = opensrf
export BINDIR = @bindir@
export LIBDIR = @libdir@
AM_CFLAGS = $(DEF_CFLAGS) -DORSF_LOG_PARAMS
-AM_LDFLAGS = $(DEF_LDFLAGS) -L../libopensrf/.libs/ -L.
+AM_LDFLAGS = $(DEF_LDFLAGS) -L../libopensrf/
noinst_PROGRAMS = timejson
lib_LTLIBRARIES = libosrf_dbmath.la libosrf_math.la libosrf_version.la
AM_LDFLAGS = $(DEF_LDFLAGS)
-AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -L../libopensrf/.libs/
+AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -L../libopensrf/
curdir = @abs_top_builddir@/src/gateway/
LDADD = -lxml2 $(DEF_LDLIBS)
-AM_CFLAGS = $(DEF_CFLAGS) -D_GNU_SOURCE -L../libopensrf/.libs/
+AM_CFLAGS = $(DEF_CFLAGS) -D_GNU_SOURCE -L../libopensrf/
AM_LDFLAGS = $(DEF_LDFLAGS)
bin_PROGRAMS = chopchop
# GNU General Public License for more details.
-AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -DOSRF_STRICT_PARAMS -rdynamic -fno-strict-aliasing -L./.libs/ -DOSRF_JSON_ENABLE_XML_UTILS
+AM_CFLAGS = $(DEF_CFLAGS) -DASSUME_STATELESS -DOSRF_STRICT_PARAMS -rdynamic -fno-strict-aliasing -DOSRF_JSON_ENABLE_XML_UTILS
AM_LDFLAGS = $(DEF_LDFLAGS)
LDADD = -lxml2 -ldl -lmemcache -lopensrf -lobjson
LDADD = -lxml2 $(DEF_LDLIBS)
-AM_CFLAGS = $(DEF_CFLAGS) -D_ROUTER -L../libopensrf/.libs/
+AM_CFLAGS = $(DEF_CFLAGS) -D_ROUTER -L../libopensrf/
AM_LDFLAGS = $(DEF_LDFLAGS)
bin_PROGRAMS = opensrf_router
LDADD = -lreadline -lxml2 -lncurses $(DEF_LDLIBS)
-AM_CFLAGS = $(DEF_CFLAGS) -DEXEC_DEFAULT -L../libopensrf/.libs/
+AM_CFLAGS = $(DEF_CFLAGS) -DEXEC_DEFAULT -L../libopensrf/
AM_LDFLAGS = $(DEF_LDFLAGS)
bin_PROGRAMS = srfsh