Added beginning of ecore_config the final location for proto/examine

SVN revision: 8006
This commit is contained in:
handyande 2003-12-05 15:02:17 +00:00 committed by handyande
parent 0e29b41e6e
commit cdf915f312
3 changed files with 68 additions and 0 deletions

View File

@ -10,3 +10,4 @@
#undef BUILD_ECORE_CON
#undef BUILD_ECORE_IPC
#undef BUILD_ECORE_TXT
#undef BUILD_ECORE_CONFIG

View File

@ -338,6 +338,31 @@ AC_SUBST(iconv_libs)
AC_SUBST(ecore_txt_cflags)
AC_SUBST(ecore_txt_libs)
AC_MSG_CHECKING(whether ecore_config module is to be built)
ecore_config_cflags="";
ecore_config_libs="";
AC_ARG_ENABLE(ecore-config,
[ --enable-ecore-config enable the ecore_config module], [
if [ test "$enableval" = "yes" ]; then
AC_MSG_RESULT(yes)
AM_CONDITIONAL(BUILD_ECORE_CONFIG, test "$enableval" = "yes")
AC_DEFINE(BUILD_ECORE_CONFIG)
ecore_config_libs="-lecore_config";
else
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
fi
], [
AC_MSG_RESULT(no)
AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
]
)
AC_SUBST(ecore_config_cflags)
AC_SUBST(ecore_config_libs)
AC_OUTPUT([
Makefile
ecore-config
@ -352,6 +377,7 @@ src/lib/ecore_evas/Makefile
src/lib/ecore_con/Makefile
src/lib/ecore_ipc/Makefile
src/lib/ecore_txt/Makefile
src/lib/ecore_config/Makefile
debian/Makefile
], [
chmod +x ecore-config

View File

@ -0,0 +1,41 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = ipc
INCLUDES = \
-I$(top_srcdir)/src/lib/ecore
libecore_config_la_LDFLAGS = -version-info 1:0:0 \
-L$(top_builddir)/src/lib/ecore/.libs
if BUILD_ECORE_CONFIG
lib_LTLIBRARIES = libecore_config.la
include_HEADERS = \
Ecore_Config.h
libecore_config_la_SOURCES = \
ecore_config.c \
util.c \
ipc_main.c \
edb.c
libecore_config_la_LIBADD = \
$(top_builddir)/src/lib/ecore/libecore.la
libecore_config_la_DEPENDENCIES = \
$(top_builddir)/src/lib/ecore/libecore.la
endif
EXTRA_DIST = \
Ecore_Config.h \
ecore_config.c \
util.c \
util.h \
ipc_main.c \
ipc.h \
edb.c \
debug.h \
errors.h \
structs.h