include aminclude.am #------------------------------------------------------------------------- ACLOCAL_AMFLAGS = -I .macro_dir DIM_FLAGS = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux BOOST_FLAGS = -DBOOST_DISABLE_ASSERTS AM_CPPFLAGS = \ -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \ -Idim_v19r15/dim $(DIM_FLAGS) $(BOOST_FLAGS) AM_CXXFLAGS = $(AM_CPPFLAGS) -Woverloaded-virtual -Wshadow -std=c++0x # -no-undefined AM_LDFLAGS = -module -avoid-version #$(man3_MANS): doxygen-doc #DX_CLEANFILES = everything to clean. # Add to MOSTLYCLEANFILES. #------------------------------------------------------------------------- bin_PROGRAMS = dns did log logtime argv time test3 dclient5 dserver2 lib_LTLIBRARIES = libDim.la libDim++.la libTime.la libTools.la \ libConfiguration.la libStateMachine.la #------------------------------------------------------------------------- dist_noinst_SCRIPTS = autogen.sh EXTRA_DIST = \ Doxyfile \ dim_v19r15/DIM_Performance.pdf \ dim_v19r15/LICENSE.GPL \ dim_v19r15/README.txt \ dim_v19r15/README_v9.txt \ dim_v19r15/README_v10.txt \ dim_v19r15/README_v11.txt \ dim_v19r15/README_v12.txt \ dim_v19r15/README_v13.txt \ dim_v19r15/README_v14.txt \ dim_v19r15/README_v15.txt \ dim_v19r15/README_v16.txt \ dim_v19r15/README_v17.txt \ dim_v19r15/README_v18.txt \ dim_v19r15/README_v19.txt dns_LDADD = libDim.la dns_SOURCES = dim_v19r15/src/dns.c #dns_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS) did_LDADD = libDim.la did_CPPFLAGS = $(AM_CPPFLAGS) -Idim_v19r15/src/did did_SOURCES = dim_v19r15/src/did/did.c dim_v19r15/src/did/dui_util.c #libDim_la_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS) libDim_ladir = libDim_la_HEADERS = \ dim_v19r15/dim/dic.h \ dim_v19r15/dim/dim_common.h \ dim_v19r15/dim/dim.h \ dim_v19r15/dim/dim_tcpip.h \ dim_v19r15/dim/dis.h libDim_la_SOURCES = \ dim_v19r15/src/dic.c \ dim_v19r15/src/dis.c \ dim_v19r15/src/dna.c \ dim_v19r15/src/sll.c \ dim_v19r15/src/dll.c \ dim_v19r15/src/hash.c \ dim_v19r15/src/swap.c \ dim_v19r15/src/copy_swap.c \ dim_v19r15/src/open_dns.c \ dim_v19r15/src/conn_handler.c \ dim_v19r15/src/tcpip.c \ dim_v19r15/src/dtq.c \ dim_v19r15/src/dim_thr.c \ dim_v19r15/src/utilities.c #libDimCpp_la_CXXFLAGS = $(AM_CXXFLAGS) $(DIM_FLAGS) libDim___ladir = libDim___la_HEADERS = \ dim_v19r15/dim/dic.hxx \ dim_v19r15/dim/dim_core.hxx \ dim_v19r15/dim/dim.hxx \ dim_v19r15/dim/dim_tcpip.h \ dim_v19r15/dim/dllist.hxx \ dim_v19r15/dim/sllist.hxx \ dim_v19r15/dim/tokenstring.hxx libDim___la_SOURCES = \ dim_v19r15/src/diccpp.cxx \ dim_v19r15/src/dimcpp.cxx \ dim_v19r15/src/tokenstring.cxx \ dim_v19r15/src/discpp.cxx # Divide into Tools/StateMachine/Shell/TcpIp libStateMachine_la_SOURCES = \ src/EventImp.h src/EventImp.cc \ src/Event.h src/Event.cc \ src/MessageImp.h src/MessageImp.cc \ src/MessageDim.h src/MessageDim.cc \ src/Converter.h src/Converter.cc \ src/StateMachineImp.h src/StateMachineImp.cc \ src/StateMachineDim.h src/StateMachineDim.cc \ src/StateMachine.h src/StateMachine.cc \ src/ServiceList.h src/ServiceList.cc \ src/DimErrorRedirecter.cc \ src/WindowLog.h src/WindowLog.cc \ src/Readline.h src/Readline.cc \ src/ReadlineWindow.h src/ReadlineWindow.cc \ src/Console.h src/Console.cc \ src/Shell.h src/Shell.cc \ src/Connection.h src/Connection.cc \ src/EventDim.h libConfiguration_la_SOURCES = src/Configuration.h src/Configuration.cc libTime_la_SOURCES = src/Time.h src/Time.cc libTools_la_SOURCES = src/tools.h src/tools.cc dserver2_SOURCES = src/dserver2.cc dserver2_LDADD = libTime.la libTools.la libStateMachine.la libDim.la libDim++.la log_SOURCES = src/log.cc log_LDADD = libTime.la libTools.la libDim.la libDim++.la libStateMachine.la logtime_LDADD = libStateMachine.la libTools.la libTime.la libDim.la libDim++.la logtime_SOURCES = src/logtime.cc dclient5_SOURCES = src/dclient5.cc src/LocalControl.cc dclient5_LDADD = libDim.la libDim++.la libTools.la libTime.la libStateMachine.la \ libConfiguration.la argv_SOURCES = src/argv.cc argv_LDADD = libConfiguration.la test3_SOURCES = src/test3.cc src/RemoteControl.cc test3_LDADD = libStateMachine.la libTools.la libTime.la libDim.la libDim++.la libConfiguration.la time_SOURCES = src/time.cc time_LDADD = libTime.la diff: @svn diff | $(COLORDIFF) # Overwrite rules for silent or other verbosity levels # pkg_verbose = $(pkg_verbose_$(V)) # pkg_verbose_ = $(pkg_verbose_$(AM_DEFAULT_VERBOSITY)) # pkg_verbose_0 = @echo GEN $@; # # foo: foo.in # $(pkg_verbose)cp $(srcdir)/foo.in $@ #$(MyAnalysisDS): $(MyAnalysisH) $(MyAnalysisL) # $(ROOTCINT) -f $@ -c -I$(top_builddir)/config $(INCLUDES) $^ # rootcint_files=`echo $@ | sed -ne 's/\(.*\)\..*/\1.cxx \1.h/p'` && \ # $(top_srcdir)/config/runsed $(top_srcdir)/config/rootcint.sed $$rootcint_files && \ # for i in $$rootcint_files; do \ # if test ! `diff $$i $(srcdir)/$$i >/dev/null 2>&1`; then \ # cp $$i $(srcdir)/; \ # fi; \ # done