#  GEOM GEOMGUI : GUI for Geometry component
#
#  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
# 
#  This library is free software; you can redistribute it and/or 
#  modify it under the terms of the GNU Lesser General Public 
#  License as published by the Free Software Foundation; either 
#  version 2.1 of the License. 
# 
#  This library is distributed in the hope that it will be useful, 
#  but WITHOUT ANY WARRANTY; without even the implied warranty of 
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
#  Lesser General Public License for more details. 
# 
#  You should have received a copy of the GNU Lesser General Public 
#  License along with this library; if not, write to the Free Software 
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
# 
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
#
#
#  File   : Makefile.in
#  Author : Marc Tajchman (CEA)
#  Modified by : Alexander BORODIN (OCN) - autotools usage
#  Module : GEOM
#  $Header$

include $(top_srcdir)/adm_local/unix/make_common_starter.am

# Libraries targets
lib_LTLIBRARIES = libGEOM.la

# header files 
salomeinclude_HEADERS = \
	GeometryGUI.h \
	GEOMGUI.h \
	GEOM_Displayer.h \
	GEOMGUI_OCCSelector.h \
	GEOMGUI_Selection.h \
	GeometryGUI_Swig.hxx \
	GeometryGUI_Swig.i \
	GEOM_GEOMGUI.hxx

dist_libGEOM_la_SOURCES = \
	GeometryGUI.cxx \
	GEOMGUI.cxx \
	GEOM_Displayer.cxx \
        GEOMGUI_OCCSelector.cxx \
	GEOMGUI_Selection.cxx \
	GeometryGUI_Swig.cxx

MOC_FILES = \
	GeometryGUI_moc.cxx


nodist_libGEOM_la_SOURCES= \
	$(MOC_FILES)

# resources files
nodist_salomeres_DATA= \
	GEOM_images.qm \
	GEOM_msg_en.qm \
	GEOM_msg_fr.qm

#LIB_CLIENT_IDL = SALOME_Exception.idl \
#		 SALOMEDS.idl \
#		 SALOMEDS_Attributes.idl \
#		 SALOME_GenericObj.idl \
#		 SALOME_Component.idl \
#		 GEOM_Gen.idl

#LIB_SERVER_IDL =  

# additionnal information to compil and link file

libGEOM_la_CPPFLAGS = \
	$(QT_INCLUDES) \
	$(VTK_INCLUDES) \
	$(CAS_CPPFLAGS) \
	$(PYTHON_INCLUDES) \
	$(BOOST_CPPFLAGS) \
	$(KERNEL_CXXFLAGS) \
	$(GUI_CXXFLAGS) \
	$(CORBA_CXXFLAGS) \
	$(CORBA_INCLUDES) \
	-I$(srcdir)/../OBJECT \
	-I$(srcdir)/../GEOMFiltersSelection \
	-I$(srcdir)/../GEOMClient \
	-I$(srcdir)/../GEOMImpl \
	-I$(top_builddir)/idl \
	-I$(top_builddir)/salome_adm/unix

libGEOM_la_LDFLAGS  = \
	../GEOMFiltersSelection/libGEOMFiltersSelection.la \
	../GEOMClient/libGEOMClient.la \
	../OBJECT/libGEOMObject.la \
	$(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA \
	$(GUI_LDFLAGS) -lOCCViewer -lVTKViewer -lCAM -lSOCC -lSVTK -lEvent
# -lSalomeApp 
# -lToolsGUI
#	$(CORBA_LIBS) \
#	$(STDLIB)
