Added openwince include module dependency.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@204 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent e3acbed840
commit 29c14582f4

@ -33,7 +33,7 @@ autoconf
echo
echo "Now running ./configure script..."
./configure --enable-maintainer-mode
./configure --enable-maintainer-mode --with-include=/usr/local/include/openwince
echo
echo "Type \`make\` to build jtag..."

@ -44,6 +44,13 @@ AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_RANLIB
AC_SUBST(OPENWINCE_INC)
AC_ARG_WITH(include,
AC_HELP_STRING([--with-include=PATH], [Path to the openwince includes]),
openwince_inc="$withval",
openwince_inc="/usr/include/openwince")
OPENWINCE_INC="-I$openwince_inc -I$openwince_inc/device"
AC_SEARCH_LIBS([ioperm], [ioperm])
CFLAGS="$CFLAGS -Wall"

@ -27,10 +27,10 @@ SUBDIRS = \
bin_PROGRAMS = jtag
jtag_SOURCES = jtag.c detect.c readmem.c detect.h
jtag_SOURCES = jtag.c detect.c readmem.c detect.h pxa250.c pxa250.h
jtag_DEPENDENCIES = tap/libtap.a part/libpart.a
jtag_LDADD = -lreadline -lncurses -Ltap -ltap -Lpart -lpart
INCLUDES = -I$(top_srcdir)/include
INCLUDES = -I$(top_srcdir)/include $(OPENWINCE_INC)

Loading…
Cancel
Save