]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/scintilla.bkl
added XRC handler for wxFileCtrl (closes #10785)
[wxWidgets.git] / build / bakefiles / scintilla.bkl
index e7f27fb2baeb59b5608d5d36b1e9fae474a6671a..45d244e1d60bd53ef9a957dcef6d8e44488a5f76 100644 (file)
         $(TOP_SRCDIR)src/stc/scintilla/include
     </set>
 
-    <!-- automatically update generated files -->
-    <fragment format='autoconf'>
-@COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \
-@COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
-@COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \
-@COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \
-@COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py
-@COND_USE_STC_1@       cd $(srcdir)/src/stc &amp;&amp; ./gen_iface.py
-@COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
-@COND_USE_STC_1@    $(srcdir)/include/wx/stc/stc.h
-    </fragment>
+    <!-- automatically update generated files when building the library -->
+    <if cond="BUILDING_LIB=='1'">
+        <fragment format='autoconf'>
+@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \
+@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
+@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \
+@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \
+@COND_PYTHON@@COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py
+@COND_PYTHON@@COND_USE_STC_1@  cd $(srcdir)/src/stc &amp;&amp; ./gen_iface.py
+@COND_PYTHON@@COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
+@COND_PYTHON@@COND_USE_STC_1@    $(srcdir)/include/wx/stc/stc.h
+        </fragment>
+    </if>
 
     <lib id="wxscintilla" template="3rdparty_lib"
          cond="USE_STC=='1' and BUILDING_LIB=='1'">