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