Commit 4660b42a authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added compilation of ew sources. THIS COMMIT LEAVES PACKAGE IMCOMPLETE.


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@505 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 71311925
......@@ -94,13 +94,14 @@ AS_IF([test "x$with_ew" != xno],
# AC_MSG_WARN([earthworm header files not found!]))
EWOBJS="$EW_HOME/$EW_VERSION/lib/kom.o $EW_HOME/$EW_VERSION/lib/getutil.o $EW_HOME/$EW_VERSION/lib/logit_mt.o $EW_HOME/$EW_VERSION/lib/socket_ew_common.o $EW_HOME/$EW_VERSION/lib/transport.o $EW_HOME/$EW_VERSION/lib/sleep_ew.o $EW_HOME/$EW_VERSION/lib/socket_ew.o $EW_HOME/$EW_VERSION/lib/time_ew.o $EW_HOME/$EW_VERSION/lib/threads_ew.o $EW_HOME/$EW_VERSION/lib/sema_ew.o $EW_HOME/$EW_VERSION/lib/swap.o $EW_HOME/$EW_VERSION/lib/mem_circ_queue.o"
AC_CHECK_FILES([$EW_HOME/$EW_VERSION/lib/kom.o $EW_HOME/$EW_VERSION/lib/getutil.o $EW_HOME/$EW_VERSION/lib/logit_mt.o $EW_HOME/$EW_VERSION/lib/socket_ew_common.o $EW_HOME/$EW_VERSION/lib/transport.o $EW_HOME/$EW_VERSION/lib/sleep_ew.o $EW_HOME/$EW_VERSION/lib/socket_ew.o $EW_HOME/$EW_VERSION/lib/time_ew.o $EW_HOME/$EW_VERSION/lib/threads_ew.o $EW_HOME/$EW_VERSION/lib/sema_ew.o $EW_HOME/$EW_VERSION/lib/swap.o $EW_HOME/$EW_VERSION/lib/mem_circ_queue.o], [AC_DEFINE([HAVE_EARTHWORMOBJS], [1], [Define if you have earthworm object files])], [AC_MSG_ERROR(Some earthworm object files is missing!)] )
LIBS="$LIBS $EWOBJS"
# LIBS="$LIBS $EWOBJS"
],
[AC_MSG_WARN([Earthworm files are not available (--without-ew to disable)])]
)
],
[AC_MSG_WARN([Earthworm support has been disabled!])]
)
AM_CONDITIONAL(WITHEW, test x$with_ew != xno)
# Checks for files.
......
......@@ -7,6 +7,28 @@ if WITHSEEDLINK
nmxptool_SOURCES += seedlink_plugin.c
endif
if WITHEW
EW_LIBSRC=$(EW_HOME)/$(EW_VERSION)/src/libsrc
EW_LIBSRC_UTIL=$(EW_LIBSRC)/util
EW_LIBSRC_UNIX=$(EW_LIBSRC)/unix
EW_LIBSRC_SOLARIS=$(EW_LIBSRC)/solaris
EW_LIBSRC_WINNT=$(EW_LIBSRC)/winnt
# TODO: change depends on operating system
EW_LIBSRC_OS=$(EW_LIBSRC_UNIX)
nmxptool_SOURCES += $(EW_LIBSRC_UTIL)/kom.c
nmxptool_SOURCES += $(EW_LIBSRC_UTIL)/getutil.c
nmxptool_SOURCES += $(EW_LIBSRC_UTIL)/logit.c
nmxptool_SOURCES += $(EW_LIBSRC_UTIL)/socket_ew_common.c
nmxptool_SOURCES += $(EW_LIBSRC_UTIL)/swap.c
nmxptool_SOURCES += $(EW_LIBSRC_UTIL)/mem_circ_queue.c
nmxptool_SOURCES += $(EW_LIBSRC_OS)/transport.c
nmxptool_SOURCES += $(EW_LIBSRC_OS)/sleep_ew.c
nmxptool_SOURCES += $(EW_LIBSRC_OS)/socket_ew.c
nmxptool_SOURCES += $(EW_LIBSRC_OS)/time_ew.c
nmxptool_SOURCES += $(EW_LIBSRC_OS)/threads_ew.c
nmxptool_SOURCES += $(EW_LIBSRC_OS)/sema_ew.c
endif
#noinst_HEADERS = gdu.h
# man page
......
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