Salome HOME
f4bcafaac3cecae6d746496dd13ce200dd7b11b0
[modules/homard.git] / src / HOMARDGUI / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 # -* Makefile *-
23 # Author :
24 # Modified by : Alexander BORODIN (OCN) - autotools usage
25 #
26 # header files
27
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 salomeinclude_HEADERS =       \
31         HomardConfigFile.hxx  \
32         MonCreateBoundaryAn.h \
33         CreateBoundaryAn.h    \
34         MonEditBoundaryAn.h   \
35         MonCreateBoundaryDi.h \
36         CreateBoundaryDi.h    \
37         MonEditBoundaryDi.h   \
38         MonCreateCase.h       \
39         CreateCase.h          \
40         MonEditCase.h         \
41         MonCreateZone.h       \
42         CreateZone.h          \
43         MonEditZone.h         \
44         MonCreateHypothesis.h \
45         CreateHypothesis.h    \
46         MonEditHypothesis.h   \
47         MonCreateListGroup.h  \
48         CreateListGroup.h     \
49         MonEditListGroup.h    \
50         MonCreateIteration.h  \
51         CreateIteration.h     \
52         MonEditIteration.h    \
53         HOMARDGUI.h           \
54         HOMARDGUI_Utils.h     \
55         HomardDlg.h           \
56         EditFile.h            \
57         MonEditFile.h         \
58         HomardQtCommun.h
59
60
61 # Libraries targets
62 lib_LTLIBRARIES = libHOMARD.la
63
64 dist_libHOMARD_la_SOURCES =     \
65         HOMARDGUI.cxx           \
66         HOMARDGUI_Utils.cxx     \
67         HomardConfigFile.cxx    \
68         MonCreateBoundaryAn.cxx \
69         MonEditBoundaryAn.cxx \
70         MonCreateBoundaryDi.cxx \
71         MonEditBoundaryDi.cxx \
72         MonCreateCase.cxx       \
73         MonEditCase.cxx         \
74         MonCreateHypothesis.cxx \
75         MonEditHypothesis.cxx   \
76         MonCreateListGroup.cxx \
77         MonEditListGroup.cxx \
78         MonCreateIteration.cxx  \
79         MonEditIteration.cxx    \
80         MonCreateZone.cxx       \
81         MonEditZone.cxx         \
82         MonEditFile.cxx         \
83         HomardQtCommun.cxx
84
85 # MOC pre-processing
86 MOC_FILES =                         \
87         HOMARDGUI_moc.cxx           \
88         MonCreateBoundaryAn_moc.cxx \
89         MonEditBoundaryAn_moc.cxx   \
90         MonCreateBoundaryDi_moc.cxx \
91         MonEditBoundaryDi_moc.cxx   \
92         MonCreateCase_moc.cxx       \
93         MonEditCase_moc.cxx         \
94         MonCreateZone_moc.cxx       \
95         MonEditZone_moc.cxx         \
96         MonCreateHypothesis_moc.cxx \
97         MonEditHypothesis_moc.cxx   \
98         MonCreateListGroup_moc.cxx  \
99         MonEditListGroup_moc.cxx    \
100         MonCreateIteration_moc.cxx  \
101         MonEditIteration_moc.cxx    \
102         MonEditFile_moc.cxx
103
104 nodist_libHOMARD_la_SOURCES = $(MOC_FILES)
105
106 libHOMARD_la_CPPFLAGS =          \
107         $(QT_INCLUDES)           \
108         $(CAS_CPPFLAGS)          \
109         $(PYTHON_INCLUDES)       \
110         $(MED2_INCLUDES)         \
111         $(HDF5_INCLUDES)         \
112         $(BOOST_CPPFLAGS)        \
113         $(CORBA_CXXFLAGS)        \
114         $(CORBA_INCLUDES)        \
115         $(KERNEL_CXXFLAGS)       \
116         $(GUI_CXXFLAGS)          \
117         -I$(srcdir)/../HOMARD    \
118         -I$(srcdir)/../HOMARD_I  \
119         -I$(top_builddir)/idl    \
120         -I$(VISU_ROOT_DIR)/include/salome  \
121         -I$(MED_ROOT_DIR)/include/salome   \
122         -I$(top_builddir)/salome_adm/unix
123
124 libHOMARD_la_LDFLAGS  =                 \
125         ../../idl/libSalomeIDLHOMARD.la \
126         ../HOMARD_I/libHOMARDEngine.la  \
127         $(KERNEL_LDFLAGS)               \
128         $(MED2_LIBS)                    \
129         -lSalomeLifeCycleCORBA          \
130         $(GUI_LDFLAGS)                  \
131         -lSalomeApp                     \
132         -lSalomePyQtGUI
133
134 # resources files
135 nodist_salomeres_DATA =  \
136         HOMARD_msg_en.qm \
137         HOMARD_msg_fr.qm
138
139 UI_FILES = \
140 CreateBoundaryAn.ui \
141 CreateBoundaryDi.ui \
142 CreateCase.ui \
143 CreateHypothesis.ui \
144 CreateIteration.ui \
145 CreateListGroup.ui \
146 CreateZone.ui \
147 EditFile.ui
148
149 EXTRA_DIST += $(UI_FILES)