Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / wrappergen / src / HXX2SALOME_GENERIC_CLASS_NAME_SRC / adm_local / unix / make_end.am
diff --git a/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/adm_local/unix/make_end.am b/src/wrappergen/src/HXX2SALOME_GENERIC_CLASS_NAME_SRC/adm_local/unix/make_end.am
new file mode 100755 (executable)
index 0000000..f489128
--- /dev/null
@@ -0,0 +1,24 @@
+
+SUFFIXES =
+
+# --------------------------------------------
+# *.i --> *wrap.cxx
+# --------------------------------------------
+
+SUFFIXES += .i WRAP.cxx .idl .hh SK.cc _idl.py
+
+%WRAP.cxx : %.i
+       $(SWIG) $(SWIG_PYTHON_OPT) $(SWIG_PYTHON_INCLUDES) -o $@ $<
+
+
+%.hh %SK.cc: %.idl
+       $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) -bcxx $<
+
+%.hh %SK.cc: ${KERNEL_ROOT_DIR}/idl/salome/%.idl
+       $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) -bcxx $<
+
+%.hh %SK.cc: ${MED_ROOT_DIR}/idl/salome/%.idl
+       $(OMNIORB_IDL) $(OMNIORB_IDLCXXFLAGS) -bcxx $<
+
+%_idl.py: %.idl
+       $(OMNIORB_IDL) $(OMNIORB_IDLPYFLAGS) -bpython $<