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

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