From 48d6ac229d331a0a1d24b11db550998f882b838a Mon Sep 17 00:00:00 2001 From: Tomek CEDRO Date: Wed, 22 Jun 2011 00:47:09 +0200 Subject: SUBMODULE/LIBSWD: Integrated (conditional) libswd build into source tree configure and build process (just as JimTCL) in configure.in and Makefile.am. By default build is enabled, using switch '--disable-internal-libswd' build can be disabled and use external one. Added compilers flags to use internal libswd source tree in common.mk. --- common.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common.mk') diff --git a/common.mk b/common.mk index c1a5e6c6..6689ccdd 100644 --- a/common.mk +++ b/common.mk @@ -8,3 +8,9 @@ if INTERNAL_JIMTCL AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \ -I$(top_builddir)/jimtcl endif + +if INTERNAL_LIBSWD +AM_CPPFLAGS += -I$(top_srcdir)/submodules/libswd/src \ + -I$(top_builddir)/submodules/libswd/src +endif + -- cgit v1.2.3