Commit 43aa4b3e authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

Add autofoo for enp2611 driver


git-svn-id: file:///home/svn/mapi/trunk@1159 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 85faf794
......@@ -297,6 +297,18 @@ else
fi
AC_SUBST_FILE(MAPI_CONF_DAG_ENTRY)
# ENP2611 support
AC_MSG_CHECKING(if ENP2611 cards support is enabled)
AC_ARG_ENABLE(enp2611,
AS_HELP_STRING([--enable-enp2611], [Enable support for ENP2611 cards]),
[case "${enableval}" in
yes) enp2611=true ;;
no) enp2611=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-enp2611) ;;
esac], [enp2611=false])
AM_CONDITIONAL(DRIVER_ENP2611, test x$enp2611 = xtrue)
AM_CONDITIONAL(BINARY_ENP2611FLIB, test x$enp2611 = xtrue)
# optional MAPI function libraries
......
......@@ -5,7 +5,11 @@ if DRIVER_DAG
BUILD_dagdrv = mapidagdrv.la
endif
lib_LTLIBRARIES = mapinicdrv.la mapivindrv.la $(BUILD_dagdrv)
if DRIVER_ENP2611
BUILD_enp2611drv = mapienp2611drv.la
endif
lib_LTLIBRARIES = mapinicdrv.la mapivindrv.la $(BUILD_dagdrv) $(BUILD_mapienp2611drv)
# mapi device drivers are dynamically loadable modules (but not standalone
# libraries for users)
......@@ -39,4 +43,15 @@ mapidagdrv_la_LIBADD = \
mapidagdrv_la_SOURCES = mapidagdrv.c mapidlib.c mapidlib.h mapidrv.h
endif
if DRIVER_ENP2611
mapienp2611drv_la_LDFLAGS = -module
mapienp2611drv_la_LIBADD = \
../common/libflist.la \
../common/libmapiipc.la \
../common/libparseconf.la \
../common/libprintfstring.la \
../common/libmapilibhandler.la -lrt
mapienp2611drv_la_SOURCES = mapienp2611drv.c mapidlib.c mapidlib.h mapidrv.h
endif
EXTRA_DIST = mapicombo6drv.c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment