1 # Copyright (C) 2006-2012 CEA/DEN, EDF R&D
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 include $(top_srcdir)/adm/unix/make_begin.am
26 bin_PROGRAMS=driver debugger resume
28 lib_LTLIBRARIES = libYACSloader.la
30 libYACSloader_la_SOURCES = \
31 parsers.cxx parserBase.cxx dataParsers.cxx typeParsers.cxx \
32 propertyParsers.cxx containerParsers.cxx xmlrpcParsers.cxx \
33 rootParser.cxx codeParsers.cxx \
34 LoadState.cxx xmlParserBase.cxx ProcCataLoader.cxx \
35 componentinstanceParsers.cxx \
38 salomeinclude_HEADERS = \
39 YACSloaderExport.hxx \
40 blocParsers.hxx codeParsers.hxx containerParsers.hxx dataParsers.hxx factory.hxx \
41 linkParsers.hxx LoadState.hxx loopParsers.hxx nodeParsers.hxx outputParsers.hxx \
42 parserBase.hxx parsers.hxx portParsers.hxx presetParsers.hxx ProcCataLoader.hxx \
43 procParsers.hxx propertyParsers.hxx rootParser.hxx switchParsers.hxx inlineParsers.hxx \
44 componentinstanceParsers.hxx remoteParsers.hxx serverParsers.hxx serviceParsers.hxx \
45 typeParsers.hxx xmlParserBase.hxx xmlrpcParsers.hxx sinlineParsers.hxx
47 EXTRA_libYACSloader_la_SOURCES = \
50 libYACSloader_la_LIBADD = ../engine/libYACSlibEngine.la
51 libYACSloader_la_LDFLAGS = $(OMNIORB_LIBS) $(EXPAT_LIBS)
60 -I$(srcdir)/../bases \
64 SALOME_LIBS=$(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeIDLKernel -lSalomeNS -lOpUtil \
65 -lSalomeDSCContainer -lSalomeContainer -lSALOMEBasics -lSalomeResourcesManager \
66 -lSALOMELocalTrace -lRegistry -lSalomeNotification -lResourcesManager \
68 SALOME_INCL_PATH=-I$(KERNEL_ROOT_DIR)/include/salome
72 driver_SOURCES = driver.cxx
74 driver_CXXFLAGS = -g -DYACS_PTHREAD \
80 -I$(srcdir)/../bases \
81 -I$(srcdir)/../engine \
82 -I$(srcdir)/../runtime
84 driver_LDADD = libYACSloader.la \
85 ../runtime/libYACSRuntimeSALOME.la \
86 ../engine/libYACSlibEngine.la \
92 driver_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) -pthread $(LIBXML_LIBS) $(EXPAT_LIBS)
95 resume_SOURCES = resume.cxx
97 resume_CXXFLAGS = -g -DYACS_PTHREAD \
100 $(OMNIORB_CXXFLAGS) \
102 -I$(srcdir)/../bases \
103 -I$(srcdir)/../engine \
104 -I$(srcdir)/../runtime
106 resume_LDADD = libYACSloader.la \
107 ../runtime/libYACSRuntimeSALOME.la \
108 ../engine/libYACSlibEngine.la \
114 resume_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) -pthread $(LIBXML_LIBS) $(EXPAT_LIBS)
117 debugger_SOURCES = debugger.cxx
119 debugger_CXXFLAGS = -g -DYACS_PTHREAD \
121 $(OMNIORB_INCLUDES) \
122 $(OMNIORB_CXXFLAGS) \
124 -I$(srcdir)/../bases \
125 -I$(srcdir)/../engine \
126 -I$(srcdir)/../runtime
128 debugger_LDADD = libYACSloader.la \
129 ../runtime/libYACSRuntimeSALOME.la \
130 ../engine/libYACSlibEngine.la \
136 debugger_LDFLAGS = $(PYTHON_EXTRA_LDFLAGS) -pthread $(LIBXML_LIBS) $(EXPAT_LIBS)
138 EXTRA_DIST = samples schema.xsd
141 rm -rf `find $(distdir) -name CVS`
144 $(INSTALL) -d $(DESTDIR)$(prefix)/share/salome/yacssamples
145 cp -rf $(srcdir)/samples/*.xml $(DESTDIR)$(prefix)/share/salome/yacssamples
146 cp -rf $(srcdir)/samples/*.data $(DESTDIR)$(prefix)/share/salome/yacssamples
149 rm -rf $(DESTDIR)$(prefix)/share/salome/yacssamples
151 include $(top_srcdir)/adm/unix/make_end.am