rebuild files generated by src/stc/gen_iface.py automatically in Unix builds
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Jun 2008 23:29:45 +0000 (23:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Jun 2008 23:29:45 +0000 (23:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

Makefile.in
build/bakefiles/scintilla.bkl

index 6544cbd625765e9d679b63300a435b531bfeb8f8..77b2e0cf23f3d8b26d0d758299457cc2a7c86cca 100644 (file)
@@ -31949,6 +31949,15 @@ sound_sdl_sound_sdl.o: $(srcdir)/src/unix/sound_sdl.cpp
        $(CXXC) -c -o $@ $(SOUND_SDL_CXXFLAGS) $(srcdir)/src/unix/sound_sdl.cpp
 
 
+$(srcdir)/include/wx/stc/stc.h: \
+$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
+$(srcdir)/src/stc/stc.cpp.in \
+$(srcdir)/src/stc/stc.h.in \
+$(srcdir)/src/stc/gen_iface.py
+       cd $(srcdir)/src/stc && ./gen_iface.py
+monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
+$(srcdir)/include/wx/stc/stc.h
+
 #
 # "make dist" target implementation:
 #
index a64a2a24844d29caa2583b597231c6e1f1e8866d..604b5ea64daad200ae3b6fe559f2c64b77200d93 100644 (file)
         $(TOP_SRCDIR)src/stc/scintilla/include
     </set>
 
+    <!-- automatically update generated files -->
+    <fragment format='autoconf'>
+$(srcdir)/include/wx/stc/stc.h: \
+$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
+$(srcdir)/src/stc/stc.cpp.in \
+$(srcdir)/src/stc/stc.h.in \
+$(srcdir)/src/stc/gen_iface.py
+       cd $(srcdir)/src/stc &amp;&amp; ./gen_iface.py
+monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
+$(srcdir)/include/wx/stc/stc.h
+    </fragment>
+
     <lib id="wxscintilla" template="3rdparty_lib"
          cond="USE_STC=='1' and BUILDING_LIB=='1'">
         <include>$(TOP_SRCDIR)src/stc/scintilla/include</include>