]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/scintilla.bkl
reuse wxObjectRefData for various ref-counted classes (closes #10886)
[wxWidgets.git] / build / bakefiles / scintilla.bkl
index 87b9477bb1a0b978526b236d6c08f41d149c6a8f..45d244e1d60bd53ef9a957dcef6d8e44488a5f76 100644 (file)
@@ -15,8 +15,9 @@
         $(TOP_SRCDIR)src/stc/scintilla/include
     </set>
 
-    <!-- automatically update generated files -->
-    <fragment format='autoconf'>
+    <!-- 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 \
@@ -25,7 +26,8 @@
 @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>
+        </fragment>
+    </if>
 
     <lib id="wxscintilla" template="3rdparty_lib"
          cond="USE_STC=='1' and BUILDING_LIB=='1'">