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

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