Changeset 13868
- Timestamp:
- 05/24/12 14:20:57 (12 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/Makefile.am
r13841 r13868 39 39 mcp feedback ratescan ratecontrol \ 40 40 magicweather \ 41 tngweather \ 41 42 smartfact \ 42 43 fitsdump fitscheck … … 44 45 if HAS_GUI 45 46 bin_PROGRAMS += fact 47 endif 48 49 if HAS_SOPRANO 50 bin_PROGRAMS += tngweather 46 51 endif 47 52 … … 258 263 libConfiguration.la 259 264 265 tngweather_SOURCES = src/tngweather.cc src/LocalControl.h 266 tngweather_LDADD = libDim++.la libDim.la libDimExtension.la \ 267 libStateMachine.la libTools.la libTime.la \ 268 libConfiguration.la 269 260 270 smartfact_SOURCES = src/smartfact.cc src/LocalControl.h src/PixelMap.cc 261 271 smartfact_LDADD = libDim++.la libDim.la libDimExtension.la \ -
trunk/FACT++/Makefile.in
r13776 r13868 44 44 bin_PROGRAMS = dns$(EXEEXT) log$(EXEEXT) logtime$(EXEEXT) \ 45 45 time$(EXEEXT) argv$(EXEEXT) dimctrl$(EXEEXT) \ 46 datalogger$(EXEEXT) scheduler$(EXEEXT) \ 47 triggerschedule$(EXEEXT) ftmctrl$(EXEEXT) ftm$(EXEEXT) \ 46 datalogger$(EXEEXT) ftmctrl$(EXEEXT) ftm$(EXEEXT) \ 48 47 fadctrl$(EXEEXT) fad$(EXEEXT) fscctrl$(EXEEXT) fsc$(EXEEXT) \ 49 48 chatclient$(EXEEXT) chatserv$(EXEEXT) biasctrl$(EXEEXT) \ 50 49 drivectrl$(EXEEXT) mcp$(EXEEXT) feedback$(EXEEXT) \ 51 50 ratescan$(EXEEXT) ratecontrol$(EXEEXT) magicweather$(EXEEXT) \ 52 smartfact$(EXEEXT) fitsdump$(EXEEXT) fitscheck$(EXEEXT) \53 $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \54 $(am__EXEEXT_ 4)51 tngweather$(EXEEXT) smartfact$(EXEEXT) fitsdump$(EXEEXT) \ 52 fitscheck$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \ 53 $(am__EXEEXT_3) $(am__EXEEXT_4) $(am__EXEEXT_5) 55 54 @HAS_GUI_TRUE@am__append_1 = fact 56 @HAS_VIEWER_TRUE@am__append_2 = viewer 57 @HAS_LIBXP_TRUE@am__append_3 = did 55 @HAS_SOPRANO_TRUE@am__append_2 = tngweather 56 @HAS_VIEWER_TRUE@am__append_3 = viewer 57 @HAS_LIBXP_TRUE@am__append_4 = did 58 58 59 59 # This is a trick to be able to build them but not having them in 'all' 60 @IS_FALSE@am__append_4 = \ 61 @IS_FALSE@ test \ 60 @IS_FALSE@am__append_5 = \ 61 @IS_FALSE@ test scheduler \ 62 @IS_FALSE@ triggerschedule \ 62 63 @IS_FALSE@ dclient5 dserver2 \ 63 64 @IS_FALSE@ fitsloader fitsgrep \ … … 65 66 @IS_FALSE@ readfits 66 67 67 @HAS_FITS_TRUE@am__append_ 5= src/FitsFile.h src/FitsFile.cc \68 @HAS_FITS_TRUE@am__append_6 = src/FitsFile.h src/FitsFile.cc \ 68 69 @HAS_FITS_TRUE@ src/DataWriteFits.cc src/DataWriteFits.h \ 69 70 @HAS_FITS_TRUE@ src/DataWriteFits2.cc src/DataWriteFits2.h 70 71 71 @HAS_FITS_TRUE@am__append_6 = src/FitsFile.h src/FitsFile.cc src/Fits.h src/Fits.cc 72 @HAS_GROFF_TRUE@am__append_7 = $(dist_man1_MANS:.man=.html) 73 @HAS_GROFF_TRUE@am__append_8 = $(dist_man1_MANS:.man=.html) 72 @HAS_FITS_TRUE@am__append_7 = src/FitsFile.h src/FitsFile.cc src/Fits.h src/Fits.cc 73 @HAS_GROFF_TRUE@am__append_8 = $(dist_man1_MANS:.man=.html) 74 74 @HAS_GROFF_TRUE@am__append_9 = $(dist_man1_MANS:.man=.html) 75 @HAS_GROFF_TRUE@ @HAS_PS2PDF_TRUE@am__append_10 = $(dist_man1_MANS:.man=.pdf)75 @HAS_GROFF_TRUE@am__append_10 = $(dist_man1_MANS:.man=.html) 76 76 @HAS_GROFF_TRUE@@HAS_PS2PDF_TRUE@am__append_11 = $(dist_man1_MANS:.man=.pdf) 77 77 @HAS_GROFF_TRUE@@HAS_PS2PDF_TRUE@am__append_12 = $(dist_man1_MANS:.man=.pdf) 78 @HAS_GROFF_TRUE@@HAS_PS2PDF_TRUE@am__append_13 = $(dist_man1_MANS:.man=.pdf) 78 79 subdir = . 79 80 DIST_COMMON = README $(am__configure_deps) $(dist_man1_MANS) \ … … 173 174 libTools_la_OBJECTS = $(am_libTools_la_OBJECTS) 174 175 @HAS_GUI_TRUE@am__EXEEXT_1 = fact$(EXEEXT) 175 @HAS_VIEWER_TRUE@am__EXEEXT_2 = viewer$(EXEEXT) 176 @HAS_LIBXP_TRUE@am__EXEEXT_3 = did$(EXEEXT) 177 @IS_FALSE@am__EXEEXT_4 = test$(EXEEXT) dclient5$(EXEEXT) \ 176 @HAS_SOPRANO_TRUE@am__EXEEXT_2 = tngweather$(EXEEXT) 177 @HAS_VIEWER_TRUE@am__EXEEXT_3 = viewer$(EXEEXT) 178 @HAS_LIBXP_TRUE@am__EXEEXT_4 = did$(EXEEXT) 179 @IS_FALSE@am__EXEEXT_5 = test$(EXEEXT) scheduler$(EXEEXT) \ 180 @IS_FALSE@ triggerschedule$(EXEEXT) dclient5$(EXEEXT) \ 178 181 @IS_FALSE@ dserver2$(EXEEXT) fitsloader$(EXEEXT) \ 179 182 @IS_FALSE@ fitsgrep$(EXEEXT) sched$(EXEEXT) astro$(EXEEXT) \ … … 360 363 time_OBJECTS = $(am_time_OBJECTS) 361 364 time_DEPENDENCIES = libTime.la 365 am_tngweather_OBJECTS = src/tngweather.$(OBJEXT) 366 tngweather_OBJECTS = $(am_tngweather_OBJECTS) 367 tngweather_DEPENDENCIES = libDim++.la libDim.la libDimExtension.la \ 368 libStateMachine.la libTools.la libTime.la libConfiguration.la 362 369 am_triggerschedule_OBJECTS = src/triggerschedule.$(OBJEXT) 363 370 triggerschedule_OBJECTS = $(am_triggerschedule_OBJECTS) … … 447 454 $(ratescan_SOURCES) $(readfits_SOURCES) sched.c \ 448 455 $(scheduler_SOURCES) $(smartfact_SOURCES) $(test_SOURCES) \ 449 $(time_SOURCES) $(triggerschedule_SOURCES) $(viewer_SOURCES) 456 $(time_SOURCES) $(tngweather_SOURCES) \ 457 $(triggerschedule_SOURCES) $(viewer_SOURCES) 450 458 DIST_SOURCES = $(libConfiguration_la_SOURCES) $(libDim___la_SOURCES) \ 451 459 $(libDim_la_SOURCES) $(libDimExtension_la_SOURCES) \ … … 464 472 $(ratecontrol_SOURCES) $(ratescan_SOURCES) $(readfits_SOURCES) \ 465 473 sched.c $(scheduler_SOURCES) $(smartfact_SOURCES) \ 466 $(test_SOURCES) $(time_SOURCES) $(t riggerschedule_SOURCES) \467 $( am__viewer_SOURCES_DIST)474 $(test_SOURCES) $(time_SOURCES) $(tngweather_SOURCES) \ 475 $(triggerschedule_SOURCES) $(am__viewer_SOURCES_DIST) 468 476 man1dir = $(mandir)/man1 469 477 NROFF = nroff … … 727 735 728 736 #------------------------------------------------------------------------- 729 CLEANFILES = $(BUILT_SOURCES) $(am__append_ 9) $(am__append_12)737 CLEANFILES = $(BUILT_SOURCES) $(am__append_10) $(am__append_13) 730 738 dist_noinst_SCRIPTS = autogen.sh 731 739 EXTRA_DIST = Doxyfile dim/DIM_Performance.pdf dim/LICENSE.GPL \ … … 735 743 dim/README_v17.txt dim/README_v18.txt dim/README_v19.txt \ 736 744 $(fact_DIALOGS) $(fact_RESOURCES) $(viewer_DIALOGS) \ 737 $(viewer_RESOURCES) $(am__append_ 8) $(am__append_11)745 $(viewer_RESOURCES) $(am__append_9) $(am__append_12) 738 746 dns_LDADD = libDim.la libDimExtension.la 739 747 dns_SOURCES = src/dns.c … … 873 881 libConfiguration.la 874 882 883 tngweather_SOURCES = src/tngweather.cc src/LocalControl.h 884 tngweather_LDADD = libDim++.la libDim.la libDimExtension.la \ 885 libStateMachine.la libTools.la libTime.la \ 886 libConfiguration.la 887 875 888 smartfact_SOURCES = src/smartfact.cc src/LocalControl.h src/PixelMap.cc 876 889 smartfact_LDADD = libDim++.la libDim.la libDimExtension.la \ … … 882 895 src/DataProcessorImp.h src/DataCalib.cc src/DataCalib.h \ 883 896 src/DataWriteRaw.cc src/DataWriteRaw.h src/DrsCalib.h \ 884 $(am__append_ 5)897 $(am__append_6) 885 898 fadctrl_LDADD = libDim++.la libDim.la libDimExtension.la \ 886 899 libStateMachine.la libTools.la libTime.la \ … … 935 948 test_LDADD = libStateMachine.la libTools.la libTime.la libDim++.la libDim.la libConfiguration.la 936 949 datalogger_SOURCES = src/datalogger.cc src/LocalControl.h \ 937 $(am__append_ 6)950 $(am__append_7) 938 951 datalogger_LDADD = libDim++.la libDim.la libDimExtension.la \ 939 952 libStateMachine.la libTools.la libTime.la \ … … 1013 1026 1014 1027 #------------------------------------------------------------------------- 1015 MAN_TARGETS = $(dist_man1_MANS) $(am__append_ 7) $(am__append_10)1028 MAN_TARGETS = $(dist_man1_MANS) $(am__append_8) $(am__append_11) 1016 1029 all: $(BUILT_SOURCES) 1017 1030 $(MAKE) $(AM_MAKEFLAGS) all-am … … 1471 1484 @rm -f time$(EXEEXT) 1472 1485 $(AM_V_CXXLD)$(CXXLINK) $(time_OBJECTS) $(time_LDADD) $(LIBS) 1486 src/tngweather.$(OBJEXT): src/$(am__dirstamp) \ 1487 src/$(DEPDIR)/$(am__dirstamp) 1488 tngweather$(EXEEXT): $(tngweather_OBJECTS) $(tngweather_DEPENDENCIES) 1489 @rm -f tngweather$(EXEEXT) 1490 $(AM_V_CXXLD)$(CXXLINK) $(tngweather_OBJECTS) $(tngweather_LDADD) $(LIBS) 1473 1491 src/triggerschedule.$(OBJEXT): src/$(am__dirstamp) \ 1474 1492 src/$(DEPDIR)/$(am__dirstamp) … … 1668 1686 -rm -f src/test.$(OBJEXT) 1669 1687 -rm -f src/time.$(OBJEXT) 1688 -rm -f src/tngweather.$(OBJEXT) 1670 1689 -rm -f src/tools.$(OBJEXT) 1671 1690 -rm -f src/tools.lo … … 1793 1812 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/test.Po@am__quote@ 1794 1813 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/time.Po@am__quote@ 1814 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/tngweather.Po@am__quote@ 1795 1815 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/tools.Plo@am__quote@ 1796 1816 @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/triggerschedule.Po@am__quote@ -
trunk/FACT++/configure
r13801 r13868 624 624 HAS_GUI_FALSE 625 625 HAS_GUI_TRUE 626 HAS_SOPRANO_FALSE 627 HAS_SOPRANO_TRUE 626 628 HAS_NOVA_FALSE 627 629 HAS_NOVA_TRUE … … 960 962 with_qwt_include 961 963 with_qwt_libdir 964 with_soprano 965 with_soprano_include 966 with_soprano_libdir 962 967 with_root 963 968 with_rootsys … … 1726 1731 --with-qwt-libdir=DIR specify exact library dir for qwt library (e.g. libqwt-qt4) 1727 1732 --without-qwt disables qwt usage completely 1733 --with-soprano=DIR root directory of soprano installation 1734 --with-soprano-include=DIR specify exact include dir for soprano headers (e.g. Soprano/Soprano) 1735 --with-soprano-libdir=DIR specify exact library dir for soprano library (e.g. libsoprano) 1736 --without-soprano disables soprano usage completely 1728 1737 --without-root Disable root, i.e. disable gui support. 1729 1738 --with-rootsys path to the ROOT executables or top ROOT … … 23637 23646 23638 23647 cat > conftest.$ac_ext <<EOF 23639 #line 236 39"configure"23648 #line 23648 "configure" 23640 23649 #include "confdefs.h" 23641 23650 #include <qglobal.h> … … 24069 24078 24070 24079 24080 24081 24082 # Check whether --with-soprano was given. 24083 if test "${with_soprano+set}" = set; then : 24084 withval=$with_soprano; with_soprano=$withval 24085 if test "${with_soprano}" != yes; then 24086 soprano_include="$withval/include" 24087 soprano_libdir="$withval/lib" 24088 fi 24089 24090 fi 24091 24092 24093 24094 # Check whether --with-soprano-include was given. 24095 if test "${with_soprano_include+set}" = set; then : 24096 withval=$with_soprano_include; soprano_include="$withval" 24097 fi 24098 24099 24100 24101 # Check whether --with-soprano-libdir was given. 24102 if test "${with_soprano_libdir+set}" = set; then : 24103 withval=$with_soprano_libdir; soprano_libdir="$withval" 24104 fi 24105 24106 24107 if test "${with_soprano}" != no ; then 24108 OLD_LIBS=$LIBS 24109 OLD_LDFLAGS=$LDFLAGS 24110 OLD_CFLAGS=$CFLAGS 24111 OLD_CPPFLAGS=$CPPFLAGS 24112 24113 if test "${soprano_libdir}" ; then 24114 LDFLAGS="$LDFLAGS -L${soprano_libdir}" 24115 fi 24116 if test "${soprano_include}" ; then 24117 CPPFLAGS="$CPPFLAGS -I${soprano_include}" 24118 CFLAGS="$CFLAGS -I${soprano_include}" 24119 fi 24120 24121 ac_fn_cxx_check_header_mongrel "$LINENO" "Soprano/Soprano" "ac_cv_header_Soprano_Soprano" "$ac_includes_default" 24122 if test "x$ac_cv_header_Soprano_Soprano" = xyes; then : 24123 24124 else 24125 no_good=yes 24126 fi 24127 24128 24129 24130 ac_ext=cpp 24131 ac_cpp='$CXXCPP $CPPFLAGS' 24132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24135 24136 24137 24138 24139 24140 24141 24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Soprano::PluginManager::instance in -lsoprano" >&5 24143 $as_echo_n "checking for Soprano::PluginManager::instance in -lsoprano... " >&6; } 24144 if ${ac_cv_lib_soprano_Soprano__PluginManager__instance+:} false; then : 24145 $as_echo_n "(cached) " >&6 24146 else 24147 24148 ac_check_lib_save_LIBS=$LIBS 24149 LIBS="-lsoprano $LIBS" 24150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24151 /* end confdefs.h. */ 24152 #include <Soprano/Soprano> 24153 int 24154 main () 24155 { 24156 Soprano::PluginManager::instance 24157 ; 24158 return 0; 24159 } 24160 _ACEOF 24161 if ac_fn_cxx_try_link "$LINENO"; then : 24162 ac_cv_lib_soprano_Soprano__PluginManager__instance=yes 24163 else 24164 ac_cv_lib_soprano_Soprano__PluginManager__instance=no 24165 fi 24166 rm -f core conftest.err conftest.$ac_objext \ 24167 conftest$ac_exeext conftest.$ac_ext 24168 LIBS=$ac_check_lib_save_LIBS 24169 fi 24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soprano_Soprano__PluginManager__instance" >&5 24171 $as_echo "$ac_cv_lib_soprano_Soprano__PluginManager__instance" >&6; } 24172 if test $ac_cv_lib_soprano_Soprano__PluginManager__instance = yes; then : 24173 24174 24175 cat >>confdefs.h <<_ACEOF 24176 #define HAVE_LIBSOPRANO 1 24177 _ACEOF 24178 24179 LIBS="-lsoprano $LIBS" 24180 24181 24182 else 24183 no_good=yes 24184 fi 24185 24186 24187 24188 ac_ext=cpp 24189 ac_cpp='$CXXCPP $CPPFLAGS' 24190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24193 24194 24195 if test "$no_good" = yes; then 24196 HAVE_SOPRANO=no 24197 24198 LIBS=$OLD_LIBS 24199 LDFLAGS=$OLD_LDFLAGS 24200 CPPFLAGS=$OLD_CPPFLAGS 24201 CFLAGS=$OLD_CFLAGS 24202 else 24203 HAVE_SOPRANO=yes 24204 24205 $as_echo "#define HAVE_PKG_soprano 1" >>confdefs.h 24206 24207 fi 24208 24209 fi 24210 24211 24212 24071 24213 ###################################################################### 24072 24214 # ROOT SUPPORT … … 24647 24789 HAS_NOVA_TRUE='#' 24648 24790 HAS_NOVA_FALSE= 24791 fi 24792 24793 if test "$HAVE_SOPRANO" = yes; then 24794 HAS_SOPRANO_TRUE= 24795 HAS_SOPRANO_FALSE='#' 24796 else 24797 HAS_SOPRANO_TRUE='#' 24798 HAS_SOPRANO_FALSE= 24649 24799 fi 24650 24800 … … 25046 25196 if test -z "${HAS_NOVA_TRUE}" && test -z "${HAS_NOVA_FALSE}"; then 25047 25197 as_fn_error $? "conditional \"HAS_NOVA\" was never defined. 25198 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25199 fi 25200 if test -z "${HAS_SOPRANO_TRUE}" && test -z "${HAS_SOPRANO_FALSE}"; then 25201 as_fn_error $? "conditional \"HAS_SOPRANO\" was never defined. 25048 25202 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25049 25203 fi … … 27534 27688 { $as_echo "$as_me:${as_lineno-$LINENO}: Qwt / qwt_plot.h found: $HAVE_QWT" >&5 27535 27689 $as_echo "$as_me: Qwt / qwt_plot.h found: $HAVE_QWT" >&6;} 27690 { $as_echo "$as_me:${as_lineno-$LINENO}: Soprano / Soprano/Soprano found: $HAVE_SOPRANO" >&5 27691 $as_echo "$as_me: Soprano / Soprano/Soprano found: $HAVE_SOPRANO" >&6;} 27536 27692 { $as_echo "$as_me:${as_lineno-$LINENO}: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&5 27537 27693 $as_echo "$as_me: cfitsio / 'fitsio.h' found: $HAVE_CFITSIO" >&6;} -
trunk/FACT++/configure.ac
r13776 r13868 291 291 AC_CHECK_CLASS(qwt, [QwtPlot qwt], qwt-qt4, qwt_plot.h, 292 292 HAVE_QWT=yes, HAVE_QWT=no) 293 AC_CHECK_CLASS(soprano, Soprano::PluginManager::instance, soprano, Soprano/Soprano, 294 HAVE_SOPRANO=yes, HAVE_SOPRANO=no) 293 295 294 296 ###################################################################### … … 374 376 AM_CONDITIONAL(HAS_QWT, [test "$HAVE_QWT" = yes]) 375 377 AM_CONDITIONAL(HAS_NOVA, [test "$HAVE_NOVA" = yes]) 378 AM_CONDITIONAL(HAS_SOPRANO, [test "$HAVE_SOPRANO" = yes]) 376 379 377 380 AM_CONDITIONAL(HAS_GUI, [test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_ROOT_QT" = yes ]) … … 450 453 AC_MSG_NOTICE([ QtOpenGL / QtOpenGL/QGLWidget found: $HAVE_QGL]) 451 454 AC_MSG_NOTICE([ Qwt / qwt_plot.h found: $HAVE_QWT]) 455 AC_MSG_NOTICE([ Soprano / Soprano/Soprano found: $HAVE_SOPRANO]) 452 456 AC_MSG_NOTICE([ cfitsio / 'fitsio.h' found: $HAVE_CFITSIO]) 453 457 AC_MSG_NOTICE([ CCfits / 'CCfits/CCfits' found: $HAVE_CCFITS])
Note:
See TracChangeset
for help on using the changeset viewer.