File: Makefile.am

package info (click to toggle)
3depict 0.0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,908 kB
  • sloc: cpp: 72,771; sh: 6,497; xml: 1,576; python: 326; makefile: 194; ansic: 186
file content (132 lines) | stat: -rw-r--r-- 6,764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
MSYS_PATH=/c/msys/1.0/local/include/

%.rc.o: 
	$(WX_RESCOMP) $^ -o $@ 3Depict.rc

3Depict_LDFLAGS=$(LDFLAGS) $(FT_LDFLAGS) $(GSL_LIBS) $(MGL_LIBS)

3Depict_CXXFLAGS=$(CXXFLAGS) $(FT_INCLUDES) $(FTGL_CFLAGS) $(WX_CPPFLAGS) \
	$(GL_FLAGS) $(GSL_CFLAGS) $(MGL_CFLAGS) $(XML_CFLAGS) $(PNG_CFLAGS)  \
	$(OPENMP_FLAGS) $(DEBUG_FLAGS) -pipe 

3Depict_CFLAGS=$(CFLAGS) $(FT_INCLUDES) $(FTGL_CFLAGS) \
	       $(XML_CFLAGS) $(GSL_CFLAGS)  $(MGL_CFLAGS) $(PNG_CFLAGS) $(QHULL_CFLAGS) \
	      $(OPENMP_FLAGS) $(DEBUG_FLAGS) -pipe

3Depict_LDADD=$(LIBS) $(GETTEXT_LIBS) $(WX_LIBS) $(MGL_LIBS)  $(FTGL_LIBS) \
		 $(FT_LIBS) $(XML_LIBS) $(GSL_LIBS) $(GL_LIBS) $(GLU_LIBS) $(QHULL_LIBS) $(PNG_LIBS)


bin_PROGRAMS= 3Depict

#------- Common header files for all sub-modules
COMMON_SOURCE_FILES = common/pngread.c common/stringFuncs.cpp common/constants.cpp common/xmlHelper.cpp\
			 common/colourmap.cpp common/voxels.cpp common/mathfuncs.cpp common/basics.cpp common/assertion.cpp \
			common/mesh.cpp common/gsl_helper.cpp
COMMON_HEADER_FILES = common/pngread.h common/stringFuncs.h  common/constants.h  common/xmlHelper.h common/colourmap.h \
		      	common/mathfuncs.h common/basics.h common/translation.h common/endianTest.h common/assertion.h common/voxels.h \
			common/array2D.h common/mesh.h common/gsl_helper.h

#-----------

#------- "Backend" calculation files (non-ui) ----------
FILTER_FILES = backend/filters/allFilter.cpp backend/filters/filterCommon.cpp \
	        backend/filters/dataLoad.cpp backend/filters/ionDownsample.cpp \
		backend/filters/rangeFile.cpp backend/filters/voxelise.cpp \
		backend/filters/spectrumPlot.cpp backend/filters/transform.cpp \
		backend/filters/externalProgram.cpp backend/filters/ionClip.cpp \
		backend/filters/ionColour.cpp backend/filters/boundingBox.cpp  \
		backend/filters/profile.cpp backend/filters/spatialAnalysis.cpp \
		backend/filters/clusterAnalysis.cpp backend/filters/ionInfo.cpp \
		backend/filters/annotation.cpp backend/filters/geometryHelpers.cpp \
		backend/filters/algorithms/binomial.cpp  backend/filters/algorithms/mass.cpp  \
		backend/filters/algorithms/convexHull.cpp

FILTER_HEADER_FILES = backend/filters/allFilter.h backend/filters/filterCommon.h \
		backend/filters/dataLoad.h backend/filters/ionDownsample.h \
		backend/filters/rangeFile.h backend/filters/voxelise.h backend/filters/spectrumPlot.h \
	       	backend/filters/transform.h backend/filters/externalProgram.h backend/filters/ionClip.h \
		backend/filters/ionColour.h backend/filters/boundingBox.h  \
		backend/filters/profile.h backend/filters/spatialAnalysis.h \
		backend/filters/clusterAnalysis.h backend/filters/ionInfo.h \
		backend/filters/annotation.h backend/filters/geometryHelpers.h \
		backend/filters/algorithms/binomial.h backend/filters/algorithms/mass.h \
		backend/filters/algorithms/convexHull.h

BACKEND_SOURCE_FILES = backend/animator.cpp backend/filtertreeAnalyse.cpp backend/filtertree.cpp \
		     	backend/APT/ionhit.cpp backend/APT/APTFileIO.cpp backend/APT/APTRanges.cpp backend/APT/abundanceParser.cpp \
			backend/APT/vtk.cpp backend/APT/3DapReader.cpp\
			backend/filters/algorithms/K3DTree.cpp backend/filters/algorithms/K3DTree-mk2.cpp\
			backend/filter.cpp backend/filters/algorithms/spatial.cpp \
		       backend/viscontrol.cpp backend/state.cpp backend/plot.cpp  backend/configFile.cpp 

BACKEND_HEADER_FILES =  backend/animator.h backend/filtertreeAnalyse.h backend/filtertree.h\
			backend/APT/ionhit.h backend/APT/APTFileIO.h backend/APT/APTRanges.h backend/APT/abundanceParser.h \
			backend/APT/vtk.h backend/APT/3DapReader.h backend/filters/algorithms/K3DTree.h backend/filters/algorithms/K3DTree-mk2.h \
			backend/filter.h backend/filters/algorithms/spatial.h backend/viscontrol.h backend/state.h backend/plot.h backend/configFile.h \
		        backend/tree.hh

#------------

#------------ OpenGL interface files
OPENGL_HEADER_FILES = gl/scene.h gl/drawables.h gl/effect.h gl/textures.h gl/select.h gl/cameras.h gl/isoSurface.h gl/tr.h gl/glDebug.h 
OPENGL_SOURCE_FILES =  gl/scene.cpp gl/drawables.cpp gl/effect.cpp gl/textures.cpp gl/select.cpp gl/cameras.cpp gl/isoSurface.cpp gl/tr.cpp 
#------------



#------------ Frontend (linked to UI in some way) files ---
DIALOG_SOURCE_FILES = gui/dialogs/ExportPos.cpp  gui/dialogs/ExportRngDialog.cpp gui/dialogs/prefDialog.cpp  \
		gui/dialogs/resolutionDialog.cpp  gui/dialogs/StashDialog.cpp \
		gui/dialogs/autosaveDialog.cpp gui/dialogs/filterErrorDialog.cpp \
		gui/dialogs/animateFilterDialog.cpp \
		gui/dialogs/animateSubDialogs/colourKeyFrameDialog.cpp \
		gui/dialogs/animateSubDialogs/stringKeyFrameDialog.cpp \
		gui/dialogs/animateSubDialogs/choiceKeyFrameDialog.cpp \
		gui/dialogs/rangeEditDialog.cpp gui/dialogs/transferFuncDialog.cpp


DIALOG_HEADER_FILES = gui/dialogs/ExportPos.h gui/dialogs/ExportRngDialog.h gui/dialogs/prefDialog.h \
		gui/dialogs/StashDialog.h gui/dialogs/resolutionDialog.h \
		gui/dialogs/autosaveDialog.h gui/dialogs/filterErrorDialog.h \
		gui/dialogs/animateFilterDialog.h \
		gui/dialogs/animateSubDialogs/realKeyFrameDialog.h \
		gui/dialogs/animateSubDialogs/colourKeyFrameDialog.h \
		gui/dialogs/animateSubDialogs/stringKeyFrameDialog.h \
		gui/dialogs/animateSubDialogs/choiceKeyFrameDialog.h \
		gui/dialogs/rangeEditDialog.h gui/dialogs/transferFuncDialog.h

GUI_SOURCE_FILES=gui/mainFrame.cpp gui/mathglPane.cpp gui/cropPanel.cpp gui/glPane.cpp  $(DIALOG_SOURCE_FILES)
GUI_HEADER_FILES=gui/mainFrame.h gui/mathglPane.h gui/cropPanel.h gui/art.h gui/glPane.h $(DIALOG_HEADER_FILES)

BASE_SOURCE_FILES=   3Depict.cpp testing/testing.cpp wx/wxcommon.cpp  wx/wxcomponents.cpp winconsole.cpp  wx/propertyGridUpdater.cpp
BASE_HEADER_FILES=   testing/testing.h  wx/wxcommon.h  wx/wxcomponents.h   winconsole.h wx/propertyGridUpdater.h

TEST_SOURCE_FILES = testing/mglTesting.cpp
TEST_HEADER_FILES = testing/mglTesting.h
#-----------

#------------ Shull files
SWEEP_HULL_SOURCE_FILES = shull/NA_wrapper/NewtonApple_hull3D.cpp
SWEEP_HULL_HEADER_FILES = shull/NA_wrapper/NewtonApple_hull3D.h 
#------------


SOURCE_FILES=  $(BASE_SOURCE_FILES) $(BASE_HEADER_FILES) $(GUI_SOURCE_FILES) $(GUI_HEADER_FILES) \
	       $(FILTER_FILES) $(FILTER_HEADER_FILES) \
	       ${BACKEND_SOURCE_FILES} ${BACKEND_HEADER_FILES} $(OPENGL_SOURCE_FILES) $(OPENGL_HEADER_FILES) \
	       $(COMMON_SOURCE_FILES) $(COMMON_HEADER_FILES) $(TEST_SOURCE_FILES) $(TEST_HEADER_FILES) \
	       $(SWEEP_HULL_SOURCE_FILES) $(SWEEP_HULL_HEADER_FILES)

3Depict_SOURCES=$(SOURCE_FILES)

#Do we have or need windows-XP "resource" files for look and feel?
if HAVE_WINDRES
3Depict_SOURCES+=3Depict.rc
3Depict_LDADD+= 3Depict.rc.o
endif

#Tarball options
EXTRA_DIST = gui/glade-skeleton myAppIcon.ico testing/filtertesting.cpp