Merge pull request #93 from bertwesarg/vpath-for-2.4

Support building and testing with VPATH.
This commit is contained in:
Petri Lehtinen 2012-10-26 05:48:32 -07:00
commit ac0ca9223b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
check_PROGRAMS = json_process check_PROGRAMS = json_process
AM_CPPFLAGS = -I$(top_srcdir)/src AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
AM_CFLAGS = -Wall -Werror AM_CFLAGS = -Wall -Werror
LDFLAGS = -static # for speed and Valgrind LDFLAGS = -static # for speed and Valgrind
LDADD = $(top_builddir)/src/libjansson.la LDADD = $(top_builddir)/src/libjansson.la

View File

@ -29,7 +29,7 @@ test_pack_SOURCES = test_pack.c util.h
test_simple_SOURCES = test_simple.c util.h test_simple_SOURCES = test_simple.c util.h
test_unpack_SOURCES = test_unpack.c util.h test_unpack_SOURCES = test_unpack.c util.h
AM_CPPFLAGS = -I$(top_srcdir)/src AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
AM_CFLAGS = -Wall -Werror AM_CFLAGS = -Wall -Werror
LDFLAGS = -static # for speed and Valgrind LDFLAGS = -static # for speed and Valgrind
LDADD = $(top_builddir)/src/libjansson.la LDADD = $(top_builddir)/src/libjansson.la