]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/regex.bkl
wxURL implementation using WinInet functions under Win32 (patch 839305)
[wxWidgets.git] / build / bakefiles / regex.bkl
index 4a0753868891236f466e858dbf94e936c7d694e0..fa9a7ce92d387e727f1cc0ba0f18b2ef5d28a5a5 100644 (file)
@@ -1,4 +1,6 @@
 <?xml version="1.0" ?>
+<!-- $Id$ -->
+
 <makefile>
     
     <if cond="FORMAT=='autoconf'">
         <set var="wxUSE_REGEX">builtin</set>
     </if>
     <set var="LIB_REGEX">
-        <if cond="wxUSE_REGEX=='builtin'">wxregex</if>
+        <if cond="wxUSE_REGEX=='builtin'">wxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
     </set>
     <set var="INC_REGEX">
-        <if cond="wxUSE_REGEX=='builtin'">$(SRCDIR)/src/regex</if>
+        <if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
     </set>
 
-    <lib id="wxregex" template="anylib"
+    <lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
          cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
+        <include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
+        <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
+        <define>$(UNICODE_DEFINE)</define>
         <dirname>$(LIBDIRNAME)</dirname>
+        <cflags-borland>-w-8004 -w-8012 -w-8057 -w-8066</cflags-borland> 
         <sources>
             src/regex/regcomp.c
             src/regex/regexec.c