source: trunk/FACT++/Makefile.am@ 10312

Last change on this file since 10312 was 10302, checked in by tbretz, 14 years ago
Added some missing files for the distribution; added new classes.
File size: 6.2 KB
Line 
1include aminclude.am
2
3#-------------------------------------------------------------------------
4
5ACLOCAL_AMFLAGS = -I .macro_dir
6
7DIM_FLAGS = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux
8BOOST_FLAGS = -DBOOST_DISABLE_ASSERTS
9
10AM_CPPFLAGS = \
11 -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
12 -Idim_v19r15/dim $(DIM_FLAGS) $(BOOST_FLAGS)
13
14AM_CXXFLAGS = $(AM_CPPFLAGS) -Woverloaded-virtual -Wshadow -std=c++0x
15
16# -no-undefined
17AM_LDFLAGS = -module -avoid-version
18
19#$(man3_MANS): doxygen-doc
20#DX_CLEANFILES = everything to clean.
21# Add to MOSTLYCLEANFILES.
22
23#-------------------------------------------------------------------------
24
25bin_PROGRAMS = \
26 dns did \
27 log logtime argv time \
28 test3 dclient5 dserver2 dataLogger
29# sched test ftm ftmctrl
30
31lib_LTLIBRARIES = libDim.la libDim++.la libTime.la libTools.la \
32 libConfiguration.la libStateMachine.la
33
34#-------------------------------------------------------------------------
35
36dist_noinst_SCRIPTS = autogen.sh
37
38EXTRA_DIST = \
39 Doxyfile \
40 dim_v19r15/DIM_Performance.pdf \
41 dim_v19r15/LICENSE.GPL \
42 dim_v19r15/README.txt \
43 dim_v19r15/README_v9.txt \
44 dim_v19r15/README_v10.txt \
45 dim_v19r15/README_v11.txt \
46 dim_v19r15/README_v12.txt \
47 dim_v19r15/README_v13.txt \
48 dim_v19r15/README_v14.txt \
49 dim_v19r15/README_v15.txt \
50 dim_v19r15/README_v16.txt \
51 dim_v19r15/README_v17.txt \
52 dim_v19r15/README_v18.txt \
53 dim_v19r15/README_v19.txt
54
55dns_LDADD = libDim.la
56dns_SOURCES = dim_v19r15/src/dns.c
57#dns_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS)
58
59did_LDADD = libDim.la
60did_CPPFLAGS = $(AM_CPPFLAGS) -Idim_v19r15/src/did
61did_SOURCES = \
62 dim_v19r15/src/did/did.c dim_v19r15/src/did/did.h \
63 dim_v19r15/src/did/dui_util.c dim_v19r15/src/did/dui_util.h \
64 dim_v19r15/src/did/dui_colors.h
65
66
67#libDim_la_CPPFLAGS = $(AM_CPPFLAGS) $(DIM_FLAGS)
68libDim_ladir =
69libDim_la_HEADERS = \
70 dim_v19r15/dim/dic.h \
71 dim_v19r15/dim/dim_common.h \
72 dim_v19r15/dim/dim.h \
73 dim_v19r15/dim/dim_tcpip.h \
74 dim_v19r15/dim/dis.h
75
76libDim_la_SOURCES = \
77 dim_v19r15/src/dic.c \
78 dim_v19r15/src/dis.c \
79 dim_v19r15/src/dna.c \
80 dim_v19r15/src/sll.c \
81 dim_v19r15/src/dll.c \
82 dim_v19r15/src/hash.c \
83 dim_v19r15/src/swap.c \
84 dim_v19r15/src/copy_swap.c \
85 dim_v19r15/src/open_dns.c \
86 dim_v19r15/src/conn_handler.c \
87 dim_v19r15/src/tcpip.c \
88 dim_v19r15/src/dtq.c \
89 dim_v19r15/src/dim_thr.c \
90 dim_v19r15/src/utilities.c
91
92#libDimCpp_la_CXXFLAGS = $(AM_CXXFLAGS) $(DIM_FLAGS)
93libDim___ladir =
94libDim___la_HEADERS = \
95 dim_v19r15/dim/dic.hxx \
96 dim_v19r15/dim/dis.hxx \
97 dim_v19r15/dim/dim_core.hxx \
98 dim_v19r15/dim/dim.hxx \
99 dim_v19r15/dim/dim_tcpip.h \
100 dim_v19r15/dim/dllist.hxx \
101 dim_v19r15/dim/sllist.hxx \
102 dim_v19r15/dim/tokenstring.hxx
103
104libDim___la_SOURCES = \
105 dim_v19r15/src/diccpp.cxx \
106 dim_v19r15/src/dimcpp.cxx \
107 dim_v19r15/src/tokenstring.cxx \
108 dim_v19r15/src/discpp.cxx
109
110# Divide into Tools/StateMachine/Shell/TcpIp
111libStateMachine_la_SOURCES = \
112 src/EventImp.h src/EventImp.cc \
113 src/Event.h src/Event.cc \
114 src/MessageImp.h src/MessageImp.cc \
115 src/MessageDim.h src/MessageDim.cc \
116 src/Converter.h src/Converter.cc \
117 src/StateMachineImp.h src/StateMachineImp.cc \
118 src/StateMachineDim.h src/StateMachineDim.cc \
119 src/StateMachine.h src/StateMachine.cc \
120 src/ServiceList.h src/ServiceList.cc \
121 src/DimErrorRedirecter.cc \
122 src/WindowLog.h src/WindowLog.cc \
123 src/Readline.h src/Readline.cc \
124 src/ReadlineWindow.h src/ReadlineWindow.cc \
125 src/Console.h src/Console.cc \
126 src/Shell.h src/Shell.cc \
127 src/Description.h src/Description.cc \
128 src/DimDescriptionService.h \
129 src/DimDescriptionService.cc \
130 src/Connection.h src/Connection.cc \
131 src/EventDim.h \
132 src/DimErrorRedirecter.h
133
134
135libConfiguration_la_SOURCES = src/Configuration.h src/Configuration.cc
136
137libTime_la_SOURCES = src/Time.h src/Time.cc
138
139libTools_la_SOURCES = src/tools.h src/tools.cc
140
141
142dserver2_SOURCES = src/dserver2.cc
143dserver2_LDADD = libTime.la libTools.la libStateMachine.la libDim.la libDim++.la
144
145#ftm_SOURCES = src/ftm.cc
146#ftm_LDADD = libTime.la libTools.la libStateMachine.la libDim.la libDim++.la
147
148
149log_SOURCES = src/log.cc
150log_LDADD = libTime.la libTools.la libDim.la libDim++.la libStateMachine.la
151
152
153logtime_LDADD = libStateMachine.la libTools.la libTime.la libDim.la libDim++.la
154logtime_SOURCES = src/logtime.cc
155
156
157dclient5_SOURCES = src/dclient5.cc src/LocalControl.cc src/LocalControl.h
158dclient5_LDADD = libDim.la libDim++.la libTools.la libTime.la libStateMachine.la \
159 libConfiguration.la
160
161ftmctrl_SOURCES = src/ftmctrl.cc src/LocalControl.cc src/LocalControl.h
162ftmctrl_LDADD = libDim.la libDim++.la libTools.la libTime.la libStateMachine.la \
163 libConfiguration.la
164
165#sched_SOURCES = src/sched.cc src/LocalControl.cc src/LocalControl.h
166#sched_LDADD = libDim.la libDim++.la libTools.la libTime.la libStateMachine.la \
167# libConfiguration.la
168
169
170argv_SOURCES = src/argv.cc
171argv_LDADD = libConfiguration.la
172
173
174test3_SOURCES = src/test3.cc src/RemoteControl.cc src/RemoteControl.h
175test3_LDADD = libStateMachine.la libTools.la libTime.la libDim.la libDim++.la libConfiguration.la
176
177
178time_SOURCES = src/time.cc
179time_LDADD = libTime.la
180
181#test_SOURCES = src/test.cc
182#test_LDADD = libStateMachine.la libTools.la libTime.la libDim.la libDim++.la libConfiguration.la
183
184dataLogger_SOURCES = src/dataLogger.cc src/LocalControl.cc src/LocalControl.h
185dataLogger_LDADD = libDim.la libDim++.la libTools.la libTime.la libStateMachine.la \
186 libConfiguration.la
187
188
189
190diff:
191 @svn diff | $(COLORDIFF)
192
193
194# Overwrite rules for silent or other verbosity levels
195# pkg_verbose = $(pkg_verbose_$(V))
196# pkg_verbose_ = $(pkg_verbose_$(AM_DEFAULT_VERBOSITY))
197# pkg_verbose_0 = @echo GEN $@;
198#
199# foo: foo.in
200# $(pkg_verbose)cp $(srcdir)/foo.in $@
201
202#$(MyAnalysisDS): $(MyAnalysisH) $(MyAnalysisL)
203# $(ROOTCINT) -f $@ -c -I$(top_builddir)/config $(INCLUDES) $^
204# rootcint_files=`echo $@ | sed -ne 's/\(.*\)\..*/\1.cxx \1.h/p'` && \
205# $(top_srcdir)/config/runsed $(top_srcdir)/config/rootcint.sed $$rootcint_files && \
206# for i in $$rootcint_files; do \
207# if test ! `diff $$i $(srcdir)/$$i >/dev/null 2>&1`; then \
208# cp $$i $(srcdir)/; \
209# fi; \
210# done
211
Note: See TracBrowser for help on using the repository browser.