2 include $(top_srcdir)/adm/unix/make_begin.am
4 IDL_FILES = yacsgui.idl
6 BUILT_SOURCES = $(IDL_SRC) yacsgui.hh
8 IDLCXXFLAGS = -I$(KERNEL_ROOT_DIR)/idl/salome -I$(GUI_ROOT_DIR)/idl/salome
10 IDLPYFLAGS = -I$(KERNEL_ROOT_DIR)/idl/salome
12 EXTRA_DIST = $(IDL_FILES)
14 install-exec-local: install-pyidl
17 rm -rf $(DESTDIR)$(salomepythondir)/yacsgui_idl.py
18 rm -rf $(DESTDIR)$(salomepythondir)/YACS_ORB
19 rm -rf $(DESTDIR)$(salomepythondir)/YACS_ORB__POA
21 install-pyidl: $(IDL_FILES)
22 $(INSTALL) -d $(DESTDIR)$(salomepythondir)
23 @for file in $^ dummy; do \
24 if [ $$file != "dummy" ]; then \
25 $(OMNIORB_IDL) -bpython $(IDLPYFLAGS) -C$(DESTDIR)$(salomepythondir) $$file ; \
30 rm -f $(distdir)/yacsguiSK.cc
31 rm -f $(distdir)/yacsgui.hh
34 rm -rf YACS_ORB YACS_ORB__POA yacsgui.hh yacsgui_idl.py yacsguiSK.cc
36 include $(top_srcdir)/adm/unix/make_end.am