#!/usr/bin/env bash # # This is not generated by autoconf or similar, just handcoded, since we don't # need this much complexity # Our configuration for the makefiles !! LIBNAME=libiwear_context DISTNAME=iwear-context DISTDIR=iwear-context VERSION=0.2.0 # include the check function library . ./conf/functions SRCDIRS="context" EXTRACLEANFILES="test doxygen.log libiw* idl/*.o idl/*.h idl/*.c idl/*.cc" STERILFILES="*.tag lib/*.a lib/*.so* include/config.h makefile.conf" STERILDIRS=doc LIBLIBS="-liwlocator -liwpower -liwear_utils_xml" # Files to be linked together to the library LIBFILES_context=" atomiccontext.o compositecontext.o contextchangedthread.o contextlistenerrecurringappointment.o contextmanager.o contextobject.o optionguard.o contextpart.o logiccontextterm.o logiccompositecontext.o sensorcontext.o sensoreventfunctor.o locationcontext.o contextxmlhandler.o atomicfactoryinterface.o atomicfactorysensor.o contextxmlfactoryatomic.o contextxmlfactorylogic.o contextxmlparser.o testcontextlistener.o " # do the prechecks, among others it tells us the os type class . ./conf/common_precheck . ./conf/config_cache # simple command line parameter parsing prev= option=--`echo $prev | sed 's/_/-/g'` optarg=`expr "x$option" : 'x[^=]*=\(.*\)'` for option do . ./conf/common_optionparse # This file contains the loop end as well as the common variable setting and the default case . ./conf/common_optiondefaults done set_dirs . ./conf/common_help add_help "\t--debuglevel=#\tNumber of max debuglevel to compile in (for d_* streams)" maybe_display_help write_config_cache $@ check_gcc 4.1.2 check_cxx 4.1.2 check_gmake 3.81 check_echo check_pkg_config check_xerces 2.7.0 check_doxygen gen_makefile makefile.conf gen_config $CONFIG_H output_config PREFIX SYSCONF