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