]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/jpeg.bkl
added library target to regen only lib makefiles
[wxWidgets.git] / build / bakefiles / jpeg.bkl
index 8f7521e0796f0db2931949326e500d05dd1501af..5321d58541022cdbc05287bc6eefa32004a160e3 100644 (file)
@@ -8,15 +8,16 @@
         <set var="wxUSE_LIBJPEG">builtin</set>
     </if>
     <set var="LIB_JPEG">
-        <if cond="wxUSE_LIBJPEG=='builtin'">wxjpeg</if>
+        <if cond="wxUSE_LIBJPEG=='builtin'">wxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
     </set>
     <set var="INC_JPEG">
-        <if cond="wxUSE_LIBJPEG=='builtin'">$(SRCDIR)/src/jpeg</if>
+        <if cond="wxUSE_LIBJPEG=='builtin'">$(TOP_SRCDIR)src/jpeg</if>
     </set>
 
     <lib id="wxjpeg" template="3rdparty_lib"
          cond="wxUSE_LIBJPEG=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
+        <include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
         <sources>
             src/jpeg/jcomapi.c
                    src/jpeg/jutils.c