Commit 4fbdd952 authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello
Browse files

VisIVO Server 2.3

parent 22ece29d
Loading
Loading
Loading
Loading

API/Makefile

0 → 100644
+66 −0
Original line number Original line Diff line number Diff line
# Gaia GSRPar Makefile

COMPILER = /usr/bin/g++
COMPILERCPP = /usr/bin/g++

CC = $(COMPILER)
CPP= $(COMPILERCPP)


ROOT=/Users/ube/VisIVOServer_OACT/2.3/
ROOTFIL=$(ROOT)/VisIVOFilters/Filters/
ROOTUTIL=$(ROOT)/VisIVOUtils/
ROOTVIEW=$(ROOT)/VisIVOViewer/Viewer/
ROOTIMP=$(ROOT)/VisIVOImporter/Importers/
UTILS=$(ROOT)/Utils/
VTKDIR=/opt/vtk5/
CURLDIR=/usr/local/

VSFILINC1=$(ROOTFIL)
VSFILINC2=$(UTILS)
INCLUDE = -I/usr/local/Cellar/boost/1.59.0/include -I$(ROOTVIEW) -I$(UTILS) -I/usr/local/include -I/opt/local/include -I$(VTKDIR)/include/vtk-5.10 -I$(ROOT) -I$(ROOTVIEW)/Splotch -I$(ROOTVIEW)/Splotch/c_utils -I$(ROOTFIL) -I$(ROOTUTIL)

API= $(ROOT)/API/visivoset.o $(ROOT)/visivoview.o $(ROOT)/API/visivoimp.o $(ROOT)/API/visivofil.o 



OBJS= visivoset.o visivoview.o visivoimp.o visivofil.o $(ROOTIMP)/build/abstractsource.o $(ROOTIMP)/build/binsource.o $(ROOTIMP)/build/fitsimagesource.o $(ROOTIMP)/build/flysource.o $(ROOTIMP)/build/ramsessource.o $(ROOTIMP)/build/rawpointssource.o $(ROOTIMP)/build/vosourcenew.o $(ROOTIMP)/build/asciisource.o $(ROOTIMP)/build/csvsource.o $(ROOTIMP)/build/fitstablesource.o $(ROOTIMP)/build/gadgetsource.o $(ROOTIMP)/build/hdf5source.o $(ROOTIMP)/build/muportalsource.o $(ROOTIMP)/build/rawgridsource.o $(ROOTIMP)/build/tinystr.o $(ROOTIMP)/build/tinyxml.o $(ROOTIMP)/build/tinyxmlerror.o $(ROOTIMP)/build/tinyxmlparser.o $(ROOTIMP)/build/historyXmlWriter.o $(ROOTIMP)/build/commandline.o $(ROOTIMP)/build/visivoutils.o $(ROOTFIL)/build/fparser.o $(ROOTFIL)/build/vsLine.o $(ROOTFIL)/build/vscoarsevolumeop.o  $(ROOTFIL)/build/vsmathop.o $(ROOTFIL)/build/vsprinttableop.o $(ROOTFIL)/build/vsstatisticop.o $(ROOTFIL)/build/fpoptimizer.o $(ROOTFIL)/build/vsVector.o $(ROOTFIL)/build/vscutop.o $(ROOTFIL)/build/vsmergeop.o $(ROOTFIL)/build/vsrandomizertableop.o $(ROOTFIL)/build/vsswapop.o $(ROOTFIL)/build/mainFilter.o $(ROOTFIL)/build/vsVoxel.o $(ROOTFIL)/build/vsdecimatorop.o $(ROOTFIL)/build/vsmoduleop.o $(ROOTFIL)/build/vsselectcolumnsop.o $(ROOTFIL)/build/vstable.o $(ROOTFIL)/build/parametersparser.o $(ROOTFIL)/build/vsaddidop.o $(ROOTFIL)/build/vsexampleop.o $(ROOTFIL)/build/vsmrcampos.o $(ROOTFIL)/build/vsselectfieldop.o $(ROOTFIL)/build/vstableop.o $(ROOTFIL)/build/tinystr.o $(ROOTFIL)/build/vsextractlistrowsop.o $(ROOTFIL)/build/vsmuportalop.o $(ROOTFIL)/build/vsselectvol.o $(ROOTFIL)/build/tinyxml.o  $(ROOTFIL)/build/vsextractsubvolumeop.o $(ROOTFIL)/build/vsobject.o  $(ROOTFIL)/build/vsshowtableop.o $(ROOTFIL)/build/vsvisualop.o $(ROOTFIL)/build/tinyxmlerror.o $(ROOTFIL)/build/vsappend.o  $(ROOTFIL)/build/vsgrid2pointdistr.o $(ROOTFIL)/build/vspointdistributeop.o $(ROOTFIL)/build/vssigmacontoursop.o $(ROOTFIL)/build/vsvollimit.o  $(ROOTFIL)/build/tinyxmlparser.o $(ROOTFIL)/build/vschangecolnameop.o $(ROOTFIL)/build/vsincludeop.o $(ROOTFIL)/build/vspointpropertyop.o $(ROOTFIL)/build/vssphereop.o $(ROOTFIL)/build/vswrvotableop.o $(ROOTFIL)/build/util.o $(ROOTFIL)/build/vsclustercellop.o $(ROOTFIL)/build/vsinterpolateop.o $(ROOTFIL)/build/vspolarop.o $(ROOTFIL)/build/vssplittableop.o $(ROOTFIL)/build/historyXmlWriter.o $(ROOTFIL)/build/startFilter.o $(ROOTVIEW)/build/isosurfacepipe.o $(ROOTVIEW)/build/pipe.o $(ROOTVIEW)/build/pointspipe.o $(ROOTVIEW)/build/slicerpipe.o $(ROOTVIEW)/build/splotchpipecamera.o $(ROOTVIEW)/build/volumepipe.o $(ROOTVIEW)/build/vtkimagepipe.o $(ROOTVIEW)/build/pointssmoothpipe.o $(ROOTVIEW)/build/splotchpipe.o $(ROOTVIEW)/build/vectorpipe.o $(ROOTVIEW)/build/volumeslicer.o $(ROOTVIEW)/build/transform.o $(ROOTVIEW)/build/announce.o $(ROOTVIEW)/build/ls_image.o $(ROOTVIEW)/build/paramfile.o $(ROOTVIEW)/build/walltimer.o $(ROOTVIEW)/build/error_handling.o $(ROOTVIEW)/build/mpi_support.o $(ROOTVIEW)/build/string_utils.o $(ROOTVIEW)/build/bin_reader.o $(ROOTVIEW)/build/gadget_reader.o $(ROOTVIEW)/build/mesh_reader.o $(ROOTVIEW)/build/visivo_reader.o $(ROOTVIEW)/build/bin_reader_mpi.o $(ROOTVIEW)/build/millenium_reader.o $(ROOTVIEW)/build/tipsy_reader.o $(ROOTVIEW)/build/ramses_reader.o $(ROOTVIEW)/build/scenemaker.o $(ROOTVIEW)/build/splotch_host.o $(ROOTVIEW)/build/splotch.o $(ROOTVIEW)/build/splotchutils.o $(ROOTVIEW)/build/m_rotation.o $(ROOTVIEW)/build/mesh_creator.o $(ROOTVIEW)/build/p_selector.o $(ROOTVIEW)/build/randomizer.o $(ROOTVIEW)/build/walltime_c.o $(ROOTVIEW)/build/color.o $(ROOTVIEW)/build/tinyxml.o $(ROOTVIEW)/build/visivoutils.o $(ROOTVIEW)/build/historyXmlWriter.o $(ROOTVIEW)/build/tinyxmlerror.o $(ROOTVIEW)/build/vsobject.o $(ROOTVIEW)/build/tinyxmlparser.o $(ROOTVIEW)/build/vstable.o $(ROOTVIEW)/build/optionssetter.o $(ROOTVIEW)/build/tinystr.o $(ROOTVIEW)/build/vsstatisticop.o $(ROOTVIEW)/build/vstableop.o  $(ROOTVIEW)/build/luteditor.o  $(ROOTVIEW)/build/extendedglyph3d.o $(ROOTUTIL)/build/vscreatepath.o $(ROOTUTIL)/build/vsloadhistory.o $(ROOTUTIL)/build/vsutils.o $(ROOTUTIL)/build/vscreategenericslices.o $(ROOTUTIL)/build/vscreateslices.o $(ROOTUTIL)/build/vstextcol.o $(ROOTUTIL)/build/vuparametersparser.o $(ROOTUTIL)/build/vsobject.o $(ROOTUTIL)/build/visivoutils.o $(ROOTUTIL)/build/fparser.o $(ROOTUTIL)/build/tinystr.o $(ROOTUTIL)/build/tinyxml.o $(ROOTUTIL)/build/tinyxmlerror.o $(ROOTUTIL)/build/tinyxmlparser.o $(ROOTUTIL)/build/parametersparser.o $(ROOTUTIL)/build/vstable.o




CPPFLAGS= -DSPLVISIVO -DLIGHT -DMAC

LIBRARYPATH =-L/usr/local/lib -L/opt/local/lib -L$(VTKDIR)/lib/vtk-5.10

LIB = -lvtkRendering -lvtkHybrid -lvtkVolumeRendering -lvtkexoIIc -lvtkRendering -lvtkGraphics -lvtkverdict -lvtkImaging -lvtkftgl -lvtkfreetype -lvtkIO -lvtkFiltering -lvtkCommon -lvtkDICOMParser -lvtkNetCDF -lvtkmetaio -lvtksqlite -lpthread -lvtkpng -lvtkzlib -lvtkjpeg -lm -lvtkexpat -lvtksys -ldl -ltiff -lvtkfreetype -lcurl

#LDFLAGS= -framework CoreServices -framework ApplicationServices -framework Cocoa -framework Foundation -framework IOKit -framework Carbon -framework OpenGL 

CPPFLAGS= $(INCLUDE) 



all: VisIVOApi 

.SUFFIXES : .o .cpp .cc .c .cxx

.cpp.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.cc.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.c.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.cxx.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

VisIVOApi:  $(API)
	ar -cr  libVisIVOApi.a $(OBJS)


	
clean:
	rm -f *.o ../../Utils/*.o core
+61 −0
Original line number Original line Diff line number Diff line
# Gaia GSRPar Makefile

COMPILER = /usr/bin/g++
COMPILERCPP = /usr/bin/g++

CC = $(COMPILER)
CPP= $(COMPILERCPP)


ROOT=/Users/ube/VisIVOServer_OACT/2.3/
ROOTFIL=/Users/ube/VisIVOServer_OACT/2.3/VisIVOFilters/Filters/
ROOTUTIL=/Users/ube/VisIVOServer_OACT/2.3/VisIVOUtils/
ROOTVIEW=/Users/ube/VisIVOServer_OACT/2.3/VisIVOViewer/Viewer/
ROOTIMP=/Users/ube/VisIVOServer_OACT/2.3/VisIVOImporter/Importers/
UTILS=/Users/ube/VisIVOServer_OACT/2.3/Utils/

VSFILINC1=$(ROOTFIL)
VSFILINC2=$(UTILS)
INCLUDE = -I/usr/local/Cellar/boost/1.59.0/include -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOViewers/Viewer -I/Users/ube/VisIVOServer_OACT/2.3/Utils -I/usr/local/include -I/opt/local/include -I/opt/vtk5/include/vtk-5.10 -I/Users/ube/VisIVOServer_OACT/2.3 -I/Users/ube/VisIVOServer_OACT/2.3/Utils -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOViewers/Viewer/Splotch -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOViewers/Viewer/Splotch/c_utils -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOViewers/Viewer/pipe -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOFilters/Filters -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOUtils -I/Users/ube/VisIVOServer_OACT/2.3/Utils/ -I/Users/ube/VisIVOServer_OACT/2.3/VisIVOFilters/Filters/


API=     $(ROOT)/API/visivoset.o $(ROOT)/visivoview.o $(ROOT)/API/visivoimp.o $(ROOT)/API/visivofil.o  	$(ROOTFIL)/vsLine.o			$(ROOTFIL)/vscoarsevolumeop.o		$(ROOTFIL)/vsmathop.o			$(ROOTFIL)/vsprinttableop.o	$(ROOTFIL)/vsstatisticop.o 	$(ROOTFIL)/fpoptimizer.o		$(ROOTFIL)/vsVector.o			$(ROOTFIL)/vscutop.o			$(ROOTFIL)/vsmergeop.o			$(ROOTFIL)/vsrandomizertableop.o					$(ROOTFIL)/vsVoxel.o			$(ROOTFIL)/vsdecimatorop.o		$(ROOTFIL)/vsmoduleop.o	$(ROOTFIL)/vsselectcolumnsop.o		$(ROOTFIL)/vstable.o $(UTILS)/parametersparser.o		$(ROOTFIL)/vsaddidop.o		$(ROOTFIL)/vsexampleop.o		$(ROOTFIL)/vsmrcampos.o	$(ROOTFIL)/vsselectfieldop.o		$(ROOTFIL)/vstableop.o $(UTILS)/tinystr.o		$(ROOTFIL)/vsextractlistrowsop.o		$(ROOTFIL)/vsmuportalop.o		$(ROOTFIL)/vsselectvol.o			 $(UTILS)/tinyxml.o				$(ROOTFIL)/vsextractsubvolumeop.o	$(UTILS)/vsobject.o			$(ROOTFIL)/vsshowtableop.o		$(ROOTFIL)/vsvisualop.o $(UTILS)/tinyxmlerror.o		$(ROOTFIL)/vsappend.o			$(ROOTFIL)/vsgrid2pointdistr.o		$(ROOTFIL)/vspointdistributeop.o		$(ROOTFIL)/vssigmacontoursop.o		$(ROOTFIL)/vsvollimit.o $(UTILS)/tinyxmlparser.o		$(ROOTFIL)/vschangecolnameop.o		$(ROOTFIL)/vsincludeop.o			$(ROOTFIL)/vspointpropertyop.o		$(ROOTFIL)/vssphereop.o			$(ROOTFIL)/vswrvotableop.o 	$(UTILS)/util.o			$(ROOTFIL)/vsclustercellop.o		$(ROOTFIL)/vsinterpolateop.o		$(ROOTFIL)/vspolarop.o		$(ROOTFIL)/vssplittableop.o $(UTILS)/historyXmlWriter.o $(ROOTFIL)/startFilter.o $(UTILS)/fparser.o $(ROOTVIEW)/pointspipe.o $(ROOTVIEW)/slicerpipe.o 


OBJS=  visivoset.o visivoview.o visivoimp.o visivofil.o  	vsLine.o			 vscoarsevolumeop.o		 vsmathop.o			 vsprinttableop.o	 vsstatisticop.o 	 fpoptimizer.o		 vsVector.o			 vscutop.o			 vsmergeop.o			 vsrandomizertableop.o					 vsVoxel.o			 vsdecimatorop.o		 vsmoduleop.o	 vsselectcolumnsop.o		 vstable.o  parametersparser.o		 vsaddidop.o		 vsexampleop.o		 vsmrcampos.o	 vsselectfieldop.o		 vstableop.o  tinystr.o		 vsextractlistrowsop.o		 vsmuportalop.o		 vsselectvol.o			  tinyxml.o				 vsextractsubvolumeop.o	 vsobject.o			 vsshowtableop.o		 vsvisualop.o  tinyxmlerror.o		 vsappend.o			 vsgrid2pointdistr.o		 vspointdistributeop.o		 vssigmacontoursop.o		 vsvollimit.o  tinyxmlparser.o		 vschangecolnameop.o		 vsincludeop.o			 vspointpropertyop.o		 vssphereop.o			 vswrvotableop.o 	 util.o			 vsclustercellop.o		 vsinterpolateop.o		 vspolarop.o		 vssplittableop.o  historyXmlWriter.o  startFilter.o  fparser.o pointspipe.o slicerpipe.o

CPPFLAGS= -DSPLVISIVO -DLIGHT -DMAC

LIBRARYPATH =-L/usr/local/lib -L/opt/local/lib -L/opt/vtk5/lib/vtk-5.10
##LIB = -lcurl -lhdf5 -lcfitsio -lm
LIB = -lvtkRendering -lvtkHybrid -lvtkVolumeRendering -lvtkexoIIc -lvtkRendering -lvtkGraphics -lvtkverdict -lvtkImaging -lvtkftgl -lvtkfreetype -lvtkIO -lvtkFiltering -lvtkCommon -lvtkDICOMParser -lvtkNetCDF -lvtkmetaio -lvtksqlite -lpthread -lvtkpng -lvtkzlib -lvtkjpeg -lm -lvtkexpat -lvtksys -ldl -ltiff -lvtkfreetype -lcurl

LDFLAGS= -framework CoreServices -framework ApplicationServices -framework Cocoa -framework Foundation -framework IOKit -framework Carbon -framework OpenGL 

CPPFLAGS= $(INCLUDE) 



all: VisIVOApi 

.SUFFIXES : .o .cpp .cc .c .cxx

.cpp.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.cc.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.c.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.cxx.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

VisIVOApi:  $(API) $(VSFIL)
	ar -c  libVisIVOApi.a $(OBJS) $(LDFLAGS)  $(LIBRARYPATH) $(LIB)


	
clean:
	rm -f *.o ../../Utils/*.o core

API/Makefile.txt

0 → 100644
+65 −0
Original line number Original line Diff line number Diff line
# Gaia GSRPar Makefile

COMPILER = /usr/bin/g++
COMPILERCPP = /usr/bin/g++

CC = $(COMPILER)
CPP= $(COMPILERCPP)

LD = $(COMPILERCPP)

ROOTVIEWER= /Users/ube/VisIVOServer_OACT/2.3/VisIVOViewer/Viewer
ROOTIMPORTER=/Users/ube/VisIVOServer_OACT/2.3/VisIVOImporter/Importers
ROOTFILTER= /Users/ube/VisIVOServer_OACT/2.3/VisIVOFilters/Filters
BUILDDIR=$(ROOTIMPORTER)/build


VSFILINC1=/Users/ube/VisIVOServer_OACT/2.3/VisIVOViewer/Viewer
VSFILINC2=/Users/ube/VisIVOServer_OACT/2.3/Utils

VTKDIR=/opt/vtk5/
CURLDIR=/usr/local/

VSAPI=	visivofil.o	visivoimp.o	visivoset.o	visivoview.o

OBJS=	$(ROOTVIEWER)/build/isosurfacepipe.o $(ROOTVIEWER)/build/pipe.o $(ROOTVIEWER)/build/pointspipe.o $(ROOTVIEWER)/build/slicerpipe.o $(ROOTVIEWER)/build/splotchpipecamera.o $(ROOTVIEWER)/build/volumepipe.o $(ROOTVIEWER)/build/vtkimagepipe.o $(ROOTVIEWER)/build/mainViewer.o $(ROOTVIEWER)/build/pointssmoothpipe.o $(ROOTVIEWER)/build/splotchpipe.o $(ROOTVIEWER)/build/vectorpipe.o $(ROOTVIEWER)/build/volumeslicer.o $(ROOTVIEWER)/build/transform.o $(ROOTVIEWER)/build/announce.o $(ROOTVIEWER)/build/ls_image.o $(ROOTVIEWER)/build/paramfile.o $(ROOTVIEWER)/build/walltimer.o $(ROOTVIEWER)/build/error_handling.o $(ROOTVIEWER)/build/mpi_support.o $(ROOTVIEWER)/build/string_utils.o $(ROOTVIEWER)/build/bin_reader.o $(ROOTVIEWER)/build/gadget_reader.o $(ROOTVIEWER)/build/mesh_reader.o $(ROOTVIEWER)/build/visivo_reader.o $(ROOTVIEWER)/build/bin_reader_mpi.o $(ROOTVIEWER)/build/millenium_reader.o $(ROOTVIEWER)/build/tipsy_reader.o $(ROOTVIEWER)/build/ramses_reader.o $(ROOTVIEWER)/build/scenemaker.o $(ROOTVIEWER)/build/splotch_host.o $(ROOTVIEWER)/build/splotch.o $(ROOTVIEWER)/build/splotchutils.o $(ROOTVIEWER)/build/m_rotation.o $(ROOTVIEWER)/build/mesh_creator.o $(ROOTVIEWER)/build/p_selector.o $(ROOTVIEWER)/build/randomizer.o $(ROOTVIEWER)/build/walltime_c.o $(ROOTVIEWER)/build/color.o $(ROOTVIEWER)/build/tinyxml.o $(ROOTVIEWER)/build/visivoutils.o $(ROOTVIEWER)/build/historyXmlWriter.o $(ROOTVIEWER)/build/tinyxmlerror.o $(ROOTVIEWER)/build/vsobject.o $(ROOTVIEWER)/build/extendedglyph3d.o $(ROOTVIEWER)/build/luteditor.o $(ROOTVIEWER)/build/tinyxmlparser.o $(ROOTVIEWER)/build/vstable.o $(ROOTVIEWER)/build/optionssetter.o $(ROOTVIEWER)/build/tinystr.o $(ROOTVIEWER)/build/vsstatisticop.o $(ROOTVIEWER)/build/vstableop.o 

$(ROOTIMPORTER)/build/abstractsource.o $(ROOTIMPORTER)/build/binsource.o $(ROOTIMPORTER)/build/fitsimagesource.o $(ROOTIMPORTER)/build/flysource.o $(ROOTIMPORTER)/build/mainImporter.o $(ROOTIMPORTER)/build/ramsessource.o $(ROOTIMPORTER)/build/rawpointssource.o $(ROOTIMPORTER)/build/vosourcenew.o $(ROOTIMPORTER)/build/asciisource.o $(ROOTIMPORTER)/build/csvsource.o $(ROOTIMPORTER)/build/fitstablesource.o $(ROOTIMPORTER)/build/gadgetsource.o $(ROOTIMPORTER)/build/hdf5source.o $(ROOTIMPORTER)/build/muportalsource.o $(ROOTIMPORTER)/build/rawgridsource.o $(ROOTIMPORTER)/build/tinystr.o $(ROOTIMPORTER)/build/tinyxml.o $(ROOTIMPORTER)/build/tinyxmlerror.o $(ROOTIMPORTER)/build/tinyxmlparser.o $(ROOTIMPORTER)/build/historyXmlWriter.o $(ROOTIMPORTER)/build/commandline.o $(ROOTIMPORTER)/build/visivoutils.o

$(BUILDDIR)/fparser.o  $(BUILDDIR)/vsLine.o  $(BUILDDIR)/vscoarsevolumeop.o  $(BUILDDIR)/vsmathop.o $(BUILDDIR)/vsprinttableop.o $(BUILDDIR)/vsstatisticop.o $(BUILDDIR)/fpoptimizer.o  $(BUILDDIR)/vsVector.o $(BUILDDIR)/vscutop.o  $(BUILDDIR)/vsmergeop.o  $(BUILDDIR)/vsrandomizertableop.o $(BUILDDIR)/vsswapop.o $(BUILDDIR)/mainFilter.o $(BUILDDIR)/vsVoxel.o $(BUILDDIR)/vsdecimatorop.o $(BUILDDIR)/vsmoduleop.o $(BUILDDIR)/vsselectcolumnsop.o $(BUILDDIR)/vstable.o $(BUILDDIR)/parametersparser.o $(BUILDDIR)/vsaddidop.o $(BUILDDIR)/vsexampleop.o $(BUILDDIR)/vsmrcampos.o $(BUILDDIR)/vsselectfieldop.o $(BUILDDIR)/vstableop.o $(BUILDDIR)/tinystr.o $(BUILDDIR)/vsextractlistrowsop.o $(BUILDDIR)/vsmuportalop.o $(BUILDDIR)/vsselectvol.o  $(BUILDDIR)/tinyxml.o  $(BUILDDIR)/vsextractsubvolumeop.o  $(BUILDDIR)/vsobject.o  $(BUILDDIR)/vsshowtableop.o  $(BUILDDIR)/vsvisualop.o  $(BUILDDIR)/tinyxmlerror.o  $(BUILDDIR)/vsappend.o  $(BUILDDIR)/vsgrid2pointdistr.o $(BUILDDIR)/vspointdistributeop.o $(BUILDDIR)/vssigmacontoursop.o $(BUILDDIR)/vsvollimit.o  $(BUILDDIR)/tinyxmlparser.o  $(BUILDDIR)/vschangecolnameop.o $(BUILDDIR)/vsincludeop.o $(BUILDDIR)/vspointpropertyop.o $(BUILDDIR)/vssphereop.o  $(BUILDDIR)/vswrvotableop.o  $(BUILDDIR)/util.o $(BUILDDIR)/vsclustercellop.o $(BUILDDIR)/vsinterpolateop.o $(BUILDDIR)/vspolarop.o $(BUILDDIR)/vssplittableop.o  $(BUILDDIR)/historyXmlWriter.o  $(BUILDDIR)/startFilter.o



INCLUDE = -I$(VSFILINC1) -I$(VSFILINC2) -I$(VSFILINC1)/../../  -I/usr/local/include -I/opt/local/include -I$(VTKDIR)/include/vtk-5.10 -I$(VSFILINC2) -I$(VSFILINC1)/Splotch -I$(VSFILINC1)/Splotch/c_utils -I$(VSFILINC1)/../../VisIVOFilters/Filters -I$(VSFILINC1)/../../VisIVOUtils -I$(CURLDIR)/include/

#CPPFLAGS= -DLIGHT $(INCLUDE)

CPPFLAGS= -DSPLVISIVO -DLIGHT -DMAC

LIBRARYPATH =-L/usr/local/lib -L/opt/local/lib -L$(VTKDIR)/lib/vtk-5.10 -L$(CURLDIR)/lib
LIB = -lvtkRendering -lvtkHybrid -lvtkVolumeRendering -lvtkexoIIc -lvtkRendering -lvtkGraphics -lvtkverdict -lvtkImaging -lvtkftgl -lvtkfreetype -lvtkIO -lvtkFiltering -lvtkCommon -lvtkDICOMParser -lvtkNetCDF -lvtkmetaio -lvtksqlite -lpthread -lvtkpng -lvtkzlib -lvtkjpeg -lm -lvtkexpat -lvtksys -ldl -ltiff -lvtkhdf5 -lvtkhdf5_hl -lvtkNetCDF_cxx -lLSDyna -lvtkfreetype -lcurl

LDFLAGS= -framework CoreServices -framework ApplicationServices -framework Cocoa -framework Foundation -framework IOKit -framework Carbon -framework OpenGL 

all: VisIVOViewer
 
.SUFFIXES : .o .cpp .cc .c .cxx

.cpp.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< -o $(ROOTVIEWER)/build/$(notdir $@)

.cc.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< -o $(ROOTVIEWER)/build/$(notdir $@)

.c.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< -o $(ROOTVIEWER)/build/$(notdir $@)

.cxx.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< -o $(ROOTVIEWER)/build/$(notdir $@)

VisIVOViewer: $(VSVIEW)
	$(LD) $(CPPFLAGS) -o VisIVOViewer $(OBJS) $(LDFLAGS) $(INCLUDE) $(LIBRARYPATH) $(LIB)

	
clean:
	rm -f *.o build/*.o ../../Utils/*.o ./Splotch/kernel/*.o ./Splotch/cxxsupport/*.o		./Splotch/reader/*.o ./Splotch/splotch/*o	./Splotch/booster/*.o		../../VisIVOFilters/Filters/vstable.o 	../../VisIVOFilters/Filters/vsstatisticop.o ../../VisIVOFilters/Filters/vstableop.o core

API/Makefile_OLD

0 → 100644
+71 −0
Original line number Original line Diff line number Diff line
# Gaia GSRPar Makefile

COMPILER = /usr/bin/g++
COMPILERCPP = /usr/bin/g++

CC = $(COMPILER)
CPP= $(COMPILERCPP)


ROOT=/Users/ube/VisIVOServer_OACT/2.3
ROOTFIL=$(ROOT)/VisIVOFilters/Filters/
ROOTUTIL=$(ROOT)/VisIVOUtils/
ROOTVIEW=$(ROOT)/VisIVOViewer/Viewer/
ROOTIMP=$(ROOT)/VisIVOImporter/Importers/
UTILS=$(ROOT)/Utils/
VTKDIR=/opt/vtk5/


VSFILINC1=$(ROOTFIL)
VSFILINC2=$(UTILS)
INCLUDE = -I/usr/local/Cellar/boost/1.59.0/include -I$(ROOTVIEW) -I$(UTILS) -I/usr/local/include -I/opt/local/include -I$(VTKDIR)/include/vtk-5.10 -I$(ROOT) -I$(ROOTVIEW)/Splotch -I$(ROOTVIEW)/Splotch/c_utils -I$(ROOTFIL) -I$(ROOTUTIL) -I$(ROOTIMP)

API= $(ROOT)/API/visivoset.o $(ROOT)/visivoview.o $(ROOT)/API/visivoimp.o $(ROOT)/API/visivofil.o  	$(ROOTFIL)/vsLine.o			$(ROOTFIL)/vscoarsevolumeop.o		$(ROOTFIL)/vsmathop.o			$(ROOTFIL)/vsprinttableop.o	$(ROOTFIL)/vsstatisticop.o 	$(ROOTFIL)/fpoptimizer.o		$(ROOTFIL)/vsVector.o			$(ROOTFIL)/vscutop.o $(ROOTFIL)/vsmergeop.o			$(ROOTFIL)/vsrandomizertableop.o					$(ROOTFIL)/vsVoxel.o			$(ROOTFIL)/vsdecimatorop.o		$(ROOTFIL)/vsmoduleop.o	$(ROOTFIL)/vsselectcolumnsop.o		$(ROOTFIL)/vstable.o $(UTILS)/parametersparser.o		$(ROOTFIL)/vsaddidop.o		$(ROOTFIL)/vsexampleop.o		$(ROOTFIL)/vsmrcampos.o	$(ROOTFIL)/vsselectfieldop.o		$(ROOTFIL)/vstableop.o $(UTILS)/tinystr.o		$(ROOTFIL)/vsextractlistrowsop.o		$(ROOTFIL)/vsmuportalop.o	$(ROOTFIL)/vsselectvol.o			 $(UTILS)/tinyxml.o				$(ROOTFIL)/vsextractsubvolumeop.o	$(UTILS)/vsobject.o			$(ROOTFIL)/vsshowtableop.o	$(ROOTFIL)/vsvisualop.o $(UTILS)/tinyxmlerror.o		$(ROOTFIL)/vsappend.o			$(ROOTFIL)/vsgrid2pointdistr.o	$(ROOTFIL)/vspointdistributeop.o		$(ROOTFIL)/vssigmacontoursop.o	$(ROOTFIL)/vsvollimit.o $(UTILS)/tinyxmlparser.o		$(ROOTFIL)/vschangecolnameop.o	$(ROOTFIL)/vsincludeop.o $(ROOTFIL)/vspointpropertyop.o		$(ROOTFIL)/vssphereop.o $(ROOTFIL)/vswrvotableop.o 	$(UTILS)/util.o			$(ROOTFIL)/vsclustercellop.o $(ROOTFIL)/vsinterpolateop.o $(ROOTFIL)/vspolarop.o $(ROOTFIL)/vssplittableop.o $(UTILS)/historyXmlWriter.o $(ROOTFIL)/startFilter.o $(UTILS)/fparser.o 


#$(UTILS)/fparser.o $(UTILS)/visivoutils.o $(UTILS)/commandline.o #/Users/ube/VisIVOServer_OACT/2.3/VisIVOUtils/vscreatepath.o


#$(ROOTUTIL)/vscreatepath.o
#$(ROOTUTIL)/vuparametersparser.o $(ROOTUTIL)/vscreategenericslices.o #$(ROOTVIEW)/pointspipe.o $(ROOTVIEW)/slicerpipe.o $(ROOTVIEW)/vectorpipe.o  #$(ROOTIMP)/abstractsource.o $(UTILS)/optionssetter.o

OBJS=  visivoset.o visivoview.o visivoimp.o visivofil.o  vsLine.o vscoarsevolumeop.o		 vsmathop.o			 vsprinttableop.o	 vsstatisticop.o fpoptimizer.o		 vsVector.o			 vscutop.o			 vsmergeop.o			 vsrandomizertableop.o					 vsVoxel.o	 vsdecimatorop.o		 vsmoduleop.o	 vsselectcolumnsop.o		 vstable.o  parametersparser.o		 vsaddidop.o		 vsexampleop.o		 vsmrcampos.o	 vsselectfieldop.o	 vstableop.o  tinystr.o		 vsextractlistrowsop.o		 vsmuportalop.o		 vsselectvol.o			  tinyxml.o				 vsextractsubvolumeop.o	 vsobject.o vsshowtableop.o		 vsvisualop.o  tinyxmlerror.o		 vsappend.o			 vsgrid2pointdistr.o		 vspointdistributeop.o		 vssigmacontoursop.o		 vsvollimit.o  tinyxmlparser.o		 vschangecolnameop.o		 vsincludeop.o vspointpropertyop.o		 vssphereop.o			 vswrvotableop.o 	 util.o vsclustercellop.o		 vsinterpolateop.o		 vspolarop.o		 vssplittableop.o  historyXmlWriter.o  startFilter.o  fparser.o visivoutils.o commandline.o optionssetter.o $(ROOTVIEW)/pointspipe.o slicerpipe.o vectorpipe.o abstractsource.o


CPPFLAGS= -DSPLVISIVO -DLIGHT -DMAC

LIBRARYPATH =-L/usr/local/lib -L/opt/local/lib -L$(VTKDIR)/lib/vtk-5.10

LIB = -lvtkRendering -lvtkHybrid -lvtkVolumeRendering -lvtkexoIIc -lvtkRendering -lvtkGraphics -lvtkverdict -lvtkImaging -lvtkftgl -lvtkfreetype -lvtkIO -lvtkFiltering -lvtkCommon -lvtkDICOMParser -lvtkNetCDF -lvtkmetaio -lvtksqlite -lpthread -lvtkpng -lvtkzlib -lvtkjpeg -lm -lvtkexpat -lvtksys -ldl -ltiff -lvtkfreetype -lcurl

#LDFLAGS= -framework CoreServices -framework ApplicationServices -framework Cocoa -framework Foundation -framework IOKit -framework Carbon -framework OpenGL 

###CPPFLAGS= $(INCLUDE) 



all: VisIVOApi 


.SUFFIXES : .o .cpp .cc .c .cxx

.cpp.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.cc.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.c.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

.cxx.o:
	$(CPP) $(CPPFLAGS) $(INCLUDE)  -c $< 

VisIVOApi:  $(API) $(VSFIL)
	ar cr  libVisIVOApi.a $(OBJS)
	#ar cr  libVisIVOApi.a $(OBJS) $(LDFLAGS)  $(LIBRARYPATH) $(LIB)


	
clean:
	rm -f *.o ../../Utils/*.o core

API/config.sh

0 → 100755
+16 −0
Original line number Original line Diff line number Diff line
#!/bin/bash

ROOT=/Users/ube/VisIVOServer_OACT/2.3/

cd $ROOT/VisIVOImporter/Importers/
make 

cd $ROOT/VisIVOFilters/Filters/
make

cd $ROOT/VisIVOViewer/Viewer/
make


cd $ROOT/VisIVOUtils/
make
 No newline at end of file
Loading