Salome HOME
DCQ : Merge with Ecole Ete a6.
[modules/med.git] / src / MEDGUI / Makefile.in
index c3af1f19fd7d634bd7150e90b6d41cda3dd0976a..e8b92245434e6a0983e82d50c00cc47e47775829 100644 (file)
@@ -1,18 +1,35 @@
-#==============================================================================
-#  File      : Makefile.in
-#  Created   : dim déc  9 18:35:11 CET 2001
-#  Author    : Paul RASCLE, EDF
-#  Project   : SALOME
-#  Copyright : EDF 2001
+#  MED MEDGUI : MED component GUI implemetation 
+#
+#  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+#
+#
+#
+#  File   : Makefile.in
+#  Author : Paul RASCLE, EDF
+#  Module : MED
 #  $Header$
-#==============================================================================
 
-# source path
 top_srcdir=@top_srcdir@
-top_builddir=../../..
+top_builddir=../..
 srcdir=@srcdir@
-VPATH=.:$(srcdir):$(top_builddir)/share/salome/idl
-
+VPATH=.:$(srcdir):$(top_srcdir)/idl:$(top_builddir)/idl
 
 @COMMENCE@
 
@@ -21,32 +38,32 @@ EXPORT_HEADERS=
 
 # .po files to transform in .qm
 PO_FILES = \
-           MedGUI_icons.po \
-           MedGUI_msg_fr.po \
-           MedGUI_msg_en.po \
+           MED_icons.po \
+           MED_msg_fr.po \
+           MED_msg_en.po \
 
 
 # Libraries targets
-LIB = libMedGUI.la
+LIB = libMEDGUI.la
 LIB_SRC = MedGUI.cxx  
 LIB_MOC = MedGUI.h
 
 LIB_CLIENT_IDL = SALOMEDS.idl SALOME_Exception.idl \
-                 Med_Gen.idl  MED.idl \
-                SMESH_Mesh.idl SMESH_Hypothesis.idl SMESH_BasicHypothesis.idl \
-                GEOM_Shape.idl SALOMEDS_Attributes.idl
+                 MED_Gen.idl  MED.idl \
+                SALOMEDS_Attributes.idl
+#               SMESH_Mesh.idl SMESH_Hypothesis.idl SMESH_BasicHypothesis.idl \
+#               GEOM_Shape.idl SALOMEDS_Attributes.idl
 
 LIB_SERVER_IDL = 
 
 # additionnal information to compil and link file
 
-CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES)
-CXXFLAGS += 
-
-LDFLAGS += -lSalomeGUI -lmedmem -lMEDImpl -lMedEngine -lSMESHFiltersSelection
+CPPFLAGS += $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+LDFLAGS += -lSalomeGUI -lMEDMEMImpl -lmedmem -lMEDEngine -I${KERNEL_ROOT_DIR}/include/salome
 
+LDFLAGS += -lSalomeGUI -lMEDMEMImpl -lmedmem -lMEDEngine -L${KERNEL_ROOT_DIR}/lib/salome
 
 MED.hh MEDSK.cc: MED.idl
-       omniidl -bcxx -Wbtp $^
+       omniidl -bcxx -Wbtp -I$(top_builddir)/idl -I${KERNEL_ROOT_DIR}/idl/salome $^
 
 @CONCLUDE@