]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/Makefile.in
change MSW libs directories so that libraries are shared by builds
[wxWidgets.git] / contrib / src / fl / Makefile.in
index f65e67ebe6324fcfcb6411ee6a1b620cb23c6492..7407c24c230f8677580007f84945a36f11efd00e 100644 (file)
@@ -35,16 +35,15 @@ TOOLKIT_VERSION = @TOOLKIT_VERSION@
 VENDOR = @VENDOR@
 includedir = @includedir@
 libdir = @libdir@
+srcdir = @srcdir@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 
 ### Variables: ###
 
-FLDLL_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
-       -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
-       $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
-       -I../../src/fl/../../include -DWXUSINGDLL -DWXMAKINGDLL_FL $(CXXFLAGS) \
-       $(PIC_FLAG)
+FLDLL_CXXFLAGS = $(__fldll_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
+       $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
+       -DWXUSINGDLL -DWXMAKINGDLL_FL $(CXXFLAGS) $(PIC_FLAG)
 FLDLL_OBJECTS =  \
        fldll_antiflickpl.o \
        fldll_bardragpl.o \
@@ -63,10 +62,9 @@ FLDLL_OBJECTS =  \
        fldll_rowlayoutpl.o \
        fldll_toolwnd.o \
        fldll_updatesmgr.o
-FLLIB_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
-       -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
-       $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
-       -I../../src/fl/../../include $(CXXFLAGS)
+FLLIB_CXXFLAGS = $(__fllib_PCH_INC) $(CPPFLAGS) -D__WX$(TOOLKIT)__ \
+       $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include -I$(srcdir)/../../include \
+       $(CXXFLAGS)
 FLLIB_OBJECTS =  \
        fllib_antiflickpl.o \
        fllib_bardragpl.o \
@@ -86,6 +84,7 @@ FLLIB_OBJECTS =  \
        fllib_toolwnd.o \
        fllib_updatesmgr.o
 LIBDIRNAME = $(top_builddir)lib
+WX_VERSION = 2.5.0
 
 ### Conditionally set variables: ###
 
@@ -107,13 +106,6 @@ LIBDIRNAME = $(top_builddir)lib
 @COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG = 
 @COND_UNICODE_1@WXUNICODEFLAG = u
 @COND_WXUNIV_1@WXUNIVNAME = univ
-@COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib
-@COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
-@COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
-@COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png
-@COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex
-@COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
-@COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
 @COND_WXUSE_EXPAT_BUILTIN@     -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
@@ -140,6 +132,8 @@ COND_MONOLITHIC_1___WXLIB_MONO_p = \
        -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
+@COND_GCC_PCH_1@__fldll_PCH_DEP = .pch/wxprec_fldll/wx/wxprec.h.gch
+@COND_GCC_PCH_1@__fldll_PCH_INC = -I.pch/wxprec_fldll
 COND_SHARED_1___fldll___depname = \
        $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__fldll___targetsuf3)
 @COND_SHARED_1@__fldll___depname = $(COND_SHARED_1___fldll___depname)
@@ -150,7 +144,8 @@ COND_PLATFORM_MACOSX_1___fldll___macinstnamecmd = -install_name \
        $(libdir)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__fldll___targetsuf2)
 @COND_PLATFORM_MACOSX_1@__fldll___macinstnamecmd = $(COND_PLATFORM_MACOSX_1___fldll___macinstnamecmd)
 @COND_PLATFORM_MACOSX_1@__fldll___macver = \
-@COND_PLATFORM_MACOSX_1@       -compatibility_version 2.5 -current_version 2.5.0
+@COND_PLATFORM_MACOSX_1@       -compatibility_version $(WX_VERSION) \
+@COND_PLATFORM_MACOSX_1@       -current_version $(WX_VERSION)
 COND_USE_SOSYMLINKS_1___fldll___so_symlinks_cmd = (cd $(LIBDIRNAME)/; rm -f \
        libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX)$(DLLIMPEXT) \
        $(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__fldll___targetsuf2); \
@@ -187,6 +182,8 @@ COND_USE_SOVERSOLARIS_1___fldll___soname_flags = \
 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@__fldll___targetsuf3 \
 @COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@       = .0.0.0.$(SO_SUFFIX)
 @COND_USE_SOVERSION_0@__fldll___targetsuf3 = .$(SO_SUFFIX)
+@COND_GCC_PCH_1@__fllib_PCH_DEP = .pch/wxprec_fllib/wx/wxprec.h.gch
+@COND_GCC_PCH_1@__fllib_PCH_INC = -I.pch/wxprec_fllib
 COND_SHARED_0___fllib___depname = \
        $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX).a
 @COND_SHARED_0@__fllib___depname = $(COND_SHARED_0___fllib___depname)
@@ -197,8 +194,14 @@ COND_SHARED_0___fllib___depname = \
 
 all: $(__fldll___depname) $(__fllib___depname)
 
+@COND_GCC_PCH_1@.pch/wxprec_fldll/wx/wxprec.h.gch: 
+@COND_GCC_PCH_1@       $(top_builddir)./bk-make-pch .pch/wxprec_fldll/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(FLDLL_CXXFLAGS)
+
+@COND_GCC_PCH_1@.pch/wxprec_fllib/wx/wxprec.h.gch: 
+@COND_GCC_PCH_1@       $(top_builddir)./bk-make-pch .pch/wxprec_fllib/wx/wxprec.h.gch wx/wxprec.h $(CXX) $(FLLIB_CXXFLAGS)
+
 clean: 
-       rm -rf ./.deps
+       rm -rf ./.deps ./.pch
        rm -f ./*.o
        rm -f $(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__fldll___targetsuf3)
        rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX)$(DLLIMPEXT)
@@ -206,118 +209,117 @@ clean:
        rm -f $(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX).a
 
 distclean: clean
-       rm -f configure config.cache config.log config.status
-       rm -f bk-deps shared-ld-sh
+       rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
 
-@COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__fldll___targetsuf3): $(FLDLL_OBJECTS)
+@COND_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(__fldll___targetsuf3): $(__fldll_PCH_DEP)  $(FLDLL_OBJECTS)
 @COND_SHARED_1@        $(SHARED_LD_CXX) $@ $(FLDLL_OBJECTS) $(LDFLAGS)   -L$(LIBDIRNAME) $(__fldll___macinstnamecmd) $(__fldll___importlib) $(__fldll___soname_flags) $(__fldll___macver)  $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)
 @COND_SHARED_1@        $(__fldll___so_symlinks_cmd)
 
-fldll_antiflickpl.o: ../../src/fl/antiflickpl.cpp
+fldll_antiflickpl.o: $(srcdir)/antiflickpl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_bardragpl.o: ../../src/fl/bardragpl.cpp
+fldll_bardragpl.o: $(srcdir)/bardragpl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_barhintspl.o: ../../src/fl/barhintspl.cpp
+fldll_barhintspl.o: $(srcdir)/barhintspl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_cbcustom.o: ../../src/fl/cbcustom.cpp
+fldll_cbcustom.o: $(srcdir)/cbcustom.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_controlbar.o: ../../src/fl/controlbar.cpp
+fldll_controlbar.o: $(srcdir)/controlbar.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_dyntbar.o: ../../src/fl/dyntbar.cpp
+fldll_dyntbar.o: $(srcdir)/dyntbar.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
+fldll_dyntbarhnd.o: $(srcdir)/dyntbarhnd.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_frmview.o: ../../src/fl/frmview.cpp
+fldll_frmview.o: $(srcdir)/frmview.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_garbagec.o: ../../src/fl/garbagec.cpp
+fldll_garbagec.o: $(srcdir)/garbagec.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
+fldll_gcupdatesmgr.o: $(srcdir)/gcupdatesmgr.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_hintanimpl.o: ../../src/fl/hintanimpl.cpp
+fldll_hintanimpl.o: $(srcdir)/hintanimpl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
+fldll_newbmpbtn.o: $(srcdir)/newbmpbtn.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_panedrawpl.o: ../../src/fl/panedrawpl.cpp
+fldll_panedrawpl.o: $(srcdir)/panedrawpl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_rowdragpl.o: ../../src/fl/rowdragpl.cpp
+fldll_rowdragpl.o: $(srcdir)/rowdragpl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
+fldll_rowlayoutpl.o: $(srcdir)/rowlayoutpl.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_toolwnd.o: ../../src/fl/toolwnd.cpp
+fldll_toolwnd.o: $(srcdir)/toolwnd.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-fldll_updatesmgr.o: ../../src/fl/updatesmgr.cpp
+fldll_updatesmgr.o: $(srcdir)/updatesmgr.cpp
        $(CXXC) -c -o $@ $(FLDLL_CXXFLAGS) $<
 
-@COND_SHARED_0@$(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX).a: $(FLLIB_OBJECTS)
+@COND_SHARED_0@$(LIBDIRNAME)/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX).a: $(__fllib_PCH_DEP)  $(FLLIB_OBJECTS)
 @COND_SHARED_0@        rm -f $@
 @COND_SHARED_0@        $(AR) rcu $@ $(FLLIB_OBJECTS)
 @COND_SHARED_0@        $(RANLIB) $@
 
-fllib_antiflickpl.o: ../../src/fl/antiflickpl.cpp
+fllib_antiflickpl.o: $(srcdir)/antiflickpl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_bardragpl.o: ../../src/fl/bardragpl.cpp
+fllib_bardragpl.o: $(srcdir)/bardragpl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_barhintspl.o: ../../src/fl/barhintspl.cpp
+fllib_barhintspl.o: $(srcdir)/barhintspl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_cbcustom.o: ../../src/fl/cbcustom.cpp
+fllib_cbcustom.o: $(srcdir)/cbcustom.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_controlbar.o: ../../src/fl/controlbar.cpp
+fllib_controlbar.o: $(srcdir)/controlbar.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_dyntbar.o: ../../src/fl/dyntbar.cpp
+fllib_dyntbar.o: $(srcdir)/dyntbar.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_dyntbarhnd.o: ../../src/fl/dyntbarhnd.cpp
+fllib_dyntbarhnd.o: $(srcdir)/dyntbarhnd.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_frmview.o: ../../src/fl/frmview.cpp
+fllib_frmview.o: $(srcdir)/frmview.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_garbagec.o: ../../src/fl/garbagec.cpp
+fllib_garbagec.o: $(srcdir)/garbagec.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_gcupdatesmgr.o: ../../src/fl/gcupdatesmgr.cpp
+fllib_gcupdatesmgr.o: $(srcdir)/gcupdatesmgr.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_hintanimpl.o: ../../src/fl/hintanimpl.cpp
+fllib_hintanimpl.o: $(srcdir)/hintanimpl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_newbmpbtn.o: ../../src/fl/newbmpbtn.cpp
+fllib_newbmpbtn.o: $(srcdir)/newbmpbtn.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_panedrawpl.o: ../../src/fl/panedrawpl.cpp
+fllib_panedrawpl.o: $(srcdir)/panedrawpl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_rowdragpl.o: ../../src/fl/rowdragpl.cpp
+fllib_rowdragpl.o: $(srcdir)/rowdragpl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_rowlayoutpl.o: ../../src/fl/rowlayoutpl.cpp
+fllib_rowlayoutpl.o: $(srcdir)/rowlayoutpl.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_toolwnd.o: ../../src/fl/toolwnd.cpp
+fllib_toolwnd.o: $(srcdir)/toolwnd.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
-fllib_updatesmgr.o: ../../src/fl/updatesmgr.cpp
+fllib_updatesmgr.o: $(srcdir)/updatesmgr.cpp
        $(CXXC) -c -o $@ $(FLLIB_CXXFLAGS) $<
 
 install: all $(__install_fldll___depname) $(__install_fllib___depname)
@@ -326,7 +328,7 @@ install: all $(__install_fldll___depname) $(__install_fllib___depname)
        if test ! -d $(includedir)/`dirname $$f` ; then \
        $(INSTALL_DIR) $(includedir)/`dirname $$f`; \
        fi; \
-       $(INSTALL_DATA) ../../src/fl/../../include//$$f $(includedir)/$$f; \
+       $(INSTALL_DATA) $(srcdir)/../../include//$$f $(includedir)/$$f; \
        done
 
 install-strip: install